summaryrefslogtreecommitdiffstats
path: root/Include
Commit message (Collapse)AuthorAgeFilesLines
* Restore prototypes for the 'openpty' and 'forkpty' on BSDI (broken in issue ↵Serhiy Storchaka2013-10-191-4/+2
| | | | #1772673).
* Issue #1772673: The type of `char*` arguments now changed to `const char*`.Serhiy Storchaka2013-10-199-38/+44
|
* Issue #16129: Py_SetStandardStreamEncoding cleanupsNick Coghlan2013-10-181-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 declarationNick Coghlan2013-10-171-2/+3
|
* Issue #16129: Add `Py_SetStandardStreamEncoding`Nick Coghlan2013-10-171-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 Pitrou2013-10-121-2/+2
| | | | ("make smelly" now clean)
* Issue #19219: Speed up marshal.loads(), and make pyc files slightly (5% to ↵Antoine Pitrou2013-10-121-1/+1
| | | | 10%) smaller.
* Close #19199: Remove ``PyThreadState.tick_counter`` fieldVictor Stinner2013-10-091-10/+0
|
* Closes #13867: remove untrue comment about PyWeakref_Check().Georg Brandl2013-10-081-3/+0
|
* Fix macro expansion of _PyErr_OCCURRED(), and make sure to use it in at ↵Antoine Pitrou2013-10-071-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 Pitrou2013-10-071-1/+1
| | | | | | | | least one place so as to avoid regressions.
* | fix commentBenjamin Peterson2013-10-051-1/+1
| |
* | Issue #19087: Improve bytearray allocation in order to allow cheap popping ↵Antoine Pitrou2013-10-051-5/+6
| | | | | | | | of data at the front (slice deletion).
* | mergeRaymond Hettinger2013-10-011-0/+1
|\ \ | |/
| * Issue #18594: Fix the fast path for collections.Counter().Raymond Hettinger2013-10-011-0/+1
| | | | | | | | The path wasn't being taken due to an over-restrictive type check.
* | Post-version release cleanup.Larry Hastings2013-09-301-1/+1
| |
* | Version bump to 3.4.0a3.v3.4.0a3Larry Hastings2013-09-281-2/+2
| |
* | Merge.Larry Hastings2013-09-092-1/+26
|\ \
| * | Remove the freelist scheme for setobjects.Raymond Hettinger2013-09-081-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 Pitrou2013-09-071-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 Hastings2013-09-091-1/+1
| | |
* | | Version number bump for Python 3.4.0a2.v3.4.0a2Larry Hastings2013-09-071-2/+2
|/ /
* | Factor-out the common code for setting a KeyError.Raymond Hettinger2013-09-021-0/+1
| |
* | Issue #18756: os.urandom() now uses a lazily-opened persistent file ↵Antoine Pitrou2013-08-301-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 handlesVictor Stinner2013-08-271-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 Storchaka2013-08-275-11/+11
|\ \ | |/ | | | | error messages and comments.
| * Issue #18783: Removed existing mentions of Python long type in docstrings,Serhiy Storchaka2013-08-275-11/+11
| | | | | | | | error messages and comments.
* | Close #11619: The parser and the import machinery do not encode UnicodeVictor Stinner2013-08-267-10/+97
| | | | | | | | filenames anymore on Windows.
* | Issue #18772: fix the gdb plugin after the set implementation changesAntoine Pitrou2013-08-242-1/+4
| |
* | Issue18771: Reduce the cost of hash collisions for set objects.Raymond Hettinger2013-08-191-1/+1
| |
* | #18466: merge with 3.3.Ezio Melotti2013-08-171-1/+1
|\ \ | |/
| * #18466: fix more typos. Patch by Févry Thibault.Ezio Melotti2013-08-171-1/+1
| |
* | Issue #18722: Remove uses of the "register" keyword in C code.Antoine Pitrou2013-08-132-9/+9
| |
* | Issue #10241: Clear extension module dict copies at interpreter shutdown.Antoine Pitrou2013-08-101-0/+3
| | | | | | | | | | | | Patch by Neil Schemenauer, minimally modified. (re-apply after fix for tkinter-related crash)
* | Issue #16400: Add command line option for isolated mode.Christian Heimes2013-08-101-0/+1
| | | | | | | | | | | | | | | | | | | | -I Run Python in isolated mode. This also implies -E and -s. In isolated mode sys.path contains neither the script’s directory nor the user’s site-packages directory. All PYTHON* environment variables are ignored, too. Further restrictions may be imposed to prevent the user from injecting malicious code.
* | Issue #18665: fix typos. Patch by Vajrasky Kok.Antoine Pitrou2013-08-061-1/+1
| |
* | Put the most important and most frequency accessed struct member first.Raymond Hettinger2013-08-061-1/+1
| |
* | Issue #17934: Add a clear() method to frame objects, to help clean up ↵Antoine Pitrou2013-08-052-0/+5
| | | | | | | | expensive details (local variables) and break reference cycles.
* | Cycled Misc/NEWS for alpha 2, touched patchlevel.Larry Hastings2013-08-041-1/+1
| |
* | Merge from v3.4.0a1 head.Larry Hastings2013-08-031-0/+1
|\ \
| * \ Issue #16741: Fix an error reporting in int().Serhiy Storchaka2013-08-031-0/+1
| |\ \ | | |/
| | * Issue #16741: Fix an error reporting in int().Serhiy Storchaka2013-08-031-0/+1
| | |
* | | Bumped version to 3.4.0a1.v3.4.0a1Larry Hastings2013-08-031-2/+2
|/ /
* | Backout 62658d9d8926 (issue #10241): it causes a crash at shutdown when ↵Antoine Pitrou2013-08-021-3/+0
| | | | | | | | deallocating a Tkapp object.
* | Issue #10241: Clear extension module dict copies at interpreter shutdown.Antoine Pitrou2013-08-011-0/+3
| | | | | | | | Patch by Neil Schemenauer, minimally modified.
* | Issue #18112: PEP 442 implementation (safe object finalization).Antoine Pitrou2013-07-302-5/+39
| |
* | (Merge 3.3) According to the PEP 7, C code must "use 4-space indents"Victor Stinner2013-07-261-303/+303
|\ \ | |/ | | | | Replace 8 spaces with 4.
| * According to the PEP 7, C code must "use 4-space indents"Victor Stinner2013-07-261-299/+299
| | | | | | | | Replace 8 spaces with 4.
* | Issue #18520: Add a new PyStructSequence_InitType2() function, same thanVictor Stinner2013-07-222-1/+3
| | | | | | | | | | | | | | | | PyStructSequence_InitType() except that it has a return value (0 on success, -1 on error). * PyStructSequence_InitType2() now raises MemoryError on memory allocation failure * Fix also some calls to PyDict_SetItemString(): handle error
* | Issue #18203: Add _PyMem_RawStrdup() and _PyMem_Strdup()Victor Stinner2013-07-071-0/+3
| | | | | | | | | | Replace strdup() with _PyMem_RawStrdup() or _PyMem_Strdup(), depending if the GIL is held or not.