]> granicus.if.org Git - python/log
python
14 years agoMerged revision 81259 via svnmerge from
Florent Xicluna [Mon, 17 May 2010 17:24:07 +0000 (17:24 +0000)]
Merged revision 81259 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81259 | florent.xicluna | 2010-05-17 12:39:07 +0200 (lun, 17 mai 2010) | 2 lines

  Slight style cleanup.
........

14 years agoFix test_capi in !pydebug mode, where my original attempt segfaulted without
Jeffrey Yasskin [Mon, 17 May 2010 16:59:23 +0000 (16:59 +0000)]
Fix test_capi in !pydebug mode, where my original attempt segfaulted without
producing the expected error message.  The test only tests what it's supposed
to test in pydebug mode though.  Fixes issue 8726.

14 years agoImprove test_exit() error message to analyze sparc failures
Victor Stinner [Mon, 17 May 2010 14:36:43 +0000 (14:36 +0000)]
Improve test_exit() error message to analyze sparc failures

14 years agoTypo (thanks Arfrever)
Antoine Pitrou [Mon, 17 May 2010 14:13:10 +0000 (14:13 +0000)]
Typo (thanks Arfrever)

14 years agoMerged revisions 81261 via svnmerge from
Tarek Ziadé [Mon, 17 May 2010 11:01:57 +0000 (11:01 +0000)]
Merged revisions 81261 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81261 | tarek.ziade | 2010-05-17 12:54:43 +0200 (Mon, 17 May 2010) | 1 line

  upgraded distutils docs w.r.t. the manifest regeneration
........

14 years agoMerged revisions 81255 via svnmerge from
Tarek Ziadé [Mon, 17 May 2010 10:38:53 +0000 (10:38 +0000)]
Merged revisions 81255 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81255 | tarek.ziade | 2010-05-17 12:06:20 +0200 (Mon, 17 May 2010) | 1 line

  Fixed #8688: Distutils now recalculates MANIFEST everytime.
........

14 years agoTry to fix buildbot failures with old OpenSSLs.
Antoine Pitrou [Mon, 17 May 2010 10:30:00 +0000 (10:30 +0000)]
Try to fix buildbot failures with old OpenSSLs.

14 years agoFix refleak in internal_print() introduced by myself in r81251
Victor Stinner [Mon, 17 May 2010 09:33:42 +0000 (09:33 +0000)]
Fix refleak in internal_print() introduced by myself in r81251

_PyUnicode_AsDefaultEncodedString() uses a magical PyUnicode attribute to
automatically destroy PyUnicode_EncodeUTF8() result when the unicode string is
destroyed.

14 years agohandle_system_exit() flushs files to warranty the output order
Victor Stinner [Mon, 17 May 2010 08:58:51 +0000 (08:58 +0000)]
handle_system_exit() flushs files to warranty the output order

PyObject_Print() writes into the C object stderr, whereas PySys_WriteStderr()
writes into the Python object sys.stderr. Each object has its own buffer, so
call sys.stderr.flush() and fflush(stderr).

14 years agoPyObject_Dump() encodes unicode objects to utf8 with backslashreplace (instead
Victor Stinner [Mon, 17 May 2010 01:26:01 +0000 (01:26 +0000)]
PyObject_Dump() encodes unicode objects to utf8 with backslashreplace (instead
of strict) error handler to escape surrogates

14 years agoIssue #6697: Fix a crash if code of "python -c code" contains surrogates
Victor Stinner [Mon, 17 May 2010 01:13:37 +0000 (01:13 +0000)]
Issue #6697: Fix a crash if code of "python -c code" contains surrogates

14 years agoOops, my patch on subprocess is not merged yet: fix my previous commit on test_os
Victor Stinner [Mon, 17 May 2010 00:18:34 +0000 (00:18 +0000)]
Oops, my patch on subprocess is not merged yet: fix my previous commit on test_os

14 years agotest_os: cleanup test_internal_execvpe() and os._execvpe() mockup
Victor Stinner [Mon, 17 May 2010 00:14:53 +0000 (00:14 +0000)]
test_os: cleanup test_internal_execvpe() and os._execvpe() mockup

 * Replace os.defpath instead of os.get_exec_path() to test also
   os.get_exec_path()
 * Use contextlib.contextmanager, move the mockup outside the class, and
   the mockup returns directly the call list object
 * Use two different contexts for the two tests
 * Use more revelant values and names

14 years ago"xyzzy" is not a silly enough name for some OpenSSL versions to report an error
Antoine Pitrou [Sun, 16 May 2010 23:46:26 +0000 (23:46 +0000)]
"xyzzy" is not a silly enough name for some OpenSSL versions to report an error

14 years agoMerged revisions 81241 via svnmerge from
Antoine Pitrou [Sun, 16 May 2010 23:14:22 +0000 (23:14 +0000)]
Merged revisions 81241 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81241 | antoine.pitrou | 2010-05-17 01:11:46 +0200 (lun., 17 mai 2010) | 4 lines

  Clear the OpenSSL error queue each time an error is signalled.
  When the error queue is not emptied, strange things can happen on the next SSL call, depending on the OpenSSL version.
........

14 years agoIssue #8477: ssl.RAND_egd() supports str with surrogates and bytes for the path
Victor Stinner [Sun, 16 May 2010 21:36:37 +0000 (21:36 +0000)]
Issue #8477: ssl.RAND_egd() supports str with surrogates and bytes for the path

14 years agoIssue #8477: _ssl._test_decode_cert() supports str with surrogates and bytes
Victor Stinner [Sun, 16 May 2010 21:23:48 +0000 (21:23 +0000)]
Issue #8477: _ssl._test_decode_cert() supports str with surrogates and bytes
for the filename

14 years agoDo not fail if ssl fails to import
Antoine Pitrou [Sun, 16 May 2010 20:35:03 +0000 (20:35 +0000)]
Do not fail if ssl fails to import

14 years agoFix (hopefully) the remaining test_ssl buildbot failures
Antoine Pitrou [Sun, 16 May 2010 19:56:32 +0000 (19:56 +0000)]
Fix (hopefully) the remaining test_ssl buildbot failures

14 years agoFollowup on r81233: fix test_ssl with OpenSSL < 1.0.0.
Antoine Pitrou [Sun, 16 May 2010 19:22:44 +0000 (19:22 +0000)]
Followup on r81233: fix test_ssl with OpenSSL < 1.0.0.

14 years agoIssue #8550: Add first class `SSLContext` objects to the ssl module.
Antoine Pitrou [Sun, 16 May 2010 18:19:27 +0000 (18:19 +0000)]
Issue #8550: Add first class `SSLContext` objects to the ssl module.

14 years agoMerged revisions 81229 via svnmerge from
Antoine Pitrou [Sun, 16 May 2010 14:19:41 +0000 (14:19 +0000)]
Merged revisions 81229 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81229 | antoine.pitrou | 2010-05-16 16:16:56 +0200 (dim., 16 mai 2010) | 3 lines

  Document that SSL v2 is insecure.
........

14 years agoMerged revisions 81224 via svnmerge from
Victor Stinner [Sun, 16 May 2010 00:36:38 +0000 (00:36 +0000)]
Merged revisions 81224 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81224 | victor.stinner | 2010-05-16 02:34:40 +0200 (dim., 16 mai 2010) | 4 lines

  Use with open() as fo: ... instead of try: fo = open(...) finally: fo.close()

  fo is not set if the open() fails.
........

14 years agoMerged revisions 81220 via svnmerge from
Victor Stinner [Sat, 15 May 2010 23:00:51 +0000 (23:00 +0000)]
Merged revisions 81220 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81220 | victor.stinner | 2010-05-16 00:55:28 +0200 (dim., 16 mai 2010) | 4 lines

  Use 4-spaces for indentation (instead of tabs) in pgen outputs

  Regenerate (reindent) Python/graminit.c
........

14 years agoMake test_module_with_large_stack as an expected failure because of a change in
Brett Cannon [Sat, 15 May 2010 22:53:24 +0000 (22:53 +0000)]
Make test_module_with_large_stack as an expected failure because of a change in
importlib that is causing it to fail. Work to fix it is being tracked in issue
8727.

14 years agoFix a comment to state the right thing.
Brett Cannon [Sat, 15 May 2010 22:51:45 +0000 (22:51 +0000)]
Fix a comment to state the right thing.

14 years agoRecorded merge of revisions 81213 via svnmerge from
Victor Stinner [Sat, 15 May 2010 22:23:53 +0000 (22:23 +0000)]
Recorded merge of revisions 81213 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81213 | victor.stinner | 2010-05-16 00:19:27 +0200 (dim., 16 mai 2010) | 5 lines

  reindent _cursesmodule.c

  Use untabify.py + emacs (python3 mode) + manual editions for
  Py_BEGIN_ALLOW_THREADS / Py_END_ALLOW_THREADS
........

14 years agoA test was not guaranteeing cleanup in the face of an exception.
Brett Cannon [Sat, 15 May 2010 22:20:16 +0000 (22:20 +0000)]
A test was not guaranteeing cleanup in the face of an exception.

14 years agoBlocked revisions 81210 via svnmerge
Amaury Forgeot d'Arc [Sat, 15 May 2010 21:49:45 +0000 (21:49 +0000)]
Blocked revisions 81210 via svnmerge

........
  r81210 | amaury.forgeotdarc | 2010-05-15 23:45:30 +0200 (sam., 15 mai 2010) | 2 lines

  Remove unused variable, and fix a compilation warning on Windows
........

14 years agoIssue #8665: Fix `make pycremoval` exiting with non-zero status.
Antoine Pitrou [Sat, 15 May 2010 21:34:27 +0000 (21:34 +0000)]
Issue #8665: Fix `make pycremoval` exiting with non-zero status.

14 years agoRecorded merge of revisions 81205 via svnmerge from
Victor Stinner [Sat, 15 May 2010 21:04:43 +0000 (21:04 +0000)]
Recorded merge of revisions 81205 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81205 | victor.stinner | 2010-05-15 23:00:59 +0200 (sam., 15 mai 2010) | 2 lines

  NEWS: strip trailing spaces
........

14 years agoRemove unused variable, and fix a compilation warning on Windows.
Amaury Forgeot d'Arc [Sat, 15 May 2010 20:35:12 +0000 (20:35 +0000)]
Remove unused variable, and fix a compilation warning on Windows.

14 years agoMerged revisions 81200 via svnmerge from
Benjamin Peterson [Sat, 15 May 2010 17:52:12 +0000 (17:52 +0000)]
Merged revisions 81200 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81200 | benjamin.peterson | 2010-05-15 12:48:55 -0500 (Sat, 15 May 2010) | 1 line

  use TestCase skip method
........

14 years agofix one more runon
Benjamin Peterson [Sat, 15 May 2010 17:43:57 +0000 (17:43 +0000)]
fix one more runon

14 years agorephrase
Benjamin Peterson [Sat, 15 May 2010 17:43:18 +0000 (17:43 +0000)]
rephrase

14 years agofix run-on sentence
Benjamin Peterson [Sat, 15 May 2010 17:42:02 +0000 (17:42 +0000)]
fix run-on sentence

14 years agoIssue #8692: Improve performance of math.factorial:
Mark Dickinson [Sat, 15 May 2010 17:02:38 +0000 (17:02 +0000)]
Issue #8692: Improve performance of math.factorial:

(1) use a different algorithm that roughly halves the total number of
    multiplications required and results in more balanced multiplications
(2) use a lookup table for small arguments
(3) fast accumulation of products in C integer arithmetic rather than
    PyLong arithmetic when possible.

Typical speedup, from unscientific testing on a 64-bit laptop, is 4.5x
to 6.5x for arguments in the range 100 - 10000.

Patch by Daniel Stutzbach; extensive reviews by Alexander Belopolsky.

14 years agoIssue #8715: Create PyUnicode_EncodeFSDefault() function: Encode a Unicode
Victor Stinner [Sat, 15 May 2010 16:27:27 +0000 (16:27 +0000)]
Issue #8715: Create PyUnicode_EncodeFSDefault() function: Encode a Unicode
object to Py_FileSystemDefaultEncoding with the "surrogateescape" error
handler, return a bytes object. If Py_FileSystemDefaultEncoding is not set,
fall back to UTF-8.

14 years agoEnable shortcuts for common encodings in PyUnicode_AsEncodedString() for any
Victor Stinner [Sat, 15 May 2010 13:14:32 +0000 (13:14 +0000)]
Enable shortcuts for common encodings in PyUnicode_AsEncodedString() for any
error handler, not only the default error handler (strict)

14 years agoIssue #8610: Load file system codec at startup, and display a fatal error on
Victor Stinner [Sat, 15 May 2010 12:27:16 +0000 (12:27 +0000)]
Issue #8610: Load file system codec at startup, and display a fatal error on
failure. Set the file system encoding to utf-8 (instead of None) if getting
the locale encoding failed, or if nl_langinfo(CODESET) function is missing.

14 years agoMerged revisions 81185 via svnmerge from
Stefan Krah [Sat, 15 May 2010 09:41:27 +0000 (09:41 +0000)]
Merged revisions 81185 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81185 | stefan.krah | 2010-05-15 11:31:08 +0200 (Sat, 15 May 2010) | 4 lines

  If the timeout is exceeded, count the tests as skipped instead of just
  issuing a warning.
........

14 years agoFix test_capi for Windows: strip newline characters
Victor Stinner [Sat, 15 May 2010 01:40:41 +0000 (01:40 +0000)]
Fix test_capi for Windows: strip newline characters

Fix test_no_FatalError_infinite_loop() introduced by r81142 (issue #3605).

14 years agoMerged revisions 81179 via svnmerge from
Victor Stinner [Fri, 14 May 2010 21:53:45 +0000 (21:53 +0000)]
Merged revisions 81179 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81179 | victor.stinner | 2010-05-14 23:52:26 +0200 (ven., 14 mai 2010) | 2 lines

  Fix regression introduced by r81154 (Issue #5099, subprocess destructor)
........

14 years agoposix_listdir(), posix_readlink(): avoid temporary PyBytes object
Victor Stinner [Fri, 14 May 2010 16:35:39 +0000 (16:35 +0000)]
posix_listdir(), posix_readlink(): avoid temporary PyBytes object

Use directly PyUnicode_DecodeFSDefaultAndSize() instead of
PyBytes_FromStringAndSize() + PyUnicode_FromEncodedObject() if the argument is
unicode.

14 years agoIssue #8711: Document PyUnicode_DecodeFSDefault*() functions
Victor Stinner [Fri, 14 May 2010 15:58:55 +0000 (15:58 +0000)]
Issue #8711: Document PyUnicode_DecodeFSDefault*() functions

 * Add paragraph titles to c-api/unicode.rst.
 * Fix PyUnicode_DecodeFSDefault*() comment: it now uses the "surrogateescape"
   error handler (and not "replace")
 * Remove "The function is intended to be used for paths and file names only
   during bootstrapping process where the codecs are not set up." from
   PyUnicode_FSConverter() comment: it is used after the bootstrapping and for
   other purposes than file names

14 years agoMerged revisions 81163 via svnmerge from
Victor Stinner [Fri, 14 May 2010 14:36:18 +0000 (14:36 +0000)]
Merged revisions 81163 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81163 | victor.stinner | 2010-05-14 16:20:07 +0200 (ven., 14 mai 2010) | 2 lines

  Doc: replace PEP xxx by :pep:`xxx` to create a link on the PEP
........

14 years agoIssue #4653: fix typo in flush_std_files()
Victor Stinner [Fri, 14 May 2010 00:59:09 +0000 (00:59 +0000)]
Issue #4653: fix typo in flush_std_files()

Don't call sys.stderr.flush() if sys has no stderr attribute or if
sys.stderr==None.

14 years agoMerged revisions 81154 via svnmerge from
Brett Cannon [Fri, 14 May 2010 00:33:40 +0000 (00:33 +0000)]
Merged revisions 81154 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81154 | brett.cannon | 2010-05-13 17:21:48 -0700 (Thu, 13 May 2010) | 15 lines

  subprocess.Popen.__del__ referenced global objects, which is a no-no thanks to
  interpreter shutdown semantics. Same issue goes for the methods that __del__
  called. Now all the methods capture the global objects it needs as default
  values to private parameters (could have stuck them on the class object itself,
  but since the objects have nothing directly to do with the class that seemed
  wrong).

  There is no test as making one that works is hard. This patch was
  verified against a consistently failing test in Mercurial's test suite, though,
  so it has been tested in some regard.

  Closes issue #5099. Thanks to Mary Stern for the bug report and Gabriel
  Genellina for writing another patch for the same issue and attempting to write
  a test.
........

14 years agoMerged revisions 81152 via svnmerge from
Brett Cannon [Fri, 14 May 2010 00:04:56 +0000 (00:04 +0000)]
Merged revisions 81152 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81152 | brett.cannon | 2010-05-13 16:59:41 -0700 (Thu, 13 May 2010) | 3 lines

  test_site was failing under darwin for non-framework builds because a test was
  assuming framework-specific site-packages directories were being used.
........

14 years agoMerged revisions 81145 via svnmerge from
Benjamin Peterson [Thu, 13 May 2010 21:16:51 +0000 (21:16 +0000)]
Merged revisions 81145 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81145 | benjamin.peterson | 2010-05-13 16:14:10 -0500 (Thu, 13 May 2010) | 1 line

  rip out mention of types.ListType #8703
........

14 years agoMake PyErr_Occurred return NULL if there is no current thread. Previously it
Jeffrey Yasskin [Thu, 13 May 2010 18:31:05 +0000 (18:31 +0000)]
Make PyErr_Occurred return NULL if there is no current thread.  Previously it
would Py_FatalError, which called PyErr_Occurred, resulting in a semi-infinite
recursion.

Fixes issue 3605.

14 years agoBlocked revisions 81137 via svnmerge
Victor Stinner [Thu, 13 May 2010 16:23:09 +0000 (16:23 +0000)]
Blocked revisions 81137 via svnmerge

........
  r81137 | victor.stinner | 2010-05-13 18:22:15 +0200 (jeu., 13 mai 2010) | 4 lines

  Fix verb tense in skip message.

  Ooops, merge also r80334 (patch by r.david.murray)
........

14 years agoBlocked revisions 81135 via svnmerge (r81135 is a merge of r80163 from py3k)
Victor Stinner [Thu, 13 May 2010 16:20:26 +0000 (16:20 +0000)]
Blocked revisions 81135 via svnmerge (r81135 is a merge of r80163 from py3k)

........
  r81135 | victor.stinner | 2010-05-13 18:18:14 +0200 (jeu., 13 mai 2010) | 6 lines

  Issue #8422, test_genericpath: skip the creation of a directory with an invalid
  UTF name on Mac OS X because the OS deny it (the name have to be a valid UTF8
  string).

  Merge r80163 from py3k branch.
........

14 years agoRemove unnecessary assignments.
Mark Dickinson [Thu, 13 May 2010 11:52:22 +0000 (11:52 +0000)]
Remove unnecessary assignments.

14 years agoMerged revisions 81130 via svnmerge from
Senthil Kumaran [Thu, 13 May 2010 03:37:23 +0000 (03:37 +0000)]
Merged revisions 81130 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81130 | senthil.kumaran | 2010-05-13 08:55:21 +0530 (Thu, 13 May 2010) | 3 lines

  Fix Issue8657 - adding git and git+ssh as know schemes.
........

14 years agoMerged revisions 81126 via svnmerge from
Mark Dickinson [Wed, 12 May 2010 19:54:51 +0000 (19:54 +0000)]
Merged revisions 81126 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81126 | mark.dickinson | 2010-05-12 20:53:36 +0100 (Wed, 12 May 2010) | 1 line

  Fix unused variable in test_factorial.
........

14 years agoMerged revisions 81115 via svnmerge from
Antoine Pitrou [Wed, 12 May 2010 14:05:24 +0000 (14:05 +0000)]
Merged revisions 81115 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81115 | antoine.pitrou | 2010-05-12 16:02:34 +0200 (mer., 12 mai 2010) | 3 lines

  Improve _ssl.c formatting
........

14 years agoMerged revisions 81108 via svnmerge from
Fred Drake [Wed, 12 May 2010 02:34:50 +0000 (02:34 +0000)]
Merged revisions 81108 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81108 | fred.drake | 2010-05-11 22:24:50 -0400 (Tue, 11 May 2010) | 4 lines

  - clarify Attr.name comment on the presence of colons in namespace mode
  - document Attr.value
  - wrap some long lines
........

14 years agoMerged revisions 81087,81106 via svnmerge from
Fred Drake [Wed, 12 May 2010 01:36:11 +0000 (01:36 +0000)]
Merged revisions 81087,81106 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81087 | fred.drake | 2010-05-11 14:12:27 -0400 (Tue, 11 May 2010) | 2 lines

  fix typo
........
  r81106 | fred.drake | 2010-05-11 21:22:03 -0400 (Tue, 11 May 2010) | 2 lines

  fix error introduced in previous commit, and the adjacent additional typo
........

14 years agoMerged revisions 81102 via svnmerge from
Giampaolo Rodolà [Wed, 12 May 2010 00:33:15 +0000 (00:33 +0000)]
Merged revisions 81102 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81102 | giampaolo.rodola | 2010-05-12 02:29:27 +0200 (mer, 12 mag 2010) | 1 line

  Removed the assertion that dispatcher.connected attribute must be False after a single connect() call. Solaris and FreeBSD buildbots failures showed how connect() can succeed even in a single call. All bo failures should definitively be fixed now.
........

14 years agoMerged revisions 81098 via svnmerge from
Antoine Pitrou [Tue, 11 May 2010 23:46:02 +0000 (23:46 +0000)]
Merged revisions 81098 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81098 | antoine.pitrou | 2010-05-12 01:42:28 +0200 (mer., 12 mai 2010) | 5 lines

  Issue #8681: Make the zlib module's error messages more informative when
  the zlib itself doesn't give any detailed explanation.
........

14 years agoMerged revisions 81094 via svnmerge from
Antoine Pitrou [Tue, 11 May 2010 23:36:40 +0000 (23:36 +0000)]
Merged revisions 81094 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81094 | antoine.pitrou | 2010-05-12 01:32:31 +0200 (mer., 12 mai 2010) | 6 lines

  Issue #8672: Add a zlib test ensuring that an incomplete stream can be
  handled by a decompressor object without errors (it returns incomplete
  uncompressed data).
........

14 years ago#8575 - Update and reorganize some _winreg contents.
Brian Curtin [Tue, 11 May 2010 20:35:47 +0000 (20:35 +0000)]
#8575 - Update and reorganize some _winreg contents.

I've removed the hopeful note about a future higher-level module since
it's been in there for quite a long time and nothing of the sort has
come up. There are a few places where markup was added to cross-reference
other sections, and many of the external links have been removed and now
point to newly created sections containing previously undocumented
information.

The Value Types section was created and it's contents were taken from
a function-specific area, since it applies to more than just that
function. It fits in better with the other newly documented constants.

14 years agoIssue #8677: Make curses module PY_SSIZE_T_CLEAN.
Mark Dickinson [Tue, 11 May 2010 17:57:09 +0000 (17:57 +0000)]
Issue #8677:  Make curses module PY_SSIZE_T_CLEAN.

14 years agoadding myself to 'testing' interest area of maintainers.rst file
Giampaolo Rodolà [Tue, 11 May 2010 14:00:04 +0000 (14:00 +0000)]
adding myself to 'testing' interest area of maintainers.rst file

14 years agoIssue #8657: Make the audioop module PY_SSIZE_T_CLEAN.
Mark Dickinson [Tue, 11 May 2010 13:34:35 +0000 (13:34 +0000)]
Issue #8657:  Make the audioop module PY_SSIZE_T_CLEAN.

14 years agoMerged revisions 81079 via svnmerge from
Mark Dickinson [Tue, 11 May 2010 13:09:58 +0000 (13:09 +0000)]
Merged revisions 81079 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81079 | mark.dickinson | 2010-05-11 14:05:30 +0100 (Tue, 11 May 2010) | 1 line

  Issue #8674: fix another bogus overflow check in audioop module.
........

14 years agoRecorded merge of revisions 81077 via svnmerge from
Mark Dickinson [Tue, 11 May 2010 09:23:07 +0000 (09:23 +0000)]
Recorded merge of revisions 81077 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81077 | mark.dickinson | 2010-05-11 09:55:06 +0100 (Tue, 11 May 2010) | 3 lines

  Issue #8510: Remove nested 'main' functions (causing failure) in 3 configure tests;
  remove some unnecessary '#include "confdefs.h"' lines.  Thanks Roumen Petrov.
........

14 years agoremove now useless __ne__
Benjamin Peterson [Tue, 11 May 2010 00:07:48 +0000 (00:07 +0000)]
remove now useless __ne__

14 years agoMerged revisions 81073 via svnmerge from
Andrew M. Kuchling [Mon, 10 May 2010 23:30:25 +0000 (23:30 +0000)]
Merged revisions 81073 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81073 | andrew.kuchling | 2010-05-10 19:27:01 -0400 (Mon, 10 May 2010) | 1 line

  Use ';' after initialization macros to avoid confusing re-indenters
........

14 years agoMerged revisions 81072 via svnmerge from
Andrew M. Kuchling [Mon, 10 May 2010 23:28:28 +0000 (23:28 +0000)]
Merged revisions 81072 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81072 | andrew.kuchling | 2010-05-10 19:24:09 -0400 (Mon, 10 May 2010) | 1 line

  Break long line in macros
........

14 years agoMerged revisions 81049 via svnmerge from
Andrew M. Kuchling [Mon, 10 May 2010 23:14:26 +0000 (23:14 +0000)]
Merged revisions 81049 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81049 | andrew.kuchling | 2010-05-10 13:18:25 -0400 (Mon, 10 May 2010) | 1 line

  Move { out of #if...#else block; this confuses Emacs' C-mode
........

14 years agoMerged revisions 81037 via svnmerge from
Mark Dickinson [Mon, 10 May 2010 21:37:34 +0000 (21:37 +0000)]
Merged revisions 81037 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81037 | mark.dickinson | 2010-05-09 21:42:09 +0100 (Sun, 09 May 2010) | 1 line

  Wrap multiline macros in a 'do {} while(0)', for safety.
........

14 years agoMerged revisions 81036 via svnmerge from
Mark Dickinson [Mon, 10 May 2010 21:27:53 +0000 (21:27 +0000)]
Merged revisions 81036 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81036 | mark.dickinson | 2010-05-09 21:30:29 +0100 (Sun, 09 May 2010) | 1 line

  Post-detabification cleanup:  whitespace fixes and long line rewraps only.
........

14 years agoFix nits in the lexical analysis section: \u requires four digits, backtick is not...
Georg Brandl [Mon, 10 May 2010 21:17:00 +0000 (21:17 +0000)]
Fix nits in the lexical analysis section: \u requires four digits, backtick is not allowed in source in 3.x.

14 years agoremove reference to second argument to raise #8676
Benjamin Peterson [Mon, 10 May 2010 20:49:20 +0000 (20:49 +0000)]
remove reference to second argument to raise #8676

14 years agoMerged revisions 81055 via svnmerge from
Michael Foord [Mon, 10 May 2010 20:23:58 +0000 (20:23 +0000)]
Merged revisions 81055 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81055 | michael.foord | 2010-05-10 21:21:16 +0100 (Mon, 10 May 2010) | 1 line

  Improving help message for python -m unittest. Issue 8303.
........

14 years agoMerged revisions 81045 via svnmerge from
Mark Dickinson [Mon, 10 May 2010 16:27:45 +0000 (16:27 +0000)]
Merged revisions 81045 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81045 | mark.dickinson | 2010-05-10 17:07:42 +0100 (Mon, 10 May 2010) | 3 lines

  Issue #8674: Fix incorrect and UB-inducing overflow checks in audioop
  module.  Thanks Tomas Hoger for the patch.
........

14 years agoMerged revisions 81043 via svnmerge from
Giampaolo Rodolà [Mon, 10 May 2010 15:40:49 +0000 (15:40 +0000)]
Merged revisions 81043 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81043 | giampaolo.rodola | 2010-05-10 17:33:22 +0200 (lun, 10 mag 2010) | 1 line

  Issue #8490: adds a more solid test suite for asyncore
........

14 years agoFix issue #4972: adds ftplib.FTP context manager protocol
Giampaolo Rodolà [Mon, 10 May 2010 14:53:29 +0000 (14:53 +0000)]
Fix issue #4972: adds ftplib.FTP context manager protocol

14 years agoRecorded merge of revisions 81029 via svnmerge from
Antoine Pitrou [Sun, 9 May 2010 15:52:27 +0000 (15:52 +0000)]
Recorded merge of revisions 81029 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines

  Untabify C files. Will watch buildbots.
........

14 years agoBlocked revisions 81026 via svnmerge
Eric Smith [Sun, 9 May 2010 14:09:25 +0000 (14:09 +0000)]
Blocked revisions 81026 via svnmerge

........
  r81026 | eric.smith | 2010-05-09 10:04:59 -0400 (Sun, 09 May 2010) | 1 line

  Issue 8671: Whitespace fix.
........

14 years agoFix test_urllib2 failure on OS X.
Mark Dickinson [Sun, 9 May 2010 12:16:29 +0000 (12:16 +0000)]
Fix test_urllib2 failure on OS X.

14 years agoMerged revisions 81022 via svnmerge from
Michael Foord [Sun, 9 May 2010 09:59:35 +0000 (09:59 +0000)]
Merged revisions 81022 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81022 | michael.foord | 2010-05-09 11:58:25 +0200 (Sun, 09 May 2010) | 1 line

  Adding a test for unittest.BaseTestSuite.
........

14 years agoBlocked revisions 81020 via svnmerge
Mark Dickinson [Sun, 9 May 2010 09:30:53 +0000 (09:30 +0000)]
Blocked revisions 81020 via svnmerge

........
  r81020 | mark.dickinson | 2010-05-09 10:30:06 +0100 (Sun, 09 May 2010) | 3 lines

  Issue #8644:  Improve accuracy of timedelta.total_seconds method.
  (Backport of r80979 to py3k.)  Thanks Alexander Belopolsky.
........

14 years agoReplace /s with os.sep in the new internal_execvpe test. Hopefully fixes
Gregory P. Smith [Sun, 9 May 2010 03:36:42 +0000 (03:36 +0000)]
Replace /s with os.sep in the new internal_execvpe test.  Hopefully fixes
this test on windows.

14 years agomake condition more specific
Benjamin Peterson [Sun, 9 May 2010 03:22:58 +0000 (03:22 +0000)]
make condition more specific

14 years agoMerged revisions 81007 via svnmerge from
Jean-Paul Calderone [Sun, 9 May 2010 03:18:57 +0000 (03:18 +0000)]
Merged revisions 81007 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81007 | jean-paul.calderone | 2010-05-08 16:06:02 -0400 (Sat, 08 May 2010) | 1 line

  Skip signal handler re-installation if it is not necessary.  Issue 8354.
........

14 years agoWrite tests for the new function os.fsencode()
Victor Stinner [Sun, 9 May 2010 03:15:33 +0000 (03:15 +0000)]
Write tests for the new function os.fsencode()

14 years agoremove svn:mergeinfo
Benjamin Peterson [Sat, 8 May 2010 21:05:35 +0000 (21:05 +0000)]
remove svn:mergeinfo

14 years agoBlocked revisions 81008 via svnmerge
Benjamin Peterson [Sat, 8 May 2010 21:03:44 +0000 (21:03 +0000)]
Blocked revisions 81008 via svnmerge

........
  r81008 | benjamin.peterson | 2010-05-08 15:59:42 -0500 (Sat, 08 May 2010) | 1 line

  remove svn:mergeinfo property
........

14 years agoadd news for r81005
Benjamin Peterson [Sat, 8 May 2010 19:52:49 +0000 (19:52 +0000)]
add news for r81005

14 years agoCreate __pycache__ dir when the pyc path is explicitly given
Benjamin Peterson [Sat, 8 May 2010 19:52:21 +0000 (19:52 +0000)]
Create __pycache__ dir when the pyc path is explicitly given

Patch from Arfrever Frehtes Taifersar Arahesis.

14 years agoBlocked revisions 80996,80998,81002 via svnmerge
Benjamin Peterson [Sat, 8 May 2010 18:57:34 +0000 (18:57 +0000)]
Blocked revisions 80996,80998,81002 via svnmerge

........
  r80996 | benjamin.peterson | 2010-05-08 12:05:19 -0500 (Sat, 08 May 2010) | 1 line

  update pydoc-topics
........
  r80998 | benjamin.peterson | 2010-05-08 12:08:17 -0500 (Sat, 08 May 2010) | 1 line

  bump version to 2.7 beta 2
........
  r81002 | benjamin.peterson | 2010-05-08 13:53:42 -0500 (Sat, 08 May 2010) | 1 line

  towards 2.7 release candidate 1
........

14 years agoAdds a unittest for the internal os._execvpe function.
Gregory P. Smith [Sat, 8 May 2010 18:05:46 +0000 (18:05 +0000)]
Adds a unittest for the internal os._execvpe function.

14 years agoMerged revisions 80997 via svnmerge from
Michael Foord [Sat, 8 May 2010 17:10:05 +0000 (17:10 +0000)]
Merged revisions 80997 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80997 | michael.foord | 2010-05-08 19:06:25 +0200 (Sat, 08 May 2010) | 1 line

  unittest: issue 8301. Adding functions to test suites no longer crashes.
........

14 years agoMerged revisions 80991 via svnmerge from
Benjamin Peterson [Sat, 8 May 2010 16:51:16 +0000 (16:51 +0000)]
Merged revisions 80991 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80991 | benjamin.peterson | 2010-05-08 11:44:52 -0500 (Sat, 08 May 2010) | 1 line

  run and fix enumerate start test cases #8636
........

14 years agoMerged revisions 80990 via svnmerge from
Michael Foord [Sat, 8 May 2010 16:46:14 +0000 (16:46 +0000)]
Merged revisions 80990 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80990 | michael.foord | 2010-05-08 18:40:52 +0200 (Sat, 08 May 2010) | 1 line

  Updating documentation and adding docstrings to unittest.TestCase.assertRegexpMatches and assertNotRegexpMatches. Issue 8038.
........

14 years agoMerged revisions 80986-80987 via svnmerge from
Benjamin Peterson [Sat, 8 May 2010 15:51:23 +0000 (15:51 +0000)]
Merged revisions 80986-80987 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80986 | benjamin.peterson | 2010-05-08 10:41:44 -0500 (Sat, 08 May 2010) | 1 line

  r80967 introduced a new scheme
........
  r80987 | benjamin.peterson | 2010-05-08 10:42:29 -0500 (Sat, 08 May 2010) | 1 line

  add underscore
........

14 years agoreplace long with int
Benjamin Peterson [Sat, 8 May 2010 15:26:30 +0000 (15:26 +0000)]
replace long with int