summaryrefslogtreecommitdiffstats
path: root/Include
Commit message (Collapse)AuthorAgeFilesLines
* post release bumpGregory P. Smith2011-01-011-1/+1
|
* Add sys.flags.quiet attribute for the new -q option, as noted missing by ↵Georg Brandl2010-12-281-0/+1
| | | | Eric in #1772833.
* Issue #10780: Remove commas at the end of the argument listVictor Stinner2010-12-281-2/+2
| | | | Forbidden in C, stupid language!
* Issue #10780: PyErr_SetFromWindowsErrWithFilename() andVictor Stinner2010-12-281-2/+2
| | | | | PyErr_SetExcFromWindowsErrWithFilename() decode the filename from the filesystem encoding instead of UTF-8.
* Issue #10779: PyErr_WarnExplicit() decodes the filename from the filesystemVictor Stinner2010-12-271-1/+1
| | | | encoding instead of UTF-8.
* Issue #9738: Ooops, fix typos in my previous commit (r87506)Victor Stinner2010-12-272-2/+2
|
* Issue #9738: Document encodings of AST, compiler, parser and PyRun functionsVictor Stinner2010-12-275-38/+91
|
* Issue #9738: document encodings of unicode functionsVictor Stinner2010-12-271-5/+7
|
* Issue #9738: Document encodings of error and warning functionsVictor Stinner2010-12-272-15/+62
|
* Bump to 3.2b2.Georg Brandl2010-12-191-2/+2
|
* Issue #8844: Regular and recursive lock acquisitions can now be interruptedAntoine Pitrou2010-12-151-4/+19
| | | | by signals on platforms using pthreads. Patch by Reid Kleckner.
* Take PyUnicode_TransformDecimalToASCII out of the limited API.Georg Brandl2010-12-051-0/+2
|
* Bump to 3.2b1.Georg Brandl2010-12-041-3/+3
|
* Expose CompileString, not CompileStringFlags under theMartin v. Löwis2010-12-041-1/+1
| | | | limited API.
* Add an "optimize" parameter to compile() to control the optimization level, ↵Georg Brandl2010-12-042-5/+7
| | | | and provide an interface to it in py_compile, compileall and PyZipFile.
* Issue #10557: Fixed error messages from float() and other numericAlexander Belopolsky2010-12-041-0/+11
| | | | | | types. Added a new API function, PyUnicode_TransformDecimalToASCII(), which transforms non-ASCII decimal digits in a Unicode string to their ASCII equivalents.
* Merge branches/pep-0384.Martin v. Löwis2010-12-0359-29/+463
|
* Include structseq.h in Python.h, and remove now-redundant includes in ↵Georg Brandl2010-11-301-0/+1
| | | | individual sources.
* #10439: document PyCodec C APIs.Georg Brandl2010-11-201-4/+4
|
* Issue #10325: Fix two issues in the fallback definitions of PY_LLONG_MAX andMark Dickinson2010-11-201-8/+13
| | | | PY_ULLONG_MAX in pyport.h. Thanks Hallvard B Furuseth for the patch.
* Issue #9518: Extend the PyModuleDef_HEAD_INIT macro to explicitlyDavid Malcolm2010-11-171-1/+6
| | | | | | zero-initialize all fields, fixing compiler warnings seen when building extension modules with gcc with "-Wmissing-field-initializers" (implied by "-W")
* Post-release bumps.Georg Brandl2010-11-161-1/+1
|
* Issue #10413: Updated comments to reflect code changesAlexander Belopolsky2010-11-161-18/+13
|
* Bump to 3.2a4.Georg Brandl2010-11-131-2/+2
|
* PyUnicode_EncodeFS() raises an exception if _Py_wchar2char() failsVictor Stinner2010-11-081-1/+2
| | | | | | * Add error_pos optional argument to _Py_wchar2char() * PyUnicode_EncodeFS() raises a UnicodeEncodeError or MemoryError if _Py_wchar2char() fails
* Issue #10288: The deprecated family of "char"-handling macrosDavid Malcolm2010-11-051-35/+0
| | | | | (ISLOWER()/ISUPPER()/etc) have now been removed: use Py_ISLOWER() etc instead.
* Issue #10293: Remove obsolete field in the PyMemoryView structure,Antoine Pitrou2010-11-042-2/+0
| | | | | unused undocumented value PyBUF_SHADOW, and strangely-looking code in PyMemoryView_GetContiguous.
* Issue #5437: A preallocated MemoryError instance should not hold tracebackAntoine Pitrou2010-10-281-1/+0
| | | | data (including local variables caught in the stack trace) alive infinitely.
* Issue #8761: Mangle PyUnicode_CompareWithASCIIString function name forVictor Stinner2010-10-241-2/+2
| | | | narrow/wide unicode build.
* Add a new warning gategory, ResourceWarning, as discussed on python-dev. It ↵Georg Brandl2010-10-241-0/+1
| | | | | | | | is silent by default, except when configured --with-pydebug. Emit this warning from the GC shutdown procedure, rather than just printing to stderr.
* follow up to #9778: define and use an unsigned hash typeBenjamin Peterson2010-10-231-1/+3
|
* Issue #10089: Add support for arbitrary -X options on the command-line.Antoine Pitrou2010-10-211-0/+3
| | | | They can be retrieved through a new attribute `sys._xoptions`.
* #4499: silence compiler warning on AIX.R. David Murray2010-10-181-0/+2
| | | | Patch from ActiveState.
* make hashes always the size of pointers; introduce Py_hash_t #9778Benjamin Peterson2010-10-178-27/+24
|
* _PyImport_FixupExtension() and _PyImport_FindExtension() uses FS encodingVictor Stinner2010-10-171-2/+4
| | | | | | | * Rename _PyImport_FindExtension() to _PyImport_FindExtensionUnicode(): the filename becomes a Unicode object instead of byte string * Rename _PyImport_FixupExtension() to _PyImport_FixupExtensionUnicode(): the filename becomes a Unicode object instead of byte string
* Add an optional size argument to _Py_char2wchar()Victor Stinner2010-10-161-1/+2
| | | | | | _Py_char2wchar() callers usually need the result size in characters. Since it's trivial to compute it in _Py_char2wchar() (O(1) whereas wcslen() is O(n)), add an option to get it.
* Use locale encoding if Py_FileSystemDefaultEncoding is not setVictor Stinner2010-10-152-11/+7
| | | | | | | | * PyUnicode_EncodeFSDefault(), PyUnicode_DecodeFSDefaultAndSize() and PyUnicode_DecodeFSDefault() use the locale encoding instead of UTF-8 if Py_FileSystemDefaultEncoding is NULL * redecode_filenames() functions and _Py_code_object_list (issue #9630) are no more needed: remove them
* Mark _Py_char2wchar() input argument as constantVictor Stinner2010-10-151-1/+1
|
* Post-release bumps.Georg Brandl2010-10-121-1/+1
|
* Bump to 3.2a3.Georg Brandl2010-10-101-2/+2
|
* Issue #9738: Document PyErr_SetString() and PyErr_SetFromErrnoWithFilename()Victor Stinner2010-10-091-2/+7
| | | | encodings
* _Py_wrealpath() requires the size of the output bufferVictor Stinner2010-10-071-1/+2
|
* _Py_stat() and _Py_fopen(): avoid PyUnicode_AsWideCharString() on WindowsVictor Stinner2010-10-071-2/+2
| | | | | On Windows, Py_UNICODE is wchar_t, so we can avoid the expensive Py_UNICODE* => wchar_t* conversion.
* Fix fileutils for WindowsVictor Stinner2010-10-071-1/+1
| | | | | | * Don't define _Py_wstat() on Windows, Windows has its own _wstat() function with a different API (the stat buffer has another type) * Include windows.h
* Create fileutils.c/.hVictor Stinner2010-10-072-11/+56
| | | | | | | * _Py_fopen() and _Py_stat() come from Python/import.c * (_Py)_wrealpath() comes from Python/sysmodule.c * _Py_char2wchar(), _Py_wchar2char() and _Py_wfopen() come from Modules/main.c * (_Py)_wstat(), (_Py)_wgetcwd(), _Py_wreadlink() come from Modules/getpath.c
* PyUnicode_AsWideCharString() takes a PyObject*, not a PyUnicodeObject*Victor Stinner2010-10-071-1/+1
| | | | | All unicode functions uses PyObject* except PyUnicode_AsWideChar(). Fix the prototype for the new function PyUnicode_AsWideCharString().
* Issue #9630: Redecode filenames when setting the filesystem encodingVictor Stinner2010-09-291-0/+7
| | | | | | | | | | | | | | Redecode the filenames of: - all modules: __file__ and __path__ attributes - all code objects: co_filename attribute - sys.path - sys.meta_path - sys.executable - sys.path_importer_cache (keys) Keep weak references to all code objects until initfsencoding() is called, to be able to redecode co_filename attribute of all code objects.
* Issue #9979: Create function PyUnicode_AsWideCharString().Victor Stinner2010-09-291-2/+17
|
* Issue #9090: When a socket with a timeout fails with EWOULDBLOCK or EAGAIN,Antoine Pitrou2010-09-281-0/+11
| | | | | | retry the select() loop instead of bailing out. This is because select() can incorrectly report a socket as ready for reading (for example, if it received some data with an invalid checksum).
* issue 9910Kristján Valur Jónsson2010-09-271-0/+1
| | | | Add a Py_SetPath api to override magic path computations when starting up python.