summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Issue #7451: Improve decoding performance of JSON objects, and reduceAntoine Pitrou2010-09-043-3/+45
| | | | | the memory consumption of said decoded objects when they use the same strings as keys.
* Issue #9777: test_idna requires the "network" resourceAntoine Pitrou2010-09-041-0/+1
|
* Issue #9225: Remove the ROT_FOUR and DUP_TOPX opcode, the latter replacedAntoine Pitrou2010-09-041-2/+1
| | | | | by the new (and simpler) DUP_TOP_TWO. Performance isn't changed, but our bytecode is a bit simplified. Patch by Demur Rumed.
* _warnings exposed two variables with the name 'default_action' andBrett Cannon2010-09-041-3/+3
| | | | | | | | | | | 'once_registry'. This is bad as the warnings module had variables named 'defaultaction' and 'onceregistry' which are what people should be looking at (technically those variables shouldn't be mucked with as they are undocumented, but we all know better than to believe that isn't happening). So the variables from _warnings have been renamed to come off as private and to avoid confusion over what variable should be used. Closes issue #9766. Thanks to Antoine Pitrou for the discovery.
* Fix running the copy module from the command-line (however use{ful,less} it ↵Antoine Pitrou2010-09-041-1/+2
| | | | may be).
* Issue #1100562: Fix deep-copying of objects derived from the list and dict ↵Antoine Pitrou2010-09-042-11/+43
| | | | | | types. Patch by Michele Orrù and Björn Lindqvist.
* Issue #9581: Fix non-working PosixGroupsTester test caseAntoine Pitrou2010-09-041-8/+2
| | | | (it only runs as root, which is why nobody bothered about the failure)
* add consistent support for the vars and default arguments on allFred Drake2010-09-042-57/+196
| | | | | configuration parser classes (http://bugs.python.org/issue9421)
* Strengthen BytesWarning tests.Florent Xicluna2010-09-031-45/+54
|
* Remove redundant context manager.Florent Xicluna2010-09-031-15/+1
|
* Remove unused import, fix typo and rewrap docstrings.Florent Xicluna2010-09-031-17/+18
|
* Use a context manager for some file objects.Florent Xicluna2010-09-034-32/+20
|
* Issue #3805: clean up implementation of the _read method in _ssl.c.Antoine Pitrou2010-09-031-3/+3
|
* PEP 3149 is accepted.Barry Warsaw2010-09-031-4/+3
| | | | http://mail.python.org/pipermail/python-dev/2010-September/103408.html
* fromfd exists on Windows nowDaniel Stutzbach2010-09-031-2/+0
|
* Issue 8420: Fix obscure set crashers.Raymond Hettinger2010-09-031-0/+34
|
* fix output from RawConfigParser.write and ConfigParser.write for NoneFred Drake2010-09-032-1/+30
| | | | | | values (http://bugs.python.org/issue7005) (merged r84443 from the release27-mmaint branch, with changes to reflect changes in Python 3)
* Readability nit.Raymond Hettinger2010-09-021-1/+2
|
* Better method name. Tighten inner-loop with bound methods.Raymond Hettinger2010-09-022-3/+4
|
* Make OrderedDict.popitem() a bit smarter and fasterRaymond Hettinger2010-09-021-11/+23
|
* Issue #9212: Added the missing isdisjoint method to the dict_keys andDaniel Stutzbach2010-09-021-0/+35
| | | | | dict_items views. The method is required by the collections.Set ABC, which the views register as supporting.
* Speed-up cache updatesRaymond Hettinger2010-09-022-2/+14
|
* 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.