Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #9707: Rewritten reference implementation of threading.local which | Antoine Pitrou | 2010-09-07 | 3 | -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 gaierrors | Antoine Pitrou | 2010-09-07 | 1 | -1/+10 |
| | |||||
* | 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 | 6 | -4/+80 |
| | |||||
* | Improve transient_internet() again to detect more network errors, | Antoine Pitrou | 2010-09-07 | 2 | -22/+39 |
| | | | | and use it in test_robotparser. Fixes #8574. | ||||
* | Issue #9792: In case of connection failure, socket.create_connection() | Antoine Pitrou | 2010-09-07 | 3 | -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 Pitrou | 2010-09-07 | 2 | -11/+35 |
| | | | | Original patch by Victor. | ||||
* | Neaten-up comments and warning message. | Raymond Hettinger | 2010-09-07 | 1 | -4/+4 |
| | |||||
* | Minor refactoring and cleanup. Extend looping randrange() technique to ↵ | Raymond Hettinger | 2010-09-07 | 1 | -20/+23 |
| | | | | subclasses. | ||||
* | 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. | ||||
* | Issue #9758: When fcntl.ioctl() was called with mutable_flag set to True, | Antoine Pitrou | 2010-09-07 | 3 | -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 Hettinger | 2010-09-07 | 1 | -4/+0 |
| | |||||
* | Fix test that depends on a particular implementation of random.choice(). | Raymond Hettinger | 2010-09-07 | 2 | -27/+24 |
| | |||||
* | Issue #4026: Make the fcntl extension build under AIX. | Antoine Pitrou | 2010-09-07 | 5 | -10/+108 |
| | | | | Patch by Sébastien Sablé. | ||||
* | 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 |
| | |||||
* | 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 | 4 | -25/+46 |
| | |||||
* | 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 | 4 | -12/+44 |
| | |||||
* | Document which part of the random module module are guaranteed. | Raymond Hettinger | 2010-09-06 | 2 | -0/+21 |
| | |||||
* | More docstring updates | Amaury Forgeot d'Arc | 2010-09-06 | 2 | -5/+7 |
| | |||||
* | Change docstrings to match the implementation | Amaury Forgeot d'Arc | 2010-09-06 | 1 | -6/+6 |
| | |||||
* | 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 | 5 | -8/+51 |
| | |||||
* | typo | Florent Xicluna | 2010-09-06 | 1 | -2/+2 |
| | |||||
* | typo | Florent Xicluna | 2010-09-06 | 1 | -1/+1 |
| | |||||
* | Fix markup nits | Raymond Hettinger | 2010-09-06 | 1 | -3/+3 |
| | |||||
* | 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 | 4 | -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 a | Antoine Pitrou | 2010-09-06 | 7 | -1/+197 |
| | | | | | 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 | 5 | -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 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 | 2 | -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 bench | Antoine Pitrou | 2010-09-06 | 1 | -0/+6 |
| | | | | e.g. the pure Python implementation in _pyio). | ||||
* | hashlib has two new constant attributes: algorithms_guaranteed and | Gregory P. Smith | 2010-09-06 | 5 | -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 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 |
| | |||||
* | 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 | 6 | -41/+82 |
| | | | | | unsupported operation is attempted (for example, writing to a file open only for reading). | ||||
* | Post-release update. | Georg Brandl | 2010-09-05 | 2 | -1/+13 |
| |