summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* #10983: fix several bugs in the _tunnel implementation that seem to have ↵Georg Brandl2011-01-221-3/+5
| | | | missed while porting between branches. A unittest is needed!
* To match the behaviour of HTTP server, the HTTP client library now also encodesArmin Ronacher2011-01-222-3/+9
| | | | | | headers with iso-8859-1 (latin1) encoding. It was already doing that for incoming headers which makes this behaviour now consistent in both incoming and outgoing direction.
* Issue #10980: encode headers with latin1 instead of ASCII in the HTTP server.Armin Ronacher2011-01-222-2/+12
| | | | | This makes the implementation of PEP 3333 compliant servers on top of BaseHTTPServer possible.
* Issue #10949: Improved robustness of rotating file handlers.Vinay Sajip2011-01-211-0/+2
|
* Fix JSON docs about loads() accepting only str objects, not bytes.Antoine Pitrou2011-01-211-0/+2
|
* Issue #10955: Fix a potential crash when trying to mmap() a file past itsAntoine Pitrou2011-01-201-0/+13
| | | | | | length. Initial patch by Ross Lagerwall. This fixes a regression introduced by r88022.
* Issue #10934: Fixed and expanded Internaldate2tuple() andAlexander Belopolsky2011-01-191-4/+10
| | | | | Time2Internaldate() documentation. Thanks Joe Peterson for the report and the original patch.
* Issue #10451: memoryview objects could allow to mutate a readable buffer.Antoine Pitrou2011-01-182-1/+15
| | | | Initial patch by Ross Lagerwall.
* Remove out-of-date commentRaymond Hettinger2011-01-161-4/+0
|
* Fix mmap and test_mmap under Windows too (followup to r88022)v3.2rc1Antoine Pitrou2011-01-151-5/+6
|
* Bump to 3.2rc1.Georg Brandl2011-01-152-2/+2
|
* Update pydoc topics.Georg Brandl2011-01-151-11/+11
|
* Issue #10916: mmap should not segfault when a file is mapped using 0 asAntoine Pitrou2011-01-151-0/+13
| | | | | | | length and a non-zero offset, and an attempt to read past the end of file is made (IndexError is raised instead). Patch by Ross Lagerwall. Requested by Georg.
* #10907: Warn OS X 10.6 IDLE users to use ActiveState Tcl/Tk 8.5,Ned Deily2011-01-152-0/+24
| | | | | rather than the currently problematic Apple-supplied one, when running with the 64-/32-bit installer variant.
* cgi: use isinstance(x, list) instead of type(x) == type([])Victor Stinner2011-01-141-3/+3
|
* Issue #4953: cgi.FieldStorage and cgi.parse() parse the request as bytes, notVictor Stinner2011-01-142-79/+186
| | | | | as unicode, and accept binary files. Add encoding and errors attributes to cgi.FieldStorage.
* test_urlparse: add tests for encoding and errors argumentsVictor Stinner2011-01-141-0/+27
|
* Add encoding and errors arguments to urllib.parse_qs() and urllib.parse_qsl()Victor Stinner2011-01-141-5/+19
|
* Issue 10899: Remove function type annotations from the stdlibRaymond Hettinger2011-01-132-18/+24
|
* Issue #10899: Move function type annotations into docstrings.Raymond Hettinger2011-01-131-30/+36
| | | | | Note, the docstrings (for the most part) were already very thorough and included type information.
* More PEP 8: no space around "=" in argument lists.Georg Brandl2011-01-131-11/+10
|
* Issue 10899: Remove function type annotations from the stdlibRaymond Hettinger2011-01-131-1/+1
|
* Issue 10899: Remove function type annotations from the stdlibRaymond Hettinger2011-01-132-15/+15
|
* Issue #10899: No function type annotations in the standard library.Raymond Hettinger2011-01-121-31/+31
| | | | Removed function type annotations from _pyio.py.
* Fix test_bigaddrspace (some tests didn't trigger the expected MemoryError)Antoine Pitrou2011-01-121-25/+43
|
* A better message againAntoine Pitrou2011-01-121-1/+1
|
* More informative skip message in @bigaddrspaceAntoine Pitrou2011-01-121-3/+7
|
* Fix @bigmemtest when no limit is given by the user (oops)Antoine Pitrou2011-01-121-1/+1
|
* Make test skipping message nicer, and remove the rather useless "overhead" ↵Antoine Pitrou2011-01-121-20/+10
| | | | parameter.
* Remove the funky function annotation from numbers.py.Raymond Hettinger2011-01-121-1/+1
|
* Fix the expected memory use of utf-8 encoding. Also, release theAntoine Pitrou2011-01-121-3/+7
| | | | one reference to a huge object even when an exception is raised.
* Remove function annotations that slipped into _abcoll.Raymond Hettinger2011-01-121-4/+4
| | | | These are reserved for third-party use.
* Issue #10822: Fix test_posix:test_getgroups failure under Solaris. PatchAntoine Pitrou2011-01-121-1/+4
| | | | by Ross Lagerwall.
* don't segfault on deleting __abstractmethods__ #10892Benjamin Peterson2011-01-121-1/+5
|
* oops, wrong classBenjamin Peterson2011-01-121-7/+7
|
* move this test to test_descr; it's not abc specificBenjamin Peterson2011-01-122-7/+7
|
* Issue 10889: Support slicing and indexing of large ranges (no docs changes, ↵Nick Coghlan2011-01-121-7/+86
| | | | since, as far as I know, we never said anywhere that this *didn't* work)
* Add comment.Raymond Hettinger2011-01-111-1/+1
|
* Issue #5109: array.array constructor will now use fast code whenAlexander Belopolsky2011-01-111-0/+10
| | | | initial data is provided in an array object with correct type.
* Add entry for Barrier objects.Raymond Hettinger2011-01-111-3/+2
|
* Typo.Eric Smith2011-01-111-1/+1
|
* Issue 10556: test_zipimport_support implicitly imports too many modules ↵Nick Coghlan2011-01-112-6/+23
| | | | (including _ssl) to safely clobber sys.modules after each test
* This should fix mktime test on WindowsAlexander Belopolsky2011-01-111-1/+2
|
* Make mktime test more robust.Alexander Belopolsky2011-01-111-3/+7
|
* Issue #1726687: time.mktime() will now correctly compute value oneAlexander Belopolsky2011-01-111-0/+13
| | | | | second before epoch. Original patch by Peter Wang, reported by Martin Blais.
* Issue #10872: The repr() of TextIOWrapper objects now includes the modeAntoine Pitrou2011-01-092-4/+14
| | | | | | if available. (at Georg's request)
* #10874: test_urllib2 shouldn't use `is` operator for comparing stringsŁukasz Langa2011-01-091-1/+1
| | | | Patch by Adreas Stührk.
* Add missing line.Georg Brandl2011-01-091-0/+1
|
* #10869: do not visit root node twice in ast.increment_lineno().Georg Brandl2011-01-092-5/+10
|
* #5871: protect against header injection attacks.R. David Murray2011-01-092-1/+21
| | | | | | | | | | | | This makes Header.encode throw a HeaderParseError if it winds up formatting a header such that a continuation line has no leading whitespace and looks like a header. Since Header accepts values containing newlines and preserves them (and this is by design), without this fix any program that took user input (say, a subject in a web form) and passed it to the email package as a header was vulnerable to header injection attacks. (As far as we know this has never been exploited.) Thanks to Jakub Wilk for reporting this vulnerability.