summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* test_pep277: disable filenames 11, 12, 13, 14 on darwinVictor Stinner2010-10-281-5/+6
| | | | | Because darwin "normalizes" these filenames differently than Python's NFD normalization.
* Issue #5437: A preallocated MemoryError instance should not hold tracebackAntoine Pitrou2010-10-281-0/+39
| | | | data (including local variables caught in the stack trace) alive infinitely.
* Fixed a typo in a comment.Alexander Belopolsky2010-10-281-1/+1
|
* #10116: wrap transient_internet() around net access in test_urllib2net.Georg Brandl2010-10-281-69/+85
|
* Fix typo from r85874Éric Araujo2010-10-281-1/+1
|
* Support new Condition return value in the multiprocessing version.Georg Brandl2010-10-281-1/+2
|
* test_pep277: add identifiers to filenamesVictor Stinner2010-10-281-19/+19
|
* test_pep277: format filename with ascii() on failureVictor Stinner2010-10-281-1/+1
| | | | "%a" instead of "%r"
* test_pep277: format function argument with ascii() on failureVictor Stinner2010-10-281-1/+1
| | | | "%a" instead of "%r"
* issue 8777Kristján Valur Jónsson2010-10-283-0/+365
| | | | Add threading.Barrier
* Condition.wait now returns bool.Georg Brandl2010-10-281-1/+1
|
* #10218: return timeout status from Condition.wait, mirroring other ↵Georg Brandl2010-10-282-13/+21
| | | | primitives' behavior.
* #7351: add more consistent exception name alias.Georg Brandl2010-10-282-25/+26
|
* Recode modules from latin-1 to utf-8Antoine Pitrou2010-10-274-12/+9
|
* Issue #5027: The standard `xml` namespace is now understood byAntoine Pitrou2010-10-272-0/+61
| | | | | xml.sax.saxutils.XMLGenerator as being bound to http://www.w3.org/XML/1998/namespace. Patch by Troy J. Farrell.
* Issue #10193: Simplified instrospection used by turtle moduleAlexander Belopolsky2010-10-271-20/+25
|
* #5975: add unix_dialect to csv module.Georg Brandl2010-10-272-1/+20
|
* logging: Improved Formatter implementation.Vinay Sajip2010-10-262-29/+68
|
* #7761: fix telnetlib.interact failures on Windows.R. David Murray2010-10-261-2/+2
|
* Fix issue10192 - add urlencode to urllib.parse.__all__Senthil Kumaran2010-10-251-2/+2
|
* logging: Formatter implementation tweak.Vinay Sajip2010-10-251-8/+12
|
* logging: Added style option to Formatter to allow %, {} or himBHformatting.Vinay Sajip2010-10-252-5/+82
|
* test_gdb should be skipped on darwin (not up to v7 yet)Skip Montanaro2010-10-251-0/+1
|
* str.encode() doesn't accept None as errors: use 'strict' insteadVictor Stinner2010-10-241-1/+1
|
* Issue #10161: test_pep277 formats filenames with ascii() on errorVictor Stinner2010-10-241-1/+1
| | | | | As suggested by Antoine, it's better to patch only test_pep277 than the unittest module.
* os: fsencode(), fsdecode() and os.environ(b) internal encode-decode methodsVictor Stinner2010-10-241-32/+37
| | | | | | | keep a local copy of the fileystem encoding, instead of calling sys.getfilesystemencoding() each time. The filesystem encoding is now constant.
* Add a new warning gategory, ResourceWarning, as discussed on python-dev. It ↵Georg Brandl2010-10-243-3/+13
| | | | | | | | is silent by default, except when configured --with-pydebug. Emit this warning from the GC shutdown procedure, rather than just printing to stderr.
* Remove usage of exception indexing.Georg Brandl2010-10-241-1/+1
|
* Issue 5178: Add tempfile.TemporaryDirectory (original patch by Neil Schemenauer)Nick Coghlan2010-10-242-2/+167
|
* remove broken code accounting an offset the size of the line #10186Benjamin Peterson2010-10-241-0/+6
|
* #1349106: add linesep argument to generator.flatten and header.encode.R. David Murray2010-10-234-37/+80
|
* Revert r85801. The test ought to pass without rounding.Martin v. Löwis2010-10-231-1/+1
|
* Follow up to #9778: fix regressions on 64-bit Windows buildsAntoine Pitrou2010-10-231-1/+1
|
* #6518: enable context manager protocol for ossaudiodev types.Georg Brandl2010-10-231-4/+6
|
* Also guard other SOCK_NONBLOCK testAntoine Pitrou2010-10-231-9/+13
|
* Issue #6011: sysconfig and distutils.sysconfig use the surrogateescape errorVictor Stinner2010-10-233-3/+6
| | | | | | 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.
* Fix SOCK_CLOEXEC and SOCK_NONBLOCK tests on recent glibcs with old Linux ↵Antoine Pitrou2010-10-231-0/+18
| | | | kernels.
* Try to fix test_tarfile on AMD64 debian parallel 3.xVictor Stinner2010-10-231-1/+1
| | | | | tarinfo.mtime is an int, whereas getmtime() is a float and it might be different by something like 3 µs.
* Revert r85797 (and r85798): it broke the Windows buildbots because ofAntoine Pitrou2010-10-221-20/+1
| | | | test_multiprocessing's misbehaviour.
* Issue #9935: Speed up pickling of instances of user-defined classes.Antoine Pitrou2010-10-221-1/+20
|
* Fix test_ssl on Ubuntu buildbot with patched OpenSSLAntoine Pitrou2010-10-221-0/+1
|
* Issue #5639: Add a *server_hostname* argument to `SSLContext.wrap_socket`Antoine Pitrou2010-10-224-8/+60
| | | | | | in order to support the TLS SNI extension. `HTTPSConnection` and `urlopen()` also use this argument, so that HTTPS virtual hosts are now supported.
* Only hack cmd.library_dirs when running under Py_ENABLE_SHARED. Tested bothBarry Warsaw2010-10-221-1/+2
| | | | | with and without --enable-shared on Ubuntu 10.10. Hopefully this finally solves bug 10126. Will check 3.1 next.
* Refactor interesting use of try-finally.Georg Brandl2010-10-221-10/+9
|
* Make top_level attribute a set instead of a dict with None values.Georg Brandl2010-10-221-5/+5
|
* #10166: rewrite self-recursion to iteration in pstats.Stats.add(). Also add ↵Georg Brandl2010-10-223-27/+42
| | | | a unittest and a stats test file.
* Apply fix from r85784 on py3k too.Éric Araujo2010-10-211-2/+6
| | | | | | | Fixes bug #10126 for Python 3.2 by using $RUNSHARED to find the directory to the shared library. test_distutils now passes when Python was built with --enable-shared (Barry didn’t have the error but I did).
* Fix r85774 editor fail. Had a dangling try and incorrect indent.Brian Curtin2010-10-211-2/+1
|
* Fix #10162: Add try/except around _winreg.OpenKey for keys that areBrian Curtin2010-10-211-8/+10
| | | | | | | | 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/+9
| | | | They can be retrieved through a new attribute `sys._xoptions`.