]> granicus.if.org Git - python/log
python
14 years agoRemoves an inefficient spin loop in as_completed
Brian Quinlan [Wed, 17 Nov 2010 11:06:29 +0000 (11:06 +0000)]
Removes an inefficient spin loop in as_completed

14 years agoFix typo
Ezio Melotti [Tue, 16 Nov 2010 20:57:59 +0000 (20:57 +0000)]
Fix typo

14 years agoModules/_io/bufferedio.c (buffered_dealloc_warn): Make it static.
Matthias Klose [Tue, 16 Nov 2010 20:07:51 +0000 (20:07 +0000)]
Modules/_io/bufferedio.c (buffered_dealloc_warn): Make it static.

14 years agoProvide links to Python source where the code is short, readable and
Éric Araujo [Tue, 16 Nov 2010 19:13:50 +0000 (19:13 +0000)]
Provide links to Python source where the code is short, readable and
informative adjunct to the docs.  Forward-port of Raymond's r86225 and
r86245 using the new source reST role added in #10334.

14 years agoIssue #10429: IMAP.starttls() stored the capabilities as bytes objects,
Antoine Pitrou [Tue, 16 Nov 2010 17:55:26 +0000 (17:55 +0000)]
Issue #10429: IMAP.starttls() stored the capabilities as bytes objects,
rather than strings.

14 years agoAvoid some BytesWarnings when running test_imaplib in verbose mode
Antoine Pitrou [Tue, 16 Nov 2010 17:49:46 +0000 (17:49 +0000)]
Avoid some BytesWarnings when running test_imaplib in verbose mode

14 years agoPost-release bumps.
Georg Brandl [Tue, 16 Nov 2010 15:15:56 +0000 (15:15 +0000)]
Post-release bumps.

14 years agoAdd stub for PEP 3148.
Georg Brandl [Tue, 16 Nov 2010 15:15:29 +0000 (15:15 +0000)]
Add stub for PEP 3148.

14 years agoIssue #10413: Updated comments to reflect code changes
Alexander Belopolsky [Tue, 16 Nov 2010 14:29:01 +0000 (14:29 +0000)]
Issue #10413: Updated comments to reflect code changes

14 years agoLogging: added stack_info argument.
Vinay Sajip [Sun, 14 Nov 2010 21:33:04 +0000 (21:33 +0000)]
Logging: added stack_info argument.

14 years agoIssue 10410: An iterable is not necessarily a container.
Raymond Hettinger [Sun, 14 Nov 2010 05:27:15 +0000 (05:27 +0000)]
Issue 10410:  An iterable is not necessarily a container.

14 years agoTagging 3.2a4.
Georg Brandl [Sat, 13 Nov 2010 13:25:56 +0000 (13:25 +0000)]
Tagging 3.2a4.

14 years agoMinor edits. v3.2a4
Georg Brandl [Sat, 13 Nov 2010 13:25:40 +0000 (13:25 +0000)]
Minor edits.

14 years agoFix Issue5111 - Wrap the Ipv6 host with [] in the Host header
Senthil Kumaran [Sat, 13 Nov 2010 12:27:49 +0000 (12:27 +0000)]
Fix Issue5111 -  Wrap the Ipv6 host with [] in the Host header

14 years agoStreamline a cmath test (and fix some overlong lines into the bargain).
Mark Dickinson [Sat, 13 Nov 2010 10:43:40 +0000 (10:43 +0000)]
Streamline a cmath test (and fix some overlong lines into the bargain).

14 years agoMake Fraction(-1).__hash__() return -2 rather than -1 (see issue 10356).
Mark Dickinson [Sat, 13 Nov 2010 10:27:38 +0000 (10:27 +0000)]
Make Fraction(-1).__hash__() return -2 rather than -1 (see issue 10356).

14 years agoBump to 3.2a4.
Georg Brandl [Sat, 13 Nov 2010 06:39:58 +0000 (06:39 +0000)]
Bump to 3.2a4.

14 years agoIgnore suspicious-ignore file.
Georg Brandl [Sat, 13 Nov 2010 06:38:37 +0000 (06:38 +0000)]
Ignore suspicious-ignore file.

14 years agoUpdate pydoc topics.
Georg Brandl [Sat, 13 Nov 2010 06:36:58 +0000 (06:36 +0000)]
Update pydoc topics.

14 years agofix copy-editing level nits
Fred Drake [Sat, 13 Nov 2010 05:24:17 +0000 (05:24 +0000)]
fix copy-editing level nits

14 years agouse appropriate markup
Fred Drake [Sat, 13 Nov 2010 04:24:26 +0000 (04:24 +0000)]
use appropriate markup

14 years agoSwitch from gmane to another provider for NNTP tests (as gmane isn't reliable
Antoine Pitrou [Sat, 13 Nov 2010 00:28:53 +0000 (00:28 +0000)]
Switch from gmane to another provider for NNTP tests (as gmane isn't reliable
enough).  Also, use setUpClass in order to connect only once per test run.

14 years agoAnd now for something completely different: Finish fixing #10252 again.
Éric Araujo [Fri, 12 Nov 2010 22:25:23 +0000 (22:25 +0000)]
And now for something completely different: Finish fixing #10252 again.

14 years agoRemove myself as a maintainer for curses and mailbox modules.
Andrew M. Kuchling [Fri, 12 Nov 2010 20:54:47 +0000 (20:54 +0000)]
Remove myself as a maintainer for curses and mailbox modules.

14 years agoIssue #4471: Add the IMAP.starttls() method to enable encryption on
Antoine Pitrou [Fri, 12 Nov 2010 18:49:16 +0000 (18:49 +0000)]
Issue #4471: Add the IMAP.starttls() method to enable encryption on
standard IMAP4 connections.  Original patch by Lorenzo M. Catucci.

14 years agoAdd UUID for 3.2a4
Martin v. Löwis [Fri, 12 Nov 2010 17:20:02 +0000 (17:20 +0000)]
Add UUID for 3.2a4

14 years agoAdd a deprecated-removed directive that allows to give the version of removal for...
Georg Brandl [Fri, 12 Nov 2010 08:57:12 +0000 (08:57 +0000)]
Add a deprecated-removed directive that allows to give the version of removal for deprecations.

14 years agoFix weird line block in table.
Georg Brandl [Fri, 12 Nov 2010 08:09:26 +0000 (08:09 +0000)]
Fix weird line block in table.

14 years agoSwitch to Sphinx 1.0.5.
Georg Brandl [Fri, 12 Nov 2010 08:09:11 +0000 (08:09 +0000)]
Switch to Sphinx 1.0.5.

14 years ago#10008: Fix duplicate index entry.
Georg Brandl [Fri, 12 Nov 2010 06:20:12 +0000 (06:20 +0000)]
#10008: Fix duplicate index entry.

14 years agoBuild a PDF of the FAQs too.
Georg Brandl [Fri, 12 Nov 2010 06:19:48 +0000 (06:19 +0000)]
Build a PDF of the FAQs too.

14 years ago(no commit message)
Terry Reedy [Fri, 12 Nov 2010 04:22:22 +0000 (04:22 +0000)]

14 years ago#7950: add warning about security implications of shell=True to subprocess docs
R. David Murray [Fri, 12 Nov 2010 00:35:31 +0000 (00:35 +0000)]
#7950: add warning about security implications of shell=True to subprocess docs

Patch by Chris Rebert.

14 years agoIssue #10389: Documented rules for use of case in section titles.
Alexander Belopolsky [Thu, 11 Nov 2010 22:43:45 +0000 (22:43 +0000)]
Issue #10389: Documented rules for use of case in section titles.

14 years ago#1466065: add validate option to base64.b64decode
R. David Murray [Thu, 11 Nov 2010 20:09:20 +0000 (20:09 +0000)]
#1466065: add validate option to base64.b64decode

Patch by Neil Tallim.  This provides a mechanism for module
users to achieve RFC 3548 compliance in the cases where ignoring
non-base64-alphabet input characters is *not* mandated by the RFC that
references RFC 3548.

14 years agoconfigparser.py: changed PendingDeprecationWarnings to DeprecationWarnings, via http...
Łukasz Langa [Thu, 11 Nov 2010 19:53:23 +0000 (19:53 +0000)]
configparser.py: changed PendingDeprecationWarnings to DeprecationWarnings, via http://mail.python.org/pipermail/python-dev/2010-November/105391.html
configparser:py: renamed _views to _proxies to be consistent with the SectionProxy name

14 years agoIssue #10386: Added __all__ to token module; this simplifies importing
Alexander Belopolsky [Thu, 11 Nov 2010 14:07:41 +0000 (14:07 +0000)]
Issue #10386: Added __all__ to token module; this simplifies importing
in tokenize module and prevents leaking of private names through
import *.

14 years agoReview the new configparser docs.
Georg Brandl [Thu, 11 Nov 2010 07:26:40 +0000 (07:26 +0000)]
Review the new configparser docs.

14 years agoDisable test_python_builders in test_xmlrpc_net, following buildbot upgrade on python.org
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

14 years agoadded myself as a maintainer of configparser
Łukasz Langa [Wed, 10 Nov 2010 18:59:35 +0000 (18:59 +0000)]
added myself as a maintainer of configparser

14 years agoIssue #5412: extend configparser to support mapping access
Łukasz Langa [Wed, 10 Nov 2010 18:57:39 +0000 (18:57 +0000)]
Issue #5412: extend configparser to support mapping access

14 years agogetpath.c: fix test to detech PyUnicode_AsWideChar() failure
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.

14 years agoIssue #10372: Import the warnings module only after the IO library is
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.

14 years agoFollowup to r86383: it seems that in some cases (buildbots), the server
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().

14 years agoFix typo.
Georg Brandl [Wed, 10 Nov 2010 07:57:10 +0000 (07:57 +0000)]
Fix typo.

14 years agoForward port r86386 after it fixed the 3.1 buildbot issues
Antoine Pitrou [Wed, 10 Nov 2010 00:18:40 +0000 (00:18 +0000)]
Forward port r86386 after it fixed the 3.1 buildbot issues

14 years agoIssue #4471: Properly shutdown socket in IMAP.shutdown(). Patch by
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.

14 years agoFix IMAP.login() to work properly.
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).

14 years agoPreserve the original environment (e.g. LD_LIBRARY_PATH)
Antoine Pitrou [Tue, 9 Nov 2010 22:04:44 +0000 (22:04 +0000)]
Preserve the original environment (e.g. LD_LIBRARY_PATH)

14 years agoRemove uneeded NEWS entries for minor documentation updates.
Ask Solem [Tue, 9 Nov 2010 22:04:16 +0000 (22:04 +0000)]
Remove uneeded NEWS entries for minor documentation updates.

14 years agoIssue #8028: multiprocessing: Documented that ``Process.terminate``
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.

14 years agoIssue #7707: Documented that multiprocessing.Queue operations during
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.

14 years agoDocumented the new error_callback keyword argument to multiprocessing.Pool's apply_as...
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

14 years agoUse script_helper in one more test
Antoine Pitrou [Tue, 9 Nov 2010 21:33:55 +0000 (21:33 +0000)]
Use script_helper in one more test

14 years agoAdded missing NEWS entry for my previous commit (r86370).
Ask Solem [Tue, 9 Nov 2010 21:14:53 +0000 (21:14 +0000)]
Added missing NEWS entry for my previous commit (r86370).

14 years agoIssue #9244: multiprocessing.pool: Worker crashes if result can't be encoded
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

14 years agoIssue #10022: The dictionary returned by the `getpeercert()` method
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`.

14 years agoMake `usenetrc` False by default (the old behaviour of having it True by
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).

14 years agoIssue #1926: Add support for NNTP over SSL on port 563, as well as
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.

14 years agoIssue #7061: Added a 'Turtle star' sidebar
Alexander Belopolsky [Tue, 9 Nov 2010 18:40:03 +0000 (18:40 +0000)]
Issue #7061: Added a 'Turtle star' sidebar

14 years agoFix issue10324 - Modules/binascii.c: simplify expressions
Senthil Kumaran [Tue, 9 Nov 2010 09:59:13 +0000 (09:59 +0000)]
Fix issue10324 -  Modules/binascii.c: simplify expressions

14 years agoIssue #10359: Remove useless (duplicate) initialization in _csv
Victor Stinner [Tue, 9 Nov 2010 09:40:16 +0000 (09:40 +0000)]
Issue #10359: Remove useless (duplicate) initialization in _csv

14 years agoIssue #10359: Remove useless comma, invalid in ISO C
Victor Stinner [Tue, 9 Nov 2010 09:39:41 +0000 (09:39 +0000)]
Issue #10359: Remove useless comma, invalid in ISO C

14 years agoIssue #10359: Use Py_UNICODE for the typecode in array
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.

14 years agoIssue #10359: Remove ";" after function definition, 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

14 years agoSimplify code
Raymond Hettinger [Tue, 9 Nov 2010 03:43:58 +0000 (03:43 +0000)]
Simplify code

14 years agoFixed a typo in ReST markup.
Alexander Belopolsky [Tue, 9 Nov 2010 03:13:43 +0000 (03:13 +0000)]
Fixed a typo in ReST markup.

14 years agoFix Issue10205 - XML QName error when different tags have same QName.
Senthil Kumaran [Tue, 9 Nov 2010 02:36:59 +0000 (02:36 +0000)]
Fix Issue10205 - XML QName error when different tags have same QName.

14 years agotest_tokenize: use self.assertEqual() instead of plain assert
Victor Stinner [Tue, 9 Nov 2010 01:11:31 +0000 (01:11 +0000)]
test_tokenize: use self.assertEqual() instead of plain assert

14 years agoIssue #10335: Add tokenize.open(), detect the file encoding using
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.

14 years agoIssue #6011: decode PREFIX, EXEC_PREFIX and PYTHONPATH variables using
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.

14 years agoPyUnicode_DecodeFSDefaultAndSize() raises MemoryError if _Py_char2wchar() fails
Victor Stinner [Mon, 8 Nov 2010 23:34:29 +0000 (23:34 +0000)]
PyUnicode_DecodeFSDefaultAndSize() raises MemoryError if _Py_char2wchar() fails

14 years ago_Py_char2wchar() frees the memory on conversion error
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.

14 years agoFixed unit test failure on Windows
Alexander Belopolsky [Mon, 8 Nov 2010 23:10:20 +0000 (23:10 +0000)]
Fixed unit test failure on Windows

14 years agoPyUnicode_EncodeFS() raises an exception if _Py_wchar2char() fails
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

14 years agoThis was actually fixed for the previous alpha.
Éric Araujo [Mon, 8 Nov 2010 21:48:23 +0000 (21:48 +0000)]
This was actually fixed for the previous alpha.

14 years agoFix memory consumption advertised by some test cases
Antoine Pitrou [Mon, 8 Nov 2010 21:40:13 +0000 (21:40 +0000)]
Fix memory consumption advertised by some test cases

14 years agoFix test_hashlib with the bigmem option
Antoine Pitrou [Mon, 8 Nov 2010 20:36:57 +0000 (20:36 +0000)]
Fix test_hashlib with the bigmem option

14 years agoStreamlined code in trace.Ignore and added unit tests.
Alexander Belopolsky [Mon, 8 Nov 2010 18:32:40 +0000 (18:32 +0000)]
Streamlined code in trace.Ignore and added unit tests.

14 years agoAdd missing NEWS entry for a fix committed by Senthil.
É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.

14 years ago#10321: Add support for sending binary DATA and Message objects to smtplib
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

14 years agoMove a news entry to the right section (+ light reformatting)
Éric Araujo [Mon, 8 Nov 2010 17:13:03 +0000 (17:13 +0000)]
Move a news entry to the right section (+ light reformatting)

14 years agoFix next version name.
Georg Brandl [Mon, 8 Nov 2010 16:57:52 +0000 (16:57 +0000)]
Fix next version name.

14 years agoFix typo.
Georg Brandl [Mon, 8 Nov 2010 11:08:35 +0000 (11:08 +0000)]
Fix typo.

14 years agoFix latex conversion glitch in property/feature descriptions.
Georg Brandl [Mon, 8 Nov 2010 11:05:18 +0000 (11:05 +0000)]
Fix latex conversion glitch in property/feature descriptions.

14 years agoExtra space caught by the post-commit-hook, aka Taggnostr :)
Senthil Kumaran [Mon, 8 Nov 2010 02:04:05 +0000 (02:04 +0000)]
Extra space caught by the post-commit-hook, aka Taggnostr :)

14 years agoFix Issue 10303: a small clarification in the tutorial.
Senthil Kumaran [Mon, 8 Nov 2010 01:53:13 +0000 (01:53 +0000)]
Fix Issue 10303: a small clarification in the tutorial.

14 years agotypo: annually->manually
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 :)

14 years agoRemoving reference to ftp.python.org and enhancing RPM README.
Sean Reifscheider [Sun, 7 Nov 2010 21:26:53 +0000 (21:26 +0000)]
Removing reference to ftp.python.org and enhancing RPM README.

14 years agoIssue #10347: ignore leading test count ("[ 1/340]") when using the -f option to...
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.

14 years agostr, bytes, bytearray docstring: remove unnecessary [...]
Victor Stinner [Sun, 7 Nov 2010 19:04:46 +0000 (19:04 +0000)]
str, bytes, bytearray docstring: remove unnecessary [...]

14 years agoFix encode/decode method doc of str, bytes, bytearray types
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

14 years agoIssue #10329: The trace module writes reports using the input Python script
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.

14 years agoos module: remove nonbreaking space in a comment
Victor Stinner [Sun, 7 Nov 2010 15:43:39 +0000 (15:43 +0000)]
os module: remove nonbreaking space in a comment

14 years agoUpdate assertComplexIdentical to handle nans correctly.
Mark Dickinson [Sun, 7 Nov 2010 15:31:41 +0000 (15:31 +0000)]
Update assertComplexIdentical to handle nans correctly.

14 years agoIssue #6317: Now winsound.PlaySound only accepts unicode with MvL's approval.
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.

14 years agoIssue #10337: skip tests of tanh() sign in test_math and test_cmath if tanh()
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).

14 years agoFix Issue10226 - Clarifying the role of the netloc separator.
Senthil Kumaran [Sun, 7 Nov 2010 12:57:04 +0000 (12:57 +0000)]
Fix Issue10226 - Clarifying the role of the netloc separator.

14 years agoIssue #10145: the float.is_integer method was undocumented.
Mark Dickinson [Sun, 7 Nov 2010 12:48:18 +0000 (12:48 +0000)]
Issue #10145: the float.is_integer method was undocumented.

14 years agoChanged entry name because it's hard to merge.
Hirokazu Yamamoto [Sun, 7 Nov 2010 11:32:01 +0000 (11:32 +0000)]
Changed entry name because it's hard to merge.