]>
granicus.if.org Git - python/log
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
Antoine Pitrou [Fri, 5 Nov 2010 19:58:28 +0000 (19:58 +0000)]
Fix bootstrap issues when building without threads
Antoine Pitrou [Fri, 5 Nov 2010 19:47:27 +0000 (19:47 +0000)]
Issue #10311: The signal module now restores errno before returning from
its low-level signal handler. Patch by Hallvard B Furuseth.
Antoine Pitrou [Fri, 5 Nov 2010 19:16:37 +0000 (19:16 +0000)]
Issue #10282: Add a `nntp_implementation` attribute to NNTP objects.
Hirokazu Yamamoto [Fri, 5 Nov 2010 17:24:13 +0000 (17:24 +0000)]
Fixed socket_gethostname() on windows.
David Malcolm [Fri, 5 Nov 2010 17:23:41 +0000 (17:23 +0000)]
Issue #10288: The deprecated family of "char"-handling macros
(ISLOWER()/ISUPPER()/etc) have now been removed: use Py_ISLOWER() etc
instead.
Brian Curtin [Fri, 5 Nov 2010 17:22:46 +0000 (17:22 +0000)]
Close subprocess pipes to clean up ResourceWarnings
Brian Curtin [Fri, 5 Nov 2010 17:09:05 +0000 (17:09 +0000)]
Fix a number of ResourceWarnings on Windows due to open pipes.
Brian Curtin [Fri, 5 Nov 2010 15:47:45 +0000 (15:47 +0000)]
Add socket cleanup for ResourceWarning and update test to use skip decorator
Ezio Melotti [Fri, 5 Nov 2010 15:43:40 +0000 (15:43 +0000)]
Merge the doc for assertTrue/False, assert[Not]AlmostEqual, assert[Not]RegexpMatches, rephrase a couple of paragraphs, and remove redundant doc about the msg arg.
Brian Curtin [Fri, 5 Nov 2010 15:40:27 +0000 (15:40 +0000)]
Fix ResourceWarning from subprocess pipes being left open.
Brian Curtin [Fri, 5 Nov 2010 15:38:47 +0000 (15:38 +0000)]
Fix ResourceWarning from subprocess pipe.
Brian Curtin [Fri, 5 Nov 2010 15:17:11 +0000 (15:17 +0000)]
Close subprocess pipes in _kill. Fixes a number of ResourceWarnings.
Brian Curtin [Fri, 5 Nov 2010 15:04:48 +0000 (15:04 +0000)]
Close subprocess pipes in the non-UNIX section of run_cgi.
Clears a number of ResourceWarnings in test_httpservers.
Brian Curtin [Fri, 5 Nov 2010 14:48:35 +0000 (14:48 +0000)]
Shift the pipe-using code into an else block, then close the pipe
in finally. Removes two ResourceWarnings.
Antoine Pitrou [Fri, 5 Nov 2010 12:23:55 +0000 (12:23 +0000)]
Followup to r86170: fix reference leak in str.format
Georg Brandl [Fri, 5 Nov 2010 07:10:41 +0000 (07:10 +0000)]
Move glossary entry to the right position and fix link.
Brian Curtin [Fri, 5 Nov 2010 03:58:52 +0000 (03:58 +0000)]
Add cleanups to stdout/stderr pipes to remove ResourceWarnings.