summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Issue #9707: Rewritten reference implementation of threading.local whichAntoine Pitrou2010-09-073-85/+85
| | | | | | is friendlier towards reference cycles. This change is not normally visible since an optimized C implementation (_thread._local) is used instead.
* Also catch some gaierrorsAntoine Pitrou2010-09-071-1/+10
|
* Fix typo in whatsnew (#9793)Éric Araujo2010-09-071-1/+1
|
* #6394: Add os.getppid() support for Windows.Amaury Forgeot d'Arc2010-09-076-4/+80
|
* Improve transient_internet() again to detect more network errors,Antoine Pitrou2010-09-072-22/+39
| | | | and use it in test_robotparser. Fixes #8574.
* Issue #9792: In case of connection failure, socket.create_connection()Antoine Pitrou2010-09-073-9/+48
| | | | | | would swallow the exception and raise a new one, making it impossible to fetch the original errno, or to filter timeout errors. Now the original error is re-raised.
* Issue #8574: better implementation of test.support.transient_internet().Antoine Pitrou2010-09-072-11/+35
| | | | Original patch by Victor.
* Neaten-up comments and warning message.Raymond Hettinger2010-09-071-4/+4
|
* Minor refactoring and cleanup. Extend looping randrange() technique to ↵Raymond Hettinger2010-09-071-20/+23
| | | | subclasses.
* 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.
* Issue #9758: When fcntl.ioctl() was called with mutable_flag set to True,Antoine Pitrou2010-09-073-6/+31
| | | | | and the passed buffer was exactly 1024 bytes long, the buffer wouldn't be updated back after the system call. Original patch by Brian Brazil.
* Remove invalid test (it was supposed to fail on 64-bit machines.).Raymond Hettinger2010-09-071-4/+0
|
* Fix test that depends on a particular implementation of random.choice().Raymond Hettinger2010-09-072-27/+24
|
* Issue #4026: Make the fcntl extension build under AIX.Antoine Pitrou2010-09-075-10/+108
| | | | Patch by Sébastien Sablé.
* Adjust #8956 to add the bad signal number to the exception message.Brian Curtin2010-09-071-1/+1
|
* Fix corner case for Random.choice() and add tests.Raymond Hettinger2010-09-072-1/+12
|
* Small clean-ups.Raymond Hettinger2010-09-071-29/+12
|
* 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-074-25/+46
|
* Minor code cleanupRaymond Hettinger2010-09-071-4/+4
|
* Document which part of the random module module are guaranteed.Raymond Hettinger2010-09-074-12/+44
|
* Document which part of the random module module are guaranteed.Raymond Hettinger2010-09-062-0/+21
|
* More docstring updatesAmaury Forgeot d'Arc2010-09-062-5/+7
|
* Change docstrings to match the implementationAmaury Forgeot d'Arc2010-09-061-6/+6
|
* 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-065-8/+51
|
* typoFlorent Xicluna2010-09-061-2/+2
|
* typoFlorent Xicluna2010-09-061-1/+1
|
* Fix markup nitsRaymond Hettinger2010-09-061-3/+3
|
* Fix some errors that #7566 introduced on non-Windows platforms due toBrian Curtin2010-09-062-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, unittestAntoine Pitrou2010-09-064-4/+301
| | | | | 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-067-1/+197
| | | | | view of their contents without duplicating them. The view is both readable and writable.
* Implement #7566 - os.path.sameopenfile for Windows.Brian Curtin2010-09-065-2/+52
| | | | | | 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 Curtin2010-09-061-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-devBrian Curtin2010-09-062-14/+12
| | | | | | | 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.
* Add an option to choose the IO module under test (allows to benchAntoine Pitrou2010-09-061-0/+6
| | | | e.g. the pure Python implementation in _pyio).
* hashlib has two new constant attributes: algorithms_guaranteed andGregory P. Smith2010-09-065-18/+111
| | | | | | | | 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
|
* Take advantage of the frozenset constant optimization.Raymond Hettinger2010-09-052-11/+11
|
* Issue #9293: I/O streams now raise `io.UnsupportedOperation` when anAntoine Pitrou2010-09-056-41/+82
| | | | | unsupported operation is attempted (for example, writing to a file open only for reading).
* Post-release update.Georg Brandl2010-09-052-1/+13
|