Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Closes #22258: Fix the the internal function set_inheritable() on Illumos. | Victor Stinner | 2014-09-02 | 1 | -14/+34 |
| | | | | | | This platform exposes the function ioctl(FIOCLEX), but calling it fails with errno is ENOTTY: "Inappropriate ioctl for device". set_inheritable() now falls back to the slower fcntl() (F_GETFD and then F_SETFD). | ||||
* | Issue #22193: Added private function _PySys_GetSizeOf() needed to implement | Serhiy Storchaka | 2014-08-14 | 1 | -32/+40 |
| | | | | some __sizeof__() methods. | ||||
* | Issue #22146: Fix typo in __build_class__ error message | Zachary Ware | 2014-08-05 | 1 | -1/+1 |
| | |||||
* | Issue #21925: PyImport_Cleanup(): Remove unused parameter in | Victor Stinner | 2014-07-07 | 1 | -1/+1 |
| | | | | PySys_FormatStderr() call | ||||
* | Issue #21891: remove extraneous semicolon. | Ned Deily | 2014-07-01 | 1 | -1/+1 |
| | |||||
* | revert tstate_delete_common, since it's pretty much wrong | Benjamin Peterson | 2014-06-17 | 1 | -8/+1 |
| | |||||
* | remove extra call to tstate_delete_common (merge artifact) | Benjamin Peterson | 2014-06-17 | 1 | -3/+2 |
| | |||||
* | avoid a deadlock with the interpreter head lock and the GIL during finalization | Benjamin Peterson | 2014-06-17 | 1 | -0/+8 |
| | |||||
* | check if the thread is finalizing after retaking the GIL | Benjamin Peterson | 2014-06-17 | 1 | -0/+7 |
| | |||||
* | Issue #19362: Tweek len() doc and docstring to expand the indicated range of | Terry Jan Reedy | 2014-06-16 | 1 | -1/+1 |
| | | | | arguments. Original patch by Gareth Rees. | ||||
* | Issue #21226: fix a ref leak. | Eric Snow | 2014-05-29 | 1 | -0/+1 |
| | |||||
* | Issue #21523: Fix over-pessimistic computation of the stack effect of some ↵ | Antoine Pitrou | 2014-05-23 | 1 | -2/+6 |
| | | | | | | | opcodes in the compiler. This also fixes a quadratic compilation time issue noticeable when compiling code with a large number of "and" and "or" operators. | ||||
* | Issue 20620: Update the min()/max() docs for the new default argument. | Raymond Hettinger | 2014-05-19 | 1 | -6/+10 |
| | | | | Patch provided by Berker Peksag. | ||||
* | Issue #21226: Set all attrs in PyImport_ExecCodeModuleObject. | Eric Snow | 2014-05-12 | 2 | -4268/+4287 |
| | |||||
* | Issue #21425: Fix flushing of standard streams in the interactive interpreter. | Antoine Pitrou | 2014-05-11 | 1 | -1/+2 |
| | |||||
* | Merging from 3.3: The PyCOND_TIMEDWAIT must use microseconds for the timeout ↵ | Kristján Valur Jónsson | 2014-05-08 | 2 | -7/+7 |
|\ | | | | | | | | | | | | | | | | | | | argument in order to have the same resolution as pthreads condition variables. At the same time, it must be large enough to accept 31 bits of milliseconds, which is the maximum timeout value in the windows API. A PY_LONG_LONG of microseconds fullfills both requirements. This closes issue #20737 | ||||
| * | The PyCOND_TIMEDWAIT must use microseconds for the timeout argument | Kristján Valur Jónsson | 2014-05-08 | 2 | -7/+7 |
| | | | | | | | | | | | | | | | | in order to have the same resolution as pthreads condition variables. At the same time, it must be large enough to accept 31 bits of milliseconds, which is the maximum timeout value in the windows API. A PY_LONG_LONG of microseconds fullfills both requirements. This closes issue #20737 | ||||
| * | Issue #20404: reject non-text encodings early in TextIOWrapper. | Georg Brandl | 2014-03-02 | 1 | -21/+63 |
| | | |||||
| * | Issue #19619: Blacklist non-text codecs in method API | Serhiy Storchaka | 2014-02-24 | 1 | -16/+122 |
| | | | | | | | | | | | | | | | | | | | | | | | | str.encode, bytes.decode and bytearray.decode now use an internal API to throw LookupError for known non-text encodings, rather than attempting the encoding or decoding operation and then throwing a TypeError for an unexpected output type. The latter mechanism remains in place for third party non-text encodings. Backported changeset d68df99d7a57. | ||||
| * | bump Python-ast.c | Benjamin Peterson | 2014-02-20 | 1 | -2/+2 |
| | | |||||
* | | Issue #13204: Calling sys.flags.__new__ would crash the interpreter, now it ↵ | Antoine Pitrou | 2014-04-28 | 1 | -3/+10 |
| | | | | | | | | raises a TypeError. | ||||
* | | Issue #21207: Detect when the os.urandom cached fd has been closed or ↵ | Antoine Pitrou | 2014-04-26 | 1 | -10/+39 |
| | | | | | | | | replaced, and open it anew. | ||||
* | | correct len signature in docstring (closes #21294) | Benjamin Peterson | 2014-04-18 | 1 | -1/+1 |
| | | |||||
* | | Fixes for KFreeBSD and the Hurd: | doko@ubuntu.com | 2014-04-17 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | - Issue #21274: Define PATH_MAX for GNU/Hurd in Python/pythonrun.c. - Issue #21276: posixmodule: Don't define USE_XATTRS on KFreeBSD and the Hurd. - Issue #21275: Fix a socket test on KFreeBSD. | ||||
* | | Reverted 16efa8d27e4c after discussion with Eric. | Vinay Sajip | 2014-04-15 | 1 | -7/+0 |
| | | |||||
* | | Closed issue #8931: Make alternate formatting for 'c' raise an exception. ↵ | Eric V. Smith | 2014-04-15 | 1 | -0/+7 |
| | | | | | | | | Patch by Torsten Landschoff. | ||||
* | | Issue #12546: Allow \x00 as a fill character for builtin type __format__ ↵ | Eric V. Smith | 2014-04-14 | 1 | -11/+8 |
| | | | | | | | | methods. | ||||
* | | fix sending tuples to custom generator objects with yield from (closes #21209) | Benjamin Peterson | 2014-04-14 | 1 | -1/+1 |
| | | | | | | | | Debugged by Victor. | ||||
* | | Issue #20942: PyImport_ImportFrozenModuleObject() no longer sets | Brett Cannon | 2014-04-04 | 1 | -32/+54 |
| | | | | | | | | | | | | | | | | __file__. This causes _frozen_importlib to no longer have __file__ set as well as any frozen module imported using imp.init_frozen() (which is deprecated). | ||||
* | | undefine SET_SYS_FROM_STRING_BORROW after its done being used (closes #21089) | Benjamin Peterson | 2014-03-28 | 1 | -0/+1 |
| | | |||||
* | | Issue #20763: Fix importlib.machinery.PathFinder to support | Brett Cannon | 2014-02-26 | 1 | -1/+1 |
| | | | | | | | | | | | | PathEntryFinder instances which only define find_module(). Reported by Yukihiro Nakadaira. | ||||
* | | update magic number for #20625 | Benjamin Peterson | 2014-02-19 | 1 | -160/+160 |
| | | |||||
* | | Issue #20625: Fix compilation issue | Victor Stinner | 2014-02-18 | 1 | -1/+2 |
| | | |||||
* | | Mangle __parameters in __annotations__ dict properly. Issue #20625. | Yury Selivanov | 2014-02-18 | 1 | -1/+7 |
| | | |||||
* | | Issue #20320: select.select() and select.kqueue.control() now round the timeout | Victor Stinner | 2014-02-16 | 1 | -7/+28 |
| | | | | | | | | | | | | aways from zero, instead of rounding towards zero. It should make test_asyncio more reliable, especially test_timeout_rounding() test. | ||||
* | | set line and column numbers for keyword-only arg nodes (closes #20619) | Benjamin Peterson | 2014-02-14 | 1 | -0/+2 |
| | | |||||
* | | Issue #20526, #19466: Revert changes of issue #19466 which introduces a | Victor Stinner | 2014-02-13 | 1 | -15/+5 |
| | | | | | | | | | | regression: don't clear anymore the state of Python threads early during the Python shutdown. | ||||
* | | remove dynamic initializer lists for c89 compliance (closes #20595) | Benjamin Peterson | 2014-02-11 | 1 | -3/+11 |
| | | |||||
* | | merge 3.3 (#20588) | Benjamin Peterson | 2014-02-11 | 1 | -2/+6 |
|\ \ | |/ | |||||
| * | don't put runtime values in array initializer for C89 compliance (closes #20588) | Benjamin Peterson | 2014-02-11 | 1 | -2/+6 |
| | | |||||
* | | Temporary silence test broken by issue19255. | Serhiy Storchaka | 2014-02-10 | 1 | -2/+0 |
| | | | | | | | | Remove unused variables. | ||||
* | | Issue #19255: The builtins module is restored to initial value before | Serhiy Storchaka | 2014-02-10 | 2 | -34/+55 |
| | | | | | | | | cleaning other modules. The sys and builtins modules are cleaned last. | ||||
* | | Issue #20517: Removed unnecessary new (short-lived) functions from PyErr. | Larry Hastings | 2014-02-10 | 1 | -101/+3 |
| | | |||||
* | | Issue #20517: Functions in the os module that accept two filenames | Larry Hastings | 2014-02-10 | 1 | -22/+147 |
| | | | | | | | | | | | | now register both filenames in the exception on failure. This required adding new C API functions allowing OSError exceptions to reference two filenames instead of one. | ||||
* | | Issue #20437: Fixed 22 potential bugs when deleting objects references. | Serhiy Storchaka | 2014-02-09 | 3 | -12/+6 |
|\ \ | |/ | |||||
| * | Issue #20437: Fixed 21 potential bugs when deleting objects references. | Serhiy Storchaka | 2014-02-09 | 3 | -12/+6 |
| | | |||||
* | | Issue #20530: Argument Clinic's signature format has been revised again. | Larry Hastings | 2014-02-09 | 1 | -24/+48 |
| | | | | | | | | | | | | | | The new syntax is highly human readable while still preventing false positives. The syntax also extends Python syntax to denote "self" and positional-only parameters, allowing inspect.Signature objects to be totally accurate for all supported builtins in Python 3.4. | ||||
* | | Close #20500: Don't trigger PyObject_Str assertion at shutdown | Nick Coghlan | 2014-02-09 | 1 | -0/+5 |
| | | |||||
* | | Close #20404: blacklist non-text encodings in io.TextIOWrapper | Nick Coghlan | 2014-02-04 | 1 | -21/+63 |
| | | | | | | | | | | | | | | | | | | - io.TextIOWrapper (and hence the open() builtin) now use the internal codec marking system added for issue #19619 - also tweaked the C code to only look up the encoding once, rather than multiple times - the existing output type checks remain in place to deal with unmarked third party codecs. | ||||
* | | #Issue 20456: Several improvements and bugfixes for Argument Clinic, | Larry Hastings | 2014-02-01 | 1 | -2/+10 |
| | | | | | | | | | | including correctly generating code for Clinic blocks inside C preprocessor conditional blocks. |