Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| | * | Closes #13867: remove untrue comment about PyWeakref_Check(). | Georg Brandl | 2013-10-08 | 1 | -3/+0 | |
| | | | ||||||
* | | | Bump version number to 3.4.0b1.v3.4.0b1 | Larry Hastings | 2013-11-24 | 1 | -3/+3 | |
| | | | ||||||
* | | | Issue #19730: Argument Clinic now supports all the existing PyArg | Larry Hastings | 2013-11-23 | 1 | -0/+7 | |
| | | | | | | | | | | | | | | | "format units" as legacy converters, as well as two new features: "self converters" and the "version" directive. | |||||
* | | | Issue #19722: Added opcode.stack_effect(), which accurately | Larry Hastings | 2013-11-23 | 1 | -0/+3 | |
| | | | | | | | | | | | | computes the stack effect of bytecode instructions. | |||||
* | | | Issue #19619: Blacklist non-text codecs in method API | Nick Coghlan | 2013-11-22 | 1 | -0/+27 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | |||||
* | | | ssue #19183: Implement PEP 456 'secure and interchangeable hash algorithm'. | Christian Heimes | 2013-11-20 | 4 | -34/+150 | |
| | | | | | | | | | | | | Python now uses SipHash24 on all major platforms. | |||||
* | | | oops, remove _PyObject_ReprWriter() definition (unwanted change) | Victor Stinner | 2013-11-19 | 1 | -3/+0 | |
| | | | ||||||
* | | | Add _PyUnicodeWriter_WriteASCIIString() function | Victor Stinner | 2013-11-19 | 1 | -3/+14 | |
| | | | ||||||
* | | | Fix compiler warning on Windows 64-bit: asdl_seq_SET() stores the index ↵ | Victor Stinner | 2013-11-15 | 1 | -4/+6 | |
| | | | | | | | | | | | | | | | | | | parameter into a Py_ssize_t, instead of an int | |||||
* | | | Close #17828: better handling of codec errors | Nick Coghlan | 2013-11-13 | 1 | -0/+22 | |
| | | | | | | | | | | | | | | | | | | | | | | | | - output type errors now redirect users to the type-neutral convenience functions in the codecs module - stateless errors that occur during encoding and decoding will now be automatically wrapped in exceptions that give the name of the codec involved | |||||
* | | | Issue #19512, #19526: Exclude the new _PyDict_DelItemId() function from the | Victor Stinner | 2013-11-08 | 1 | -2/+3 | |
| | | | | | | | | | | | | stable ABI | |||||
* | | | Issue #19512, #19515: remove shared identifiers, move identifiers where they | Victor Stinner | 2013-11-07 | 1 | -8/+0 | |
| | | | | | | | | | | | | | | | | | | | | | are used. Move also _Py_IDENTIFIER() defintions to the top in modified files to remove identifiers duplicated in the same file. | |||||
* | | | Issue #19512: add _PyUnicode_CompareWithId() function | Victor Stinner | 2013-11-06 | 2 | -2/+8 | |
| | | | | | | | | | | | | | | | | | | | | | _PyUnicode_CompareWithId() is faster than PyUnicode_CompareWithASCIIString() when both strings are equal and interned. Add also _PyId_builtins identifier for "builtins" common string. | |||||
* | | | Issue #19512: add some common identifiers to only create common strings once, | Victor Stinner | 2013-11-06 | 1 | -2/+10 | |
| | | | | | | | | | | | | | | | | | | | | | instead of creating temporary Unicode string objects Add also more identifiers in pythonrun.c to avoid temporary Unicode string objets for the interactive interpreter. | |||||
* | | | Issue #19512: Add _PySys_GetObjectId() and _PySys_SetObjectId() functions | Victor Stinner | 2013-11-06 | 1 | -0/+3 | |
| | | | ||||||
* | | | Issue #19512: Add a new _PyDict_DelItemId() function, similar to | Victor Stinner | 2013-11-06 | 1 | -0/+1 | |
| | | | | | | | | | | | | PyDict_DelItemString() but using an identifier for the key | |||||
* | | | Issue #19512: Add PyRun_InteractiveOneObject() function | Victor Stinner | 2013-11-06 | 1 | -0/+4 | |
| | | | | | | | | | | | | | | | Only decode the filename once. PyRun_InteractiveOneObject() uses an identifier for "<string>" string, so the byte string is only decoded once. | |||||
* | | | Issue #18408: Add a new PyFrame_FastToLocalsWithError() function to handle | Victor Stinner | 2013-10-29 | 1 | -0/+2 | |
| | | | | | | | | | | | | | | | exceptions when merging fast locals into f_locals of a frame. PyEval_GetLocals() now raises an exception and return NULL on failure. | |||||
* | | | Post-release updates for 3.4.0a4. | Larry Hastings | 2013-10-22 | 1 | -1/+1 | |
| | | | ||||||
* | | | Version bump for 3.4.0a4.v3.4.0a4 | Larry Hastings | 2013-10-20 | 1 | -2/+2 | |
| | | | ||||||
* | | | Restore prototypes for the 'openpty' and 'forkpty' on BSDI (broken in issue ↵ | Serhiy Storchaka | 2013-10-19 | 1 | -4/+2 | |
| | | | | | | | | | | | | #1772673). | |||||
* | | | Issue #1772673: The type of `char*` arguments now changed to `const char*`. | Serhiy Storchaka | 2013-10-19 | 9 | -38/+44 | |
| | | | ||||||
* | | | Issue #16129: Py_SetStandardStreamEncoding cleanups | Nick Coghlan | 2013-10-18 | 1 | -0/+5 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - don't call PyErr_NoMemory with interpreter is not initialised - note that it's OK to call _PyMem_RawStrDup here - don't include this in the limited API - capitalise "IO" - be explicit that a non-zero return indicates an error - include versionadded marker in docs | |||||
* | | | Issue #16129: Move Py_SetStandardStreamEncoding declaration | Nick Coghlan | 2013-10-17 | 1 | -2/+3 | |
| | | | ||||||
* | | | Issue #16129: Add `Py_SetStandardStreamEncoding` | Nick Coghlan | 2013-10-17 | 1 | -0/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This new pre-initialization API allows embedding applications like Blender to force a particular encoding and error handler for the standard IO streams. Also refactors Modules/_testembed.c to let us start testing multiple embedding scenarios. (Initial patch by Bastien Montagne) | |||||
* | | | Issue #4555: All exported C symbols are now prefixed with either "Py" or "_Py". | Antoine Pitrou | 2013-10-12 | 1 | -2/+2 | |
| | | | | | | | | | | | | ("make smelly" now clean) | |||||
* | | | Issue #19219: Speed up marshal.loads(), and make pyc files slightly (5% to ↵ | Antoine Pitrou | 2013-10-12 | 1 | -1/+1 | |
| | | | | | | | | | | | | 10%) smaller. | |||||
* | | | Close #19199: Remove ``PyThreadState.tick_counter`` field | Victor Stinner | 2013-10-09 | 1 | -10/+0 | |
| | | | ||||||
* | | | Closes #13867: remove untrue comment about PyWeakref_Check(). | Georg Brandl | 2013-10-08 | 1 | -3/+0 | |
| | | | ||||||
* | | | Fix macro expansion of _PyErr_OCCURRED(), and make sure to use it in at ↵ | Antoine Pitrou | 2013-10-07 | 1 | -1/+1 | |
|\ \ \ | |/ / | | | | | | | least one place so as to avoid regressions. | |||||
| * | | Fix macro expansion of _PyErr_OCCURRED(), and make sure to use it in at ↵ | Antoine Pitrou | 2013-10-07 | 1 | -1/+1 | |
| |/ | | | | | | | least one place so as to avoid regressions. | |||||
* | | fix comment | Benjamin Peterson | 2013-10-05 | 1 | -1/+1 | |
| | | ||||||
* | | Issue #19087: Improve bytearray allocation in order to allow cheap popping ↵ | Antoine Pitrou | 2013-10-05 | 1 | -5/+6 | |
| | | | | | | | | of data at the front (slice deletion). | |||||
* | | merge | Raymond Hettinger | 2013-10-01 | 1 | -0/+1 | |
|\ \ | |/ | ||||||
| * | Issue #18594: Fix the fast path for collections.Counter(). | Raymond Hettinger | 2013-10-01 | 1 | -0/+1 | |
| | | | | | | | | The path wasn't being taken due to an over-restrictive type check. | |||||
* | | Post-version release cleanup. | Larry Hastings | 2013-09-30 | 1 | -1/+1 | |
| | | ||||||
* | | Version bump to 3.4.0a3.v3.4.0a3 | Larry Hastings | 2013-09-28 | 1 | -2/+2 | |
| | | ||||||
* | | Merge. | Larry Hastings | 2013-09-09 | 2 | -1/+26 | |
|\ \ | ||||||
| * | | Remove the freelist scheme for setobjects. | Raymond Hettinger | 2013-09-08 | 1 | -1/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The setobject freelist was consuming memory but not providing much value. Even when a freelisted setobject was available, most of the setobject fields still needed to be initialized and the small table still required a memset(). This meant that the custom freelisting scheme for sets was providing almost no incremental benefit over the default Python freelist scheme used by _PyObject_Malloc() in Objects/obmalloc.c. | |||||
| * | | Issue #18808: Thread.join() now waits for the underlying thread state to be ↵ | Antoine Pitrou | 2013-09-07 | 1 | -0/+26 | |
| | | | | | | | | | | | | | | | | | | destroyed before returning. This prevents unpredictable aborts in Py_EndInterpreter() when some non-daemon threads are still running. | |||||
* | | | Post-3.4.0a2-release fixups. | Larry Hastings | 2013-09-09 | 1 | -1/+1 | |
| | | | ||||||
* | | | Version number bump for Python 3.4.0a2.v3.4.0a2 | Larry Hastings | 2013-09-07 | 1 | -2/+2 | |
|/ / | ||||||
* | | Factor-out the common code for setting a KeyError. | Raymond Hettinger | 2013-09-02 | 1 | -0/+1 | |
| | | ||||||
* | | Issue #18756: os.urandom() now uses a lazily-opened persistent file ↵ | Antoine Pitrou | 2013-08-30 | 1 | -0/+1 | |
| | | | | | | | | descriptor, so as to avoid using many file descriptors when run in parallel from multiple threads. | |||||
* | | Issue #18571: Implementation of the PEP 446: file descriptors and file handles | Victor Stinner | 2013-08-27 | 1 | -0/+15 | |
| | | | | | | | | | | are now created non-inheritable; add functions os.get/set_inheritable(), os.get/set_handle_inheritable() and socket.socket.get/set_inheritable(). | |||||
* | | Issue #18783: Removed existing mentions of Python long type in docstrings, | Serhiy Storchaka | 2013-08-27 | 5 | -11/+11 | |
|\ \ | |/ | | | | | error messages and comments. | |||||
| * | Issue #18783: Removed existing mentions of Python long type in docstrings, | Serhiy Storchaka | 2013-08-27 | 5 | -11/+11 | |
| | | | | | | | | error messages and comments. | |||||
* | | Close #11619: The parser and the import machinery do not encode Unicode | Victor Stinner | 2013-08-26 | 7 | -10/+97 | |
| | | | | | | | | filenames anymore on Windows. | |||||
* | | Issue #18772: fix the gdb plugin after the set implementation changes | Antoine Pitrou | 2013-08-24 | 2 | -1/+4 | |
| | | ||||||
* | | Issue18771: Reduce the cost of hash collisions for set objects. | Raymond Hettinger | 2013-08-19 | 1 | -1/+1 | |
| | |