Benjamin Peterson
d454249a36
another pretty crasher served up by pypy
2011-01-25 00:00:28 +00:00
Ned Deily
122539e287
#10974 : IDLE no longer crashes if its recent files list includes files
...
with non-ASCII characters in their path names.
(with approval of release manager for 3.2rc2)
2011-01-24 21:46:44 +00:00
Terry Reedy
feac624827
Issue #11000 ast.parse parses source, not just expressions.
2011-01-24 21:36:03 +00:00
Steven Bethard
b02701101b
Issue #9509 : make argarse properly handle IOErrors raised by argparse.FileType. Approved by Georg in the tracker.
2011-01-24 21:02:50 +00:00
Raymond Hettinger
bf1d2bc7cb
Make the type consistent for hashlib algorithm constants. (Reviewed by Benjamin).
2011-01-24 04:52:27 +00:00
Brett Cannon
c3e8867a41
Skip a recursion depth check test when running under CPython and have a trace
...
function set. Otherwise a Python fatal error about hitting an unrecoverable
recursion depth gets triggered.
Closes issue #10985 . Code review by Georg Brandl.
2011-01-23 23:06:05 +00:00
Raymond Hettinger
6ef18f4fa3
Fix typo.
2011-01-23 21:33:36 +00:00
Raymond Hettinger
98b140c196
Add entry for reprlib.
2011-01-23 21:05:46 +00:00
Georg Brandl
c7c199f907
#10983 : fix several bugs in the _tunnel implementation that seem to have missed while porting between branches. A unittest is needed!
2011-01-22 22:06:24 +00:00
Armin Ronacher
59531287fd
To match the behaviour of HTTP server, the HTTP client library now also encodes
...
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.
2011-01-22 13:44:22 +00:00
Armin Ronacher
8d96d77f9a
Issue #10980 : encode headers with latin1 instead of ASCII in the HTTP server.
...
This makes the implementation of PEP 3333 compliant servers on top of
BaseHTTPServer possible.
2011-01-22 13:13:05 +00:00
Vinay Sajip
01241d6c35
Issue #10949 : Improved robustness of rotating file handlers.
2011-01-21 23:35:57 +00:00
Antoine Pitrou
00d650baaa
Fix JSON docs about loads() accepting only str objects, not bytes.
2011-01-21 21:37:32 +00:00
Antoine Pitrou
305bc9e0e8
Issue #10955 : Fix a potential crash when trying to mmap() a file past its
...
length. Initial patch by Ross Lagerwall.
This fixes a regression introduced by r88022.
2011-01-20 21:07:24 +00:00
Alexander Belopolsky
41a99bc20d
Issue #10934 : Fixed and expanded Internaldate2tuple() and
...
Time2Internaldate() documentation. Thanks Joe Peterson for the report
and the original patch.
2011-01-19 19:53:30 +00:00
Antoine Pitrou
ad62b03949
Issue #10451 : memoryview objects could allow to mutate a readable buffer.
...
Initial patch by Ross Lagerwall.
2011-01-18 18:57:52 +00:00
Raymond Hettinger
5bdfd910f5
Remove out-of-date comment
2011-01-16 09:16:27 +00:00
Antoine Pitrou
d0ebc75e73
Fix mmap and test_mmap under Windows too (followup to r88022)
2011-01-15 17:25:58 +00:00
Georg Brandl
3988ed8e6f
Bump to 3.2rc1.
2011-01-15 17:08:53 +00:00
Georg Brandl
5cc3dcb191
Update pydoc topics.
2011-01-15 16:44:11 +00:00
Antoine Pitrou
85f4615500
Issue #10916 : mmap should not segfault when a file is mapped using 0 as
...
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.
2011-01-15 16:17:07 +00:00
Ned Deily
4ce92b23fe
#10907 : Warn OS X 10.6 IDLE users to use ActiveState Tcl/Tk 8.5,
...
rather than the currently problematic Apple-supplied one,
when running with the 64-/32-bit installer variant.
2011-01-15 04:37:12 +00:00
Victor Stinner
f1c7ca93c1
cgi: use isinstance(x, list) instead of type(x) == type([])
2011-01-14 13:08:27 +00:00
Victor Stinner
5c23b8e6ea
Issue #4953 : cgi.FieldStorage and cgi.parse() parse the request as bytes, not
...
as unicode, and accept binary files. Add encoding and errors attributes to
cgi.FieldStorage.
2011-01-14 13:05:21 +00:00
Victor Stinner
1d87deb605
test_urlparse: add tests for encoding and errors arguments
2011-01-14 13:05:19 +00:00
Victor Stinner
ac71c54b88
Add encoding and errors arguments to urllib.parse_qs() and urllib.parse_qsl()
2011-01-14 12:52:12 +00:00
Raymond Hettinger
d958ea70bc
Issue 10899: Remove function type annotations from the stdlib
2011-01-13 19:08:04 +00:00
Raymond Hettinger
cbb80896ae
Issue #10899 : Move function type annotations into docstrings.
...
Note, the docstrings (for the most part) were already very thorough
and included type information.
2011-01-13 18:15:51 +00:00
Georg Brandl
4d73b570eb
More PEP 8: no space around "=" in argument lists.
2011-01-13 07:13:06 +00:00
Raymond Hettinger
00fa03900c
Issue 10899: Remove function type annotations from the stdlib
2011-01-13 02:52:26 +00:00
Raymond Hettinger
cd92f37582
Issue 10899: Remove function type annotations from the stdlib
2011-01-13 02:31:25 +00:00
Raymond Hettinger
3c94024c3e
Issue #10899 : No function type annotations in the standard library.
...
Removed function type annotations from _pyio.py.
2011-01-12 23:39:31 +00:00
Antoine Pitrou
1e28513d25
Fix test_bigaddrspace (some tests didn't trigger the expected MemoryError)
2011-01-12 22:02:45 +00:00
Antoine Pitrou
98c62bd1c8
A better message again
2011-01-12 21:58:39 +00:00
Antoine Pitrou
e0d3f8a654
More informative skip message in @bigaddrspace
2011-01-12 21:50:44 +00:00
Antoine Pitrou
9dd1171305
Fix @bigmemtest when no limit is given by the user (oops)
2011-01-12 21:40:20 +00:00
Antoine Pitrou
aca5fa7010
Make test skipping message nicer, and remove the rather useless "overhead" parameter.
2011-01-12 21:19:59 +00:00
Raymond Hettinger
219c300748
Remove the funky function annotation from numbers.py.
2011-01-12 20:52:39 +00:00
Antoine Pitrou
45545f79c9
Fix the expected memory use of utf-8 encoding. Also, release the
...
one reference to a huge object even when an exception is raised.
2011-01-12 20:46:37 +00:00
Raymond Hettinger
b3d89a4ee4
Remove function annotations that slipped into _abcoll.
...
These are reserved for third-party use.
2011-01-12 20:37:47 +00:00
Antoine Pitrou
318b8f35fe
Issue #10822 : Fix test_posix:test_getgroups failure under Solaris. Patch
...
by Ross Lagerwall.
2011-01-12 18:45:27 +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
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
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
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