Commit Graph

41871 Commits

Author SHA1 Message Date
Mark Dickinson 959f318af3 Blocked revisions 77477-77478,77481-77483,77490-77493 via svnmerge
........
  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.
........
2010-01-14 15:42:47 +00:00
Ezio Melotti 262c3ce507 Merged revisions 77487 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77487 | ezio.melotti | 2010-01-14 13:34:10 +0200 (Thu, 14 Jan 2010) | 1 line

  Fixed typo
........
2010-01-14 11:39:50 +00:00
Ezio Melotti 9fe1d8af48 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
........
2010-01-13 00:26:46 +00:00
Mark Dickinson c40969d323 Blocked revisions 77410,77421,77450-77451 via svnmerge
........
  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.
........
2010-01-12 23:10:40 +00:00
Alexandre Vassalotti 76168bc8ca Blocked revisions 77445 via svnmerge
........
  r77445 | alexandre.vassalotti | 2010-01-12 13:25:33 -0500 (Tue, 12 Jan 2010) | 2 lines

  Added documentation for dictionary views fixer.
........
2010-01-12 18:31:42 +00:00
Ezio Melotti 698037a232 Merged revisions 77442 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

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

  #5827: make sure that normpath preserves unicode
........
2010-01-12 03:38:53 +00:00
Alexandre Vassalotti 0d54bd5122 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.
........
2010-01-12 01:44:07 +00:00
R. David Murray 36b8ef4c61 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.
........
2010-01-12 01:00:35 +00:00
Tarek Ziadé eda9c0cbda Blocked revisions 77431 via svnmerge
........
  r77431 | tarek.ziade | 2010-01-12 00:41:32 +0100 (Tue, 12 Jan 2010) | 1 line

  module cleanup
........
2010-01-11 23:43:17 +00:00
Tarek Ziadé 06426fcb70 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
........
2010-01-11 22:54:57 +00:00
R. David Murray ea7e6bc0f2 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.
........
2010-01-10 19:02:16 +00:00
Senthil Kumaran 08ecfddf99 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:
........
2010-01-10 17:42:29 +00:00
Martin v. Löwis d875be0287 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.
........
2010-01-10 10:31:37 +00:00
Mark Dickinson 590092d31b 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.
........
2010-01-09 18:51:24 +00:00
Tarek Ziadé 53bfc1a4b3 added more test coverage from trunk for #7617 2010-01-08 23:54:15 +00:00
Tarek Ziadé 330a80c428 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
........
2010-01-08 23:48:37 +00:00
Tarek Ziadé f998341572 Merged revisions 75669-75671 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75669 | tarek.ziade | 2009-10-24 17:10:37 +0200 (Sat, 24 Oct 2009) | 1 line

  Issue #7071: byte-compilation in Distutils now looks at sys.dont_write_bytecode
........
  r75670 | tarek.ziade | 2009-10-24 17:19:03 +0200 (Sat, 24 Oct 2009) | 1 line

  fixed finally state in distutils.test_util
........
  r75671 | tarek.ziade | 2009-10-24 17:51:30 +0200 (Sat, 24 Oct 2009) | 1 line

  fixed warning and error message
........
2010-01-08 23:27:23 +00:00
Antoine Pitrou 0b074575b7 Merged revisions 77370 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  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.
........
2010-01-08 19:21:34 +00:00
Senthil Kumaran d3ffdb44c8 Fixing - Issue7026 - RuntimeError: dictionary changed size during iteration. Patch by flox. 2010-01-08 18:25:42 +00:00
Mark Dickinson e0f4be7e5d 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.
........
2010-01-08 16:56:36 +00:00
Antoine Pitrou 8dba727ce8 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!
........
2010-01-07 18:04:12 +00:00
Mark Dickinson a507072e54 Blocked revisions 77339 via svnmerge
........
  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.
........
2010-01-07 09:30:13 +00:00
R. David Murray 25617745c8 Move news item to correct section. 2010-01-06 20:13:39 +00:00
R. David Murray 981130bf93 Merged revisions 74245 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74245 | amaury.forgeotdarc | 2009-07-28 18:15:30 -0400 (Tue, 28 Jul 2009) | 3 lines

  #6511: ZipFile will now raise BadZipfile when opening an empty or tiny file,
  like it does for larger invalid files.
........
2010-01-06 20:08:02 +00:00
Mark Dickinson 8b1587fd63 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.
........
2010-01-06 16:21:27 +00:00
Benjamin Peterson 88a0b17d54 remove auto-numbered format fields 2010-01-06 00:55:21 +00:00
Ezio Melotti ed76861682 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
........
2010-01-04 21:51:09 +00:00
Mark Dickinson f3565a480e Blocked revisions 77302 via svnmerge
........
  r77302 | mark.dickinson | 2010-01-04 21:32:02 +0000 (Mon, 04 Jan 2010) | 1 line

  Fix typo in comment.
........
2010-01-04 21:32:33 +00:00
Georg Brandl bbd82e4123 Merged revisions 74225,77266,77279 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74225 | kurt.kaiser | 2009-07-27 18:09:28 +0200 (Mo, 27 Jul 2009) | 5 lines

  1. Clean workspace more thoughly before build.
  2. Add url of branch we are building to 'results' webpage.
     (url is now available in $repo_path, could be added to failure email.)
  3. Adjust permissions to improve upload reliability.
........
  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.
........
2010-01-03 14:18:52 +00:00
Mark Dickinson 4dc147a7d2 Blocked revisions 77275 via svnmerge
........
  r77275 | mark.dickinson | 2010-01-03 12:03:03 +0000 (Sun, 03 Jan 2010) | 1 line

  Make use of PyLong_AsLongAndOverflow in math_ldexp.
........
2010-01-03 12:17:28 +00:00
Ezio Melotti 8a6c2935d9 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:
........
2010-01-03 09:11:04 +00:00
Ezio Melotti 30565e9578 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
........
2010-01-03 09:04:19 +00:00
Gregory P. Smith 49605907b7 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 *.
........
2010-01-02 21:35:36 +00:00
Mark Dickinson e560d75a2a Blocked revisions 77234 via svnmerge
........
  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.
........
2010-01-02 14:46:08 +00:00
Mark Dickinson d73973fc73 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.
........
2010-01-02 14:31:13 +00:00
Benjamin Peterson de6cde658e Merged revisions 77222 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

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

  remove use of deprecated os.popen #7619
........
2010-01-02 02:44:28 +00:00
Mark Dickinson fc3286b640 Blocked revisions 77218 via svnmerge
........
  r77218 | mark.dickinson | 2010-01-01 17:27:30 +0000 (Fri, 01 Jan 2010) | 5 lines

  Issue #5080: turn the DeprecationWarning from float arguments passed
  to integer PyArg_Parse* format codes into a TypeError.  Add a
  DeprecationWarning for floats passed with the 'L' format code, which
  didn't previously have a warning.
........
2010-01-01 17:28:04 +00:00
Ezio Melotti 558a57a1f2 Merged revisions 77203-77204 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77203 | benjamin.peterson | 2010-01-01 06:00:55 +0200 (Fri, 01 Jan 2010) | 1 line

  update copyright year
........
  r77204 | ezio.melotti | 2010-01-01 06:16:42 +0200 (Fri, 01 Jan 2010) | 1 line

  more copyright year updates
........
2010-01-01 04:46:19 +00:00
Brett Cannon 1264f1effb Merged revisions 77198 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77198 | brett.cannon | 2009-12-31 17:44:57 -0800 (Thu, 31 Dec 2009) | 3 lines

  Add some missing command-line options to the main list. All but -V were already
  documented. Left -V undocumented for now (and -U was already undocumented).
........
2010-01-01 01:47:00 +00:00
Mark Dickinson caa44c057a Merged revisions 77193 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77193 | mark.dickinson | 2009-12-31 21:11:48 +0000 (Thu, 31 Dec 2009) | 1 line

  More configure fixes: avoid sh 'integer argument expected' error when 'long long' type doesn't exist.
........
2009-12-31 21:20:06 +00:00
Mark Dickinson d19e14347e Regenerate configure using GNU autoconf 2.61. 2009-12-31 21:17:29 +00:00
Mark Dickinson e9a92186d8 Blocked revisions 77189 via svnmerge
........
  r77189 | mark.dickinson | 2009-12-31 20:48:04 +0000 (Thu, 31 Dec 2009) | 1 line

  Add missing quotes.
........
2009-12-31 20:51:54 +00:00
Ezio Melotti 14cc13c9a3 Merged revisions 77181 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77181 | ezio.melotti | 2009-12-31 15:47:24 +0200 (Thu, 31 Dec 2009) | 1 line

  #7613: missing ) in flmodule.c
........
2009-12-31 13:49:19 +00:00
Benjamin Peterson bcf6ca1345 rewrite for inferior assertRaises 2009-12-30 23:15:14 +00:00
Benjamin Peterson 788864f483 Merged revisions 77157 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77157 | benjamin.peterson | 2009-12-30 13:34:10 -0600 (Wed, 30 Dec 2009) | 5 lines

  check if the attribute is set before deleting it with T_OBJECT_EX (fixes #7604)

  Also, add a note to the docs about the better behavior of T_OBJECT_EX as
  compared to T_OBJECT.
........
2009-12-30 19:41:48 +00:00
Georg Brandl 36d3da87d9 Merged revisions 77145 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77145 | georg.brandl | 2009-12-30 17:21:26 +0100 (Mi, 30 Dez 2009) | 1 line

  Use new Pygments version.
........
2009-12-30 16:23:42 +00:00
Mark Dickinson a6c0df768b Blocked revisions 77139-77140 via svnmerge
........
  r77139 | mark.dickinson | 2009-12-30 12:12:23 +0000 (Wed, 30 Dec 2009) | 3 lines

  Issue #7534:  Fix handling of nans, infinities, and negative zero in **
  operator, on IEEE 754 platforms.  Thanks Marcos Donolo for original patch.
........
  r77140 | mark.dickinson | 2009-12-30 12:22:49 +0000 (Wed, 30 Dec 2009) | 1 line

  Add Marcos Donolo for work on issue 7534 patch.
........
2009-12-30 12:26:22 +00:00
Benjamin Peterson 4f9ac83310 Merged revisions 77130 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77130 | benjamin.peterson | 2009-12-29 21:02:34 -0600 (Tue, 29 Dec 2009) | 1 line

  wrap long line
........
2009-12-30 03:04:02 +00:00
Benjamin Peterson 2cabbcfc5a Merged revisions 77128 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77128 | benjamin.peterson | 2009-12-29 20:58:50 -0600 (Tue, 29 Dec 2009) | 1 line

  only build the nis module when the headers are found #7589
........
2009-12-30 03:02:39 +00:00
Amaury Forgeot d'Arc 7682d04363 Merged revisions 77122 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77122 | amaury.forgeotdarc | 2009-12-29 23:03:38 +0100 (mar., 29 déc. 2009) | 3 lines

  #7413: Passing '\0' as the separator to datetime.datetime.isoformat()
  used to drop the time part of the result.
........
2009-12-29 22:39:49 +00:00