summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Move source links to consistent location and remove wordy, big yellow boxes.Raymond Hettinger2011-01-1026-114/+37
|
* Issue #10872: The repr() of TextIOWrapper objects now includes the modeAntoine Pitrou2011-01-094-11/+51
| | | | | | if available. (at Georg's request)
* Add Ned Deily.Martin v. Löwis2011-01-091-0/+3
|
* #10874: test_urllib2 shouldn't use `is` operator for comparing stringsŁukasz Langa2011-01-091-1/+1
| | | | Patch by Adreas Stührk.
* #10871: "file" does not exist anymore in Python 3. Also adapt the reprs of ↵Georg Brandl2011-01-091-14/+14
| | | | opened file objects.
* Wrap some long examples and signatures.Georg Brandl2011-01-091-7/+14
|
* Add missing line.Georg Brandl2011-01-091-0/+1
|
* #10869: do not visit root node twice in ast.increment_lineno().Georg Brandl2011-01-095-8/+17
|
* #5871: protect against header injection attacks.R. David Murray2011-01-093-1/+28
| | | | | | | | | | | | 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.
* Issue #10357: Clarify what it means to be a mapping.Raymond Hettinger2011-01-081-3/+5
|
* zlib only works with bytes objects.Georg Brandl2011-01-081-22/+22
|
* Fixed documentation to reflect recent changes for years < 1900.Alexander Belopolsky2011-01-082-6/+19
|
* NEWS: merge #1777412 and #10827 entriesVictor Stinner2011-01-081-11/+6
|
* Issue #1777412: document the change in the NEWS fileVictor Stinner2011-01-081-0/+5
|
* Markup fixRaymond Hettinger2011-01-081-2/+2
|
* Add EHOSTUNREACH ('No route to host') to the errnos trapped by ↵Antoine Pitrou2011-01-081-0/+1
| | | | transient_internet().
* Issue 9717: Segregate and improve the documentation of "in-place" operatorsRaymond Hettinger2011-01-081-85/+109
| | | | in the operator module.
* Fix test_ssl after r87849Antoine Pitrou2011-01-082-32/+128
|
* Issue #10859: Make `contextlib.GeneratorContextManager` officiallyAntoine Pitrou2011-01-083-8/+11
| | | | private by renaming it to `_GeneratorContextManager`.
* #10855: document close() semantics of wave objects.Georg Brandl2011-01-081-9/+15
|
* Issue 10533: Need example of using __missing__.Raymond Hettinger2011-01-081-2/+14
|
* Issue #10813: Small improvement to decimal money format recipe.Raymond Hettinger2011-01-081-1/+2
|
* Issue #10042: Fixed the total_ordering decorator to handle cross-typeRaymond Hettinger2011-01-084-8/+36
| | | | comparisons that could lead to infinite recursion.
* Issue #10864: limit year to [1; 9999] for strftime() on SolarisVictor Stinner2011-01-081-1/+1
|
* test_ssl: test SHA256 using sha256.tbs-internet.com instead of sha2.hboeck.deVictor Stinner2011-01-081-2/+2
|
* Issue #1777412: Remove all limits on tm_year from time.strftime()Victor Stinner2011-01-082-25/+20
| | | | The buildbots will tell us which platform does support or not negative years.
* Issue #1777412: fix test_time for Mac OS X and OpenIndianaVictor Stinner2011-01-081-9/+14
|
* Issue #1777412: test large years value for strftime('%Y')Victor Stinner2011-01-081-5/+10
|
* Issue #1777412: strftime() accepts year >= 1 instead of year >= 1900Victor Stinner2011-01-082-36/+82
| | | | | * With Visual Studio, year have to be in [1; 9999] * Add more tests on the year field
* Fixed error handling branches. ThanksAlexander Belopolsky2011-01-082-15/+31
| | | | Victor Stinner for pointing this out.
* Issue #1777412: extended year range of strftime down to 1000.Alexander Belopolsky2011-01-084-15/+15
|
* #10686: recode non-ASCII headers to 'unknown-8bit' instead of ?s.R. David Murray2011-01-079-62/+109
| | | | | | This applies only when generating strings from non-RFC compliant binary input; it makes the existing recoding behavior more consistent (ie: now no data is lost when recoding).
* Fix formatting of values with embedded newlines when rfc2047 encodingR. David Murray2011-01-073-4/+26
| | | | | | | | | Before this patch if a value being encoded had an embedded newline, the line following the newline would have no leading whitespace, and the whitespace it did have was encoded into the word. Now the existing whitespace gets turned into a blank, the way it does in other header reformatting, and the _continuation_ws gets added at the beginning of the encoded line.
* Revert r87821 which moved the source link to the wrong section (from the ↵Raymond Hettinger2011-01-071-6/+5
| | | | module intro covering the module to a section on thread imports).
* Put NEWS entry in the right section.Antoine Pitrou2011-01-071-4/+4
|
* Issue #8020: Avoid a crash where the small objects allocator would readAntoine Pitrou2011-01-073-6/+27
| | | | | non-Python managed memory while it is being modified by another thread. Patch by Matt Bandy.
* Revert r87823 which moved the source link to the wrong section.Raymond Hettinger2011-01-071-3/+5
|
* Update the digest of PEP 3333 based on comments for Phillip Eby.Raymond Hettinger2011-01-071-9/+23
|
* Fix indent.Georg Brandl2011-01-071-1/+1
|
* Combine the two seealso sections.Raymond Hettinger2011-01-071-6/+4
|
* Issue #10827: Changed the rules for 2-digit years. The time.asctimeAlexander Belopolsky2011-01-074-56/+102
| | | | | | | | function will now format any year when time.accept2dyear is false and will accept years >= 1000 otherwise. The year range accepted by time.mktime and time.strftime is still system dependent, but time.mktime will now accept full range supported by the OS. Conversion of 2-digit years to 4-digit is deprecated.
* Mention multiprocessing.Queue in the queue docsAntoine Pitrou2011-01-071-4/+9
|
* Group seealsosAntoine Pitrou2011-01-072-8/+4
|
* Put those "seealso"s togetherAntoine Pitrou2011-01-073-12/+5
|
* Issue #10841: don't translate newlines for pgenVictor Stinner2011-01-071-1/+1
|
* Issue #10841: set binary mode on files; the parser translates newlinesVictor Stinner2011-01-074-3/+22
| | | | | | On Windows, set the binary mode on stdin, stdout, stderr and all io.FileIO objects (to not translate newlines, \r\n <=> \n). The Python parser translates newlines (\r\n => \n).
* Put those source links togetherAntoine Pitrou2011-01-071-5/+3
|
* atexit.py doesn't existAntoine Pitrou2011-01-071-5/+1
|
* Put link to source at the end. There's nothing edificating in threading.py.Antoine Pitrou2011-01-071-5/+6
|
* #10856: document (Base)Exception.args better.Georg Brandl2011-01-071-12/+26
|