annotate Doc/using/scripts.rst @ 87690:66c1c9f32567 default tip

Add use_weakref option to functools.lru_cache The use_weakref option makes lru_cache create weak references to the function arguments when creating the cache key, which prevents them from staying in the memory forever even after all other references to them are gone. This is a proof of concept for http://bugs.python.org/issue19859
author Radomir Dopieralski <devel@sheep.art.pl>
date Tue, 03 Dec 2013 16:02:48 +0100
parents f8eabfed9a1d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
77224
ace7c340d95d Added pyvenv docs to 'Python Setup and Usage' section.
Vinay Sajip <vinay_sajip@yahoo.co.uk>
parents:
diff changeset
1 .. _tools-and-scripts:
ace7c340d95d Added pyvenv docs to 'Python Setup and Usage' section.
Vinay Sajip <vinay_sajip@yahoo.co.uk>
parents:
diff changeset
2
ace7c340d95d Added pyvenv docs to 'Python Setup and Usage' section.
Vinay Sajip <vinay_sajip@yahoo.co.uk>
parents:
diff changeset
3 Additional Tools and Scripts
ace7c340d95d Added pyvenv docs to 'Python Setup and Usage' section.
Vinay Sajip <vinay_sajip@yahoo.co.uk>
parents:
diff changeset
4 ============================
ace7c340d95d Added pyvenv docs to 'Python Setup and Usage' section.
Vinay Sajip <vinay_sajip@yahoo.co.uk>
parents:
diff changeset
5
78689
f8eabfed9a1d Improve the pyvenv entry
Antoine Pitrou <solipsis@pitrou.net>
parents: 78050
diff changeset
6 .. _scripts-pyvenv:
f8eabfed9a1d Improve the pyvenv entry
Antoine Pitrou <solipsis@pitrou.net>
parents: 78050
diff changeset
7
77224
ace7c340d95d Added pyvenv docs to 'Python Setup and Usage' section.
Vinay Sajip <vinay_sajip@yahoo.co.uk>
parents:
diff changeset
8 pyvenv - Creating virtual environments
ace7c340d95d Added pyvenv docs to 'Python Setup and Usage' section.
Vinay Sajip <vinay_sajip@yahoo.co.uk>
parents:
diff changeset
9 --------------------------------------
ace7c340d95d Added pyvenv docs to 'Python Setup and Usage' section.
Vinay Sajip <vinay_sajip@yahoo.co.uk>
parents:
diff changeset
10
78050
42d1da32d74f Factored out common venv documentation and added more information about Distribute/pip.
Vinay Sajip <vinay_sajip@yahoo.co.uk>
parents: 78024
diff changeset
11 .. include:: venv-create.inc
77224
ace7c340d95d Added pyvenv docs to 'Python Setup and Usage' section.
Vinay Sajip <vinay_sajip@yahoo.co.uk>
parents:
diff changeset
12