Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix test that depends on a particular implementation of random.choice(). | Raymond Hettinger | 2010-09-07 | 2 | -27/+24 |
| | |||||
* | Adjust #8956 to add the bad signal number to the exception message. | Brian Curtin | 2010-09-07 | 1 | -1/+1 |
| | |||||
* | Fix corner case for Random.choice() and add tests. | Raymond Hettinger | 2010-09-07 | 2 | -1/+12 |
| | |||||
* | Small clean-ups. | Raymond Hettinger | 2010-09-07 | 1 | -29/+12 |
| | |||||
* | Issues #7889, #9025 and #9379: Improvements to the random module. | Raymond Hettinger | 2010-09-07 | 2 | -24/+29 |
| | |||||
* | Minor code cleanup | Raymond Hettinger | 2010-09-07 | 1 | -4/+4 |
| | |||||
* | Document which part of the random module module are guaranteed. | Raymond Hettinger | 2010-09-07 | 2 | -3/+27 |
| | |||||
* | More docstring updates | Amaury Forgeot d'Arc | 2010-09-06 | 1 | -1/+2 |
| | |||||
* | Change docstrings to match the implementation | Amaury Forgeot d'Arc | 2010-09-06 | 1 | -6/+6 |
| | |||||
* | Add method to OrderedDict for repositioning keys to the ends. | Raymond Hettinger | 2010-09-06 | 3 | -8/+31 |
| | |||||
* | typo | Florent Xicluna | 2010-09-06 | 1 | -2/+2 |
| | |||||
* | Fix some errors that #7566 introduced on non-Windows platforms due to | Brian Curtin | 2010-09-06 | 2 | -7/+14 |
| | | | | | an ImportError. Rearranged the import, faked out the implementation when the import fails, and reorganized a test that depends on Win32 behavior. | ||||
* | Issue #9754: Similarly to assertRaises and assertRaisesRegexp, unittest | Antoine Pitrou | 2010-09-06 | 2 | -4/+244 |
| | | | | | 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 | 2 | -1/+30 |
| | | | | | 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 | 2 | -1/+19 |
| | | | | | | 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. | ||||
* | Fix #8956. ValueError message was only mentioning one signal. | Brian Curtin | 2010-09-06 | 1 | -1/+1 |
| | | | | | Rather than list out the three signals (or more over time), the message was made less specific but still descriptive. | ||||
* | Clean up the fix to #9324 with some of the suggestions raised on python-dev | Brian Curtin | 2010-09-06 | 1 | -3/+2 |
| | | | | | | | in response to the original checkin. Move the validation from the original loop into a switch statement, and adjust a platform check in the tests. | ||||
* | hashlib has two new constant attributes: algorithms_guaranteed and | Gregory P. Smith | 2010-09-06 | 2 | -9/+16 |
| | | | | | | | | 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'. | ||||
* | Take advantage of the frozenset constant optimization. | Raymond Hettinger | 2010-09-05 | 2 | -11/+11 |
| | |||||
* | Issue #9293: I/O streams now raise `io.UnsupportedOperation` when an | Antoine Pitrou | 2010-09-05 | 2 | -20/+64 |
| | | | | | unsupported operation is attempted (for example, writing to a file open only for reading). | ||||
* | Fix accidental suppression in r84537v3.2a2 | Éric Araujo | 2010-09-05 | 1 | -1/+1 |
| | |||||
* | Make naming consistent | Éric Araujo | 2010-09-05 | 1 | -3/+3 |
| | |||||
* | Bump to 3.2a2. | Georg Brandl | 2010-09-05 | 2 | -2/+2 |
| | |||||
* | Update pydoc topics. | Georg Brandl | 2010-09-05 | 1 | -10/+11 |
| | |||||
* | Clean-up functools.total_ordering(). | Raymond Hettinger | 2010-09-05 | 1 | -4/+2 |
| | |||||
* | Adopt more descriptive attribute names as suggested on python-dev. | Raymond Hettinger | 2010-09-04 | 3 | -17/+17 |
| | |||||
* | Issue #8734: Avoid crash in msvcrt.get_osfhandle() when an invalid file | Antoine Pitrou | 2010-09-04 | 1 | -0/+3 |
| | | | | descriptor is provided. Patch by Pascal Chambon. | ||||
* | Issue #7451: Improve decoding performance of JSON objects, and reduce | Antoine Pitrou | 2010-09-04 | 3 | -3/+45 |
| | | | | | the memory consumption of said decoded objects when they use the same strings as keys. | ||||
* | Issue #9777: test_idna requires the "network" resource | Antoine Pitrou | 2010-09-04 | 1 | -0/+1 |
| | |||||
* | Issue #9225: Remove the ROT_FOUR and DUP_TOPX opcode, the latter replaced | Antoine Pitrou | 2010-09-04 | 1 | -2/+1 |
| | | | | | by the new (and simpler) DUP_TOP_TWO. Performance isn't changed, but our bytecode is a bit simplified. Patch by Demur Rumed. | ||||
* | _warnings exposed two variables with the name 'default_action' and | Brett Cannon | 2010-09-04 | 1 | -3/+3 |
| | | | | | | | | | | | 'once_registry'. This is bad as the warnings module had variables named 'defaultaction' and 'onceregistry' which are what people should be looking at (technically those variables shouldn't be mucked with as they are undocumented, but we all know better than to believe that isn't happening). So the variables from _warnings have been renamed to come off as private and to avoid confusion over what variable should be used. Closes issue #9766. Thanks to Antoine Pitrou for the discovery. | ||||
* | Fix running the copy module from the command-line (however use{ful,less} it ↵ | Antoine Pitrou | 2010-09-04 | 1 | -1/+2 |
| | | | | may be). | ||||
* | Issue #1100562: Fix deep-copying of objects derived from the list and dict ↵ | Antoine Pitrou | 2010-09-04 | 2 | -11/+43 |
| | | | | | | types. Patch by Michele Orrù and Björn Lindqvist. | ||||
* | Issue #9581: Fix non-working PosixGroupsTester test case | Antoine Pitrou | 2010-09-04 | 1 | -8/+2 |
| | | | | (it only runs as root, which is why nobody bothered about the failure) | ||||
* | add consistent support for the vars and default arguments on all | Fred Drake | 2010-09-04 | 2 | -57/+196 |
| | | | | | configuration parser classes (http://bugs.python.org/issue9421) | ||||
* | Strengthen BytesWarning tests. | Florent Xicluna | 2010-09-03 | 1 | -45/+54 |
| | |||||
* | Remove redundant context manager. | Florent Xicluna | 2010-09-03 | 1 | -15/+1 |
| | |||||
* | Remove unused import, fix typo and rewrap docstrings. | Florent Xicluna | 2010-09-03 | 1 | -17/+18 |
| | |||||
* | Use a context manager for some file objects. | Florent Xicluna | 2010-09-03 | 4 | -32/+20 |
| | |||||
* | Issue #3805: clean up implementation of the _read method in _ssl.c. | Antoine Pitrou | 2010-09-03 | 1 | -3/+3 |
| | |||||
* | PEP 3149 is accepted. | Barry Warsaw | 2010-09-03 | 1 | -4/+3 |
| | | | | http://mail.python.org/pipermail/python-dev/2010-September/103408.html | ||||
* | fromfd exists on Windows now | Daniel Stutzbach | 2010-09-03 | 1 | -2/+0 |
| | |||||
* | Issue 8420: Fix obscure set crashers. | Raymond Hettinger | 2010-09-03 | 1 | -0/+34 |
| | |||||
* | fix output from RawConfigParser.write and ConfigParser.write for None | Fred Drake | 2010-09-03 | 2 | -1/+30 |
| | | | | | | values (http://bugs.python.org/issue7005) (merged r84443 from the release27-mmaint branch, with changes to reflect changes in Python 3) | ||||
* | Readability nit. | Raymond Hettinger | 2010-09-02 | 1 | -1/+2 |
| | |||||
* | Better method name. Tighten inner-loop with bound methods. | Raymond Hettinger | 2010-09-02 | 2 | -3/+4 |
| | |||||
* | Make OrderedDict.popitem() a bit smarter and faster | Raymond Hettinger | 2010-09-02 | 1 | -11/+23 |
| | |||||
* | Issue #9212: Added the missing isdisjoint method to the dict_keys and | Daniel Stutzbach | 2010-09-02 | 1 | -0/+35 |
| | | | | | dict_items views. The method is required by the collections.Set ABC, which the views register as supporting. | ||||
* | Speed-up cache updates | Raymond Hettinger | 2010-09-02 | 2 | -2/+14 |
| | |||||
* | Issue #9737: Fix a crash when trying to delete a slice or an item from | Antoine Pitrou | 2010-09-01 | 1 | -0/+9 |
| | | | | a memoryview object. |