]>
granicus.if.org Git - python/log
Gregory P. Smith [Mon, 1 Mar 2010 02:31:33 +0000 (02:31 +0000)]
Fix for r78527. It left out updating forkpty.
Gregory P. Smith [Mon, 1 Mar 2010 02:01:47 +0000 (02:01 +0000)]
Adds the hashlib.algorithms attribute. See issue7418.
Gregory P. Smith [Mon, 1 Mar 2010 01:22:39 +0000 (01:22 +0000)]
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.
Gregory P. Smith [Mon, 1 Mar 2010 00:05:08 +0000 (00:05 +0000)]
Issue #
1068268 : The subprocess module now handles EINTR in internal
os.waitpid and os.read system calls where appropriate.
Ezio Melotti [Sun, 28 Feb 2010 23:59:00 +0000 (23:59 +0000)]
#8030: more docstring fix for builtin types.
Gregory P. Smith [Sun, 28 Feb 2010 18:36:09 +0000 (18:36 +0000)]
Issue #7481: When a threading.Thread failed to start it would leave the
instance stuck in initial state and present in threading.enumerate().
Georg Brandl [Sun, 28 Feb 2010 18:26:37 +0000 (18:26 +0000)]
The set types can also be called without arguments.
Georg Brandl [Sun, 28 Feb 2010 18:19:17 +0000 (18:19 +0000)]
#8030: make builtin type docstrings more consistent: use "iterable" instead of "seq(uence)", use "new" to show that set() always returns a new object.
Ezio Melotti [Sun, 28 Feb 2010 03:11:07 +0000 (03:11 +0000)]
Pep8ify test names in the examples.
Florent Xicluna [Sat, 27 Feb 2010 21:15:27 +0000 (21:15 +0000)]
Fix an oversight in r78508: p.wait() should be compared to 0
Florent Xicluna [Sat, 27 Feb 2010 19:20:50 +0000 (19:20 +0000)]
Clean test_subprocess: use assertRaises, skipIf, skipUnless helpers and a custom helper assertStderrEqual.
Florent Xicluna [Sat, 27 Feb 2010 15:10:19 +0000 (15:10 +0000)]
#7793: Fix RuntimeError when running "regrtest -R" for multibyte codecs.
Georg Brandl [Sat, 27 Feb 2010 14:58:08 +0000 (14:58 +0000)]
Link to http://www.python.org/dev/workflow/ from bugs page.
Ezio Melotti [Sat, 27 Feb 2010 13:50:35 +0000 (13:50 +0000)]
Fix missing parenthesis.
Florent Xicluna [Sat, 27 Feb 2010 13:31:23 +0000 (13:31 +0000)]
Issue #
1729305 : Fix doctest to handle encode error with "backslashreplace". It fixes #7667 too.
Ezio Melotti [Sat, 27 Feb 2010 12:42:52 +0000 (12:42 +0000)]
Add a test for normpath to test_macpath.
Florent Xicluna [Sat, 27 Feb 2010 11:19:18 +0000 (11:19 +0000)]
Add entry for issue #691291.
Benjamin Peterson [Sat, 27 Feb 2010 00:11:42 +0000 (00:11 +0000)]
run autoconf
Ezio Melotti [Sat, 27 Feb 2010 00:05:42 +0000 (00:05 +0000)]
Show an error when the value passed to --enable-unicode is not ucs2 or ucs4 (lowercase).
Ezio Melotti [Fri, 26 Feb 2010 23:27:06 +0000 (23:27 +0000)]
typo: __next__ -> next
Andrew M. Kuchling [Fri, 26 Feb 2010 13:22:50 +0000 (13:22 +0000)]
#7407: specify default maxsize value; patch by Floris Bruynooghe
Florent Xicluna [Fri, 26 Feb 2010 10:40:58 +0000 (10:40 +0000)]
#691291: codecs.open() should not convert end of lines on reading and writing.
Senthil Kumaran [Fri, 26 Feb 2010 00:47:05 +0000 (00:47 +0000)]
Fixing issue5475 : urllib2.getproxies not documented
Martin v. Löwis [Thu, 25 Feb 2010 20:42:40 +0000 (20:42 +0000)]
Add Florent Xicluna.
Ezio Melotti [Thu, 25 Feb 2010 17:36:04 +0000 (17:36 +0000)]
#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.
Eric Smith [Thu, 25 Feb 2010 14:26:33 +0000 (14:26 +0000)]
Issue #7928: Document str.format element_index better.
Eric Smith [Thu, 25 Feb 2010 14:14:35 +0000 (14:14 +0000)]
Issue #5965: Add documentation for parts of format specification language.
Senthil Kumaran [Wed, 24 Feb 2010 20:55:31 +0000 (20:55 +0000)]
Fix for Issue7540 ; urllib2 will raise a TypeError when you try to add_data to
a existing req object already having data.
Dirkjan Ochtman [Wed, 24 Feb 2010 17:06:31 +0000 (17:06 +0000)]
Add some notes about Tools/scripts/serve.py.
Ezio Melotti [Wed, 24 Feb 2010 16:49:56 +0000 (16:49 +0000)]
typos
Senthil Kumaran [Wed, 24 Feb 2010 16:45:46 +0000 (16:45 +0000)]
Fix for Issue3819 - urllib2 sends Basic auth across redirects
Eric Smith [Wed, 24 Feb 2010 14:15:36 +0000 (14:15 +0000)]
Issue #7309: Unchecked pointer access when converting UnicodeEncodeError, UnicodeDecodeError, and UnicodeTranslateError to strings.
Dirkjan Ochtman [Wed, 24 Feb 2010 04:49:00 +0000 (04:49 +0000)]
Issue #7427: improve the representation of httplib.BadStatusLine exceptions.
Dirkjan Ochtman [Wed, 24 Feb 2010 04:12:11 +0000 (04:12 +0000)]
Issue #8004: add a serve target to the Doc Makefile.
Dirkjan Ochtman [Wed, 24 Feb 2010 04:00:52 +0000 (04:00 +0000)]
Issue #7733: add explicit reference in asyncore docs.
R. David Murray [Wed, 24 Feb 2010 02:31:27 +0000 (02:31 +0000)]
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.
Benjamin Peterson [Wed, 24 Feb 2010 02:24:35 +0000 (02:24 +0000)]
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
........
R. David Murray [Wed, 24 Feb 2010 02:08:28 +0000 (02:08 +0000)]
The primary copy of lib2to3 is not trunk, so the lib2to3 change
should not have been included in the -OO patch, back it out.
Brett Cannon [Wed, 24 Feb 2010 01:38:04 +0000 (01:38 +0000)]
Record that Dino Viehland got commit privs.
Amaury Forgeot d'Arc [Tue, 23 Feb 2010 23:19:39 +0000 (23:19 +0000)]
#4852: Remove dead code in every thread implementation, unused for many years.
Victor Stinner [Tue, 23 Feb 2010 23:16:07 +0000 (23:16 +0000)]
Issue #7649: Fix u'%c' % char for character in range 0x80..0xFF
=> raise an UnicodeDecodeError. Patch written by Ezio Melotti.
Georg Brandl [Tue, 23 Feb 2010 21:48:57 +0000 (21:48 +0000)]
#6544: fix refleak in kqueue, occurring in certain error conditions.
Georg Brandl [Tue, 23 Feb 2010 21:33:17 +0000 (21:33 +0000)]
#8000: fix deprecated directive. What a shame to lose that glorious issue number to such a minor bug :)
Dirkjan Ochtman [Tue, 23 Feb 2010 21:09:52 +0000 (21:09 +0000)]
Fix #
1537721 : add writeheader() method to csv.DictWriter.
Reviewed by skip.montanaro and thomas.wouters.
Thomas Heller [Tue, 23 Feb 2010 20:11:44 +0000 (20:11 +0000)]
ctypes CThunkObject was not registered correctly with the cycle
garbage collector, leading to possible leaks when using callback
functions.
Jack Diederich [Tue, 23 Feb 2010 19:34:06 +0000 (19:34 +0000)]
issue#6442 use in operator instead of has_key
Jack Diederich [Tue, 23 Feb 2010 17:23:30 +0000 (17:23 +0000)]
fixup markup error
Michael Foord [Tue, 23 Feb 2010 17:00:53 +0000 (17:00 +0000)]
unittest.TestResult can now be used with the TextTestRunner. TextTestRunner compatible with old TestResult objects.
Mark Dickinson [Tue, 23 Feb 2010 13:06:50 +0000 (13:06 +0000)]
Fix spacing nit. Thanks Eric Smith for the public humiliation.
Mark Dickinson [Tue, 23 Feb 2010 12:53:52 +0000 (12:53 +0000)]
Make global variable overflowok into a keyword argument; this fixes a failure when running ./python -m test.regrtest -R 3:2: test_format
Tarek Ziadé [Tue, 23 Feb 2010 05:53:05 +0000 (05:53 +0000)]
fixed #5801: removed spurious empty lines in wsgiref
Tarek Ziadé [Tue, 23 Feb 2010 05:36:41 +0000 (05:36 +0000)]
completed the __all__ list and changed the module doctest
Tarek Ziadé [Tue, 23 Feb 2010 05:20:22 +0000 (05:20 +0000)]
added a note on shutil new APIs
Tarek Ziadé [Tue, 23 Feb 2010 05:16:41 +0000 (05:16 +0000)]
added make_archive (and secondary APIs) to shutil
Tarek Ziadé [Tue, 23 Feb 2010 04:57:05 +0000 (04:57 +0000)]
removed debugging code
R. David Murray [Tue, 23 Feb 2010 00:24:49 +0000 (00:24 +0000)]
Issue 6292: for the moment at least, the test suite passes if run
with -OO. Tests requiring docstrings are skipped. Patch by
Brian Curtin, thanks to Matias Torchinsky for helping review and
improve the patch.
Eric Smith [Tue, 23 Feb 2010 00:11:16 +0000 (00:11 +0000)]
Issue #6902: Fix problem with built-in types format incorrectly with 0 padding.
Michael Foord [Mon, 22 Feb 2010 23:28:32 +0000 (23:28 +0000)]
Support for old TestResult object (unittest) with warnings when using unsupported features.
Andrew M. Kuchling [Mon, 22 Feb 2010 23:12:00 +0000 (23:12 +0000)]
#7706: add include guards where they're missing; required for Windows CE
Andrew M. Kuchling [Mon, 22 Feb 2010 23:10:52 +0000 (23:10 +0000)]
#7706: DONT_HAVE_ERRNO_H is no longer defined by configure (after rev.46819).
Andrew M. Kuchling [Mon, 22 Feb 2010 22:48:41 +0000 (22:48 +0000)]
#2560: remove an unnecessary 'for' loop from my_fgets() in Parser/myreadline.c.
Noted by Joseph Armbruster; patch by Jessica McKellar.
The original code was 'for (;;) {...}', where ... ended
with a 'return -2' statement and did not contain a 'break' or 'continue'
statement. Therefore, the body of the loop is always executed once.
Once upon a time there was a 'continue' in the loop, but it was removed in
rev36346, committed by mwh on Wed Jul 7 17:44:12 2004.
Jack Diederich [Mon, 22 Feb 2010 21:27:38 +0000 (21:27 +0000)]
* fix issue#7476
Andrew M. Kuchling [Mon, 22 Feb 2010 21:04:02 +0000 (21:04 +0000)]
Remove Tools/modulator, a reference to it in the docs, and a screenshot of it.
(I asked the BDFL first, and he approved removing it. The last actual bugfix
to Tools/modulator was in 2001; since then all changes have been search-and-replace:
string methods, whitespace fixes, etc.)
Jack Diederich [Mon, 22 Feb 2010 19:55:22 +0000 (19:55 +0000)]
fixes issue #
1522237 , bad init check in _threading_local
Andrew M. Kuchling [Mon, 22 Feb 2010 18:42:07 +0000 (18:42 +0000)]
#7627: MH.remove() would fail if the MH mailbox was locked;
it would call _unlock_file() and pass it a closed file object. Noted by Rob Austein.
Andrew M. Kuchling [Mon, 22 Feb 2010 18:38:23 +0000 (18:38 +0000)]
Fix comment typo
Eric Smith [Mon, 22 Feb 2010 18:33:47 +0000 (18:33 +0000)]
Issue #7988: Fix default alignment to be right aligned for complex.__format__. Now it matches other numeric types.
Jack Diederich [Mon, 22 Feb 2010 18:17:16 +0000 (18:17 +0000)]
fixes issue #7530, serve_forever()
Andrew M. Kuchling [Mon, 22 Feb 2010 17:21:54 +0000 (17:21 +0000)]
Note granting of commit privileges to Larry Hastings
Ezio Melotti [Mon, 22 Feb 2010 16:30:58 +0000 (16:30 +0000)]
#7482: clarify error message in case of division by zero of float and complex numbers.
Andrew M. Kuchling [Mon, 22 Feb 2010 16:26:47 +0000 (16:26 +0000)]
#7597: curses.use_env() can be called before initscr(). Noted by Kan-Ru Chen
Mark Dickinson [Mon, 22 Feb 2010 15:40:28 +0000 (15:40 +0000)]
Clarify description of three-argument pow for Decimal types: the exponent of the result is always 0.
Andrew M. Kuchling [Mon, 22 Feb 2010 15:13:17 +0000 (15:13 +0000)]
#6414: clarify description of processor endianness.
Text by Alexey Shamrin; I changed 'DEC Alpha' to the more relevant 'Intel Itanium'.
Andrew M. Kuchling [Mon, 22 Feb 2010 14:53:17 +0000 (14:53 +0000)]
#7794: describe 2.6 support for executing directories and zip archives
Senthil Kumaran [Mon, 22 Feb 2010 10:55:08 +0000 (10:55 +0000)]
Fix Issue7172 - BaseHTTPServer.BaseHTTPRequestHandler.responses[405] - changing
server to resource in the 405 response msg.
Andrew M. Kuchling [Mon, 22 Feb 2010 02:29:10 +0000 (02:29 +0000)]
#7076: mention SystemRandom class near start of the module docs; reword change description for clarity. Noted by Shawn Ligocki.
Andrew M. Kuchling [Mon, 22 Feb 2010 02:08:45 +0000 (02:08 +0000)]
Re-word
Michael Foord [Sun, 21 Feb 2010 14:48:59 +0000 (14:48 +0000)]
Silence UnicodeWarning in crazy unittest test.
Mark Dickinson [Sun, 21 Feb 2010 14:42:27 +0000 (14:42 +0000)]
Reduce number of random tests in test_strtod, to avoid hogging buildbot time.
Mark Dickinson [Sun, 21 Feb 2010 13:37:53 +0000 (13:37 +0000)]
Issue #7384: skip test_curses on FreeBSD, in order to allow other buildbot tests to complete.
Mark Dickinson [Sun, 21 Feb 2010 12:57:35 +0000 (12:57 +0000)]
Issue #5211: Fix complex type to avoid implicit calls to
complex.__coerce__. Thanks Meador Inge for the patch.
R. David Murray [Sun, 21 Feb 2010 04:23:00 +0000 (04:23 +0000)]
Issue 7970: When email.Parser.Parser parses a MIME message of type
message/rfc822 it turns it into an object whose body consists of
a list containing a single Message object. HeaderParser, on the
other hand, just copies the body as a string. Generator.flatten
has a special handler for the message mime type that expected the
body to be the one item list. This fails if the message was parsed
by HeaderParser. So we now check to see if the body is a string
first, and if so just we just emit it.
Ezio Melotti [Sat, 20 Feb 2010 22:34:21 +0000 (22:34 +0000)]
skip tests with a non-ascii cwd when the file system encoding is ascii
Senthil Kumaran [Sat, 20 Feb 2010 22:05:34 +0000 (22:05 +0000)]
Fix for Issue7751: urllib.urlopen("///C|/foo/bar/spam.foo")
Ezio Melotti [Sat, 20 Feb 2010 09:40:07 +0000 (09:40 +0000)]
Remove e assertIs definitions and use correct assert* methods.
Ezio Melotti [Sat, 20 Feb 2010 08:09:39 +0000 (08:09 +0000)]
#3426: os.path.abspath now returns unicode when its arg is unicode.
Vinay Sajip [Fri, 19 Feb 2010 23:53:17 +0000 (23:53 +0000)]
logging: Documented warnings module integration.
Georg Brandl [Fri, 19 Feb 2010 19:36:08 +0000 (19:36 +0000)]
#7967: PyXML is no more.
Senthil Kumaran [Fri, 19 Feb 2010 07:32:48 +0000 (07:32 +0000)]
Fix for Issue7904. urlparse.urlsplit to handle schemes in the way defined by RFC3986
Fred Drake [Fri, 19 Feb 2010 05:24:30 +0000 (05:24 +0000)]
- apply patch from issue 7005
- add corresponding documentation
Michael Foord [Thu, 18 Feb 2010 21:37:07 +0000 (21:37 +0000)]
Fix unittest.TestCase.assertDictContainsSubset so it can't die with unicode issues when constructing failure messages. Issue 7956
Michael Foord [Thu, 18 Feb 2010 20:30:09 +0000 (20:30 +0000)]
unittest.TestCase uses safe_repr for producing failure messages. Partial fix for issue 7956
Mark Dickinson [Thu, 18 Feb 2010 14:45:33 +0000 (14:45 +0000)]
Doctest fixes for decimal.py: add an integer-argument doctest for logical_invert; don't use integer literals with a leading zero.
Mark Dickinson [Thu, 18 Feb 2010 14:27:02 +0000 (14:27 +0000)]
Issue #7633: Context method in the decimal module (with the exception
of the 'canonical' and 'is_canonical' methods) now consistently accept
integer arguments wherever a Decimal instance is accepted. Thanks
Juan José Conti for the patch.
Andrew M. Kuchling [Thu, 18 Feb 2010 14:16:48 +0000 (14:16 +0000)]
Add various items
Martin v. Löwis [Thu, 18 Feb 2010 12:45:45 +0000 (12:45 +0000)]
Move bsddb47 macros before their use, to make VS 2010 happy.
Martin v. Löwis [Thu, 18 Feb 2010 09:22:20 +0000 (09:22 +0000)]
Stop providing crtassem.h symbols when compiling with
Visual Studio 2010, as msvcr100.dll is not a platform
assembly anymore.
Ezio Melotti [Tue, 16 Feb 2010 23:58:49 +0000 (23:58 +0000)]
#7941: fix error message
Ezio Melotti [Tue, 16 Feb 2010 23:26:09 +0000 (23:26 +0000)]
#7930: fix stripid
R. David Murray [Tue, 16 Feb 2010 17:55:26 +0000 (17:55 +0000)]
Make the references to Popen in the description of Call
and check_call into links.