Mark Dickinson
6a74d34d7c
Fix typo.
2010-07-29 13:56:56 +00:00
Georg Brandl
46aa5c5ba1
#3874 : document HTMLParser.unknown_decl().
2010-07-29 13:38:37 +00:00
Georg Brandl
6d23c44ee5
Fix #9412 : make list of messages an instance attribute instead of class attribute.
2010-07-29 13:19:42 +00:00
Georg Brandl
8dcaa7396f
#9411 : allow selecting an encoding for configparser files. Also adds a new test config file to test special cases.
2010-07-29 12:17:40 +00:00
Georg Brandl
f206d0e393
Fix for r83202: improve the handling of empty lines.
2010-07-29 11:56:20 +00:00
Georg Brandl
c62a704189
#6538 : fix regex documentation again -- use fictional class names "regex" and "match" but do not document them as classes, remove 1.5 compat info and use new default argument syntax where possible.
2010-07-29 11:49:05 +00:00
Georg Brandl
ebeb44d8d3
Remove Python 1.5 compatibility note.
2010-07-29 11:15:36 +00:00
Victor Stinner
96f0de9004
Update test_os.py according to my last changes on _Environ.__repr__()
2010-07-29 00:29:00 +00:00
Victor Stinner
bed7117fda
Issue #9283 : Oops, add missing { and } to repr(os.environ)
2010-07-28 21:25:42 +00:00
Victor Stinner
d73c1a3009
#9283 : Fix repr(os.environ), display unicode keys and values on POSIX systems
2010-07-28 21:23:23 +00:00
Georg Brandl
aa5b33311a
Add missing file.
2010-07-28 17:37:27 +00:00
Florent Xicluna
02ea12b291
Syntax cleanup.
2010-07-28 16:39:41 +00:00
Senthil Kumaran
3f8ab965f7
Fix Issue6325 - robotparse to honor urls with query strings.
2010-07-28 16:27:56 +00:00
Georg Brandl
96a60ae90c
#1682942 : add some ConfigParser features: alternate delimiters, alternate comments, empty lines in values. Also enhance the docs with more examples and mention SafeConfigParser before ConfigParser. Patch by Lukas Langa, review by myself, Eric and Ezio.
2010-07-28 13:13:46 +00:00
Georg Brandl
cbb0ae4a42
#9354 : Provide getsockopt() in asyncore file_wrapper(). Patch by Lukas Langa.
2010-07-28 08:19:35 +00:00
Victor Stinner
8182b717db
Issue #8991 : convertbuffer() rejects discontigious buffers
2010-07-28 00:40:58 +00:00
Ezio Melotti
84befb00bd
Fix failure introduced in r83182.
2010-07-28 00:23:21 +00:00
Victor Stinner
cf448832eb
Issue #8966 : ctypes: Remove implicit bytes-unicode conversion
2010-07-28 00:15:03 +00:00
Victor Stinner
42746df17b
Fix ctypes tests to avoid implicit bytes-unicode conversion
2010-07-27 23:36:41 +00:00
Alexander Belopolsky
455f7bdc05
Issue #9378 : python -m pickle <pickle file> will now load and display
...
the first object in the pickle file.
2010-07-27 23:02:38 +00:00
Ezio Melotti
9a381c7a02
With skipUnless there is no need to add test classes conditionally.
2010-07-27 22:24:13 +00:00
Antoine Pitrou
c47bd4a09a
Issue #9294 : remove dead code in Objects/object.c. Patch by Grant Limberg.
2010-07-27 22:08:27 +00:00
Ezio Melotti
63c4640327
Use proper skips and assert* methods in test_asyncore.
2010-07-27 22:03:33 +00:00
Florent Xicluna
f1046ca817
Issue #4770 : Restrict binascii module to accept only bytes (as specified).
...
And fix the email package to encode to ASCII instead of ``raw-unicode-escape`` before ASCII-to-binary decoding.
2010-07-27 21:20:15 +00:00
Georg Brandl
4bf70686fa
Update Sphinx to 1.0.1.
2010-07-27 18:19:21 +00:00
Alexander Belopolsky
c02cc2707a
Issue #9384 : python -m tkinter will now display a simple demo applet.
2010-07-27 14:16:32 +00:00
Gregory P. Smith
5a63183a8b
The default size of the re module's compiled regular expression cache has
...
been increased from 100 to 500 and the cache replacement policy has changed
from simply clearing the entire cache on overflow to randomly forgetting 20%
of the existing cached compiled regular expressions. This is a performance
win for applications that use a lot of regular expressions and limits the
impact of the performance hit anytime the cache is exceeded.
2010-07-27 05:31:29 +00:00
Georg Brandl
f5ae1efd41
Clarify.
2010-07-26 21:12:13 +00:00
Alexander Belopolsky
f39f62802d
Added versionadded entry for the annotate argument.
2010-07-26 18:27:49 +00:00
Georg Brandl
a1c2ce0431
Add Reid.
2010-07-26 17:09:32 +00:00
Georg Brandl
571a953590
Fix indentation in example.
2010-07-26 17:00:20 +00:00
Georg Brandl
f6914aa76b
Fix grammar.
2010-07-26 15:11:49 +00:00
Andrew M. Kuchling
3f911a16db
Reword paragraph
2010-07-26 13:08:58 +00:00
Andrew M. Kuchling
57a7c3df85
#7637 : fix a grammar error; simplify a sentence
2010-07-26 12:54:02 +00:00
Georg Brandl
ae51c17e6e
Add Brian Quinlan.
2010-07-26 09:33:12 +00:00
Georg Brandl
6f934196ae
#9381 : fix markup.
2010-07-26 08:51:42 +00:00
Alexander Belopolsky
aeb039863d
Make python version of fromtimestamp behave more like C.
2010-07-26 02:36:41 +00:00
Brian Curtin
0f0c3320ee
Add note about #7113 and add Łukasz Langa to ACKS
2010-07-26 02:36:32 +00:00
Brian Curtin
9a27b0cd19
Fix #7113 . Patch by Łukasz Langa.
...
Changes include using a list of lines instead of patching together using
string interpolation, and a multi-line value test cases.
2010-07-26 00:27:10 +00:00
Andrew M. Kuchling
688b9e384e
#777884 : make .normalize() do nothing for childless nodes, instead of raising an exception
2010-07-25 23:38:47 +00:00
Andrew M. Kuchling
ea64a6a4ca
#7637 : clarify description of encoding parameter
2010-07-25 23:23:30 +00:00
Michael Foord
bd6c079552
Issue #4686 - add .args to exceptions in the configparsermodule
2010-07-25 23:09:25 +00:00
Andrew M. Kuchling
4d4d1ce7a7
#1495229 : update the type names used by the XML DOM mapping
2010-07-25 22:57:12 +00:00
Alexander Belopolsky
07de165d6e
Corrected comments on where settrace and setprofile are tested.
2010-07-25 15:05:42 +00:00
Alexander Belopolsky
13c475385b
Issue #9315 : Renamed test_trace to test_sys_settrace and
...
test_profilehooks to test_sys_setprofile so that test_trace can be
used for testing the trace module and for naming consistency.
2010-07-25 15:02:55 +00:00
Alexander Belopolsky
f6d2ca06ac
Issue #9315 : Revert r83005 before renaming test_trace to
...
test_sys_settrace and test_profilehooks to test_sys_setprofile in all
three branches.
2010-07-25 14:58:54 +00:00
Ronald Oussoren
cb615e6abe
Fix for issue 9367: the test code for os.getgroups
...
assumes that the result of getgroups and the output
of the id(1) command return groups in the same
order. That assumption is both fragile and false.
2010-07-24 14:15:19 +00:00
Martin v. Löwis
9c71f90329
Put listdir default argument into declaration.
2010-07-24 10:09:11 +00:00
Richard Jones
803ef8a694
Implementation for issue 4184
...
Changes the previously private attributes to make them public, increasing the potential for extending the library in user code. Backward-compatible and documented.
2010-07-24 09:51:40 +00:00
Victor Stinner
756f547b9a
#9032 : XML-RPC client: Transport.request() retries on EPIPE error
...
The EPIPE error occurs when the server closes the socket and the client sends a
"big" XML-RPC request (I don't know exactly the size threshold).
request() just have to ignore the error because single_request() closes the
socket on error, and so the next call to single_request() will open a new
socket.
Remove also a comment in the HTTP client because it's now wrong: see r70643
and issue #5542 .
2010-07-24 02:24:55 +00:00