Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #22181: The availability of the getrandom() is now checked in configure, | Victor Stinner | 2015-03-19 | 1 | -0/+3 |
| | | | | | | and stored in pyconfig.h as the new HAVE_GETRANDOM_SYSCALL define. Fix os.urandom() tests using file descriptors if os.urandom() uses getrandom(). | ||||
* | Issue #23646: If time.sleep() is interrupted by a signal, the sleep is now | Victor Stinner | 2015-03-19 | 2 | -15/+36 |
| | | | | | | | retried with the recomputed delay, except if the signal handler raises an exception (PEP 475). Modify also test_signal to use a monotonic clock instead of the system clock. | ||||
* | Issue #23136: _strptime now uniformly handles all days in week 0, including | Serhiy Storchaka | 2015-03-19 | 2 | -5/+23 |
|\ | | | | | | | Jan 30 of previous year. Based on patch by Jim Carroll. | ||||
| * | Issue #23136: _strptime now uniformly handles all days in week 0, including | Serhiy Storchaka | 2015-03-19 | 2 | -5/+23 |
| | | | | | | | | Jan 30 of previous year. Based on patch by Jim Carroll. | ||||
* | | Issue #23700: Iterator of NamedTemporaryFile now keeps a reference to | Serhiy Storchaka | 2015-03-19 | 2 | -1/+16 |
|\ \ | |/ | | | | | NamedTemporaryFile instance. Patch by Bohuslav Kabrda. | ||||
| * | Issue #23700: Iterator of NamedTemporaryFile now keeps a reference to | Serhiy Storchaka | 2015-03-19 | 2 | -1/+16 |
| | | | | | | | | NamedTemporaryFile instance. Patch by Bohuslav Kabrda. | ||||
* | | merge 3.4 | Benjamin Peterson | 2015-03-19 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | wrap properly | Benjamin Peterson | 2015-03-19 | 1 | -2/+2 |
| | | |||||
| * | issue23673 | Ethan Furman | 2015-03-19 | 4 | -9/+48 |
| | | | | | | | | | | | | | | | | | | add private method to enum to support replacing global constants with Enum members: - search for candidate constants via supplied filter - create new enum class and members - insert enum class and replace constants with members via supplied module name - replace __reduce_ex__ with function that returns member name, so previous Python versions can unpickle modify IntEnum classes to use new method | ||||
* | | issue23673 | Ethan Furman | 2015-03-19 | 6 | -30/+63 |
| | | | | | | | | | | | | | | | | | | add private method to enum to support replacing global constants with Enum members: - search for candidate constants via supplied filter - create new enum class and members - insert enum class and replace constants with members via supplied module name - replace __reduce_ex__ with function that returns member name, so previous Python versions can unpickle modify IntEnum classes to use new method | ||||
* | | Issue #22903: The fake test case created by unittest.loader when it fails ↵ | Antoine Pitrou | 2015-03-18 | 2 | -10/+34 |
|\ \ | |/ | | | | | importing a test module is now picklable. | ||||
| * | Issue #22903: The fake test case created by unittest.loader when it fails ↵ | Antoine Pitrou | 2015-03-18 | 2 | -9/+29 |
| | | | | | | | | importing a test module is now picklable. | ||||
* | | Issue #23353: improve exceptions tests for generators | Antoine Pitrou | 2015-03-18 | 1 | -0/+46 |
|\ \ | |/ | |||||
| * | Issue #23353: improve exceptions tests for generators | Antoine Pitrou | 2015-03-18 | 1 | -0/+46 |
| | | |||||
* | | Restored backward compatibility of pickling http.cookies.Morsel. It was | Serhiy Storchaka | 2015-03-18 | 2 | -0/+32 |
| | | | | | | | | broken after converting instance attributes to properies in issue #2211. | ||||
* | | Merge 3.4 (linecache doc) | Victor Stinner | 2015-03-18 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | Issue #11726: Fix linecache example in the doc | Victor Stinner | 2015-03-18 | 1 | -2/+2 |
| | | | | | | | | | | | | | | Use a Python source file (linecache.__file__) instead of /etc/passwd. Modify also linecache docstrings to clarify the linecache is written to cache Python source files, not any text files. | ||||
* | | Merge 3.4 (asyncio) | Victor Stinner | 2015-03-18 | 3 | -0/+5 |
|\ \ | |/ | |||||
| * | Issue #23456: Add missing @coroutine decorators in asyncio | Victor Stinner | 2015-03-18 | 3 | -0/+5 |
| | | |||||
* | | Issue #23605: Fix os.walk(topdown=True), don't cache entry.is_symlink() because | Victor Stinner | 2015-03-18 | 1 | -29/+51 |
| | | | | | | | | | | | | | | the caller can replace the directory with a different file kind. The bottom-up way, os.walk(topdown=False), still uses entry.is_symlink(), and so can be faster than Python 3.4. | ||||
* | | Issue #2211: Updated the implementation of the http.cookies.Morsel class. | Serhiy Storchaka | 2015-03-18 | 2 | -86/+273 |
| | | | | | | | | | | | | | | | | | | Setting attributes key, value and coded_value directly now is deprecated. update() and setdefault() now transform and check keys. Comparing for equality now takes into account attributes key, value and coded_value. copy() now returns a Morsel, not a dict. repr() now contains all attributes. Optimized checking keys and quoting values. Added new tests. Original patch by Demian Brecht. | ||||
* | | Issue #23207: merged fix from 3.4. | Vinay Sajip | 2015-03-18 | 2 | -1/+5 |
|\ \ | |/ | |||||
| * | Issue #23207: Improved kwarg validation. | Vinay Sajip | 2015-03-18 | 2 | -1/+5 |
| | | |||||
| * | Issue #22585: make URandomFDTests test case actually run | Ned Deily | 2015-03-17 | 1 | -0/+1 |
| | | |||||
* | | Issue #18983: Allow selection of output units in timeit. | Robert Collins | 2015-03-17 | 2 | -9/+45 |
| | | | | | | | | | | | | | | | | This allows manual selection of a specific unit such as usecs rather than the use of a heuristic. This is intended to aid machine processing of timeit output. Patch by Serhiy Storchaka. | ||||
* | | Revert changeset d927047b1d8eb87738676980a24930d053ba2150 | Victor Stinner | 2015-03-17 | 2 | -26/+8 |
| | | | | | | | | Sorry, it was a mistake, the patch is still under review: issue #23646. | ||||
* | | Issue #23680: Reduce risk of race condition in check_interrupted_write() of | Victor Stinner | 2015-03-16 | 1 | -2/+2 |
| | | | | | | | | | | | | test_io. Allocate the large data before scheduling an alarm in 1 second. On very slow computer, the alarm rings sometimes during the memory allocation. | ||||
* | | Issue #23680: Reduce risk of race condition in check_interrupted_write_retry() | Victor Stinner | 2015-03-16 | 1 | -1/+8 |
| | | | | | | | | | | | | of test_io. Allocate the large data before scheduling an alarm in 1 second. On very slow computer, the alarm rings sometimes during the memory allocation. | ||||
* | | Use non-zero and non-last positions in error handler tests. | Serhiy Storchaka | 2015-03-16 | 1 | -30/+37 |
|\ \ | |/ | |||||
| * | Use non-zero and non-last positions in error handler tests. | Serhiy Storchaka | 2015-03-16 | 1 | -24/+28 |
| | | |||||
* | | Issue #23631: Fix traceback.format_list when a traceback has been mutated. | Robert Collins | 2015-03-16 | 2 | -5/+19 |
| | | |||||
* | | Increased coverage of standard codec error handlers. | Serhiy Storchaka | 2015-03-15 | 1 | -133/+197 |
|\ \ | |/ | |||||
| * | Increased coverage of standard codec error handlers. | Serhiy Storchaka | 2015-03-15 | 1 | -76/+158 |
| | | |||||
* | | Issue #23568: Add rdivmod support to MagicMock() objects. | Berker Peksag | 2015-03-14 | 2 | -1/+18 |
|\ \ | |/ | | | | | Patch by Håkan Lövdahl. | ||||
| * | Issue #23568: Add rdivmod support to MagicMock() objects. | Berker Peksag | 2015-03-14 | 2 | -1/+18 |
| | | | | | | | | Patch by Håkan Lövdahl. | ||||
* | | Issue #2052: Add charset parameter to HtmlDiff.make_file(). | Berker Peksag | 2015-03-14 | 3 | -9/+47 |
| | | |||||
* | | Issue #23606: Temporarily suppress test for CRT name. | Steve Dower | 2015-03-14 | 1 | -1/+3 |
| | | |||||
* | | Add some periods to the ends of a couple comments | Brett Cannon | 2015-03-13 | 1 | -2/+2 |
| | | |||||
* | | Issue #23491: Implement PEP 441: Improving Python Zip Application Support | Brett Cannon | 2015-03-13 | 2 | -0/+429 |
| | | | | | | | | Thanks to Paul Moore for the PEP and implementation. | ||||
* | | Issue #23566: Skip "fd" tests of test_faulthandler on Windows | Victor Stinner | 2015-03-13 | 1 | -0/+8 |
| | | | | | | | | subprocess doesn't support pass_fds on Windows. | ||||
* | | test | Victor Stinner | 2015-03-12 | 2 | -8/+26 |
| | | |||||
* | | Issue #23138: Fixed parsing cookies with absent keys or values in cookiejar. | Serhiy Storchaka | 2015-03-13 | 2 | -15/+54 |
|\ \ | |/ | | | | | Patch by Demian Brecht. | ||||
| * | Issue #23138: Fixed parsing cookies with absent keys or values in cookiejar. | Serhiy Storchaka | 2015-03-13 | 2 | -15/+54 |
| | | | | | | | | Patch by Demian Brecht. | ||||
* | | Issue #23051: multiprocessing.Pool methods imap() and imap_unordered() now | Serhiy Storchaka | 2015-03-13 | 2 | -14/+69 |
|\ \ | |/ | | | | | | | handle exceptions raised by an iterator. Patch by Alon Diamant and Davin Potts. | ||||
| * | Issue #23051: multiprocessing.Pool methods imap() and imap_unordered() now | Serhiy Storchaka | 2015-03-13 | 2 | -14/+69 |
| | | | | | | | | | | handle exceptions raised by an iterator. Patch by Alon Diamant and Davin Potts. | ||||
* | | Issue #23641: Cleaned out legacy dunder names from tests and docs. | Serhiy Storchaka | 2015-03-12 | 13 | -111/+73 |
|\ \ | |/ | | | | | | | Fixed 2 to 3 porting bug in pynche.ColorDB. Added few tests for __truediv__, __floordiv__ and __matmul__. | ||||
| * | Issue #23641: Cleaned out legacy dunder names from tests and docs. | Serhiy Storchaka | 2015-03-12 | 13 | -111/+62 |
| | | | | | | | | Fixed 2 to 3 porting bug in pynche.ColorDB. | ||||
* | | Issue #23581: Add matmul support to MagicMock. | Berker Peksag | 2015-03-12 | 2 | -1/+12 |
| | | | | | | | | Patch by Håkan Lövdahl. | ||||
* | | Issue #20617: Remove unused import in test_ssl. | Berker Peksag | 2015-03-12 | 1 | -1/+0 |
|\ \ | |/ | | | | | Patch by Mark Lawrence. | ||||
| * | Issue #20617: Remove unused import in test_ssl. | Berker Peksag | 2015-03-12 | 1 | -1/+0 |
| | | | | | | | | Patch by Mark Lawrence. |