Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #24467: Fixed possible buffer over-read in bytearray. The bytearray | Serhiy Storchaka | 2015-06-29 | 1 | -1/+18 |
|\ | | | | | | | | | object now always allocates place for trailing null byte and it's buffer now is always null-terminated. | ||||
| * | Issue #24467: Fixed possible buffer over-read in bytearray. The bytearray | Serhiy Storchaka | 2015-06-29 | 1 | -1/+18 |
| | | | | | | | | | | object now always allocates place for trailing null byte and it's buffer now is always null-terminated. | ||||
* | | Issue #20387: Merge test and patch from 3.4.4 | Jason R. Coombs | 2015-06-28 | 2 | -1/+37 |
|\ \ | |/ | |||||
| * | Issue #20387: Merge | Jason R. Coombs | 2015-06-28 | 2 | -1/+37 |
| |\ | |||||
| | * | Issue #20387: Merge patch and test | Jason R. Coombs | 2015-06-28 | 2 | -1/+37 |
| | |\ | |||||
| | | * | Issue #20387: Restore retention of indentation during untokenize. | Dingyuan Wang | 2015-06-22 | 1 | -0/+17 |
| | | | | |||||
| | | * | Issue #20387: Correct test to properly capture expectation. | Jason R. Coombs | 2015-06-26 | 1 | -2/+2 |
| | | | | |||||
| | | * | Issue #20387: Add test capturing failure to roundtrip indented code in ↵ | Jason R. Coombs | 2015-06-20 | 1 | -0/+17 |
| | | | | | | | | | | | | | | | | tokenize module. | ||||
| | | * | Remove unused import and remove doctest-only import into doctests. | Jason R. Coombs | 2015-06-20 | 1 | -1/+3 |
| | | | | |||||
* | | | | Issue #24456: Fixed possible buffer over-read in adpcm2lin() and lin2adpcm() | Serhiy Storchaka | 2015-06-28 | 1 | -0/+10 |
|\ \ \ \ | |/ / / | | | | | | | | | functions of the audioop module. | ||||
| * | | | Issue #24456: Fixed possible buffer over-read in adpcm2lin() and lin2adpcm() | Serhiy Storchaka | 2015-06-28 | 1 | -0/+10 |
| |/ / | | | | | | | | | | functions of the audioop module. | ||||
* | | | Issue #24336: The contextmanager decorator now works with functions with | Serhiy Storchaka | 2015-06-28 | 3 | -6/+14 |
|\ \ \ | |/ / | | | | | | | keyword arguments called "func" and "self". Patch by Martin Panter. | ||||
| * | | Issue #24336: The contextmanager decorator now works with functions with | Serhiy Storchaka | 2015-06-28 | 3 | -6/+14 |
| | | | | | | | | | | | | keyword arguments called "func" and "self". Patch by Martin Panter. | ||||
* | | | upgrade to Unicode 8.0.0 | Benjamin Peterson | 2015-06-27 | 1 | -2/+2 |
| | | | |||||
* | | | Issue #23684: Clarify the return value of the scheme attribute of ↵ | Berker Peksag | 2015-06-25 | 1 | -0/+41 |
|\ \ \ | |/ / | | | | | | | | | | | | | ParseResult and SplitResult objects. Patch by Martin Panter. | ||||
| * | | Issue #23684: Clarify the return value of the scheme attribute of ↵ | Berker Peksag | 2015-06-25 | 1 | -0/+41 |
| | | | | | | | | | | | | | | | | | | ParseResult and SplitResult objects. Patch by Martin Panter. | ||||
* | | | Issue #24400, #24325: More tests for types._GeneratorWrapper | Yury Selivanov | 2015-06-24 | 2 | -13/+31 |
| | | | | | | | | | | | | Also, make 'wrapped' and 'isgen' private. | ||||
* | | | Issue #24325, #24400: Add more unittests for types.coroutine; tweak wrapper ↵ | Yury Selivanov | 2015-06-24 | 3 | -62/+228 |
| | | | | | | | | | | | | implementation. | ||||
* | | | Issue #24495, #24400: Test asyncio.Task.repr in debug mode | Yury Selivanov | 2015-06-24 | 1 | -0/+7 |
| | | | |||||
* | | | Fix asyncio unittests in debug mode | Yury Selivanov | 2015-06-24 | 2 | -1/+3 |
|\ \ \ | |/ / | |||||
| * | | Fix asyncio unittests in debug mode | Yury Selivanov | 2015-06-24 | 1 | -0/+2 |
| | | | |||||
* | | | Issue #24400: Fix CoroWrapper for 'async def' coroutines | Yury Selivanov | 2015-06-24 | 3 | -12/+66 |
|\ \ \ | |/ / | |||||
| * | | Issue #24400: Fix CoroWrapper for 'async def' coroutines | Yury Selivanov | 2015-06-24 | 2 | -11/+42 |
| | | | |||||
| * | | asyncio: Merge changes from issue #24400. | Yury Selivanov | 2015-06-24 | 1 | -31/+17 |
| | | | |||||
* | | | Closes #24244: Removes invalid test from test_time | Steve Dower | 2015-06-24 | 1 | -7/+0 |
| | | | |||||
* | | | Issue #24489: ensure a previously set C errno doesn't disturb cmath.polar(). | Antoine Pitrou | 2015-06-23 | 1 | -10/+41 |
|\ \ \ | |/ / | |||||
| * | | Issue #24489: ensure a previously set C errno doesn't disturb cmath.polar(). | Antoine Pitrou | 2015-06-23 | 1 | -10/+41 |
| | | | |||||
* | | | Issue #24400: Introduce a distinct type for 'async def' coroutines. | Yury Selivanov | 2015-06-22 | 9 | -105/+394 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary of changes: 1. Coroutines now have a distinct, separate from generators type at the C level: PyGen_Type, and a new typedef PyCoroObject. PyCoroObject shares the initial segment of struct layout with PyGenObject, making it possible to reuse existing generators machinery. The new type is exposed as 'types.CoroutineType'. As a consequence of having a new type, CO_GENERATOR flag is no longer applied to coroutines. 2. Having a separate type for coroutines made it possible to add an __await__ method to the type. Although it is not used by the interpreter (see details on that below), it makes coroutines naturally (without using __instancecheck__) conform to collections.abc.Coroutine and collections.abc.Awaitable ABCs. [The __instancecheck__ is still used for generator-based coroutines, as we don't want to add __await__ for generators.] 3. Add new opcode: GET_YIELD_FROM_ITER. The opcode is needed to allow passing native coroutines to the YIELD_FROM opcode. Before this change, 'yield from o' expression was compiled to: (o) GET_ITER LOAD_CONST YIELD_FROM Now, we use GET_YIELD_FROM_ITER instead of GET_ITER. The reason for adding a new opcode is that GET_ITER is used in some contexts (such as 'for .. in' loops) where passing a coroutine object is invalid. 4. Add two new introspection functions to the inspec module: getcoroutinestate(c) and getcoroutinelocals(c). 5. inspect.iscoroutine(o) is updated to test if 'o' is a native coroutine object. Before this commit it used abc.Coroutine, and it was requested to update inspect.isgenerator(o) to use abc.Generator; it was decided, however, that inspect functions should really be tailored for checking for native types. 6. sys.set_coroutine_wrapper(w) API is updated to work with only native coroutines. Since types.coroutine decorator supports any type of callables now, it would be confusing that it does not work for all types of coroutines. 7. Exceptions logic in generators C implementation was updated to raise clearer messages for coroutines: Before: TypeError("generator raised StopIteration") After: TypeError("coroutine raised StopIteration") | ||||
* | | | Issue #24408: Fixed test for tkinter.Font on OS X. | Serhiy Storchaka | 2015-06-21 | 1 | -1/+10 |
|\ \ \ | |/ / | | | | | | | Based on patch by Martin Panter. | ||||
| * | | Issue #24408: Fixed test for tkinter.Font on OS X. | Serhiy Storchaka | 2015-06-21 | 1 | -1/+10 |
| |/ | | | | | | | Based on patch by Martin Panter. | ||||
| * | Issue #15745: Rewrite os.utime() tests in test_os | Victor Stinner | 2015-06-12 | 1 | -202/+210 |
| | | | | | | | | | | | | | | | | | | | | * Don't use the timestamp of an existing file anymore, only use fixed timestamp * Enhance the code checking the resolution of the filesystem timestamps. * Check timestamps with a resolution of 1 microsecond instead of 1 millisecond * When os.utime() uses the current system clock, tolerate a delta of 20 ms. Before some os.utime() tolerated a different of 10 seconds. * Merge duplicated tests and simplify the code | ||||
* | | Issue #8232: Renamed WinFireFox to WinFirefox | Steve Dower | 2015-06-15 | 1 | -2/+2 |
| | | |||||
* | | (Merge 3.4) Issue #15745: Rewrite os.utime() tests in test_os | Victor Stinner | 2015-06-12 | 1 | -202/+209 |
| | | | | | | | | | | | | | | | | | | | | * Don't use the timestamp of an existing file anymore, only use fixed timestamp * Enhance the code checking the resolution of the filesystem timestamps. * Check timestamps with a resolution of 1 microsecond instead of 1 millisecond * When os.utime() uses the current system clock, tolerate a delta of 20 ms. Before some os.utime() tolerated a different of 10 seconds. * Merge duplicated tests and simplify the code | ||||
* | | Issue #24408: Added more tkinter.Font tests. | Serhiy Storchaka | 2015-06-09 | 1 | -5/+65 |
|\ \ | |/ | |||||
| * | Issue #24408: Added more tkinter.Font tests. | Serhiy Storchaka | 2015-06-09 | 1 | -5/+65 |
| | | |||||
* | | Issue #24299: Fixed test__locale on Solaris. | Serhiy Storchaka | 2015-06-08 | 1 | -2/+3 |
|\ \ | |/ | |||||
| * | Issue #24299: Fixed test__locale on Solaris. | Serhiy Storchaka | 2015-06-08 | 1 | -2/+3 |
| | | |||||
* | | Issue #24408: Fixed AttributeError in measure() and metrics() methods of | Serhiy Storchaka | 2015-06-08 | 1 | -3/+3 |
| | | | | | | | | tkinter.Font. | ||||
* | | Issue #14373: Other attempt to fix threaded test for lru_cache(). | Serhiy Storchaka | 2015-06-08 | 1 | -6/+11 |
| | | |||||
* | | Issue #14373: C implementation of functools.lru_cache() now can be used with | Serhiy Storchaka | 2015-06-08 | 1 | -0/+31 |
| | | | | | | | | methods. | ||||
* | | Issue #14373: Fixed threaded test for lru_cache(). Added new threaded test. | Serhiy Storchaka | 2015-06-08 | 1 | -14/+47 |
| | | |||||
* | | Issue #8232: webbrowser support incomplete on Windows. Patch by Brandon Milam | Steve Dower | 2015-06-08 | 1 | -9/+111 |
| | | |||||
* | | added matmul and imatmul to operator.__all__ | Tal Einat | 2015-06-07 | 1 | -6/+6 |
| | | |||||
* | | Issue 24374: Plug refleak in set_coroutine_wrapper | Yury Selivanov | 2015-06-04 | 1 | -2/+2 |
| | | |||||
* | | Issue #24369: Defend against key-changes during iteration. | Eric Snow | 2015-06-04 | 1 | -0/+17 |
| | | |||||
* | | Issue #24368: Support keyword arguments in OrderedDict methods. | Eric Snow | 2015-06-03 | 1 | -1/+15 |
| | | |||||
* | | Issue 24342: Let wrapper set by sys.set_coroutine_wrapper fail gracefully | Yury Selivanov | 2015-06-02 | 1 | -0/+20 |
| | | |||||
* | | Merge update to pip/setuptools | Donald Stufft | 2015-06-02 | 3 | -2/+2 |
|\ \ | |/ | |||||
| * | Upgrade pip to 7.0.3 and setuptools to 17.0 | Donald Stufft | 2015-06-02 | 3 | -2/+2 |
| | | |||||
* | | Merge the fix for #24267 | Donald Stufft | 2015-06-02 | 2 | -6/+21 |
|\ \ | |/ |