summaryrefslogtreecommitdiffstats
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
* Issue #9632: Remove sys.setfilesystemencoding() function: use PYTHONFSENCODINGVictor Stinner2010-09-101-9/+0
| | | | | | environment variable to set the filesystem encoding at Python startup. sys.setfilesystemencoding() creates inconsistencies because it is unable to reencode all filenames in all objects.
* #4617: Previously it was illegal to delete a name from the localAmaury Forgeot d'Arc2010-09-103-5/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | namespace if it occurs as a free variable in a nested block. This limitation of the compiler has been lifted, and a new opcode introduced (DELETE_DEREF). This sample was valid in 2.6, but fails to compile in 3.x without this change:: >>> def f(): ... def print_error(): ... print(e) ... try: ... something ... except Exception as e: ... print_error() ... # implicit "del e" here This sample has always been invalid in Python, and now works:: >>> def outer(x): ... def inner(): ... return x ... inner() ... del x There is no need to bump the PYC magic number: the new opcode is used for code that did not compile before.
* release() is probably not the most important methodGeorg Brandl2010-09-101-18/+18
|
* add reference to file objectBenjamin Peterson2010-09-101-2/+2
|
* As per python-dev discussion with Eli, properly document and publish ↵Nick Coghlan2010-09-101-1/+11
| | | | dis.show_code
* Issue #9757: memoryview objects get a release() method to release theAntoine Pitrou2010-09-091-1/+34
| | | | | underlying buffer (previously this was only done when deallocating the memoryview), and gain support for the context management protocol.
* Improve the repr for the TokenInfo named tuple.Raymond Hettinger2010-09-091-1/+1
|
* Add docstring to cmd.Cmd.do_help()Raymond Hettinger2010-09-091-4/+0
|
* Add a working example for the cmd module.Raymond Hettinger2010-09-091-0/+162
|
* Fix issue 9794: adds context manager protocol to socket.socket so that ↵Giampaolo Rodolà2010-09-082-0/+9
| | | | socket.create_connection() can be used with the 'with' statement.
* logging: Added QueueHandler.Vinay Sajip2010-09-081-19/+183
|
* Fix typo in whatsnew (#9793)Éric Araujo2010-09-071-1/+1
|
* #6394: Add os.getppid() support for Windows.Amaury Forgeot d'Arc2010-09-072-2/+11
|
* Update nntplib examples to use a public news server.Antoine Pitrou2010-09-071-17/+17
| | | | | The example still doesn't work as-is under py3k, due to incomplete or buggy porting of the nntplib module.
* Add stub entry for argparse.Georg Brandl2010-09-071-0/+2
|
* typoRaymond Hettinger2010-09-071-1/+1
|
* Remove outdated reference to Wichmann-Hill algorithm.Raymond Hettinger2010-09-071-12/+4
|
* Issues #7889, #9025 and #9379: Improvements to the random module.Raymond Hettinger2010-09-071-0/+7
|
* Document which part of the random module module are guaranteed.Raymond Hettinger2010-09-071-9/+14
|
* Document which part of the random module module are guaranteed.Raymond Hettinger2010-09-061-0/+16
|
* Updated information on logging contextual information.Vinay Sajip2010-09-061-0/+76
|
* Add method to OrderedDict for repositioning keys to the ends.Raymond Hettinger2010-09-061-0/+17
|
* Fix markup nitsRaymond Hettinger2010-09-061-3/+3
|
* Issue #9754: Similarly to assertRaises and assertRaisesRegexp, unittestAntoine Pitrou2010-09-061-0/+53
| | | | | test cases now also have assertWarns and assertWarnsRegexp methods to check that a given warning type was triggered by the code under test.
* Issue #5506: BytesIO objects now have a getbuffer() method exporting aAntoine Pitrou2010-09-061-0/+18
| | | | | view of their contents without duplicating them. The view is both readable and writable.
* Implement #7566 - os.path.sameopenfile for Windows.Brian Curtin2010-09-061-1/+3
| | | | | | This uses the GetFileInformationByHandle function to return a tuple of values to identify a file, then ntpath.sameopenfile compares file tuples, which is exposed as os.path.sameopenfile.
* hashlib has two new constant attributes: algorithms_guaranteed andGregory P. Smith2010-09-061-8/+21
| | | | | | | | algorithms_avaiable that respectively list the names of hash algorithms guaranteed to exist in all Python implementations and the names of hash algorithms available in the current process. Renames the attribute new in 3.2a0 'algorithms' to 'algorithms_guaranteed'.
* #9780: both { and } are not valid fill characters.Georg Brandl2010-09-061-5/+5
|
* Remove redundant word.Georg Brandl2010-09-061-1/+1
|
* Revert accidental commit, apologies for the noiseÉric Araujo2010-09-061-2/+2
|
* Fix nitsRaymond Hettinger2010-09-061-7/+7
|
* UpdateÉric Araujo2010-09-061-2/+2
|
* More updates to whatsnew3.2Raymond Hettinger2010-09-061-46/+91
|
* link to docsBenjamin Peterson2010-09-061-2/+2
|
* Clean-up example of using fileinput as a context manager.Raymond Hettinger2010-09-051-2/+3
|
* Fix typos and wording in what’s new 3.2.Éric Araujo2010-09-051-27/+28
| | | | | | | | | | | - The entry about shutil.copytree is just a revert of r84524 which looks like an unfinished edition. - The use of gender-neutral language (s/his/their/) removes the implicit assumption that programmer == male (change agreed by Antoine). - Other changes should be uncontroversial fixes. I haven’t rewrapped under 80 lines to keep the diffs readable; I’ll rewrap later.
* #9747: fix copy-paste error in getresgid() doc.Georg Brandl2010-09-051-1/+1
|
* Rewrap and consistency fixes.Georg Brandl2010-09-051-175/+175
|
* Fill-in sqlite3 stubsRaymond Hettinger2010-09-051-7/+8
|
* Add example of ftplib's new context manager.Raymond Hettinger2010-09-051-4/+19
|
* Add PEP 391 to whatsnewRaymond Hettinger2010-09-051-0/+43
|
* More updates to whatsnew.Raymond Hettinger2010-09-051-5/+13
|
* Add an exampleRaymond Hettinger2010-09-051-1/+6
|
* More updates to whatsnewRaymond Hettinger2010-09-051-2/+28
|
* Update whatsnew for Pep3149.Raymond Hettinger2010-09-051-4/+27
|
* Update whatsnew for Pep3147.Raymond Hettinger2010-09-041-1/+54
|
* Adopt more descriptive attribute names as suggested on python-dev.Raymond Hettinger2010-09-042-6/+6
|
* Issue #9225: Remove the ROT_FOUR and DUP_TOPX opcode, the latter replacedAntoine Pitrou2010-09-041-11/+5
| | | | | by the new (and simpler) DUP_TOP_TWO. Performance isn't changed, but our bytecode is a bit simplified. Patch by Demur Rumed.
* add consistent support for the vars and default arguments on allFred Drake2010-09-041-21/+53
| | | | | configuration parser classes (http://bugs.python.org/issue9421)
* Fix missing word.Georg Brandl2010-09-031-2/+2
|