]> granicus.if.org Git - python/log
python
15 years agoMerged revisions 77589 via svnmerge from
Mark Dickinson [Sun, 17 Jan 2010 21:02:55 +0000 (21:02 +0000)]
Merged revisions 77589 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77589 | mark.dickinson | 2010-01-17 20:57:56 +0000 (Sun, 17 Jan 2010) | 7 lines

  Issue #7632: When Py_USING_MEMORY_DEBUGGER is defined, disable the
  private memory allocation scheme in dtoa.c, along with a piece of code
  that caches powers of 5 for future use.  This makes it easier to
  detect dtoa.c memory leaks with Valgrind or similar tools.

  Patch by Stefan Krah.
........

15 years agoMerged revisions 77581 via svnmerge from
Antoine Pitrou [Sun, 17 Jan 2010 16:15:29 +0000 (16:15 +0000)]
Merged revisions 77581 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77581 | antoine.pitrou | 2010-01-17 16:55:45 +0100 (dim., 17 janv. 2010) | 3 lines

  Use PyAPI_DATA.
........

15 years agoMerged revisions 77578 via svnmerge from
Mark Dickinson [Sun, 17 Jan 2010 14:39:12 +0000 (14:39 +0000)]
Merged revisions 77578 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77578 | mark.dickinson | 2010-01-17 13:37:57 +0000 (Sun, 17 Jan 2010) | 2 lines

  Issue #7632: Fix a memory leak in _Py_dg_strtod.
........

15 years agoMerged revisions 77573 via svnmerge from
Antoine Pitrou [Sun, 17 Jan 2010 12:38:54 +0000 (12:38 +0000)]
Merged revisions 77573 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77573 | antoine.pitrou | 2010-01-17 13:26:20 +0100 (dim., 17 janv. 2010) | 6 lines

  Issue #7561: Operations on empty bytearrays (such as `int(bytearray())`)
  could crash in many places because of the PyByteArray_AS_STRING() macro
  returning NULL.  The macro now returns a statically allocated empty
  string instead.
........

15 years agoIssue #7561: Fix crashes when using bytearray objects with the posix
Antoine Pitrou [Sun, 17 Jan 2010 12:16:23 +0000 (12:16 +0000)]
Issue #7561: Fix crashes when using bytearray objects with the posix
module.

15 years agoMerged revisions 77566 via svnmerge from
Mark Dickinson [Sun, 17 Jan 2010 11:13:30 +0000 (11:13 +0000)]
Merged revisions 77566 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77566 | mark.dickinson | 2010-01-17 11:10:03 +0000 (Sun, 17 Jan 2010) | 1 line

  Increase number of strtod tests slightly, to make it more likely that a memory leak is detected.
........

15 years agoMerged revisions 77550 via svnmerge from
Mark Dickinson [Sat, 16 Jan 2010 20:34:30 +0000 (20:34 +0000)]
Merged revisions 77550 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77550 | mark.dickinson | 2010-01-16 20:33:02 +0000 (Sat, 16 Jan 2010) | 1 line

  Add better error reporting for MemoryErrors caused by str->float conversions.
........

15 years agoMerged revisions 77548 via svnmerge from
Ezio Melotti [Sat, 16 Jan 2010 19:40:06 +0000 (19:40 +0000)]
Merged revisions 77548 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77548 | ezio.melotti | 2010-01-16 21:36:42 +0200 (Sat, 16 Jan 2010) | 1 line

  remove wrong markup
........

15 years agoIssue #6690: Optimize the bytecode for expressions such as `x in {1, 2, 3}`,
Antoine Pitrou [Sat, 16 Jan 2010 18:37:38 +0000 (18:37 +0000)]
Issue #6690: Optimize the bytecode for expressions such as `x in {1, 2, 3}`,
where the right hand operand is a set of constants, by turning the set into
a frozenset and pre-building it as a constant.  The comparison operation
is made against the constant instead of building a new set each time it is
executed (a similar optimization already existed which turned a list of
constants into a pre-built tuple).  Patch and additional tests by Dave
Malcolm.

15 years agoMerged revisions 77517,77525 via svnmerge from
R. David Murray [Sat, 16 Jan 2010 18:30:03 +0000 (18:30 +0000)]
Merged revisions 77517,77525 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

Merge adds an additional test for as_string with a maxheaderlen specified.

........
  r77517 | r.david.murray | 2010-01-16 00:15:17 -0500 (Sat, 16 Jan 2010) | 6 lines

  Issue #1670765: Prevent email.generator.Generator from re-wrapping
  headers in multipart/signed MIME parts, which fixes one of the sources of
  invalid modifications to such parts by Generator.  Patch and tests by
  Martin von Gagern.
........
  r77525 | r.david.murray | 2010-01-16 11:08:32 -0500 (Sat, 16 Jan 2010) | 2 lines

  Fix issue number in comment.
........

15 years agoRemove duplicated line when merging (it was even valid C!).
Antoine Pitrou [Sat, 16 Jan 2010 18:15:15 +0000 (18:15 +0000)]
Remove duplicated line when merging (it was even valid C!).
Thanks Florent for noticing.

15 years agoMerged revisions 77519,77530,77533 via svnmerge from
Mark Dickinson [Sat, 16 Jan 2010 18:10:25 +0000 (18:10 +0000)]
Merged revisions 77519,77530,77533 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77519 | mark.dickinson | 2010-01-16 10:44:00 +0000 (Sat, 16 Jan 2010) | 5 lines

  Issue #7632: Fix a serious wrong output bug for string -> float conversion.
  Also remove some now unused variables, and add comments clarifying the
  possible outputs of the parsing section of _Py_dg_strtod.  Thanks
  Eric Smith for reviewing.
........
  r77530 | mark.dickinson | 2010-01-16 17:57:49 +0000 (Sat, 16 Jan 2010) | 3 lines

  Issue #7632: Fix one more case of incorrect rounding for str -> float
  conversion (see bug 5 in the issue tracker).
........
  r77533 | mark.dickinson | 2010-01-16 18:06:17 +0000 (Sat, 16 Jan 2010) | 1 line

  Fix multiple uses of variable 'L' in _Py_dg_strtod, where one use requires an unsigned long and the other a signed long.  See also r77421.
........

15 years agoMerged revisions 77528 via svnmerge from
Antoine Pitrou [Sat, 16 Jan 2010 17:55:52 +0000 (17:55 +0000)]
Merged revisions 77528 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77528 | antoine.pitrou | 2010-01-16 18:45:56 +0100 (sam., 16 janv. 2010) | 4 lines

  Followup to #7703: a2b_hqx() didn't follow the new buffer API (neither in trunk
  nor in py3k).  Patch by Florent Xicluna as well as additional tests.
........

15 years agoFixed crasher. Patch by Florent Xicluna.
Ezio Melotti [Sat, 16 Jan 2010 15:09:48 +0000 (15:09 +0000)]
Fixed crasher. Patch by Florent Xicluna.

15 years agoremove obsolete sentence
Ezio Melotti [Sat, 16 Jan 2010 14:46:27 +0000 (14:46 +0000)]
remove obsolete sentence

15 years agoRemove L suffix for integers.
Georg Brandl [Sat, 16 Jan 2010 14:41:21 +0000 (14:41 +0000)]
Remove L suffix for integers.

15 years agoissue5063: Fixes for building RPM on CentOS plus misc .spec file enhancements.
Sean Reifscheider [Sat, 16 Jan 2010 04:35:26 +0000 (04:35 +0000)]
issue5063: Fixes for building RPM on CentOS plus misc .spec file enhancements.

15 years agoMerged revisions 77506 via svnmerge from
Antoine Pitrou [Fri, 15 Jan 2010 00:27:43 +0000 (00:27 +0000)]
Merged revisions 77506 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77506 | antoine.pitrou | 2010-01-15 01:18:00 +0100 (ven., 15 janv. 2010) | 4 lines

  Issue #7701: Fix crash in binascii.b2a_uu() in debug mode when given a
  1-byte argument.  Patch by Victor Stinner.
........

15 years agoMerged revisions 77499 via svnmerge from
Antoine Pitrou [Thu, 14 Jan 2010 17:34:48 +0000 (17:34 +0000)]
Merged revisions 77499 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77499 | antoine.pitrou | 2010-01-14 18:25:24 +0100 (jeu., 14 janv. 2010) | 4 lines

  Issue #3299: Fix possible crash in the _sre module when given bad
  argument values in debug mode.  Patch by Victor Stinner.
........

15 years agoMerge note: only the tests have been kept here, since the rest was already
Antoine Pitrou [Thu, 14 Jan 2010 16:33:34 +0000 (16:33 +0000)]
Merge note: only the tests have been kept here, since the rest was already
a backport.

Merged revisions 77497 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77497 | antoine.pitrou | 2010-01-14 17:27:09 +0100 (jeu., 14 janv. 2010) | 5 lines

  Issue #7703: Add support for the new buffer API to functions of the
  binascii module.  Backported from py3k by Florent Xicluna, with some
  additional tests.
........

15 years agoMerged revisions 77477-77478,77481-77483,77490-77493 via svnmerge from
Mark Dickinson [Thu, 14 Jan 2010 15:37:49 +0000 (15:37 +0000)]
Merged revisions 77477-77478,77481-77483,77490-77493 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77477 | mark.dickinson | 2010-01-13 18:21:53 +0000 (Wed, 13 Jan 2010) | 1 line

  Add comments explaining the role of the bigcomp function in dtoa.c.
........
  r77478 | mark.dickinson | 2010-01-13 19:02:37 +0000 (Wed, 13 Jan 2010) | 1 line

  Clarify that sulp expects a nonnegative input, but that +0.0 is fine.
........
  r77481 | mark.dickinson | 2010-01-13 20:55:03 +0000 (Wed, 13 Jan 2010) | 1 line

  Simplify and annotate the bigcomp function, removing unused special cases.
........
  r77482 | mark.dickinson | 2010-01-13 22:15:53 +0000 (Wed, 13 Jan 2010) | 1 line

  Fix buggy comparison:  LHS of comparison was being treated as unsigned.
........
  r77483 | mark.dickinson | 2010-01-13 22:20:10 +0000 (Wed, 13 Jan 2010) | 1 line

  More dtoa.c cleanup;  remove the need for bc.dplen, bc.dp0 and bc.dp1.
........
  r77490 | mark.dickinson | 2010-01-14 13:02:36 +0000 (Thu, 14 Jan 2010) | 1 line

  Fix off-by-one error introduced in r77483.  I have a test for this, but it currently fails due to a different dtoa.c bug;  I'll add the test once that bug is fixed.
........
  r77491 | mark.dickinson | 2010-01-14 13:14:49 +0000 (Thu, 14 Jan 2010) | 1 line

  Issue 7632: fix a dtoa.c bug (bug 6) causing incorrect rounding.  Tests to follow.
........
  r77492 | mark.dickinson | 2010-01-14 14:40:20 +0000 (Thu, 14 Jan 2010) | 1 line

  Issue 7632:  fix incorrect rounding for long input strings with values very close to a power of 2.  (See Bug 4 in the tracker discussion.)
........
  r77493 | mark.dickinson | 2010-01-14 15:22:33 +0000 (Thu, 14 Jan 2010) | 1 line

  Issue #7632:  add tests for bugs fixed so far.
........

15 years agoMake similar changes to 3.x version.
Skip Montanaro [Thu, 14 Jan 2010 01:14:50 +0000 (01:14 +0000)]
Make similar changes to 3.x version.

15 years agoFix the wrong numbering of a PEP.
Brett Cannon [Wed, 13 Jan 2010 19:21:00 +0000 (19:21 +0000)]
Fix the wrong numbering of a PEP.

15 years agoMerged revisions 77475 via svnmerge from
Antoine Pitrou [Wed, 13 Jan 2010 15:03:39 +0000 (15:03 +0000)]
Merged revisions 77475 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77475 | antoine.pitrou | 2010-01-13 16:02:13 +0100 (mer., 13 janv. 2010) | 4 lines

  Issue #7625: Add more tests that bytearray methods return new objects,
  even if identical.  Patch by Florent Xicluna (again).
........

15 years agoMerged revisions 77472-77473 via svnmerge from
Antoine Pitrou [Wed, 13 Jan 2010 14:37:26 +0000 (14:37 +0000)]
Merged revisions 77472-77473 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77472 | antoine.pitrou | 2010-01-13 15:32:10 +0100 (mer., 13 janv. 2010) | 5 lines

  Issue #2846: Add support for gzip.GzipFile reading zero-padded files.
  Patch by Brian Curtin.
........
  r77473 | antoine.pitrou | 2010-01-13 15:32:51 +0100 (mer., 13 janv. 2010) | 3 lines

  Add ACKS entry for r77472.
........

15 years agoMerged revisions 77469-77470 via svnmerge from
Antoine Pitrou [Wed, 13 Jan 2010 14:19:12 +0000 (14:19 +0000)]
Merged revisions 77469-77470 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77469 | antoine.pitrou | 2010-01-13 14:43:37 +0100 (mer., 13 janv. 2010) | 3 lines

  Test commit to try to diagnose failures of the IA-64 buildbot
........
  r77470 | antoine.pitrou | 2010-01-13 15:01:26 +0100 (mer., 13 janv. 2010) | 3 lines

  Sanitize bloom filter macros
........

15 years agoNote: I'm merging these changes out of consistency, but they don't seem
Antoine Pitrou [Wed, 13 Jan 2010 12:04:20 +0000 (12:04 +0000)]
Note: I'm merging these changes out of consistency, but they don't seem
to be needed in py3k (except perhaps for non-utf8 paths).

Merged revisions 77466-77467 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77466 | antoine.pitrou | 2010-01-13 12:47:49 +0100 (mer., 13 janv. 2010) | 5 lines

  Issue #7661: Allow ctypes to be built from a non-ASCII directory path.
  Patch by Florent Xicluna.
........
  r77467 | antoine.pitrou | 2010-01-13 12:57:42 +0100 (mer., 13 janv. 2010) | 3 lines

  Use `with`
........

15 years agosvnmerge duplicated contents of Objects/stringlib/split.h
Antoine Pitrou [Wed, 13 Jan 2010 09:19:15 +0000 (09:19 +0000)]
svnmerge duplicated contents of Objects/stringlib/split.h

15 years agoMerged revisions 77463 via svnmerge from
Antoine Pitrou [Wed, 13 Jan 2010 08:58:08 +0000 (08:58 +0000)]
Merged revisions 77463 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77463 | antoine.pitrou | 2010-01-13 09:55:20 +0100 (mer., 13 janv. 2010) | 3 lines

  Fix Windows build (re r77461)
........

15 years agoMerged revisions 77461 via svnmerge from
Antoine Pitrou [Wed, 13 Jan 2010 08:07:53 +0000 (08:07 +0000)]
Merged revisions 77461 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77461 | antoine.pitrou | 2010-01-13 08:55:48 +0100 (mer., 13 janv. 2010) | 5 lines

  Issue #7622: Improve the split(), rsplit(), splitlines() and replace()
  methods of bytes, bytearray and unicode objects by using a common
  implementation based on stringlib's fast search.  Patch by Florent Xicluna.
........

15 years agouse floor division where needed #7681
Benjamin Peterson [Wed, 13 Jan 2010 03:49:50 +0000 (03:49 +0000)]
use floor division where needed #7681

15 years agoMerged revisions 77455 via svnmerge from
Ezio Melotti [Wed, 13 Jan 2010 00:28:37 +0000 (00:28 +0000)]
Merged revisions 77455 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77455 | ezio.melotti | 2010-01-13 02:25:03 +0200 (Wed, 13 Jan 2010) | 1 line

  #7685: typo
........

15 years agoMerged revisions 77410,77421,77450-77451 via svnmerge from
Mark Dickinson [Tue, 12 Jan 2010 23:04:19 +0000 (23:04 +0000)]
Merged revisions 77410,77421,77450-77451 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77410 | mark.dickinson | 2010-01-10 13:06:31 +0000 (Sun, 10 Jan 2010) | 1 line

  Remove unused BCinfo fields and an unused macro.
........
  r77421 | mark.dickinson | 2010-01-11 17:15:13 +0000 (Mon, 11 Jan 2010) | 1 line

  Change a variable type to avoid signed overflow; replace repeated '19999' constant by a define.
........
  r77450 | mark.dickinson | 2010-01-12 22:23:56 +0000 (Tue, 12 Jan 2010) | 4 lines

  Issue #7632: Fix a problem with _Py_dg_strtod that could lead to
  crashes in debug builds, for certain long numeric strings
  corresponding to subnormal values.
........
  r77451 | mark.dickinson | 2010-01-12 22:55:51 +0000 (Tue, 12 Jan 2010) | 2 lines

  Issue #7632:  Fix a bug in dtoa.c that could lead to incorrectly-rounded results.
........

15 years agoMerged revisions 77448 via svnmerge from
Antoine Pitrou [Tue, 12 Jan 2010 22:05:42 +0000 (22:05 +0000)]
Merged revisions 77448 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77448 | antoine.pitrou | 2010-01-12 23:02:10 +0100 (mar., 12 janv. 2010) | 3 lines

  Issue #7654: enable additional bytes/bytearray tests.  Patch by Florent Xicluna.
........

15 years agoMerged revisions 77445 via svnmerge from
Alexandre Vassalotti [Tue, 12 Jan 2010 18:38:14 +0000 (18:38 +0000)]
Merged revisions 77445 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77445 | alexandre.vassalotti | 2010-01-12 13:25:33 -0500 (Tue, 12 Jan 2010) | 2 lines

  Added documentation for dictionary views fixer.
........

15 years agoBlocked revisions 77442 via svnmerge
Ezio Melotti [Tue, 12 Jan 2010 04:03:11 +0000 (04:03 +0000)]
Blocked revisions 77442 via svnmerge

........
  r77442 | ezio.melotti | 2010-01-12 05:32:05 +0200 (Tue, 12 Jan 2010) | 1 line

  #5827: make sure that normpath preserves unicode
........

15 years agoBlocked revisions 77438 via svnmerge
Alexandre Vassalotti [Tue, 12 Jan 2010 01:51:09 +0000 (01:51 +0000)]
Blocked revisions 77438 via svnmerge

........
  r77438 | alexandre.vassalotti | 2010-01-11 20:34:43 -0500 (Mon, 11 Jan 2010) | 2 lines

  Fixed repr of dictionary views.
........

15 years agoSimplified long coding in pickle.py.
Alexandre Vassalotti [Tue, 12 Jan 2010 01:49:31 +0000 (01:49 +0000)]
Simplified long coding in pickle.py.

15 years agoIssue #7382: Fix bytes.__getnewargs__.
Alexandre Vassalotti [Tue, 12 Jan 2010 01:23:09 +0000 (01:23 +0000)]
Issue #7382: Fix bytes.__getnewargs__.

15 years agoMerged revisions 77431 via svnmerge from
Tarek Ziadé [Mon, 11 Jan 2010 23:47:51 +0000 (23:47 +0000)]
Merged revisions 77431 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77431 | tarek.ziade | 2010-01-12 00:41:32 +0100 (Tue, 12 Jan 2010) | 1 line

  module cleanup
........

15 years agoBlocked revisions 77400,77422,77428 via svnmerge
Alexandre Vassalotti [Mon, 11 Jan 2010 23:21:10 +0000 (23:21 +0000)]
Blocked revisions 77400,77422,77428 via svnmerge

........
  r77400 | alexandre.vassalotti | 2010-01-09 18:35:54 -0500 (Sat, 09 Jan 2010) | 2 lines

  Issue #2335: Backport set literals syntax from Python 3.x.
........
  r77422 | alexandre.vassalotti | 2010-01-11 17:36:12 -0500 (Mon, 11 Jan 2010) | 2 lines

  Issue #2333: Backport set and dict comprehensions syntax.
........
  r77428 | alexandre.vassalotti | 2010-01-11 18:17:10 -0500 (Mon, 11 Jan 2010) | 2 lines

  Issue #1967: Backport dictionary views.
........

15 years agoMerged revisions 77424 via svnmerge from
Tarek Ziadé [Mon, 11 Jan 2010 23:15:52 +0000 (23:15 +0000)]
Merged revisions 77424 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77424 | tarek.ziade | 2010-01-11 23:50:29 +0100 (Mon, 11 Jan 2010) | 1 line

  Fixed #5372: .o files are now always rebuilt because file age test don't work in some case
........

15 years agoMerged revisions 77412 via svnmerge from
R. David Murray [Sun, 10 Jan 2010 19:18:27 +0000 (19:18 +0000)]
Merged revisions 77412 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77412 | r.david.murray | 2010-01-10 12:41:28 -0500 (Sun, 10 Jan 2010) | 3 lines

  Issue #7119: document that a program-generated Message object
  tree may be mutated when serialized.
........

15 years agoMerged revisions 77411 via svnmerge from
Senthil Kumaran [Sun, 10 Jan 2010 17:45:52 +0000 (17:45 +0000)]
Merged revisions 77411 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77411 | senthil.kumaran | 2010-01-10 23:05:05 +0530 (Sun, 10 Jan 2010) | 2 lines

  Fixed issue7648 - test_urllib2 fails on Windows if not run from C:
........

15 years agoIssue #7532: Expanded tests for extended slicing. This is a forward
Mark Dickinson [Sun, 10 Jan 2010 11:59:43 +0000 (11:59 +0000)]
Issue #7532: Expanded tests for extended slicing.  This is a forward
port of r77391 to py3k, along with some additional tests and cleanup.
Patch by Florent Xicluna.

15 years agoBlocked revisions 77391 via svnmerge
Mark Dickinson [Sun, 10 Jan 2010 11:27:39 +0000 (11:27 +0000)]
Blocked revisions 77391 via svnmerge

........
  r77391 | mark.dickinson | 2010-01-09 18:50:50 +0000 (Sat, 09 Jan 2010) | 3 lines

  Issue #7532: Add additional slicing test cases for new- and old-style
  classes.  Patch by Florent Xicluna.
........

15 years agoMerged revisions 77403 via svnmerge from
Martin v. Löwis [Sun, 10 Jan 2010 10:31:46 +0000 (10:31 +0000)]
Merged revisions 77403 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77403 | martin.v.loewis | 2010-01-10 11:29:54 +0100 (So, 10 Jan 2010) | 2 lines

  Update root certificate to CAcert.
........

15 years agoRemove redundant brackets in signatures.
Georg Brandl [Sat, 9 Jan 2010 22:39:42 +0000 (22:39 +0000)]
Remove redundant brackets in signatures.

15 years agoIssue #6688: Optimize PyBytes_FromObject().
Alexandre Vassalotti [Sat, 9 Jan 2010 22:14:46 +0000 (22:14 +0000)]
Issue #6688: Optimize PyBytes_FromObject().

  - Add special-cases for list and tuple objects.
  - Use _PyObject_LengthHint() instead of an arbitrary value for the
    size of the initial buffer of the returned object.

15 years agosimplify string comparison of from_bytes/to_bytes
Benjamin Peterson [Sat, 9 Jan 2010 21:50:11 +0000 (21:50 +0000)]
simplify string comparison of from_bytes/to_bytes

15 years agoPython strings ending with '\0' should not be equivalent to their C counterparts...
Benjamin Peterson [Sat, 9 Jan 2010 21:45:28 +0000 (21:45 +0000)]
Python strings ending with '\0' should not be equivalent to their C counterparts in PyUnicode_CompareWithASCIIString

15 years agoIssue #1023290: Added API for the conversion of longs to bytes and vice-versa.
Alexandre Vassalotti [Sat, 9 Jan 2010 20:35:09 +0000 (20:35 +0000)]
Issue #1023290: Added API for the conversion of longs to bytes and vice-versa.

15 years agoMerged revisions 77185-77188,77262,77313,77317,77331-77333,77337-77338 via svnmerge...
Benjamin Peterson [Sat, 9 Jan 2010 18:53:06 +0000 (18:53 +0000)]
Merged revisions 77185-77188,77262,77313,77317,77331-77333,77337-77338 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77185 | andrew.kuchling | 2009-12-31 10:17:05 -0600 (Thu, 31 Dec 2009) | 1 line

  Add some items
........
  r77186 | benjamin.peterson | 2009-12-31 10:28:24 -0600 (Thu, 31 Dec 2009) | 1 line

  update expat comment
........
  r77187 | andrew.kuchling | 2009-12-31 10:38:53 -0600 (Thu, 31 Dec 2009) | 1 line

  Add various items
........
  r77188 | benjamin.peterson | 2009-12-31 10:49:37 -0600 (Thu, 31 Dec 2009) | 1 line

  add another advancement
........
  r77262 | andrew.kuchling | 2010-01-02 19:15:21 -0600 (Sat, 02 Jan 2010) | 1 line

  Add a few items
........
  r77313 | benjamin.peterson | 2010-01-04 18:04:19 -0600 (Mon, 04 Jan 2010) | 1 line

  add a test about hashing array.array
........
  r77317 | georg.brandl | 2010-01-05 12:14:52 -0600 (Tue, 05 Jan 2010) | 1 line

  Add Stefan.
........
  r77331 | georg.brandl | 2010-01-06 11:43:06 -0600 (Wed, 06 Jan 2010) | 1 line

  Small fixes to test_cmd: fix signature of do_shell, remove duplicate import, add option to run the custom Cmd class.
........
  r77332 | georg.brandl | 2010-01-06 12:02:16 -0600 (Wed, 06 Jan 2010) | 7 lines

  #5991: let completion for the "help" command include help topics.

  This also simplifies the Cmd.get_names() method implementation; it was written
  at a time where dir() didn't consider base class attributes.
........
  r77333 | georg.brandl | 2010-01-06 12:26:08 -0600 (Wed, 06 Jan 2010) | 1 line

  #5950: document that zip files with comments are unsupported in zipimport.
........
  r77337 | r.david.murray | 2010-01-06 21:09:08 -0600 (Wed, 06 Jan 2010) | 3 lines

  Add -W to the 'basics', 'opt', and 'all' test runs so that we get verbose
  information if a failure happens.
........
  r77338 | r.david.murray | 2010-01-06 22:04:28 -0600 (Wed, 06 Jan 2010) | 2 lines

  Fix inadvertent checkin of debug line.
........

15 years agoMerged revisions 77209,77229,77359-77360,77371 via svnmerge from
Benjamin Peterson [Sat, 9 Jan 2010 18:45:30 +0000 (18:45 +0000)]
Merged revisions 77209,77229,77359-77360,77371 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77209 | georg.brandl | 2010-01-01 07:07:05 -0600 (Fri, 01 Jan 2010) | 1 line

  More yearly updates.
........
  r77229 | georg.brandl | 2010-01-02 06:35:01 -0600 (Sat, 02 Jan 2010) | 1 line

  Fix casing.
........
  r77359 | georg.brandl | 2010-01-07 14:54:45 -0600 (Thu, 07 Jan 2010) | 1 line

  Fix description for Py_GetPath(); it sounded like it always returned sys.path.
........
  r77360 | georg.brandl | 2010-01-07 15:48:47 -0600 (Thu, 07 Jan 2010) | 1 line

  #7653: clarify how the PythonPath registry key should look like.
........
  r77371 | senthil.kumaran | 2010-01-08 13:20:25 -0600 (Fri, 08 Jan 2010) | 3 lines

  Fix for Issue7026. For the Error - RuntimeError: dictionary changed size during iteration
........

15 years agoBlocked revisions 77227,77256,77260,77368-77369 via svnmerge
Benjamin Peterson [Sat, 9 Jan 2010 17:45:42 +0000 (17:45 +0000)]
Blocked revisions 77227,77256,77260,77368-77369 via svnmerge

........
  r77227 | martin.v.loewis | 2010-01-02 03:53:18 -0600 (Sat, 02 Jan 2010) | 1 line

  Make script work with 2.5.
........
  r77256 | georg.brandl | 2010-01-02 16:55:55 -0600 (Sat, 02 Jan 2010) | 1 line

  Fix typo.
........
  r77260 | gregory.p.smith | 2010-01-02 18:43:02 -0600 (Sat, 02 Jan 2010) | 2 lines

  make setup.py similar to py3k's when reporting on _hashlib as missing or not.
........
  r77368 | senthil.kumaran | 2010-01-08 12:41:40 -0600 (Fri, 08 Jan 2010) | 1 line

  Fixing - Issue7026 - RuntimeError: dictionary changed size during iteration. Patch by flox
........
  r77369 | senthil.kumaran | 2010-01-08 13:04:16 -0600 (Fri, 08 Jan 2010) | 4 lines

  Reverting the Revision: 77368.  I committed Flox's big patch for tests by
  mistake. ( It may come in for sure tough)
........

15 years agoBlocked revisions 77384,77386 via svnmerge
Benjamin Peterson [Sat, 9 Jan 2010 17:36:21 +0000 (17:36 +0000)]
Blocked revisions 77384,77386 via svnmerge

........
  r77384 | benjamin.peterson | 2010-01-09 10:34:06 -0600 (Sat, 09 Jan 2010) | 1 line

  bump version to 2.7a2
........
  r77386 | benjamin.peterson | 2010-01-09 11:30:31 -0600 (Sat, 09 Jan 2010) | 1 line

  post release version adjustment
........

15 years agoMerged revisions 77382 via svnmerge from
Georg Brandl [Sat, 9 Jan 2010 09:48:46 +0000 (09:48 +0000)]
Merged revisions 77382 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77382 | georg.brandl | 2010-01-09 10:47:11 +0100 (Sa, 09 Jan 2010) | 1 line

  #7422: make it clear that getargspec() only works on Python functions.
........

15 years agoMerged revisions 77377 via svnmerge from
Tarek Ziadé [Fri, 8 Jan 2010 23:57:53 +0000 (23:57 +0000)]
Merged revisions 77377 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77377 | tarek.ziade | 2010-01-09 00:42:23 +0100 (Sat, 09 Jan 2010) | 1 line

  Fixed #7617: all flavors of gcc should be recognized now
........

15 years agoMerged revisions 77374 via svnmerge from
Antoine Pitrou [Fri, 8 Jan 2010 19:42:10 +0000 (19:42 +0000)]
Merged revisions 77374 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77374 | antoine.pitrou | 2010-01-08 20:39:04 +0100 (ven., 08 janv. 2010) | 4 lines

  Remove obsolete warning filters in regrtest.py (from issue #7092 -- patch by
  Florent Xicluna).
........

15 years agoBlocked revisions 77370 via svnmerge
Antoine Pitrou [Fri, 8 Jan 2010 19:22:50 +0000 (19:22 +0000)]
Blocked revisions 77370 via svnmerge

........
  r77370 | antoine.pitrou | 2010-01-08 20:20:17 +0100 (ven., 08 janv. 2010) | 5 lines

  Issue #7092: Remove py3k warning when importing cPickle.  2to3 handles
  renaming of `cPickle` to `pickle`.  The warning was annoying since there's
  no alternative to cPickle if you care about performance.  Patch by Florent
  Xicluna.
........

15 years agoIssue #7105: Make WeakKeyDictionary and WeakValueDictionary robust against
Antoine Pitrou [Fri, 8 Jan 2010 17:54:23 +0000 (17:54 +0000)]
Issue #7105: Make WeakKeyDictionary and WeakValueDictionary robust against
the destruction of weakref'ed objects while iterating.

15 years agoBlocked revisions 77362 via svnmerge
Mark Dickinson [Fri, 8 Jan 2010 16:55:38 +0000 (16:55 +0000)]
Blocked revisions 77362 via svnmerge

........
  r77362 | mark.dickinson | 2010-01-08 16:53:56 +0000 (Fri, 08 Jan 2010) | 1 line

  Backport some float repr tests that were missed in issue 7117.
........

15 years agoMerged revisions 77352-77354 via svnmerge from
Antoine Pitrou [Thu, 7 Jan 2010 17:57:31 +0000 (17:57 +0000)]
Merged revisions 77352-77354 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77352 | antoine.pitrou | 2010-01-07 18:46:49 +0100 (jeu., 07 janv. 2010) | 5 lines

  Issue #7455: Fix possible crash in cPickle on invalid input.  Patch by
  Florent Xicluna.
........
  r77353 | antoine.pitrou | 2010-01-07 18:49:37 +0100 (jeu., 07 janv. 2010) | 3 lines

  Fix attribution. Florent actually repackaged and reviewed Victor's patch (sorry!).
........
  r77354 | antoine.pitrou | 2010-01-07 18:54:10 +0100 (jeu., 07 janv. 2010) | 3 lines

  Fix reattribution mistake when fixing attribution mistake!
........

15 years agoMerged revisions 77339 via svnmerge from
Mark Dickinson [Thu, 7 Jan 2010 09:31:48 +0000 (09:31 +0000)]
Merged revisions 77339 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77339 | mark.dickinson | 2010-01-07 09:28:29 +0000 (Thu, 07 Jan 2010) | 1 line

  Eric Smith was missing fro m the issue 7117 whatsnew attribution.
........

15 years agoMerged revisions 77324 via svnmerge from
Mark Dickinson [Wed, 6 Jan 2010 16:22:15 +0000 (16:22 +0000)]
Merged revisions 77324 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77324 | mark.dickinson | 2010-01-06 16:20:22 +0000 (Wed, 06 Jan 2010) | 2 lines

  Add missing docstring for Context.divmod.  Thanks Juan José Conti.
........

15 years agoAssorted doc fixes by Florent.
Georg Brandl [Tue, 5 Jan 2010 10:22:04 +0000 (10:22 +0000)]
Assorted doc fixes by Florent.

15 years ago#7432: remove unnecessary from __future__ import division
Ezio Melotti [Tue, 5 Jan 2010 08:37:27 +0000 (08:37 +0000)]
#7432: remove unnecessary from __future__ import division

15 years agoBlocked revisions 77310-77311 via svnmerge
Antoine Pitrou [Mon, 4 Jan 2010 23:29:25 +0000 (23:29 +0000)]
Blocked revisions 77310-77311 via svnmerge

........
  r77310 | antoine.pitrou | 2010-01-05 00:22:44 +0100 (mar., 05 janv. 2010) | 4 lines

  Issue #7092: Fix the DeprecationWarnings emitted by the standard library
  when using the -3 flag.  Patch by Florent Xicluna.
........
  r77311 | antoine.pitrou | 2010-01-05 00:28:16 +0100 (mar., 05 janv. 2010) | 3 lines

  Kill a couple of "<>"
........

15 years agoMerged revisions 77306 via svnmerge from
Ezio Melotti [Mon, 4 Jan 2010 21:53:17 +0000 (21:53 +0000)]
Merged revisions 77306 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77306 | ezio.melotti | 2010-01-04 23:43:02 +0200 (Mon, 04 Jan 2010) | 1 line

  #3340: document print/get_usage and print/get_version
........

15 years agoMerged revisions 77302 via svnmerge from
Mark Dickinson [Mon, 4 Jan 2010 21:33:31 +0000 (21:33 +0000)]
Merged revisions 77302 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77302 | mark.dickinson | 2010-01-04 21:32:02 +0000 (Mon, 04 Jan 2010) | 1 line

  Fix typo in comment.
........

15 years agoIssue #7631: Fix undefined references to the "built-in file object", which
Antoine Pitrou [Mon, 4 Jan 2010 18:50:53 +0000 (18:50 +0000)]
Issue #7631: Fix undefined references to the "built-in file object", which
has ceased to be.

15 years agoMerged revisions 77298 via svnmerge from
Ezio Melotti [Mon, 4 Jan 2010 09:29:10 +0000 (09:29 +0000)]
Merged revisions 77298 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77298 | ezio.melotti | 2010-01-04 11:00:11 +0200 (Mon, 04 Jan 2010) | 1 line

  fixed markup errors
........

15 years agoMerged revisions 74426 via svnmerge from
Gregory P. Smith [Mon, 4 Jan 2010 04:50:36 +0000 (04:50 +0000)]
Merged revisions 74426 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74426 | gregory.p.smith | 2009-08-13 11:54:50 -0700 (Thu, 13 Aug 2009) | 4 lines

  Fix issue1628205: Socket file objects returned by socket.socket.makefile() now
  properly handles EINTR within the read, readline, write & flush methods.
  The socket.sendall() method now properly handles interrupted system calls.
........

15 years agoRecorded merge of revisions 74426 via svnmerge from
Benjamin Peterson [Mon, 4 Jan 2010 03:48:20 +0000 (03:48 +0000)]
Recorded merge of revisions 74426 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74426 | gregory.p.smith | 2009-08-13 13:54:50 -0500 (Thu, 13 Aug 2009) | 4 lines

  Fix issue1628205: Socket file objects returned by socket.socket.makefile() now
  properly handles EINTR within the read, readline, write & flush methods.
  The socket.sendall() method now properly handles interrupted system calls.
........

15 years agoMerge the trivial portion of r74426 from trunk.
Gregory P. Smith [Mon, 4 Jan 2010 03:29:50 +0000 (03:29 +0000)]
Merge the trivial portion of r74426 from trunk.
socket.sendall() now handles EINTR properly internally.

15 years agoMerged revisions 77292-77293 via svnmerge from
Benjamin Peterson [Mon, 4 Jan 2010 01:10:28 +0000 (01:10 +0000)]
Merged revisions 77292-77293 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77292 | benjamin.peterson | 2010-01-03 18:43:01 -0600 (Sun, 03 Jan 2010) | 1 line

  do correct lookup of the __complex__ method
........
  r77293 | benjamin.peterson | 2010-01-03 19:00:47 -0600 (Sun, 03 Jan 2010) | 1 line

  factor out __complex__ lookup code to fix another case
........

15 years agoMerged revisions 77290 via svnmerge from
Antoine Pitrou [Sun, 3 Jan 2010 22:39:36 +0000 (22:39 +0000)]
Merged revisions 77290 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77290 | antoine.pitrou | 2010-01-03 23:38:50 +0100 (dim., 03 janv. 2010) | 3 lines

  Credit Nir Aides for r77288
........

15 years agoMerged revisions 77288 via svnmerge from
Antoine Pitrou [Sun, 3 Jan 2010 22:37:40 +0000 (22:37 +0000)]
Merged revisions 77288 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77288 | antoine.pitrou | 2010-01-03 23:29:56 +0100 (dim., 03 janv. 2010) | 5 lines

  Issue #7471: Improve the performance of GzipFile's buffering mechanism,
  and make it implement the `io.BufferedIOBase` ABC to allow for further
  speedups by wrapping it in an `io.BufferedReader`.  Patch by Nir Aides.
........

15 years agoMerged revisions 77286 via svnmerge from
Gregory P. Smith [Sun, 3 Jan 2010 15:09:32 +0000 (15:09 +0000)]
Merged revisions 77286 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77286 | gregory.p.smith | 2010-01-03 07:05:52 -0800 (Sun, 03 Jan 2010) | 2 lines

  Fix testSourceAddress to not test the host, it wasn't passing on some platforms.
........

15 years agoBlocked revisions 77284 via svnmerge
Gregory P. Smith [Sun, 3 Jan 2010 14:57:46 +0000 (14:57 +0000)]
Blocked revisions 77284 via svnmerge

........
  r77284 | gregory.p.smith | 2010-01-03 06:56:28 -0800 (Sun, 03 Jan 2010) | 2 lines

  remove an obsolete file that should've gone with r77252
........

15 years agoadd missing hashlib.h deps.
Gregory P. Smith [Sun, 3 Jan 2010 14:51:13 +0000 (14:51 +0000)]
add missing hashlib.h deps.

15 years agoMerged revisions 77266,77279 via svnmerge from
Georg Brandl [Sun, 3 Jan 2010 14:30:52 +0000 (14:30 +0000)]
Merged revisions 77266,77279 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77266 | kurt.kaiser | 2010-01-03 09:36:45 +0100 (So, 03 Jan 2010) | 6 lines

  r77152 to Doc/Makefile broke doc build due to (at least some) make
  binaries running clean prereq after checkout.
  1. So, fix the insane make call in build.sh - seems to solve it.
  2. Fix a missing redirection.
  3. Check in the rsync opts that actually work during upload.
........
  r77279 | georg.brandl | 2010-01-03 14:05:39 +0100 (So, 03 Jan 2010) | 1 line

  Update doc build step.
........

15 years agoMerged revisions 77275 via svnmerge from
Mark Dickinson [Sun, 3 Jan 2010 12:16:06 +0000 (12:16 +0000)]
Merged revisions 77275 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77275 | mark.dickinson | 2010-01-03 12:03:03 +0000 (Sun, 03 Jan 2010) | 1 line

  Make use of PyLong_AsLongAndOverflow in math_ldexp.
........

15 years agoMerged revisions 77271 via svnmerge from
Ezio Melotti [Sun, 3 Jan 2010 09:11:59 +0000 (09:11 +0000)]
Merged revisions 77271 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77271 | ezio.melotti | 2010-01-03 11:09:55 +0200 (Sun, 03 Jan 2010) | 1 line

  :stmt: -> :keyword:
........

15 years agoMerged revisions 77267 via svnmerge from
Ezio Melotti [Sun, 3 Jan 2010 09:06:02 +0000 (09:06 +0000)]
Merged revisions 77267 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77267 | ezio.melotti | 2010-01-03 11:01:27 +0200 (Sun, 03 Jan 2010) | 1 line

  #7618: fix highlight of code blocks
........

15 years agoMerged revisions 77263-77264 via svnmerge from
Gregory P. Smith [Sun, 3 Jan 2010 03:28:29 +0000 (03:28 +0000)]
Merged revisions 77263-77264 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77263 | gregory.p.smith | 2010-01-02 17:29:44 -0800 (Sat, 02 Jan 2010) | 4 lines

  Adds an optional source_address parameter to socket.create_connection().

  For use by issue3972.
........
  r77264 | gregory.p.smith | 2010-01-02 18:06:07 -0800 (Sat, 02 Jan 2010) | 5 lines

  issue3972: HTTPConnection and HTTPSConnection now support a
  source_address parameter.

  Also cleans up an annotation in the socket documentation.
........

15 years agosmall logic cleanup, avoid duplicate openssl_ver check.
Gregory P. Smith [Sun, 3 Jan 2010 00:44:10 +0000 (00:44 +0000)]
small logic cleanup, avoid duplicate openssl_ver check.

15 years agoAlso fixes test_hashlib for the different extension module names in py3k.
Gregory P. Smith [Sun, 3 Jan 2010 00:38:10 +0000 (00:38 +0000)]
Also fixes test_hashlib for the different extension module names in py3k.

Merged revisions 77251 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77251 | gregory.p.smith | 2010-01-02 14:25:29 -0800 (Sat, 02 Jan 2010) | 6 lines

  Always compile the all versions of the hashlib algorithm modules when Python
  was compiled with Py_DEBUG defined.  Otherwise the builtins are not compiled by
  default for many developers due to OpenSSL being present, making it easier for
  bugs to slip by.  A future commit will add test code compare the behaviors of
  all implementations when they are all available.
........

15 years agoMerged revisions 77257 via svnmerge from
Gregory P. Smith [Sun, 3 Jan 2010 00:29:15 +0000 (00:29 +0000)]
Merged revisions 77257 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77257 | gregory.p.smith | 2010-01-02 16:19:04 -0800 (Sat, 02 Jan 2010) | 8 lines

  Import all implementations of the hash algorithms (OpenSSL & builtin) and run
  the test suite across all that are available.  Warns about extension modules
  that could not be imported when python was compiled with Py_DEBUG.

  That warning could be made fatal but I didn't want to do that initially as
  I suspect non setup.py based build processes (windows, any others?) won't
  compile them all conditionally based on the Py_DEBUG setting today.
........

15 years agoBlocked revisions 77254 via svnmerge
Gregory P. Smith [Sat, 2 Jan 2010 22:44:17 +0000 (22:44 +0000)]
Blocked revisions 77254 via svnmerge

........
  r77254 | gregory.p.smith | 2010-01-02 14:42:50 -0800 (Sat, 02 Jan 2010) | 2 lines

  mention the r77252 change
........

15 years agoBlocked revisions 77252 via svnmerge
Gregory P. Smith [Sat, 2 Jan 2010 22:32:00 +0000 (22:32 +0000)]
Blocked revisions 77252 via svnmerge

........
  r77252 | gregory.p.smith | 2010-01-02 14:28:48 -0800 (Sat, 02 Jan 2010) | 5 lines

  Issue #3745: Undo the requirement for new buffer API only objects to be passed
  to hashlib functions in python 2.x.  The module now uses the 's*' for argument
  parsing which auto encodes unicode objects to the system default encoding for
  us.
........

15 years agoMerged revisions 77249 via svnmerge from
Antoine Pitrou [Sat, 2 Jan 2010 21:55:17 +0000 (21:55 +0000)]
Merged revisions 77249 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77249 | antoine.pitrou | 2010-01-02 22:53:44 +0100 (sam., 02 janv. 2010) | 3 lines

  Remove silly conditional.
........

15 years agoMerged revisions 77247 via svnmerge from
Antoine Pitrou [Sat, 2 Jan 2010 21:51:33 +0000 (21:51 +0000)]
Merged revisions 77247 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77247 | antoine.pitrou | 2010-01-02 22:47:10 +0100 (sam., 02 janv. 2010) | 5 lines

  Add tests for issue #7458: str.rfind() would crash when called with an invalid
  start value.  The offending code itself was removed as part of #7462.
  This patch by Victor Stinner.
........

15 years agoMerged revisions 77241 via svnmerge from
Antoine Pitrou [Sat, 2 Jan 2010 21:40:36 +0000 (21:40 +0000)]
Merged revisions 77241 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77241 | antoine.pitrou | 2010-01-02 22:12:58 +0100 (sam., 02 janv. 2010) | 4 lines

  Issue #7462: Implement the stringlib fast search algorithm for the `rfind`,
  `rindex`, `rsplit` and `rpartition` methods.  Patch by Florent Xicluna.
........

15 years agoMerged revisions 77242 via svnmerge from
Gregory P. Smith [Sat, 2 Jan 2010 21:32:29 +0000 (21:32 +0000)]
Merged revisions 77242 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77242 | gregory.p.smith | 2010-01-02 13:29:54 -0800 (Sat, 02 Jan 2010) | 3 lines

  Correct documentation for s* z* and w*, the argument that should be passed
  is the address of a Py_buffer, not a Py_buffer *.
........

15 years agoMerged revisions 77234 via svnmerge from
Mark Dickinson [Sat, 2 Jan 2010 15:33:56 +0000 (15:33 +0000)]
Merged revisions 77234 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77234 | mark.dickinson | 2010-01-02 14:45:40 +0000 (Sat, 02 Jan 2010) | 7 lines

  Refactor some longobject internals:  PyLong_AsDouble and _PyLong_AsScaledDouble
  (the latter renamed to _PyLong_Frexp) now use the same core code.  The
  exponent produced by _PyLong_Frexp now has type Py_ssize_t instead of the
  previously used int, and no longer needs scaling by PyLong_SHIFT.  This
  frees the math module from having to know anything about the PyLong
  implementation.  This closes issue #5576.
........

15 years ago#7592: remove duplicate description.
Georg Brandl [Sat, 2 Jan 2010 14:51:12 +0000 (14:51 +0000)]
#7592: remove duplicate description.

15 years agoMerged revisions 77230 via svnmerge from
Mark Dickinson [Sat, 2 Jan 2010 14:33:10 +0000 (14:33 +0000)]
Merged revisions 77230 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77230 | mark.dickinson | 2010-01-02 14:29:52 +0000 (Sat, 02 Jan 2010) | 1 line

  Clarify that the rect, phase and polar functions work with radians.
........

15 years agoMerged revisions 77226 via svnmerge from
Martin v. Löwis [Sat, 2 Jan 2010 10:06:19 +0000 (10:06 +0000)]
Merged revisions 77226 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77226 | martin.v.loewis | 2010-01-02 10:25:21 +0100 (Sa, 02 Jan 2010) | 2 lines

  Update Windows build to sqlite 3.6.21.
........

15 years agoBlocked revisions 77222 via svnmerge
Benjamin Peterson [Sat, 2 Jan 2010 02:45:52 +0000 (02:45 +0000)]
Blocked revisions 77222 via svnmerge

........
  r77222 | benjamin.peterson | 2010-01-01 20:43:04 -0600 (Fri, 01 Jan 2010) | 1 line

  remove use of deprecated os.popen #7619
........