summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Fix #8956. ValueError message was only mentioning one signal.Brian Curtin2010-09-061-1/+1
| | | | | Rather than list out the three signals (or more over time), the message was made less specific but still descriptive.
* Clean up the fix to #9324 with some of the suggestions raised on python-devBrian Curtin2010-09-061-3/+2
| | | | | | | in response to the original checkin. Move the validation from the original loop into a switch statement, and adjust a platform check in the tests.
* hashlib has two new constant attributes: algorithms_guaranteed andGregory P. Smith2010-09-062-9/+16
| | | | | | | | algorithms_avaiable that respectively list the names of hash algorithms guaranteed to exist in all Python implementations and the names of hash algorithms available in the current process. Renames the attribute new in 3.2a0 'algorithms' to 'algorithms_guaranteed'.
* Take advantage of the frozenset constant optimization.Raymond Hettinger2010-09-052-11/+11
|
* Issue #9293: I/O streams now raise `io.UnsupportedOperation` when anAntoine Pitrou2010-09-052-20/+64
| | | | | unsupported operation is attempted (for example, writing to a file open only for reading).
* Fix accidental suppression in r84537v3.2a2Éric Araujo2010-09-051-1/+1
|
* Make naming consistentÉric Araujo2010-09-051-3/+3
|
* Bump to 3.2a2.Georg Brandl2010-09-052-2/+2
|
* Update pydoc topics.Georg Brandl2010-09-051-10/+11
|
* Clean-up functools.total_ordering().Raymond Hettinger2010-09-051-4/+2
|
* Adopt more descriptive attribute names as suggested on python-dev.Raymond Hettinger2010-09-043-17/+17
|
* Issue #8734: Avoid crash in msvcrt.get_osfhandle() when an invalid fileAntoine Pitrou2010-09-041-0/+3
| | | | descriptor is provided. Patch by Pascal Chambon.
* 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.