summaryrefslogtreecommitdiffstats
path: root/Python
Commit message (Collapse)AuthorAgeFilesLines
* Issue #21523: Fix over-pessimistic computation of the stack effect of some ↵Antoine Pitrou2014-05-231-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 #21523: Fix over-pessimistic computation of the stack effect of some ↵Antoine Pitrou2014-05-231-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.
* | mergeRaymond Hettinger2014-05-191-6/+10
|\ \ | |/
| * Issue 20620: Update the min()/max() docs for the new default argument.Raymond Hettinger2014-05-191-6/+10
| | | | | | | | Patch provided by Berker Peksag.
* | Issue #13916: Fix surrogatepass error handler on WindowsVictor Stinner2014-05-161-0/+4
| |
* | Issue #13916: Disallowed the surrogatepass error handler for non UTF-*Serhiy Storchaka2014-05-151-4/+19
| | | | | | | | encodings.
* | Issue #21490: Add new C macros: Py_ABS() and Py_STRINGIFY()Victor Stinner2014-05-141-5/+3
| | | | | | | | | | Keep _Py_STRINGIZE() in PC/pyconfig.h to not introduce a dependency between pyconfig.h and pymacros.h.
* | Merge from 3.4 (for #21226).Eric Snow2014-05-132-4268/+4287
|\ \ | |/
| * Issue #21226: Set all attrs in PyImport_ExecCodeModuleObject.Eric Snow2014-05-122-4268/+4287
| |
* | Issue #21425: Fix flushing of standard streams in the interactive interpreter.Antoine Pitrou2014-05-111-1/+2
|\ \ | |/
| * Issue #21425: Fix flushing of standard streams in the interactive interpreter.Antoine Pitrou2014-05-111-1/+2
| |
| * Merging from 3.3: The PyCOND_TIMEDWAIT must use microseconds for the timeout ↵Kristján Valur Jónsson2014-05-082-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 argumentKristján Valur Jónsson2014-05-082-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 Brandl2014-03-021-21/+63
| | |
| | * Issue #19619: Blacklist non-text codecs in method APISerhiy Storchaka2014-02-241-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.cBenjamin Peterson2014-02-201-2/+2
| | |
* | | The PyCOND_TIMEDWAIT must use microseconds for the timeout argumentKristján Valur Jónsson2014-05-082-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
* | | Issue21393 Use CryptReleaseContext to release Crypt handle on WindowsTim Golden2014-05-061-1/+1
| | |
* | | Issue #21393: random.c: on Windows, close the hCryptProv handle at exitVictor Stinner2014-05-021-3/+6
| | |
* | | Issue #21312: Update the thread_foobar.h template file to include newer ↵Antoine Pitrou2014-04-281-3/+60
| | | | | | | | | | | | threading APIs. Patch by Jack McCracken.
* | | Issue #13204: Calling sys.flags.__new__ would crash the interpreter, now it ↵Antoine Pitrou2014-04-281-3/+10
|\ \ \ | |/ / | | | | | | raises a TypeError.
| * | Issue #13204: Calling sys.flags.__new__ would crash the interpreter, now it ↵Antoine Pitrou2014-04-281-3/+10
| | | | | | | | | | | | raises a TypeError.
* | | Issue #21207: Detect when the os.urandom cached fd has been closed or ↵Antoine Pitrou2014-04-261-10/+39
|\ \ \ | |/ / | | | | | | replaced, and open it anew.
| * | Issue #21207: Detect when the os.urandom cached fd has been closed or ↵Antoine Pitrou2014-04-261-10/+39
| | | | | | | | | | | | replaced, and open it anew.
* | | merge 3.4Benjamin Peterson2014-04-181-1/+1
|\ \ \ | |/ /
| * | correct len signature in docstring (closes #21294)Benjamin Peterson2014-04-181-1/+1
| | |
* | | - Merge 3.4doko@ubuntu.com2014-04-171-0/+4
|\ \ \ | |/ /
| * | Fixes for KFreeBSD and the Hurd:doko@ubuntu.com2014-04-171-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 Sajip2014-04-151-7/+0
| | |
| * | Closed issue #8931: Make alternate formatting for 'c' raise an exception. ↵Eric V. Smith2014-04-151-0/+7
| | | | | | | | | | | | Patch by Torsten Landschoff.
* | | Close issue #8931: Make alternate formatting for 'c' raise an exception. ↵Eric V. Smith2014-04-161-0/+7
| | | | | | | | | | | | Patch by Torsten Landschoff.
* | | Closes issue #12546: Allow \x00 as a fill character for builtin type ↵Eric V. Smith2014-04-141-11/+8
|\ \ \ | |/ / | | | | | | __format__ methods.
| * | Issue #12546: Allow \x00 as a fill character for builtin type __format__ ↵Eric V. Smith2014-04-141-11/+8
| | | | | | | | | | | | methods.
* | | merge 3.4 (#21209)Benjamin Peterson2014-04-141-1/+1
|\ \ \ | |/ /
| * | fix sending tuples to custom generator objects with yield from (closes #21209)Benjamin Peterson2014-04-141-1/+1
| | | | | | | | | | | | Debugged by Victor.
* | | PEP 465: a dedicated infix operator for matrix multiplication (closes #21176)Benjamin Peterson2014-04-107-383/+438
| | |
* | | merge of fix for issue #20942Brett Cannon2014-04-041-32/+54
|\ \ \ | |/ /
| * | Issue #20942: PyImport_ImportFrozenModuleObject() no longer setsBrett Cannon2014-04-041-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).
* | | merge 3.4 (#21089)Benjamin Peterson2014-03-281-0/+1
|\ \ \ | |/ /
| * | undefine SET_SYS_FROM_STRING_BORROW after its done being used (closes #21089)Benjamin Peterson2014-03-281-0/+1
| | |
* | | Issue #19977, #19036: Always include <locale.h> in pythonrun.cVictor Stinner2014-03-181-1/+1
| | | | | | | | | | | | to get LC_CTYPE constant on Windows.
* | | Issue #19977: When the ``LC_TYPE`` locale is the POSIX locale (``C`` locale),Victor Stinner2014-03-181-1/+10
|/ / | | | | | | | | :py:data:`sys.stdin` and :py:data:`sys.stdout` are now using the ``surrogateescape`` error handler, instead of the ``strict`` error handler.
* | Issue #20763: Fix importlib.machinery.PathFinder to supportBrett Cannon2014-02-261-1/+1
| | | | | | | | | | | | PathEntryFinder instances which only define find_module(). Reported by Yukihiro Nakadaira.
* | update magic number for #20625Benjamin Peterson2014-02-191-160/+160
| |
* | Issue #20625: Fix compilation issueVictor Stinner2014-02-181-1/+2
| |
* | Mangle __parameters in __annotations__ dict properly. Issue #20625.Yury Selivanov2014-02-181-1/+7
| |
* | Issue #20320: select.select() and select.kqueue.control() now round the timeoutVictor Stinner2014-02-161-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 Peterson2014-02-141-0/+2
| |
* | Issue #20526, #19466: Revert changes of issue #19466 which introduces aVictor Stinner2014-02-131-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 Peterson2014-02-111-3/+11
| |