summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Issue #9737: Fix a crash when trying to delete a slice or an item fromAntoine Pitrou2010-09-011-0/+9
| | | | a memoryview object.
* Issue #8990: array.fromstring() and array.tostring() get renamed toAntoine Pitrou2010-09-019-22/+60
| | | | | | frombytes() and tobytes(), respectively, to avoid confusion. Furthermore, array.frombytes(), array.extend() as well as the array.array() constructor now accept bytearray objects. Patch by Thomas Jollans.
* Issue #9549: sys.setdefaultencoding() and PyUnicode_SetDefaultEncoding()Antoine Pitrou2010-09-012-33/+0
| | | | | are now removed, since their effect was inexistent in 3.x (the default encoding is hardcoded to utf-8 and cannot be changed).
* reformat commentBenjamin Peterson2010-08-311-2/+2
|
* Issue #808164: Fixed socket.close to avoid references to globals, toDaniel Stutzbach2010-08-311-2/+4
| | | | avoid issues when socket.close is called from a __del__ method.
* Reverted r84315 and r84316, with Benjamin's blessing. The tests wereDaniel Stutzbach2010-08-311-7/+6
| | | | | fine. They were failing due to a problem exposed in r84307 and fixed in r84317. See Issue 8781 for details.
* Removed _unicode variable which is always False in Python 3.x.Vinay Sajip2010-08-311-32/+2
|
* logging: merged duplicated code in fileConfig and dictConfig paths.Vinay Sajip2010-08-301-18/+40
|
* Logging: removed some old commented out code.Vinay Sajip2010-08-302-14/+1
|
* Fix issue #9711: raise ValueError is SSLConnection constructor is invoked ↵Giampaolo Rodolà2010-08-302-7/+14
| | | | with keyfile and not certfile.
* Improved logging.Formatter date/time formatting documentation.Vinay Sajip2010-08-301-1/+5
|
* handle names starting with non-ascii characters correctly #9712Benjamin Peterson2010-08-302-5/+23
|
* remove pointless coding cookiesFlorent Xicluna2010-08-308-10/+2
|
* remove pointless coding cookieBenjamin Peterson2010-08-301-2/+0
|
* dedent some lines in test_ssl so that they are actually executedGiampaolo Rodolà2010-08-291-10/+10
|
* in ssl tests rely on IOError.errno rather thanf IOError.strerror for better ↵Giampaolo Rodolà2010-08-291-7/+17
| | | | compatibility across platforms.
* Fix issue issue9706: provides a better error handling for various SSL operationsGiampaolo Rodolà2010-08-292-4/+24
|
* Raise ValuError if non-zero flag argument is provided for sendall() method ↵Giampaolo Rodolà2010-08-291-0/+4
| | | | for conformity with send(), recv() and recv_into()
* Issue #1868: Eliminate subtle timing issues in thread-local objects byAntoine Pitrou2010-08-282-1/+69
| | | | getting rid of the cached copy of thread-local attribute dictionary.
* Issue #1512791: In setframerate method of Wave_write, round non-integralMark Dickinson2010-08-282-3/+13
| | | | inputs to the nearest integer. Thanks Neil Tallim for the patch.
* OSError is the exception raised when one tries to create a directory thatBrett Cannon2010-08-261-2/+5
| | | | | | already exists, not IOError. Part of the continuing saga of issue #9572.
* Fix Issue8797 - Reset the basic auth retry count when response code is not 401.Senthil Kumaran2010-08-261-1/+4
|
* basicsize and itemsize are Py_ssize_t #9688Benjamin Peterson2010-08-251-0/+5
|
* apparently this test should be gated, tooBenjamin Peterson2010-08-251-3/+2
|
* this test is only valid when sizeof(wchar) == Py_UNICODE_SIZEBenjamin Peterson2010-08-251-3/+5
|
* Fix test_sys: set LC_ALL instead of LANGVictor Stinner2010-08-251-3/+4
| | | | | LC_ALL is read before LANG to choose the locale encoding (LC_ALL, LANG and then LC_CTYPE: use the first non empty variable).
* Issue #1027206: getnameinfo is now restricted to numeric addresses as input.Martin v. Löwis2010-08-251-0/+4
|
* #1194222: make parsedate always return RFC2822 four character years.R. David Murray2010-08-252-0/+25
| | | | | | | | Two character years are now converted to four character years using the Posix standard rule (<68 == 2000, >=68==1900). This makes the parsed date RFC2822 compliant even if the input is not. Patch and test by Jeffrey Finkelstein.
* Disable test_undecodable_code() of test_sys on WindowsVictor Stinner2010-08-251-0/+6
| | | | This test is irrevelant on Windows
* Fix test_sys for FreeBSD, Solaris and Mac OS XVictor Stinner2010-08-241-2/+15
| | | | | | | _Py_char2wchar() (mbctowcs) decodes b'\xff' to '\xff' on FreeBSD, Solaris and Mac OS X, even if the locale is C (and the locale encoding is ASCII). Patch test_undecodable_code() to support this output and document the two different kinds of outputs.
* remove parensBenjamin Peterson2010-08-241-1/+1
|
* Fix a bug where an attribute was lacking an object to work off of.Brett Cannon2010-08-241-1/+1
| | | | | Related to the fix for issue #9572. Thanks to Łukasz Czuja for catching the bug.
* Issue 8750: Fixed MutableSet's methods to correctly handle reflexive ↵Daniel Stutzbach2010-08-242-9/+30
| | | | operations, namely x -= x and x ^= x
* only catch AttributeError in hasattr() #9666Benjamin Peterson2010-08-241-5/+6
|
* fix issue 9129: adds proper error handling on accept() when smtpd accepts ↵Giampaolo Rodolà2010-08-231-2/+23
| | | | new incoming connections.
* fix issue 9601: ftplib now provides a workaround for invalid response code ↵Giampaolo Rodolà2010-08-232-2/+22
| | | | returned on MKD and PWD by non-compliant FTPserver implementations such as ISS shipped with Windows server 2003
* cleanup importsBenjamin Peterson2010-08-231-9/+7
|
* fix issue 658749: correctly interprets asyncore's windows errors on connect()Giampaolo Rodolà2010-08-231-3/+3
|
* Issue #9501: Fixed logging regressions in cleanup code.Vinay Sajip2010-08-231-8/+20
|
* run total_ordering() tests, and fix the function (default comparisons ↵Benjamin Peterson2010-08-232-2/+6
| | | | shouldn't be considered)
* Explicitly pass socket type and family for getaddrinfo,Martin v. Löwis2010-08-231-2/+4
| | | | | | to make test work on Solaris. Disable gethostbyaddr IDNA test for now as there is no reverse DNS entry for the IPv6 address of the test name.
* One of the joys of having test_multiprocessing occasionally execute afterBrett Cannon2010-08-221-18/+26
| | | | | | | | | | | test_importlib is that it discovers special little race conditions. For instance, it turns out that importlib would throw an exception if two different Python processes both tried to create the __pycache__ directory as one process would succeed, causing the other process to fail as it didn't expect to get any "help". So now importlib simply stays calm and just accepts someone else did the work of creating the __pycache__ directory for it, moving on with life. Closes issue #9572.
* Make sure that no __pycache__ directory is needlessly left behind when testingBrett Cannon2010-08-221-7/+10
| | | | imports with an empty string in sys.path.
* Add an import lock test for multithreaded circular imports.Antoine Pitrou2010-08-221-2/+60
| | | | (part of #9657)
* While not strictly necessary thanks to the odd ABC inheritance done throughBrett Cannon2010-08-221-0/+14
| | | | | importlib._bootstrap, add the optional methods for importlib.abc.SourceLoader for completeness.
* Mention that gethostbyaddr now also supports IDNA.Martin v. Löwis2010-08-221-0/+1
|
* Issue #1027206: Support IDNA in gethostbyname, gethostbyname_ex andMartin v. Löwis2010-08-221-0/+5
| | | | getaddrinfo. Patch by David Watson.
* Issue #9512: Made comment more informative.Vinay Sajip2010-08-221-1/+6
|
* Test that calls to path hooks and meta_path entries are serialized by the ↵Antoine Pitrou2010-08-221-7/+79
| | | | | | import lock. (part of issue #9251)
* Issue #9214: Fix set operations on KeysView and ItemsView.Raymond Hettinger2010-08-222-1/+34
|