summaryrefslogtreecommitdiffstats
path: root/Misc
Commit message (Collapse)AuthorAgeFilesLines
* logging: Added style option to Formatter to allow %, {} or himBHformatting.Vinay Sajip2010-10-251-0/+2
|
* Issue #10143: Update "os.pathconf" valuesJesus Cea2010-10-251-1/+3
|
* Add a new warning gategory, ResourceWarning, as discussed on python-dev. It ↵Georg Brandl2010-10-241-1/+1
| | | | | | | | is silent by default, except when configured --with-pydebug. Emit this warning from the GC shutdown procedure, rather than just printing to stderr.
* Issue 5178: Add tempfile.TemporaryDirectory (original patch by Neil Schemenauer)Nick Coghlan2010-10-241-0/+3
|
* remove broken code accounting an offset the size of the line #10186Benjamin Peterson2010-10-241-0/+3
|
* #1349106: add linesep argument to generator.flatten and header.encode.R. David Murray2010-10-231-0/+3
|
* #6518: enable context manager protocol for ossaudiodev types.Georg Brandl2010-10-231-0/+2
|
* Issue #6011: sysconfig and distutils.sysconfig use the surrogateescape errorVictor Stinner2010-10-231-0/+5
| | | | | | handler to parse the Makefile file. Avoid a UnicodeDecodeError if the source code directory name contains a non-ASCII character and the locale encoding is ASCII.
* Revert r85797 (and r85798): it broke the Windows buildbots because ofAntoine Pitrou2010-10-221-2/+0
| | | | test_multiprocessing's misbehaviour.
* Issue #9935: Speed up pickling of instances of user-defined classes.Antoine Pitrou2010-10-221-0/+2
|
* Issue #5639: Add a *server_hostname* argument to `SSLContext.wrap_socket`Antoine Pitrou2010-10-221-0/+5
| | | | | | in order to support the TLS SNI extension. `HTTPSConnection` and `urlopen()` also use this argument, so that HTTPS virtual hosts are now supported.
* #10166: rewrite self-recursion to iteration in pstats.Stats.add(). Also add ↵Georg Brandl2010-10-221-0/+2
| | | | a unittest and a stats test file.
* Fix #10162: Add try/except around _winreg.OpenKey for keys that areBrian Curtin2010-10-211-0/+3
| | | | | | | | unreadable by all users, e.g., Flash, Silverlight, and Java keys were causing errors. We don't currently have a way to grant/deny permissions for a key via winreg so there are no tests for this.
* 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`.
* #9919: fix off-by-one error in lineno command in Misc/gdbinit; also add ↵Georg Brandl2010-10-211-3/+4
| | | | newline to its output.
* Issue #4388: On Mac OS X, decode command line arguments from UTF-8, instead ofVictor Stinner2010-10-201-0/+6
| | | | | | | the locale encoding. If the LANG (and LC_ALL and LC_CTYPE) environment variable is not set, the locale encoding is ISO-8859-1, whereas most programs (including Python) expect UTF-8. Python already uses UTF-8 for the filesystem encoding and to encode command line arguments on this OS.
* logging: Made StreamHandler terminator configurable.Vinay Sajip2010-10-201-0/+2
|
* Fix for issue #7473.Ronald Oussoren2010-10-201-0/+3
| | | | | | | Without this patch you'll get link errors in some extensions (in particular the _curses_panel) one when you try to build a 3-way universal framework when you previously installed a 2-way universal framework using the python.org installer.
* logging: Allowed filters to be just callables.Vinay Sajip2010-10-191-0/+2
|
* logging: Added tests for _logRecordClass changes.Vinay Sajip2010-10-191-0/+2
|
* #10092: Properly reset locale in Locale*Calendar classes. The context ↵Georg Brandl2010-10-191-0/+2
| | | | manager was buggy because setlocale() returns the *new* locale, not the old. Also add a test for this.
* logging: Added _logRecordClass, getLogRecordClass, setLogRecordClass to ↵Vinay Sajip2010-10-191-0/+3
| | | | increase flexibility of LogRecord creation.
* One more change for issue 9807, by Matthias Klose.Barry Warsaw2010-10-182-2/+3
| | | | | This adds $ABIFLAGS to the static library, since it should match the shared library name. Also, include the abiflags in python-config --libs.
* Issue #10117: Tools/scripts/reindent.py now accepts source files thatAlexander Belopolsky2010-10-181-0/+4
| | | | | use encoding other than ASCII or UTF-8. Source encoding is preserved when reindented code is written to a file.
* Issue #5117: Case normalization was needed on ntpath.relpath(). AndHirokazu Yamamoto2010-10-181-0/+4
| | | | | fixed root directory issue on posixpath.relpath(). (Ported working fixes from ntpath)
* #678250: Make mmap flush a noop on ACCESS_READ and ACCESS_COPY.R. David Murray2010-10-181-0/+2
| | | | Patch by Sébastien Sablé. This solves a test_mmap failure on AIX.
* #1343: Add short_empty_elements option to XMLGenerator.R. David Murray2010-10-171-0/+3
| | | | Patch and tests by Neil Muller.
* make hashes always the size of pointers; introduce Py_hash_t #9778Benjamin Peterson2010-10-171-0/+6
|
* Remove the external non-python.org hyperlink and point people toGregory P. Smith2010-10-171-2/+1
| | | | Tools/gdb/libpython.py.
* Drop OPT:Olimit, as it confuses SunPRO (and other compilers).Martin v. Löwis2010-10-171-0/+2
|
* The py_decref macro was incorrect and unnecessary.Gregory P. Smith2010-10-171-10/+0
|
* * Applys part of the patch from http://bugs.python.org/issue3631 to addGregory P. Smith2010-10-171-8/+21
| | | | | | | a py_decref macro, fixup the pyo macro and reuse it and avoid a memory leak introduced by the pylocals macro. * Adds a note about gdb 7 python debugging support with links for more info on that.
* - Accept Oracle Berkeley DB 5.0 and 5.1 as backend for the dbm extension.Matthias Klose2010-10-171-0/+2
|
* Issue #10123: Don't use non-ascii filenames in test_doctest tests. Add aVictor Stinner2010-10-161-0/+6
| | | | new test specific to unicode (non-ascii name and filename).
* Issue #9713, #10114: Parser functions (eg. PyParser_ASTFromFile) expectsVictor Stinner2010-10-161-1/+5
| | | | | filenames encoded to the filesystem encoding with surrogateescape error handler (to support undecodable bytes), instead of UTF-8 in strict mode.
* Fix incorrect maintainer nameBrian Quinlan2010-10-161-1/+1
|
* Add bquinlan as the maintainer of concurrent.futuresBrian Quinlan2010-10-161-0/+1
|
* don't identify the toplevel namespace by name #9997Benjamin Peterson2010-10-161-0/+3
|
* Add NEWS for issue 9807 part 1.Barry Warsaw2010-10-161-0/+3
|
* First (uncontroversial) part of issue 9807.Barry Warsaw2010-10-161-1/+4
| | | | | | | | | * Expose the build flags to Python as sys.abiflags * Shared library libpythonX.Y<abiflags>.so * python-config --abiflags * Make two distutils tests that failed with --enable-shared (even before this patch) succeed. * Fix a few small style issues.
* #9862: On AIX PIPE_BUF is broken. Make it 512.R. David Murray2010-10-151-0/+3
| | | | Patch by Sébastien Sablé.
* #6098: Refrain from claiming DOM level 3 conformance in minidom.Georg Brandl2010-10-151-0/+2
|
* #5762: fix handling of empty namespace in minidom, which would result in ↵Georg Brandl2010-10-151-0/+3
| | | | AttributeError on toxml().
* Fix issue references.Georg Brandl2010-10-151-2/+2
|
* Issue #9308: Removed redundant coding cookies. Added tests forAlexander Belopolsky2010-10-151-0/+3
| | | | | importing encoded modules that do not depend on specific stdlib modules being encoded in a certain way.
* #9054: fix crash when using pyexpat with a system expat lib version 2.0.1.Georg Brandl2010-10-151-0/+3
|
* #2830: add html.escape() helper and move cgi.escape() uses in the standard ↵Georg Brandl2010-10-151-0/+3
| | | | library to it. It defaults to quote=True and also escapes single quotes, which makes casual use safer. The cgi.escape() interface is not touched, but emits a (silent) PendingDeprecationWarning.
* #5355: Provide mappings from Expat error numbers to string descriptions and ↵Georg Brandl2010-10-151-0/+4
| | | | backwards, in order to actually make it possible to analyze error codes provided by ExpatError.
* Use locale encoding if Py_FileSystemDefaultEncoding is not setVictor Stinner2010-10-151-0/+3
| | | | | | | | * 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
* Fix the regex to match all kind of filenames, for interactive debugging in ↵Florent Xicluna2010-10-141-0/+3
| | | | doctests. (issue #9409)