Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #9632: Remove sys.setfilesystemencoding() function: use PYTHONFSENCODING | Victor Stinner | 2010-09-10 | 1 | -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 local | Amaury Forgeot d'Arc | 2010-09-10 | 3 | -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 method | Georg Brandl | 2010-09-10 | 1 | -18/+18 |
| | |||||
* | add reference to file object | Benjamin Peterson | 2010-09-10 | 1 | -2/+2 |
| | |||||
* | As per python-dev discussion with Eli, properly document and publish ↵ | Nick Coghlan | 2010-09-10 | 1 | -1/+11 |
| | | | | dis.show_code | ||||
* | Issue #9757: memoryview objects get a release() method to release the | Antoine Pitrou | 2010-09-09 | 1 | -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 Hettinger | 2010-09-09 | 1 | -1/+1 |
| | |||||
* | Add docstring to cmd.Cmd.do_help() | Raymond Hettinger | 2010-09-09 | 1 | -4/+0 |
| | |||||
* | Add a working example for the cmd module. | Raymond Hettinger | 2010-09-09 | 1 | -0/+162 |
| | |||||
* | Fix issue 9794: adds context manager protocol to socket.socket so that ↵ | Giampaolo Rodolà | 2010-09-08 | 2 | -0/+9 |
| | | | | socket.create_connection() can be used with the 'with' statement. | ||||
* | logging: Added QueueHandler. | Vinay Sajip | 2010-09-08 | 1 | -19/+183 |
| | |||||
* | Fix typo in whatsnew (#9793) | Éric Araujo | 2010-09-07 | 1 | -1/+1 |
| | |||||
* | #6394: Add os.getppid() support for Windows. | Amaury Forgeot d'Arc | 2010-09-07 | 2 | -2/+11 |
| | |||||
* | Update nntplib examples to use a public news server. | Antoine Pitrou | 2010-09-07 | 1 | -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 Brandl | 2010-09-07 | 1 | -0/+2 |
| | |||||
* | typo | Raymond Hettinger | 2010-09-07 | 1 | -1/+1 |
| | |||||
* | Remove outdated reference to Wichmann-Hill algorithm. | Raymond Hettinger | 2010-09-07 | 1 | -12/+4 |
| | |||||
* | Issues #7889, #9025 and #9379: Improvements to the random module. | Raymond Hettinger | 2010-09-07 | 1 | -0/+7 |
| | |||||
* | Document which part of the random module module are guaranteed. | Raymond Hettinger | 2010-09-07 | 1 | -9/+14 |
| | |||||
* | Document which part of the random module module are guaranteed. | Raymond Hettinger | 2010-09-06 | 1 | -0/+16 |
| | |||||
* | Updated information on logging contextual information. | Vinay Sajip | 2010-09-06 | 1 | -0/+76 |
| | |||||
* | Add method to OrderedDict for repositioning keys to the ends. | Raymond Hettinger | 2010-09-06 | 1 | -0/+17 |
| | |||||
* | Fix markup nits | Raymond Hettinger | 2010-09-06 | 1 | -3/+3 |
| | |||||
* | Issue #9754: Similarly to assertRaises and assertRaisesRegexp, unittest | Antoine Pitrou | 2010-09-06 | 1 | -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 a | Antoine Pitrou | 2010-09-06 | 1 | -0/+18 |
| | | | | | view of their contents without duplicating them. The view is both readable and writable. | ||||
* | Implement #7566 - os.path.sameopenfile for Windows. | Brian Curtin | 2010-09-06 | 1 | -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 and | Gregory P. Smith | 2010-09-06 | 1 | -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 Brandl | 2010-09-06 | 1 | -5/+5 |
| | |||||
* | Remove redundant word. | Georg Brandl | 2010-09-06 | 1 | -1/+1 |
| | |||||
* | Revert accidental commit, apologies for the noise | Éric Araujo | 2010-09-06 | 1 | -2/+2 |
| | |||||
* | Fix nits | Raymond Hettinger | 2010-09-06 | 1 | -7/+7 |
| | |||||
* | Update | Éric Araujo | 2010-09-06 | 1 | -2/+2 |
| | |||||
* | More updates to whatsnew3.2 | Raymond Hettinger | 2010-09-06 | 1 | -46/+91 |
| | |||||
* | link to docs | Benjamin Peterson | 2010-09-06 | 1 | -2/+2 |
| | |||||
* | Clean-up example of using fileinput as a context manager. | Raymond Hettinger | 2010-09-05 | 1 | -2/+3 |
| | |||||
* | Fix typos and wording in what’s new 3.2. | Éric Araujo | 2010-09-05 | 1 | -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 Brandl | 2010-09-05 | 1 | -1/+1 |
| | |||||
* | Rewrap and consistency fixes. | Georg Brandl | 2010-09-05 | 1 | -175/+175 |
| | |||||
* | Fill-in sqlite3 stubs | Raymond Hettinger | 2010-09-05 | 1 | -7/+8 |
| | |||||
* | Add example of ftplib's new context manager. | Raymond Hettinger | 2010-09-05 | 1 | -4/+19 |
| | |||||
* | Add PEP 391 to whatsnew | Raymond Hettinger | 2010-09-05 | 1 | -0/+43 |
| | |||||
* | More updates to whatsnew. | Raymond Hettinger | 2010-09-05 | 1 | -5/+13 |
| | |||||
* | Add an example | Raymond Hettinger | 2010-09-05 | 1 | -1/+6 |
| | |||||
* | More updates to whatsnew | Raymond Hettinger | 2010-09-05 | 1 | -2/+28 |
| | |||||
* | Update whatsnew for Pep3149. | Raymond Hettinger | 2010-09-05 | 1 | -4/+27 |
| | |||||
* | Update whatsnew for Pep3147. | Raymond Hettinger | 2010-09-04 | 1 | -1/+54 |
| | |||||
* | Adopt more descriptive attribute names as suggested on python-dev. | Raymond Hettinger | 2010-09-04 | 2 | -6/+6 |
| | |||||
* | Issue #9225: Remove the ROT_FOUR and DUP_TOPX opcode, the latter replaced | Antoine Pitrou | 2010-09-04 | 1 | -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 all | Fred Drake | 2010-09-04 | 1 | -21/+53 |
| | | | | | configuration parser classes (http://bugs.python.org/issue9421) | ||||
* | Fix missing word. | Georg Brandl | 2010-09-03 | 1 | -2/+2 |
| |