]>
granicus.if.org Git - python/log
Antoine Pitrou [Wed, 10 Nov 2010 22:36:43 +0000 (22:36 +0000)]
Disable test_python_builders in test_xmlrpc_net, following buildbot upgrade on python.org
Łukasz Langa [Wed, 10 Nov 2010 18:59:35 +0000 (18:59 +0000)]
added myself as a maintainer of configparser
Łukasz Langa [Wed, 10 Nov 2010 18:57:39 +0000 (18:57 +0000)]
Issue #5412: extend configparser to support mapping access
Victor Stinner [Wed, 10 Nov 2010 14:12:20 +0000 (14:12 +0000)]
getpath.c: fix test to detech PyUnicode_AsWideChar() failure
PyUnicode_AsWideChar() result is signed, whereas it was stored in a unsigned
variable, and then the test was "n >= 0" which is always true to an unsigned
number. Patch written by Hallvard B Furuseth.
Antoine Pitrou [Wed, 10 Nov 2010 13:55:25 +0000 (13:55 +0000)]
Issue #10372: Import the warnings module only after the IO library is
initialized, so as to avoid bootstrap issues with the '-W' option.
Antoine Pitrou [Wed, 10 Nov 2010 08:59:25 +0000 (08:59 +0000)]
Followup to r86383: it seems that in some cases (buildbots), the server
closes the connection before we can call shutdown().
Georg Brandl [Wed, 10 Nov 2010 07:57:10 +0000 (07:57 +0000)]
Fix typo.
Antoine Pitrou [Wed, 10 Nov 2010 00:18:40 +0000 (00:18 +0000)]
Forward port r86386 after it fixed the 3.1 buildbot issues
Antoine Pitrou [Tue, 9 Nov 2010 23:10:33 +0000 (23:10 +0000)]
Issue #4471: Properly shutdown socket in IMAP.shutdown(). Patch by
Lorenzo M. Catucci.
Antoine Pitrou [Tue, 9 Nov 2010 22:55:55 +0000 (22:55 +0000)]
Fix IMAP.login() to work properly.
Also, add remote tests for imaplib (part of #4471).
Antoine Pitrou [Tue, 9 Nov 2010 22:04:44 +0000 (22:04 +0000)]
Preserve the original environment (e.g. LD_LIBRARY_PATH)
Ask Solem [Tue, 9 Nov 2010 22:04:16 +0000 (22:04 +0000)]
Remove uneeded NEWS entries for minor documentation updates.
Ask Solem [Tue, 9 Nov 2010 21:52:33 +0000 (21:52 +0000)]
Issue #8028: multiprocessing: Documented that ``Process.terminate``
is only intented for use by the parent process.
Ask Solem [Tue, 9 Nov 2010 21:46:03 +0000 (21:46 +0000)]
Issue #7707: Documented that multiprocessing.Queue operations during
import can lead to deadlocks.
Ask Solem [Tue, 9 Nov 2010 21:36:56 +0000 (21:36 +0000)]
Documented the new error_callback keyword argument to multiprocessing.Pool's apply_async and map_async
Antoine Pitrou [Tue, 9 Nov 2010 21:33:55 +0000 (21:33 +0000)]
Use script_helper in one more test
Ask Solem [Tue, 9 Nov 2010 21:14:53 +0000 (21:14 +0000)]
Added missing NEWS entry for my previous commit (r86370).
Ask Solem [Tue, 9 Nov 2010 20:55:52 +0000 (20:55 +0000)]
Issue #9244: multiprocessing.pool: Worker crashes if result can't be encoded
Antoine Pitrou [Tue, 9 Nov 2010 20:21:19 +0000 (20:21 +0000)]
Issue #10022: The dictionary returned by the `getpeercert()` method
of SSL sockets now has additional items such as `issuer` and `notBefore`.
Antoine Pitrou [Tue, 9 Nov 2010 18:58:42 +0000 (18:58 +0000)]
Make `usenetrc` False by default (the old behaviour of having it True by
default could be rather confusing).
Antoine Pitrou [Tue, 9 Nov 2010 18:54:37 +0000 (18:54 +0000)]
Issue #1926: Add support for NNTP over SSL on port 563, as well as
STARTTLS. Patch by Andrew Vant.
Alexander Belopolsky [Tue, 9 Nov 2010 18:40:03 +0000 (18:40 +0000)]
Issue #7061: Added a 'Turtle star' sidebar
Senthil Kumaran [Tue, 9 Nov 2010 09:59:13 +0000 (09:59 +0000)]
Fix issue10324 - Modules/binascii.c: simplify expressions
Victor Stinner [Tue, 9 Nov 2010 09:40:16 +0000 (09:40 +0000)]
Issue #10359: Remove useless (duplicate) initialization in _csv
Victor Stinner [Tue, 9 Nov 2010 09:39:41 +0000 (09:39 +0000)]
Issue #10359: Remove useless comma, invalid in ISO C
Victor Stinner [Tue, 9 Nov 2010 09:38:30 +0000 (09:38 +0000)]
Issue #10359: Use Py_UNICODE for the typecode in array
And don't create non constant array, invalid in ISO C.
Victor Stinner [Tue, 9 Nov 2010 09:32:19 +0000 (09:32 +0000)]
Issue #10359: Remove ";" after function definition, invalid in ISO C
Raymond Hettinger [Tue, 9 Nov 2010 03:43:58 +0000 (03:43 +0000)]
Simplify code
Alexander Belopolsky [Tue, 9 Nov 2010 03:13:43 +0000 (03:13 +0000)]
Fixed a typo in ReST markup.
Senthil Kumaran [Tue, 9 Nov 2010 02:36:59 +0000 (02:36 +0000)]
Fix Issue10205 - XML QName error when different tags have same QName.
Victor Stinner [Tue, 9 Nov 2010 01:11:31 +0000 (01:11 +0000)]
test_tokenize: use self.assertEqual() instead of plain assert
Victor Stinner [Tue, 9 Nov 2010 01:08:59 +0000 (01:08 +0000)]
Issue #10335: Add tokenize.open(), detect the file encoding using
tokenize.detect_encoding() and open it in read only mode.
Victor Stinner [Mon, 8 Nov 2010 23:49:47 +0000 (23:49 +0000)]
Issue #6011: decode PREFIX, EXEC_PREFIX and PYTHONPATH variables using
_Py_char2wchar(), instead of L"" VAR hack, to escape undecodable bytes using
the surrogateescape error handler.
Victor Stinner [Mon, 8 Nov 2010 23:34:29 +0000 (23:34 +0000)]
PyUnicode_DecodeFSDefaultAndSize() raises MemoryError if _Py_char2wchar() fails
Victor Stinner [Mon, 8 Nov 2010 23:30:46 +0000 (23:30 +0000)]
_Py_char2wchar() frees the memory on conversion error
Explain in the documentation that conversion errors should never happen.
Alexander Belopolsky [Mon, 8 Nov 2010 23:10:20 +0000 (23:10 +0000)]
Fixed unit test failure on Windows
Victor Stinner [Mon, 8 Nov 2010 22:43:46 +0000 (22:43 +0000)]
PyUnicode_EncodeFS() raises an exception if _Py_wchar2char() fails
* Add error_pos optional argument to _Py_wchar2char()
* PyUnicode_EncodeFS() raises a UnicodeEncodeError or MemoryError if
_Py_wchar2char() fails
Éric Araujo [Mon, 8 Nov 2010 21:48:23 +0000 (21:48 +0000)]
This was actually fixed for the previous alpha.
Antoine Pitrou [Mon, 8 Nov 2010 21:40:13 +0000 (21:40 +0000)]
Fix memory consumption advertised by some test cases
Antoine Pitrou [Mon, 8 Nov 2010 20:36:57 +0000 (20:36 +0000)]
Fix test_hashlib with the bigmem option
Alexander Belopolsky [Mon, 8 Nov 2010 18:32:40 +0000 (18:32 +0000)]
Streamlined code in trace.Ignore and added unit tests.
Éric Araujo [Mon, 8 Nov 2010 18:15:17 +0000 (18:15 +0000)]
Add missing NEWS entry for a fix committed by Senthil.
All recent modifications to distutils should now be covered in NEWS.
R. David Murray [Mon, 8 Nov 2010 17:15:13 +0000 (17:15 +0000)]
#10321: Add support for sending binary DATA and Message objects to smtplib
Éric Araujo [Mon, 8 Nov 2010 17:13:03 +0000 (17:13 +0000)]
Move a news entry to the right section (+ light reformatting)
Georg Brandl [Mon, 8 Nov 2010 16:57:52 +0000 (16:57 +0000)]
Fix next version name.
Georg Brandl [Mon, 8 Nov 2010 11:08:35 +0000 (11:08 +0000)]
Fix typo.
Georg Brandl [Mon, 8 Nov 2010 11:05:18 +0000 (11:05 +0000)]
Fix latex conversion glitch in property/feature descriptions.
Senthil Kumaran [Mon, 8 Nov 2010 02:04:05 +0000 (02:04 +0000)]
Extra space caught by the post-commit-hook, aka Taggnostr :)
Senthil Kumaran [Mon, 8 Nov 2010 01:53:13 +0000 (01:53 +0000)]
Fix Issue 10303: a small clarification in the tutorial.
Brian Curtin [Sun, 7 Nov 2010 22:09:05 +0000 (22:09 +0000)]
typo: annually->manually
...unless these are commands you only run once a year :)
Sean Reifscheider [Sun, 7 Nov 2010 21:26:53 +0000 (21:26 +0000)]
Removing reference to ftp.python.org and enhancing RPM README.
Antoine Pitrou [Sun, 7 Nov 2010 20:50:51 +0000 (20:50 +0000)]
Issue #10347: ignore leading test count ("[ 1/340]") when using the -f option to regrtest.
Victor Stinner [Sun, 7 Nov 2010 19:04:46 +0000 (19:04 +0000)]
str, bytes, bytearray docstring: remove unnecessary [...]
Victor Stinner [Sun, 7 Nov 2010 18:41:46 +0000 (18:41 +0000)]
Fix encode/decode method doc of str, bytes, bytearray types
* Specify the default encoding: write 'utf-8' instead of
sys.getdefaultencoding(), because the default encoding is now constant
* Specify the default errors value
Victor Stinner [Sun, 7 Nov 2010 15:47:36 +0000 (15:47 +0000)]
Issue #10329: The trace module writes reports using the input Python script
encoding, instead of the locale encoding. Patch written by Alexander
Belopolsky.
Victor Stinner [Sun, 7 Nov 2010 15:43:39 +0000 (15:43 +0000)]
os module: remove nonbreaking space in a comment
Mark Dickinson [Sun, 7 Nov 2010 15:31:41 +0000 (15:31 +0000)]
Update assertComplexIdentical to handle nans correctly.
Hirokazu Yamamoto [Sun, 7 Nov 2010 14:29:26 +0000 (14:29 +0000)]
Issue #6317: Now winsound.PlaySound only accepts unicode with MvL's approval.
Victor Stinner [Sun, 7 Nov 2010 14:14:27 +0000 (14:14 +0000)]
Issue #10337: skip tests of tanh() sign in test_math and test_cmath if tanh()
doesn't preserve the zero sign (if TANH_PRESERVES_ZERO_SIGN define is 0).
Senthil Kumaran [Sun, 7 Nov 2010 12:57:04 +0000 (12:57 +0000)]
Fix Issue10226 - Clarifying the role of the netloc separator.
Mark Dickinson [Sun, 7 Nov 2010 12:48:18 +0000 (12:48 +0000)]
Issue #10145: the float.is_integer method was undocumented.
Hirokazu Yamamoto [Sun, 7 Nov 2010 11:32:01 +0000 (11:32 +0000)]
Changed entry name because it's hard to merge.
Mark Dickinson [Sun, 7 Nov 2010 11:24:44 +0000 (11:24 +0000)]
Issue 10297: Add missing import in decimal example snippet.
Hirokazu Yamamoto [Sun, 7 Nov 2010 11:07:44 +0000 (11:07 +0000)]
Reformatted code a bit.
Mark Dickinson [Sun, 7 Nov 2010 10:01:46 +0000 (10:01 +0000)]
Add a dtoa.c test value that triggered a bug in recent versions of
Gay's dtoa.c (but not for current versions of Python's dtoa.c).
Thanks Rick Regan for finding and reporting this.
Hirokazu Yamamoto [Sun, 7 Nov 2010 09:23:15 +0000 (09:23 +0000)]
Issue #6317: Now winsound.PlaySound can accept non ascii filename.
Victor Stinner [Sun, 7 Nov 2010 04:36:56 +0000 (04:36 +0000)]
test_concurrent_futures: remove temporary hack
Hirokazu Yamamoto [Sun, 7 Nov 2010 02:45:19 +0000 (02:45 +0000)]
Formatted code. (Tabify, etc)
Eric Smith [Sat, 6 Nov 2010 19:27:37 +0000 (19:27 +0000)]
Added more to docstrings for str.format, format_map, and __format__.
Éric Araujo [Sat, 6 Nov 2010 18:03:52 +0000 (18:03 +0000)]
Fix #10252 again (hopefully definitely). Patch by Brian Curtin.
Éric Araujo [Sat, 6 Nov 2010 16:06:37 +0000 (16:06 +0000)]
Remove traces of setuptools (#10341)
Éric Araujo [Sat, 6 Nov 2010 15:57:52 +0000 (15:57 +0000)]
Correct the fix for #10252: Popen objects have no close method.
Éric Araujo [Sat, 6 Nov 2010 15:01:07 +0000 (15:01 +0000)]
Add missing NEWS entries for some of my commits.
Eric Smith [Sat, 6 Nov 2010 14:43:26 +0000 (14:43 +0000)]
Removed unused test classes from test_format_map().
Eric Smith [Sat, 6 Nov 2010 13:22:13 +0000 (13:22 +0000)]
Added example for str.format_map().
Victor Stinner [Sat, 6 Nov 2010 13:10:29 +0000 (13:10 +0000)]
test_concurrent_futures: dump ulimit -a to check a failure on x86 FreeBSD 7.2 3.x, buildbot
Victor Stinner [Sat, 6 Nov 2010 12:59:33 +0000 (12:59 +0000)]
os.get_exec_path() ignores BytesWarning instead of recoding them
Use only one global warning.catch_warnings() context, instead of two local
contexts. Improve also the explaination why the function uses a local import.
Georg Brandl [Sat, 6 Nov 2010 07:19:35 +0000 (07:19 +0000)]
#10334: add a role to refer to Python source files in SVN.
Éric Araujo [Sat, 6 Nov 2010 07:03:07 +0000 (07:03 +0000)]
Tweak example to make clear the argument is a boolean, not any integer.
With Raymond’s approval.
Éric Araujo [Sat, 6 Nov 2010 06:33:03 +0000 (06:33 +0000)]
Fix wrapper/wrapped typo (with Raymond’s blessing)
Éric Araujo [Sat, 6 Nov 2010 06:30:16 +0000 (06:30 +0000)]
Fix typo
Éric Araujo [Sat, 6 Nov 2010 06:00:54 +0000 (06:00 +0000)]
Remove traces of Mac OS 9 support, again (#9508).
This was done in r80805 (#7908) and erroneously brought back by the
distutils revert. This commit removes more code than the original,
which was uncomplete. There is no NEWS entry, like in r80805.
Éric Araujo [Sat, 6 Nov 2010 04:59:27 +0000 (04:59 +0000)]
Fix typo from r86170.
Éric Araujo [Sat, 6 Nov 2010 04:48:05 +0000 (04:48 +0000)]
Prevent race condition with mkdir in distutils. Patch by Arfrever on #9281.
Éric Araujo [Sat, 6 Nov 2010 04:24:00 +0000 (04:24 +0000)]
Add missing NEWS entry for r86239.
Éric Araujo [Sat, 6 Nov 2010 04:11:59 +0000 (04:11 +0000)]
Prevent ResourceWarnings in test_gettext
Éric Araujo [Sat, 6 Nov 2010 04:09:29 +0000 (04:09 +0000)]
Fix caching error found by regrtest -R (#10229)
Éric Araujo [Sat, 6 Nov 2010 02:44:43 +0000 (02:44 +0000)]
Make sure each test can be run standalone (./python Lib/distutils/tests/x.py)
Éric Araujo [Sat, 6 Nov 2010 02:12:51 +0000 (02:12 +0000)]
Fix one omission in r78359
Éric Araujo [Sat, 6 Nov 2010 02:10:32 +0000 (02:10 +0000)]
Also close file descriptors from os.popen and subprocess.Popen
Alexander Belopolsky [Sat, 6 Nov 2010 01:31:16 +0000 (01:31 +0000)]
Issue #10330: trace module can now be used with python built without threads.
Brian Curtin [Sat, 6 Nov 2010 01:30:41 +0000 (01:30 +0000)]
Clear up ResourceWarnings
Éric Araujo [Fri, 5 Nov 2010 23:59:32 +0000 (23:59 +0000)]
Of course, I forgot one file in r86223.
Éric Araujo [Fri, 5 Nov 2010 23:58:34 +0000 (23:58 +0000)]
Add missing entry for r86223.
Éric Araujo [Fri, 5 Nov 2010 23:51:56 +0000 (23:51 +0000)]
Always close files in distutils code and tests (#10252).
Antoine Pitrou [Fri, 5 Nov 2010 22:18:28 +0000 (22:18 +0000)]
More what's new
Antoine Pitrou [Fri, 5 Nov 2010 22:13:55 +0000 (22:13 +0000)]
Update 3.2 what's new
Antoine Pitrou [Fri, 5 Nov 2010 21:15:39 +0000 (21:15 +0000)]
Issue #10180: Pickling file objects is now explicitly forbidden, since
unpickling them produced nonsensical results.
Antoine Pitrou [Fri, 5 Nov 2010 20:26:59 +0000 (20:26 +0000)]
Output served URL when running ssl_servers
Antoine Pitrou [Fri, 5 Nov 2010 20:17:55 +0000 (20:17 +0000)]
Fix test_httplib when built without threads