summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix Issue9638 - remove dead code from py3k imaplibSenthil Kumaran2010-08-191-15/+0
|
* Create os.fsdecode(): decode from the filesystem encoding with surrogateescapeVictor Stinner2010-08-195-34/+95
| | | | | | | | error handler, or strict error handler on Windows. * Rewrite os.fsencode() documentation * Improve os.fsencode and os.fsdecode() tests using the new PYTHONFSENCODING environment variable
* what's new 3.2: use :mod:Victor Stinner2010-08-181-4/+4
|
* test_sys: move tests at the right placeVictor Stinner2010-08-181-56/+57
| | | | filesystem encoding is not related to sys.sizeof()
* Fix typoÉric Araujo2010-08-182-3/+3
|
* #7647: add ST_RDONLY, ST_NOSUID constants to os module.Andrew M. Kuchling2010-08-185-1/+25
| | | | (Also fix a name ordering in the ACKS file.)
* Fix indentation levelÉric Araujo2010-08-181-2/+2
|
* Fix PyUnicode_EncodeFSDefault() indentationVictor Stinner2010-08-181-2/+2
|
* Improve error message if the command is not decodableVictor Stinner2010-08-182-1/+5
|
* Add more tests to unicodedata with large code pointsAmaury Forgeot d'Arc2010-08-181-0/+2
| | | | (the other functions where not affected by the recent change)
* Fix reindent-rst.py: it works on binary filesVictor Stinner2010-08-181-2/+2
|
* Issue #8622: Add PYTHONFSENCODING environment variable to override theVictor Stinner2010-08-187-34/+93
| | | | | | filesystem encoding. initfsencoding() displays also a better error message if get_codeset() failed.
* Fix stupid typo in test.Amaury Forgeot d'Arc2010-08-181-2/+2
|
* Decompose TESTFN_UNICODE on Mac OS XVictor Stinner2010-08-181-0/+6
|
* Issue #5737: Add Solaris-specific mnemonics in the errno module. Patch byAntoine Pitrou2010-08-183-1/+26
| | | | Matthew Ahrens.
* #5127: Even on narrow unicode builds, the C functions that access the UnicodeAmaury Forgeot d'Arc2010-08-187-232/+69
| | | | | | | | | | Database (Py_UNICODE_TOLOWER, Py_UNICODE_ISDECIMAL, and others) now accept and return characters from the full Unicode range (Py_UCS4). The differences from Python code are few: - unicodedata.numeric(), unicodedata.decimal() and unicodedata.digit() now return the correct value for large code points - repr() may consider more characters as printable.
* Issue #9433: The "-j" option to regrtest now works under Windows too.Antoine Pitrou2010-08-181-1/+2
| | | | | It is not sure it will be beneficial, though, since process launching is more expensive under Windows than it is under Linux.
* Fix Issue672656 - Securing pydoc server.Senthil Kumaran2010-08-181-1/+1
|
* Restore GIL in nis_cat in case of error.Martin v. Löwis2010-08-182-0/+3
|
* Add versionadded tag to PyModule_GetFilenameObject() docVictor Stinner2010-08-181-0/+2
|
* Improve PEP 383 tests (in test_os)Victor Stinner2010-08-182-19/+43
| | | | | | | | | | | * Use the current filesystem encoding instead of always using utf-8 * Enable the test on Mac OS X * Use TESTFN_UNENCODABLE and TESTFN_UNICODE instead of arbitrary filenames * To decode a filename, use strict error handler instead surrogateescape for mbcs encoding (on Windows) * Use TESTFN_UNENCODABLE (if available) for the directory name Skip the test if no non-ascii filename can be created.
* Issue #9425: Create PyModule_GetFilenameObject() functionVictor Stinner2010-08-174-9/+32
| | | | | | ... to get the filename as a unicode object, instead of a byte string. Function needed to support unencodable filenames. Deprecate PyModule_GetFilename() in favor on the new function.
* Correct library name that Ask will work on.Martin v. Löwis2010-08-171-1/+1
|
* Add Ask Solem.Martin v. Löwis2010-08-171-0/+4
|
* Remove unused functions _PyImport_FindModule and _PyImport_IsScriptVictor Stinner2010-08-172-19/+0
|
* libpython.py: py-bt commands escape unencodable charactersVictor Stinner2010-08-171-1/+9
| | | | | | | Encode unicode strings to the terminal encoding with backslashreplace error (as Python does for sys.stderr) before writing them to sys.stdout. It fixes UnicodeEncodeError on writing non-ascii characters in an ascii terminal (C locale: ASCII encoding).
* Issue #8063: Call _PyGILState_Init() earlier in Py_InitializeEx().Victor Stinner2010-08-172-5/+7
|
* Replace :func: by :cfunc:Victor Stinner2010-08-174-12/+12
| | | | To get links to the C functions
* Fix exampleÉric Araujo2010-08-171-1/+1
|
* Add versionadded tagsAntoine Pitrou2010-08-171-0/+4
|
* Modernize gzip examplesAntoine Pitrou2010-08-171-12/+8
|
* Issue #3488: Provide convenient shorthand functions `gzip.compress`Antoine Pitrou2010-08-175-1/+58
| | | | and `gzip.decompress`. Original patch by Anand B. Pillai.
* Cleanup and correct a few ints to be Py_ssize_t.Brian Curtin2010-08-171-3/+4
|
* Properly downcast from size_t/Py_ssize_t in a few places.Brian Curtin2010-08-171-4/+6
|
* Clean some 64-bit issues. Also, always spell "ssize_t" "Py_ssize_t".Antoine Pitrou2010-08-171-30/+33
|
* Minor rewording to docs for the lru_cache decoratorRaymond Hettinger2010-08-171-3/+3
|
* Fix <deque iterator>.__length_hint__() under 64-bit Windows.Antoine Pitrou2010-08-171-1/+1
|
* Issue #9612: The set object is now 64-bit clean under Windows.Antoine Pitrou2010-08-173-11/+17
|
* wrapBenjamin Peterson2010-08-171-2/+2
|
* fix issue #8807: adds a context parameter to POP3_SSL class.Giampaolo Rodolà2010-08-175-8/+53
|
* fix issue #8866: parameters passed to socket.getaddrinfo can now be ↵Giampaolo Rodolà2010-08-175-10/+44
| | | | specified as single keyword arguments.
* Consistency check for versionadded/changed directives.Georg Brandl2010-08-1733-114/+129
|
* Markup nits.Georg Brandl2010-08-171-3/+4
|
* Issue #8202: Set sys.argv[0] to -m rather than -c while searching for the ↵Nick Coghlan2010-08-178-53/+130
| | | | module to execute. Also updates all the cmd_line_script tests to validate the setting of sys.path[0] and the current working directory
* Another attempt at pacifying the windows buildbots by ignoring all the ↵Nick Coghlan2010-08-171-10/+9
| | | | variable information in the dis.code_info tests
* Address XXX comment in dis.py: inspect.py now attempts to reuse the dis.py ↵Nick Coghlan2010-08-173-8/+22
| | | | compiler flag values before resorting to defining its own
* Ignore the exact ID value for the nested function in the dis.code_info testsNick Coghlan2010-08-171-4/+3
|
* Correct a couple of assert* methods. Patch by Dave Malcolm.Ezio Melotti2010-08-171-2/+2
|
* Issue 9147: Add dis.code_info()Nick Coghlan2010-08-174-30/+216
|
* Document and test the resolution of issue 3445 (tolerate missing attributes ↵Nick Coghlan2010-08-174-2/+65
| | | | in functools.update_wrapper, previously implemented as a side effect of the __annotations__ copying patch) and implement issue 9567 (add a __wrapped__ attribute when using update_wrapper)