Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | | Closes #21921: Fix ResourceWarning in the asyncio examples: close the event | Victor Stinner | 2014-07-05 | 2 | -3/+12 | |
| | | | | | | | | | | | | | | | | | | | | loop at exit. Patch written by Vajrasky Kok (I modified also the "hello world" example using a coroutine). | |||||
| * | | | Closes #21886, #21447: Fix a race condition in asyncio when setting the result | Victor Stinner | 2014-07-05 | 9 | -7/+31 | |
| | | | | | | | | | | | | | | | | | | | | of a Future with call_soon(). Add an helper, a private method, to set the result only if the future was not cancelled. | |||||
| * | | | Issue #21920: Add a missing colon to the __main__ doc. | Berker Peksag | 2014-07-05 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | Patch by Stefan Tatschner. | |||||
| * | | | Issue #21897: Fix a crash with the f_locals attribute with closure variables ↵ | Antoine Pitrou | 2014-07-05 | 3 | -1/+56 | |
| | | | | | | | | | | | | | | | | when frame.clear() has been called. | |||||
| * | | | properly decref the return value of close() | Benjamin Peterson | 2014-07-05 | 1 | -3/+5 | |
| | | | | ||||||
| * | | | Issue #21892, #21893: Partial revert of changeset 4f55e802baf0, PyErr_Format() | Victor Stinner | 2014-07-04 | 1 | -18/+8 | |
| | | | | | | | | | | | | | | | | uses "%zd" for Py_ssize_t, not PY_FORMAT_SIZE_T | |||||
* | | | | Issue #21881: Be more tolerant in test_tcl to not parsable by float() NaN | Serhiy Storchaka | 2014-07-07 | 1 | -6/+6 | |
|/ / / | | | | | | | | | | representations (on mips and m68k platforms). | |||||
* | | | Add an index entry for exec() builtin. | Berker Peksag | 2014-07-04 | 1 | -0/+1 | |
| | | | | | | | | | | | | Reported by Draic Kin on docs@. | |||||
* | | | Issue #21151: Fixed a segfault in the winreg module. | Zachary Ware | 2014-07-03 | 3 | -2/+20 | |
| | | | | | | | | | | | | | | | | | | | | | When ``None`` was passed as a ``REG_BINARY`` value to SetValueEx, PyMem_DEL was called on an uninitialized buffer. Patch by John Ehresman. (Also an incidental typo fix in a comment in test_winreg) | |||||
* | | | Update docs about tp_richcompare | Andrew Svetlov | 2014-07-03 | 1 | -1/+3 | |
| | | | ||||||
* | | | Fix guidance for subclassing collections.Set() | Raymond Hettinger | 2014-07-02 | 2 | -2/+2 | |
| | | | ||||||
* | | | asyncio: sync with Tulip | Victor Stinner | 2014-07-02 | 4 | -7/+23 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * _UnixSubprocessTransport: fix file mode of stdin. Open stdin in write mode, not in read mode * Examples: close the event loop at exit * More reliable CoroWrapper.__del__. If the constructor is interrupted by KeyboardInterrupt or the coroutine objet is destroyed lately, some the _source_traceback attribute doesn't exist anymore. * repr(Task): include also the future the task is waiting for | |||||
* | | | Issue #21090: io.FileIO.readall() does not ignore I/O errors anymore. Before, | Victor Stinner | 2014-07-02 | 2 | -2/+5 | |
| | | | | | | | | | | | | it ignored I/O errors if at least the first C call read() succeed. | |||||
* | | | Use try-finally idiom in example for locks in multiprocessing | Andrew Svetlov | 2014-07-02 | 1 | -2/+4 | |
| | | | ||||||
* | | | More idlelib cleanup inspired by pyflakes. | Terry Jan Reedy | 2014-07-02 | 3 | -5/+5 | |
| | | | ||||||
* | | | Issue #18258: Fix test discovery for test_codecmaps_*. | Zachary Ware | 2014-07-02 | 6 | -22/+6 | |
| | | | ||||||
* | | | Delete a few unused names suggested by pyflakes. | Terry Jan Reedy | 2014-07-01 | 5 | -10/+10 | |
| | | | ||||||
* | | | Issue #8677: make the zlib module "ssize_t clean" for parsing parameters | Victor Stinner | 2014-07-01 | 1 | -0/+1 | |
| | | | ||||||
* | | | Closes #21780: make the unicodedata module "ssize_t clean" for parsing ↵ | Victor Stinner | 2014-07-01 | 1 | -2/+8 | |
| | | | | | | | | | | | | parameters | |||||
* | | | Issue #21781: Make the ssl module "ssize_t clean" for parsing parameters. | Victor Stinner | 2014-07-01 | 2 | -2/+11 | |
| | | | | | | | | | | | | ssl.RAND_add() now supports strings longer than 2 GB. | |||||
* | | | asyncio: Fix test_sleep_cancel(): call_later() mock has no self parameter | Victor Stinner | 2014-07-01 | 1 | -2/+2 | |
| | | | ||||||
* | | | Closes #21892, #21893: Use PY_FORMAT_SIZE_T instead of %zi or %zu to format C | Victor Stinner | 2014-07-01 | 2 | -13/+26 | |
| | | | | | | | | | | | | size_t, because %zi/%u is not supported on all platforms. | |||||
* | | | Issue #21891: remove extraneous semicolon. | Ned Deily | 2014-07-01 | 1 | -1/+1 | |
| | | | ||||||
* | | | Issue #18592: Refactor 2 SearchDialogBase.create_(option/other)_buttons methods | Terry Jan Reedy | 2014-07-01 | 2 | -124/+70 | |
| | | | | | | | | | | | | | | | | | | to remove duplication and return info for tests. Rewrite corresponding tests. Test_create_option_buttons was not testing anything because of buggy comparisons. Use Python subscripting to get widget options. | |||||
* | | | Issue #13689: Remove a dead link from howto/urllib. | Berker Peksag | 2014-07-01 | 1 | -3/+1 | |
| | | | ||||||
* | | | Issue #18592: Add unittests for SearchDialogBase. Patch by Phil Webster. | Terry Jan Reedy | 2014-07-01 | 2 | -10/+213 | |
| | | | ||||||
* | | | Issue #21882: In turtle demos, remove module scope gui and sys calls by | Terry Jan Reedy | 2014-06-30 | 7 | -61/+51 | |
| | | | | | | | | | | | | either deleting or moving to the module's main function. | |||||
* | | | Issue #21163: BaseEventLoop.run_until_complete() and test_utils.run_briefly() | Victor Stinner | 2014-06-30 | 3 | -1/+14 | |
| | | | | | | | | | | | | | | | don't log the "destroy pending task" message anymore. The log is redundant for run_until_complete() and useless in run_briefly(). | |||||
* | | | asyncio: sync with Tulip | Victor Stinner | 2014-06-30 | 3 | -10/+52 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Sort imports - Simplify/optimize iscoroutine(). Inline inspect.isgenerator(obj): replace it with isinstance(obj, types.GeneratorType) - CoroWrapper: check at runtime if Python has the yield-from bug #21209. If Python has the bug, check if CoroWrapper.send() was called by yield-from to decide if parameters must be unpacked or not. - Fix "Task was destroyed but it is pending!" warning in test_task_source_traceback() | |||||
* | | | Fix typo in socket.getaddrinfo() docstring. | Berker Peksag | 2014-06-30 | 1 | -4/+4 | |
| | | | | | | | | | | | | Reported by Krishna Kumar Thakur on docs@. | |||||
* | | | Issue #21811: Add Misc/NEWS entry. | Ned Deily | 2014-06-30 | 1 | -0/+2 | |
| | | | ||||||
* | | | Issue #14235: Use importlib.reload() in test_cmd.test_coverage. | Berker Peksag | 2014-06-30 | 1 | -1/+1 | |
| | | | ||||||
* | | | Issue #21778: Clarify use of flags if PyBuffer_FillInfo() is used inside a | Stefan Krah | 2014-06-29 | 1 | -2/+2 | |
| | | | | | | | | | | | | getbufferproc(). | |||||
* | | | Issue #20753: Skip PasswordProtectedSiteTestCase when Python is built ↵ | Berker Peksag | 2014-06-29 | 1 | -1/+5 | |
| | | | | | | | | | | | | without threads. | |||||
* | | | asyncio: sync with Tulip, add a new asyncio.coroutines module | Victor Stinner | 2014-06-28 | 12 | -199/+221 | |
| | | | ||||||
* | | | Closes #11279: test_posix and lack of "id -G" support - less noise required? ↵ | Jesus Cea | 2014-06-28 | 1 | -1/+1 | |
| | | | | | | | | | | | | (Solaris) | |||||
* | | | asyncio: Fix two "Coroutine xxx was never yielded from" messages in tests | Victor Stinner | 2014-06-27 | 1 | -2/+6 | |
| | | | ||||||
* | | | asyncio: Fix unit tests on Windows, escape filenames in regex | Victor Stinner | 2014-06-27 | 2 | -6/+6 | |
| | | | ||||||
* | | | Issue #11453: asyncore: emit a ResourceWarning when an unclosed file_wrapper | Victor Stinner | 2014-06-27 | 3 | -0/+28 | |
| | | | | | | | | | | | | | | | object is destroyed. The destructor now closes the file if needed. The close() method can now be called twice: the second call does nothing. | |||||
* | | | Closes #21582: Cleanup test_asyncore. Patch written by diana. | Victor Stinner | 2014-06-27 | 1 | -36/+18 | |
| | | | | | | | | | | | | | | | | | | - Use support.captured_stderr() where appropriate - Removes some "from test.support import xxx" import and uses support.xxx instead. | |||||
* | | | Fix indentation and class name in socket howto example. | Ezio Melotti | 2014-06-27 | 1 | -3/+3 | |
| | | | ||||||
* | | | asyncio, Tulip issue 137: In debug mode, save traceback where Future, Task and | Victor Stinner | 2014-06-27 | 8 | -26/+180 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Handle objects are created. Pass the traceback to call_exception_handler() in the 'source_traceback' key. The traceback is truncated to hide internal calls in asyncio, show only the traceback from user code. Add tests for the new source_traceback, and a test for the 'Future/Task exception was never retrieved' log. | |||||
* | | | asyncio, Tulip issue 137: In debug mode, add the traceback where the coroutine | Victor Stinner | 2014-06-27 | 2 | -7/+42 | |
| | | | | | | | | | | | | object was created to the "coroutine ... was never yield from" log | |||||
* | | | asyncio: Oops, restore a removed test | Victor Stinner | 2014-06-27 | 1 | -0/+3 | |
| | | | ||||||
* | | | Issue #21875: Remove vestigial references to Classic Mac OS in os module docs. | Ned Deily | 2014-06-27 | 2 | -8/+2 | |
| | | | ||||||
* | | | use NULL not 0 | Benjamin Peterson | 2014-06-27 | 1 | -9/+6 | |
| | | | ||||||
* | | | Issue #21858: Better handling of Python exceptions in the sqlite3 module. | Victor Stinner | 2014-06-26 | 2 | -16/+28 | |
| | | | ||||||
* | | | Issue #21829: Fix running test_ctypes on Windows with -O or -OO | Zachary Ware | 2014-06-26 | 1 | -12/+3 | |
| | | | ||||||
* | | | #21476: Unwrap fp in BytesParser so the file isn't unexpectedly closed. | R David Murray | 2014-06-26 | 3 | -1/+31 | |
| | | | | | | | | | | | | This makes the behavior match that of Parser. Patch by Vajrasky Kok. | |||||
* | | | Issue #19145: Remove duplicate ACKS entry | Raymond Hettinger | 2014-06-26 | 1 | -1/+0 | |
| | | |