Alexander Belopolsky
287d1fdd3f
Issue #10225 : Fixed the simple mistakes in doctests.
2011-01-12 16:37:14 +00:00
Benjamin Peterson
477ba919c1
don't segfault on deleting __abstractmethods__ #10892
2011-01-12 15:34:01 +00:00
Benjamin Peterson
5e8dada491
oops, wrong class
2011-01-12 15:25:02 +00:00
Benjamin Peterson
1c02a44023
move this test to test_descr; it's not abc specific
2011-01-12 15:24:27 +00:00
Benjamin Peterson
1efb8dc871
fix weirdly ambigious sentence
2011-01-12 04:44:41 +00:00
Nick Coghlan
e993b10041
Issue 10889: Support slicing and indexing of large ranges (no docs changes, since, as far as I know, we never said anywhere that this *didn't* work)
2011-01-12 03:15:52 +00:00
Raymond Hettinger
b436b6cabc
Revert r87946. The virtues of readability and of examples that
...
can be cut and pasted are more important than having a doctests
on examples that already work.
2011-01-12 01:16:57 +00:00
Terry Reedy
fdf2925452
Issue #10225 : Correct interactive Doc/howto/sorting.rst examples so doctest runs.
...
Based on part of A. Belopolsky's patch.
2011-01-11 23:05:50 +00:00
Raymond Hettinger
524359f9f7
Add comment.
2011-01-11 22:08:55 +00:00
Alexander Belopolsky
ef4a03fffe
Issue #5109 : array.array constructor will now use fast code when
...
initial data is provided in an array object with correct type.
2011-01-11 21:44:00 +00:00
Raymond Hettinger
cf8a382c94
Update the email section
2011-01-11 21:20:20 +00:00
Raymond Hettinger
9767365318
Update the datetime and time section.
2011-01-11 21:13:26 +00:00
Raymond Hettinger
3a8ae5f9f4
Clean-up threading.Barrier example.
2011-01-11 20:51:45 +00:00
Raymond Hettinger
5cee47f321
Add entry for Barrier objects.
2011-01-11 19:59:46 +00:00
Eric Smith
a3e8f3d85f
Typo.
2011-01-11 10:24:34 +00:00
Nick Coghlan
90be5fb817
Issue 10556: test_zipimport_support implicitly imports too many modules (including _ssl) to safely clobber sys.modules after each test
2011-01-11 10:05:20 +00:00
Raymond Hettinger
6655d113e6
Add a todo.
2011-01-11 08:49:10 +00:00
Nick Coghlan
daba60bb92
developers.txt entry for Eli (at Brett's request)
2011-01-11 02:42:15 +00:00
Alexander Belopolsky
a6892418ad
This should fix mktime test on Windows
2011-01-11 02:22:16 +00:00
Alexander Belopolsky
31c5dd6b19
Make mktime test more robust.
2011-01-11 01:35:22 +00:00
Alexander Belopolsky
b7d40d1702
Issue #1726687 : time.mktime() will now correctly compute value one
...
second before epoch. Original patch by Peter Wang, reported by Martin
Blais.
2011-01-11 01:21:25 +00:00
Victor Stinner
7234479580
Issue #9611 : remove useless and dangerous explicit conversion to size_t
2011-01-11 00:04:12 +00:00
Raymond Hettinger
51e2107b81
Fix typos and markup.
2011-01-10 23:38:15 +00:00
Alexander Belopolsky
5fc850b455
Improved footnote for the %Y directive slightly.
2011-01-10 23:31:51 +00:00
Alexander Belopolsky
085556ae89
Improved description of %Y directive.
2011-01-10 23:28:33 +00:00
Terry Reedy
262cc7f6b6
Issue #10875 : Update Regular Expression HOWTO; last bit.
2011-01-10 23:13:21 +00:00
Victor Stinner
95f1dfc955
Issue #9566 : Fix pyparse.xmlparser.ParseFile()
...
Fix readinst() if file.read(n) returns a bytes object longer than n:
return -1 instead of the the buffer size to raise an exception.
Simplify also the function code.
2011-01-10 23:00:36 +00:00
Alexander Belopolsky
9971e001ef
Issue #2568 : Removed bogus rationale for supporting tm_sec=61.
2011-01-10 22:56:14 +00:00
Ned Deily
9a1383e380
#10820 : Fix OS X framework installs to support version-specific
...
scripts (implemented in #10679 ).
2011-01-10 22:14:25 +00:00
Alexander Belopolsky
dc004a3ad6
Removed time.ctime from the list of functions that take a time tuple argument
2011-01-10 21:58:52 +00:00
Alexander Belopolsky
bd96b06fd8
Added entries about removal of year 1900 limit.
2011-01-10 21:55:34 +00:00
Terry Reedy
aacfd4a0cf
Issue #10875 : Update Regular Expression HOWTO; patch by 'SilentGhost'.
2011-01-10 21:27:49 +00:00
Raymond Hettinger
eb70b90097
Misspelling.
2011-01-10 21:26:49 +00:00
Raymond Hettinger
05ce079a1c
Missed two source links
2011-01-10 21:16:07 +00:00
Raymond Hettinger
4f707fd316
Separate source link from main text.
2011-01-10 19:54:11 +00:00
Alexander Belopolsky
04da1e013a
Fixed a footnote reference
2011-01-10 19:14:38 +00:00
Raymond Hettinger
de2e618eb9
Fix typos.
2011-01-10 05:40:57 +00:00
Raymond Hettinger
1048094037
Move source links to consistent location and remove wordy, big yellow boxes.
2011-01-10 03:26:08 +00:00
Antoine Pitrou
a4815caa7c
Issue #10872 : The repr() of TextIOWrapper objects now includes the mode
...
if available.
(at Georg's request)
2011-01-09 20:38:15 +00:00
Martin v. Löwis
a6c91f5e3b
Add Ned Deily.
2011-01-09 18:28:07 +00:00
Łukasz Langa
d7e81cc5fa
#10874 : test_urllib2 shouldn't use `is` operator for comparing strings
...
Patch by Adreas Stührk.
2011-01-09 18:18:53 +00:00
Georg Brandl
04536b0edf
#10871 : "file" does not exist anymore in Python 3. Also adapt the reprs of opened file objects.
2011-01-09 09:31:01 +00:00
Georg Brandl
c9007081ef
Wrap some long examples and signatures.
2011-01-09 09:04:08 +00:00
Georg Brandl
efb6902c3d
Add missing line.
2011-01-09 07:50:48 +00:00
Georg Brandl
619e7ba814
#10869 : do not visit root node twice in ast.increment_lineno().
2011-01-09 07:38:51 +00:00
R. David Murray
5b2d9ddf69
#5871 : protect against header injection attacks.
...
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.
2011-01-09 02:35:24 +00:00
Raymond Hettinger
e3ee66f141
Issue #10357 : Clarify what it means to be a mapping.
2011-01-08 23:44:37 +00:00
Georg Brandl
4ad934f63c
zlib only works with bytes objects.
2011-01-08 21:04:25 +00:00
Alexander Belopolsky
2997837158
Fixed documentation to reflect recent changes for years < 1900.
2011-01-08 20:47:21 +00:00
Victor Stinner
3ec899fc0d
NEWS: merge #1777412 and #10827 entries
2011-01-08 16:37:47 +00:00