Gregory P. Smith
3c699d334a
Adds c_ssize_t to ctypes. issue 6729.
2010-03-01 04:56:12 +00:00
Gregory P. Smith
3c1586ab45
Cleanup the test added in r78517 based on Ezio Melotti's feedback.
2010-03-01 03:09:19 +00:00
Gregory P. Smith
c1baf4ac9e
Fix the new test on windows (skip it, its posix only)
2010-03-01 02:53:24 +00:00
Gregory P. Smith
4b862365c8
Fix for r78527. It left out updating forkpty.
2010-03-01 02:31:33 +00:00
Gregory P. Smith
e6390a1503
Adds the hashlib.algorithms attribute. See issue7418.
2010-03-01 02:01:47 +00:00
Gregory P. Smith
9e5d1327f8
Issue #7242 : On Solaris 9 and earlier calling os.fork() from within a
...
thread could raise an incorrect RuntimeError about not holding the import
lock. The import lock is now reinitialized after fork.
2010-03-01 01:22:39 +00:00
Gregory P. Smith
cce211f88c
Issue #1068268 : The subprocess module now handles EINTR in internal
...
os.waitpid and os.read system calls where appropriate.
2010-03-01 00:05:08 +00:00
Ezio Melotti
fb501123e3
#8030 : more docstring fix for builtin types.
2010-02-28 23:59:00 +00:00
Gregory P. Smith
613c7a549a
Issue #7481 : When a threading.Thread failed to start it would leave the
...
instance stuck in initial state and present in threading.enumerate().
2010-02-28 18:36:09 +00:00
Georg Brandl
b36e63a5ee
The set types can also be called without arguments.
2010-02-28 18:26:37 +00:00
Georg Brandl
bca1169e94
#8030 : make builtin type docstrings more consistent: use "iterable" instead of "seq(uence)", use "new" to show that set() always returns a new object.
2010-02-28 18:19:17 +00:00
Ezio Melotti
68beef6633
Pep8ify test names in the examples.
2010-02-28 03:11:07 +00:00
Florent Xicluna
78fd521f1a
Fix an oversight in r78508: p.wait() should be compared to 0
2010-02-27 21:15:27 +00:00
Florent Xicluna
98e3fc39bf
Clean test_subprocess: use assertRaises, skipIf, skipUnless helpers and a custom helper assertStderrEqual.
2010-02-27 19:20:50 +00:00
Florent Xicluna
be8c2b1ca7
#7793 : Fix RuntimeError when running "regrtest -R" for multibyte codecs.
2010-02-27 15:10:19 +00:00
Georg Brandl
37212ed489
Link to http://www.python.org/dev/workflow/ from bugs page.
2010-02-27 14:58:08 +00:00
Ezio Melotti
8dd547f689
Fix missing parenthesis.
2010-02-27 13:50:35 +00:00
Florent Xicluna
2a903b26e9
Issue #1729305 : Fix doctest to handle encode error with "backslashreplace". It fixes #7667 too.
2010-02-27 13:31:23 +00:00
Ezio Melotti
0263da547e
Add a test for normpath to test_macpath.
2010-02-27 12:42:52 +00:00
Florent Xicluna
82aa01fa29
Add entry for issue #691291 .
2010-02-27 11:19:18 +00:00
Benjamin Peterson
8b65054fea
run autoconf
2010-02-27 00:11:42 +00:00
Ezio Melotti
5820efb5c3
Show an error when the value passed to --enable-unicode is not ucs2 or ucs4 (lowercase).
2010-02-27 00:05:42 +00:00
Ezio Melotti
84424f1532
typo: __next__ -> next
2010-02-26 23:27:06 +00:00
Andrew M. Kuchling
9aeeffa929
#7407 : specify default maxsize value; patch by Floris Bruynooghe
2010-02-26 13:22:50 +00:00
Florent Xicluna
f4b6186d9c
#691291 : codecs.open() should not convert end of lines on reading and writing.
2010-02-26 10:40:58 +00:00
Senthil Kumaran
c994186dad
Fixing issue5475 : urllib2.getproxies not documented
2010-02-26 00:47:05 +00:00
Martin v. Löwis
99bf01b4b4
Add Florent Xicluna.
2010-02-25 20:42:40 +00:00
Ezio Melotti
321251567e
#7649 : "u'%c' % char" now behaves like "u'%s' % char" and raises a UnicodeDecodeError if 'char' is a byte string that can't be decoded using the default encoding.
2010-02-25 17:36:04 +00:00
Eric Smith
271b7e1abb
Issue #7928 : Document str.format element_index better.
2010-02-25 14:26:33 +00:00
Eric Smith
de8b2ac332
Issue #5965 : Add documentation for parts of format specification language.
2010-02-25 14:14:35 +00:00
Senthil Kumaran
e9a78083c0
Fix for Issue7540 ; urllib2 will raise a TypeError when you try to add_data to
...
a existing req object already having data.
2010-02-24 20:55:31 +00:00
Dirkjan Ochtman
60677a78f8
Add some notes about Tools/scripts/serve.py.
2010-02-24 17:06:31 +00:00
Ezio Melotti
2076666770
typos
2010-02-24 16:49:56 +00:00
Senthil Kumaran
8526adfbd9
Fix for Issue3819 - urllib2 sends Basic auth across redirects
2010-02-24 16:45:46 +00:00
Eric Smith
2d9856d6ce
Issue #7309 : Unchecked pointer access when converting UnicodeEncodeError, UnicodeDecodeError, and UnicodeTranslateError to strings.
2010-02-24 14:15:36 +00:00
Dirkjan Ochtman
ebc73dce57
Issue #7427 : improve the representation of httplib.BadStatusLine exceptions.
2010-02-24 04:49:00 +00:00
Dirkjan Ochtman
e4c74e1ea2
Issue #8004 : add a serve target to the Doc Makefile.
2010-02-24 04:12:11 +00:00
Dirkjan Ochtman
2d78070f63
Issue #7733 : add explicit reference in asyncore docs.
2010-02-24 04:00:52 +00:00
R. David Murray
48605be128
Issue 7975: in python 2.6 bsddb.dbshelve switched from DictMixin to
...
MutableMapping, and thereby lost functionality because the replacement
functionality was implemented incorrectly or incompletely). Since bsddb
isn't in py3k, this patch just goes back to using DictMixin in order to
correct the regression.
2010-02-24 02:31:27 +00:00
Benjamin Peterson
300c5cc874
Merged revisions 78407 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r78407 | benjamin.peterson | 2010-02-23 20:21:34 -0600 (Tue, 23 Feb 2010) | 1 line
rewrite test to not rely on __doc__ being present
........
2010-02-24 02:24:35 +00:00
R. David Murray
effb24b31b
The primary copy of lib2to3 is not trunk, so the lib2to3 change
...
should not have been included in the -OO patch, back it out.
2010-02-24 02:08:28 +00:00
Brett Cannon
1ffccb0f8a
Record that Dino Viehland got commit privs.
2010-02-24 01:38:04 +00:00
Amaury Forgeot d'Arc
adfc80bd81
#4852 : Remove dead code in every thread implementation, unused for many years.
2010-02-23 23:19:39 +00:00
Victor Stinner
f20f9c299e
Issue #7649 : Fix u'%c' % char for character in range 0x80..0xFF
...
=> raise an UnicodeDecodeError. Patch written by Ezio Melotti.
2010-02-23 23:16:07 +00:00
Georg Brandl
ea370a9edd
#6544 : fix refleak in kqueue, occurring in certain error conditions.
2010-02-23 21:48:57 +00:00
Georg Brandl
6ae19ade64
#8000 : fix deprecated directive. What a shame to lose that glorious issue number to such a minor bug :)
2010-02-23 21:33:17 +00:00
Dirkjan Ochtman
8614817875
Fix #1537721 : add writeheader() method to csv.DictWriter.
...
Reviewed by skip.montanaro and thomas.wouters.
2010-02-23 21:09:52 +00:00
Thomas Heller
92bd059c67
ctypes CThunkObject was not registered correctly with the cycle
...
garbage collector, leading to possible leaks when using callback
functions.
2010-02-23 20:11:44 +00:00
Jack Diederich
429a74a11a
issue#6442 use in operator instead of has_key
2010-02-23 19:34:06 +00:00
Jack Diederich
1605b3316f
fixup markup error
2010-02-23 17:23:30 +00:00