]>
granicus.if.org Git - python/log
Benjamin Peterson [Fri, 9 Jan 2009 03:03:23 +0000 (03:03 +0000)]
Merged revisions 68288-68291,68325-68326,68338,68388,68393,68423 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
................
r68288 | benjamin.peterson | 2009-01-03 18:39:07 -0600 (Sat, 03 Jan 2009) | 1 line
only check the actual compile() call for a SyntaxError
................
r68289 | georg.brandl | 2009-01-04 02:26:10 -0600 (Sun, 04 Jan 2009) | 2 lines
Test commit.
................
r68290 | georg.brandl | 2009-01-04 04:23:49 -0600 (Sun, 04 Jan 2009) | 4 lines
Add "suspicious" builder which finds leftover markup in the HTML files.
Patch by Gabriel Genellina.
................
r68291 | georg.brandl | 2009-01-04 04:24:09 -0600 (Sun, 04 Jan 2009) | 2 lines
Fix two issues found by the suspicious builder.
................
r68325 | benjamin.peterson | 2009-01-04 16:00:18 -0600 (Sun, 04 Jan 2009) | 1 line
use Jinja 2.1.1
................
r68326 | georg.brandl | 2009-01-04 16:03:10 -0600 (Sun, 04 Jan 2009) | 2 lines
Update make.bat.
................
r68338 | neal.norwitz | 2009-01-04 21:57:25 -0600 (Sun, 04 Jan 2009) | 1 line
Make sure to checkout any new packages
................
r68388 | benjamin.peterson | 2009-01-07 21:39:46 -0600 (Wed, 07 Jan 2009) | 1 line
string exceptions are gone
................
r68393 | benjamin.peterson | 2009-01-07 22:01:00 -0600 (Wed, 07 Jan 2009) | 1 line
use new sphinx modules
................
r68423 | benjamin.peterson | 2009-01-08 20:13:34 -0600 (Thu, 08 Jan 2009) | 29 lines
Merged revisions 68306-68308,68340,68368,68422 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r68306 | benjamin.peterson | 2009-01-04 12:27:19 -0600 (Sun, 04 Jan 2009) | 1 line
fix_urllib: add mappings for the url parsing functions
........
r68307 | benjamin.peterson | 2009-01-04 12:30:01 -0600 (Sun, 04 Jan 2009) | 1 line
remove duplicated function
........
r68308 | benjamin.peterson | 2009-01-04 12:50:34 -0600 (Sun, 04 Jan 2009) | 1 line
turtle is no longer renamed
........
r68340 | georg.brandl | 2009-01-05 02:11:39 -0600 (Mon, 05 Jan 2009) | 2 lines
Fix undefined locals in parse_tokens().
........
r68368 | benjamin.peterson | 2009-01-06 17:56:10 -0600 (Tue, 06 Jan 2009) | 1 line
fix typo (thanks to Robert Lehmann)
........
r68422 | benjamin.peterson | 2009-01-08 20:01:03 -0600 (Thu, 08 Jan 2009) | 1 line
run the imports fixers after fix_import, so fix_import doesn't try to make stdlib renames into relative imports #4876
........
................
Tarek Ziadé [Fri, 9 Jan 2009 00:15:45 +0000 (00:15 +0000)]
Merged revisions 68415 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68415 | tarek.ziade | 2009-01-09 00:56:31 +0100 (Fri, 09 Jan 2009) | 1 line
fixed #4394 make the storage of the password optional in .pypirc
........
Antoine Pitrou [Thu, 8 Jan 2009 21:17:16 +0000 (21:17 +0000)]
Issue #4751: hashlib now releases the GIL when hashing large buffers
(with a hardwired threshold of 2048 bytes), allowing better parallelization
on multi-CPU systems. Contributed by Lukas Lueg (ebfe) and Victor Stinner.
Raymond Hettinger [Thu, 8 Jan 2009 21:01:54 +0000 (21:01 +0000)]
Merge in r68394 fixing itertools.permutations() and combinations().
Thomas Heller [Thu, 8 Jan 2009 09:34:20 +0000 (09:34 +0000)]
Fixed a crash in ctypes, when HAVE_USABLE_WCHAR_T is false.
Fixes issue #4867.
Mark Dickinson [Wed, 7 Jan 2009 17:54:07 +0000 (17:54 +0000)]
Merged revisions 68378 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68378 | mark.dickinson | 2009-01-07 17:48:33 +0000 (Wed, 07 Jan 2009) | 2 lines
Issue #4869: clarify documentation for random.expovariate.
........
Hirokazu Yamamoto [Wed, 7 Jan 2009 10:11:17 +0000 (10:11 +0000)]
Merged revisions 68373 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68373 | hirokazu.yamamoto | 2009-01-07 18:42:28 +0900 | 2 lines
Issue #4864: test_msvc9compiler failed on VC6/7.
Reviewed by Amaury Forgeot d'Arc.
........
Antoine Pitrou [Tue, 6 Jan 2009 19:02:24 +0000 (19:02 +0000)]
Merged revisions 68360-68361 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68360 | antoine.pitrou | 2009-01-06 19:10:47 +0100 (mar., 06 janv. 2009) | 7 lines
Issue #
1180193 : When importing a module from a .pyc (or .pyo) file with
an existing .py counterpart, override the co_filename attributes of all
code objects if the original filename is obsolete (which can happen if the
file has been renamed, moved, or if it is accessed through different paths).
Patch by Ziga Seilnacht and Jean-Paul Calderone.
........
r68361 | antoine.pitrou | 2009-01-06 19:34:08 +0100 (mar., 06 janv. 2009) | 3 lines
Use shutil.rmtree rather than os.rmdir.
........
Raymond Hettinger [Tue, 6 Jan 2009 09:37:13 +0000 (09:37 +0000)]
Mini-optimization: use pack/unpack functions for argument tuples.
Mark Dickinson [Mon, 5 Jan 2009 17:10:09 +0000 (17:10 +0000)]
Merged revisions 68312 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68312 | mark.dickinson | 2009-01-04 20:19:41 +0000 (Sun, 04 Jan 2009) | 4 lines
It's wrong to use AC_REPLACE_FUNCS for hypot, since there's no longer any
Python/hypot.c replacement file. Use AC_CHECK_FUNCS instead. This change
should be backported to 2.6 and 3.0.
........
Mark Dickinson [Mon, 5 Jan 2009 17:08:27 +0000 (17:08 +0000)]
Merged revisions 68311 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68311 | mark.dickinson | 2009-01-04 19:53:00 +0000 (Sun, 04 Jan 2009) | 2 lines
Use C99 'isfinite' macro in preference to BSD-derived 'finite' function.
........
Georg Brandl [Sun, 4 Jan 2009 23:20:14 +0000 (23:20 +0000)]
#4614: document PyModule_Create and PyModuleDef struct.
Antoine Pitrou [Sun, 4 Jan 2009 21:37:59 +0000 (21:37 +0000)]
Merged revisions 68319 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68319 | antoine.pitrou | 2009-01-04 22:29:23 +0100 (dim., 04 janv. 2009) | 3 lines
Issue #4272: Add an optional argument to the GzipFile constructor to override the timestamp in the gzip stream.
........
Mark Dickinson [Sun, 4 Jan 2009 21:34:18 +0000 (21:34 +0000)]
Merged revisions 68317-68318 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68317 | mark.dickinson | 2009-01-04 21:22:02 +0000 (Sun, 04 Jan 2009) | 2 lines
More Python 2.3 compatibility fixes for decimal.py.
........
r68318 | mark.dickinson | 2009-01-04 21:25:40 +0000 (Sun, 04 Jan 2009) | 2 lines
Misc/NEWS entry for r68317
........
Mark Dickinson [Sun, 4 Jan 2009 21:17:43 +0000 (21:17 +0000)]
Merged revisions 68314 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68314 | mark.dickinson | 2009-01-04 21:10:56 +0000 (Sun, 04 Jan 2009) | 5 lines
Fix Decimal.from_float to use valid Python 2.3 syntax, as per
comments at top of decimal.py. (But note that the from_float
method itself with still not be usable before Python 2.7.)
See issue 4796 for discussion.
........
Antoine Pitrou [Sun, 4 Jan 2009 21:11:10 +0000 (21:11 +0000)]
Buglet: restore functioning of gzip as an executable when (de)compressing from stdin to stdout
Benjamin Peterson [Sun, 4 Jan 2009 18:53:28 +0000 (18:53 +0000)]
fix a lot of Tkinter imports
Mark Dickinson [Sun, 4 Jan 2009 17:02:56 +0000 (17:02 +0000)]
Merged revisions 68304 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68304 | mark.dickinson | 2009-01-04 17:02:05 +0000 (Sun, 04 Jan 2009) | 2 lines
Fix HAVE_DECL_ISINF/ISNAN test (again).
........
Mark Dickinson [Sun, 4 Jan 2009 16:41:08 +0000 (16:41 +0000)]
Merged revisions 68302 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68302 | mark.dickinson | 2009-01-04 16:06:40 +0000 (Sun, 04 Jan 2009) | 4 lines
Oops. Need to check not only that HAVE_DECL_ISINF is defined, but also
that it's equal to 1. (If isinf isn't defined, HAVE_DECL_ISINF is
defined to be 0, rather than being undefined.)
........
Benjamin Peterson [Sun, 4 Jan 2009 15:30:39 +0000 (15:30 +0000)]
#4826 exec() doesn't take a file object anymore
Mark Dickinson [Sun, 4 Jan 2009 15:09:02 +0000 (15:09 +0000)]
Merged revisions 68296,68299 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68296 | mark.dickinson | 2009-01-04 12:29:36 +0000 (Sun, 04 Jan 2009) | 6 lines
Add autoconf test to detect x87-style double rounding, as described in
issue #2937. This information can be helpful for diagnosing platform-
specific problems in math and cmath. The result of the test also
serves as a fairly reliable indicator of whether the x87 floating-point
instructions (as opposed to SSE2) are in use on Intel x86/x86_64 systems.
........
r68299 | mark.dickinson | 2009-01-04 13:57:26 +0000 (Sun, 04 Jan 2009) | 4 lines
isinf and isnan are macros, not functions; fix configure script
to use AC_CHECK_DECLS instead of AC_CHECK_FUNCS for these.
(See discussion in issue #4506)
........
Georg Brandl [Sun, 4 Jan 2009 00:28:14 +0000 (00:28 +0000)]
Remove 2.6 versionchanges, turn 2.7 ones into 3.1.
Antoine Pitrou [Sat, 3 Jan 2009 22:55:38 +0000 (22:55 +0000)]
test_urllib would set environment variable NO_PROXY without removing it afterwards.
Georg Brandl [Sat, 3 Jan 2009 22:48:18 +0000 (22:48 +0000)]
Blocked revisions 68179,68208-68209,68238,68240 via svnmerge
........
r68179 | raymond.hettinger | 2009-01-02 22:26:45 +0100 (Fri, 02 Jan 2009) | 1 line
Issue #4615. Document how to use itertools for de-duping.
........
r68208 | raymond.hettinger | 2009-01-03 20:02:23 +0100 (Sat, 03 Jan 2009) | 1 line
Issue 4796: Add from_float methods to the decimal module.
........
r68209 | raymond.hettinger | 2009-01-03 20:08:10 +0100 (Sat, 03 Jan 2009) | 1 line
Reapply r68191.
........
r68238 | georg.brandl | 2009-01-03 23:03:11 +0100 (Sat, 03 Jan 2009) | 2 lines
Manually merge r68095,68186,68187,68188,68190 from 2.6 branch.
........
r68240 | georg.brandl | 2009-01-03 23:05:22 +0100 (Sat, 03 Jan 2009) | 2 lines
Manually merge r67868 from 2.6 branch.
........
Georg Brandl [Sat, 3 Jan 2009 22:47:39 +0000 (22:47 +0000)]
Merged revisions 68162,68166,68171,68176,68195-68196,68210,68232 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68162 | ronald.oussoren | 2009-01-02 16:06:00 +0100 (Fri, 02 Jan 2009) | 3 lines
Fix for issue 4472 is incompatible with Cygwin, this patch
should fix that.
........
r68166 | benjamin.peterson | 2009-01-02 19:26:23 +0100 (Fri, 02 Jan 2009) | 1 line
document PyMemberDef
........
r68171 | georg.brandl | 2009-01-02 21:25:14 +0100 (Fri, 02 Jan 2009) | 3 lines
#4811: fix markup glitches (mostly remains of the conversion),
found by Gabriel Genellina.
........
r68176 | andrew.kuchling | 2009-01-02 22:00:35 +0100 (Fri, 02 Jan 2009) | 1 line
Add various items
........
r68195 | georg.brandl | 2009-01-03 14:45:15 +0100 (Sat, 03 Jan 2009) | 2 lines
Remove useless string literal.
........
r68196 | georg.brandl | 2009-01-03 15:29:53 +0100 (Sat, 03 Jan 2009) | 2 lines
Fix indentation.
........
r68210 | georg.brandl | 2009-01-03 20:10:12 +0100 (Sat, 03 Jan 2009) | 2 lines
Set eol-style correctly for mp_distributing.py.
........
r68232 | georg.brandl | 2009-01-03 22:52:16 +0100 (Sat, 03 Jan 2009) | 2 lines
Grammar fix.
........
Georg Brandl [Sat, 3 Jan 2009 22:37:17 +0000 (22:37 +0000)]
Blocked revisions 68150,68156,68158-68161,68163 via svnmerge
........
r68150 | ronald.oussoren | 2009-01-02 12:46:05 +0100 (Fri, 02 Jan 2009) | 1 line
Fix for issue 3433
........
r68156 | ronald.oussoren | 2009-01-02 15:10:20 +0100 (Fri, 02 Jan 2009) | 1 line
Fix for issue1594
........
r68158 | ronald.oussoren | 2009-01-02 15:46:19 +0100 (Fri, 02 Jan 2009) | 2 lines
Fix for issue 900949
........
r68159 | ronald.oussoren | 2009-01-02 15:48:17 +0100 (Fri, 02 Jan 2009) | 2 lines
Fix for issue
1627952
........
r68160 | ronald.oussoren | 2009-01-02 15:52:09 +0100 (Fri, 02 Jan 2009) | 2 lines
Fix for issue r1737832
........
r68161 | ronald.oussoren | 2009-01-02 16:00:05 +0100 (Fri, 02 Jan 2009) | 3 lines
Fix for issue
1149804
........
r68163 | ronald.oussoren | 2009-01-02 16:25:36 +0100 (Fri, 02 Jan 2009) | 2 lines
Fix for issues #841800 and #900506
........
Georg Brandl [Sat, 3 Jan 2009 22:33:39 +0000 (22:33 +0000)]
Merged revisions 68112,68115,68120,68133,68141-68142,68145-68146,68148-68149 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68112 | benjamin.peterson | 2009-01-01 00:48:39 +0100 (Thu, 01 Jan 2009) | 1 line
#4795 inspect.isgeneratorfunction() should return False instead of None
........
r68115 | benjamin.peterson | 2009-01-01 05:04:41 +0100 (Thu, 01 Jan 2009) | 1 line
simplfy code
........
r68120 | georg.brandl | 2009-01-01 13:15:31 +0100 (Thu, 01 Jan 2009) | 4 lines
#4228: Pack negative values the same way as 2.4
in struct's L format.
........
r68133 | antoine.pitrou | 2009-01-01 16:38:03 +0100 (Thu, 01 Jan 2009) | 1 line
fill in actual issue number in tests
........
r68141 | benjamin.peterson | 2009-01-01 17:43:12 +0100 (Thu, 01 Jan 2009) | 1 line
fix highlighting
........
r68142 | benjamin.peterson | 2009-01-01 18:29:49 +0100 (Thu, 01 Jan 2009) | 2 lines
welcome to 2009, Python!
........
r68145 | amaury.forgeotdarc | 2009-01-02 01:03:54 +0100 (Fri, 02 Jan 2009) | 5 lines
#4801 _collections module fails to build on cygwin.
_PyObject_GC_TRACK is the macro version of PyObject_GC_Track,
and according to documentation it should not be used for extension modules.
........
r68146 | ronald.oussoren | 2009-01-02 11:44:46 +0100 (Fri, 02 Jan 2009) | 2 lines
Fix for issue4472: "configure --enable-shared doesn't work on OSX"
........
r68148 | ronald.oussoren | 2009-01-02 11:48:31 +0100 (Fri, 02 Jan 2009) | 2 lines
Forgot to add a NEWS item in my previous checkin
........
r68149 | ronald.oussoren | 2009-01-02 11:50:48 +0100 (Fri, 02 Jan 2009) | 2 lines
Fix for issue4780
........
Guilherme Polo [Sat, 3 Jan 2009 22:13:31 +0000 (22:13 +0000)]
Forgot to remove no longer needed code since r68237
Georg Brandl [Sat, 3 Jan 2009 22:07:57 +0000 (22:07 +0000)]
Manually merge r68096,68189 from 3.0 branch.
Guilherme Polo [Sat, 3 Jan 2009 22:00:39 +0000 (22:00 +0000)]
Fix for issue #3638: Remove module level functions in _tkinter that
depend on TkappObject
Guilherme Polo [Sat, 3 Jan 2009 21:53:34 +0000 (21:53 +0000)]
Blocked revisions 68231 via svnmerge
........
r68231 | guilherme.polo | 2009-01-03 19:51:09 -0200 (Sat, 03 Jan 2009) | 4 lines
The _tkinter module functions "createfilehandler", "deletefilehandler",
"createtimerhandler", "mainloop", "dooneevent" and "quit" have been
deprecated for removal in 3.x (part of issue #3638).
........
Georg Brandl [Sat, 3 Jan 2009 21:31:47 +0000 (21:31 +0000)]
Fix a few remaining problems found by rstlint.
Georg Brandl [Sat, 3 Jan 2009 21:30:40 +0000 (21:30 +0000)]
Merged revisions 68222 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68222 | georg.brandl | 2009-01-03 22:11:58 +0100 (Sat, 03 Jan 2009) | 2 lines
Disable the line length checker by default.
........
Georg Brandl [Sat, 3 Jan 2009 21:26:05 +0000 (21:26 +0000)]
Merged revisions 68221 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68221 | georg.brandl | 2009-01-03 22:04:55 +0100 (Sat, 03 Jan 2009) | 2 lines
Remove tabs from the documentation.
........
Georg Brandl [Sat, 3 Jan 2009 21:18:54 +0000 (21:18 +0000)]
Remove trailing whitespace.
Georg Brandl [Sat, 3 Jan 2009 21:17:44 +0000 (21:17 +0000)]
Blocked revisions 68220 via svnmerge
........
r68220 | georg.brandl | 2009-01-03 21:55:06 +0100 (Sat, 03 Jan 2009) | 2 lines
Remove trailing whitespace.
........
Georg Brandl [Sat, 3 Jan 2009 21:17:04 +0000 (21:17 +0000)]
Merged revisions 68219 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68219 | georg.brandl | 2009-01-03 21:47:01 +0100 (Sat, 03 Jan 2009) | 2 lines
Fix uses of the default role.
........
Georg Brandl [Sat, 3 Jan 2009 21:15:20 +0000 (21:15 +0000)]
Merged revisions 68214-68215,68217-68218 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68214 | georg.brandl | 2009-01-03 20:44:48 +0100 (Sat, 03 Jan 2009) | 2 lines
Make indentation consistent.
........
r68215 | georg.brandl | 2009-01-03 21:15:14 +0100 (Sat, 03 Jan 2009) | 2 lines
Fix role name.
........
r68217 | georg.brandl | 2009-01-03 21:30:15 +0100 (Sat, 03 Jan 2009) | 2 lines
Add rstlint, a little tool to find subtle markup problems and inconsistencies in the Doc sources.
........
r68218 | georg.brandl | 2009-01-03 21:38:59 +0100 (Sat, 03 Jan 2009) | 2 lines
Recognize usage of the default role.
........
Antoine Pitrou [Sat, 3 Jan 2009 20:28:05 +0000 (20:28 +0000)]
Fix BytesWarning with -bb in wsgiref.headers.Headers.
Antoine Pitrou [Sat, 3 Jan 2009 19:20:36 +0000 (19:20 +0000)]
Issue #4822: fix messy indentation in memoryobject.c/.h, before we may backport it to trunk.
Reviewed on IRC by Georg Brandl, with assistance by Benjamin Peterson.
Raymond Hettinger [Sat, 3 Jan 2009 19:20:32 +0000 (19:20 +0000)]
Issue 4796: Add from_float methods to the decimal module.
Antoine Pitrou [Sat, 3 Jan 2009 18:49:41 +0000 (18:49 +0000)]
Actually make test_wsgiref independent from the Python version.
Antoine Pitrou [Sat, 3 Jan 2009 18:41:49 +0000 (18:41 +0000)]
Issue #4718: Adapt the wsgiref package so that it actually works with Python 3.x,
in accordance with http://www.wsgi.org/wsgi/Amendments_1.0
Martin v. Löwis [Sat, 3 Jan 2009 17:22:40 +0000 (17:22 +0000)]
Merged revisions 68203 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68203 | martin.v.loewis | 2009-01-03 18:19:26 +0100 (Sa, 03 Jan 2009) | 2 lines
Issue #4817: Remove unused function PyOS_GetLastModificationTime.
........
Antoine Pitrou [Sat, 3 Jan 2009 16:59:18 +0000 (16:59 +0000)]
Issue #4580: slicing of memoryviews when itemsize != 1 is wrong.
Also fix len() to return number of items rather than length in bytes.
I'm sorry it was not possible for me to work on this without reindenting
a bit some stuff around. The indentation in memoryobject.c is a mess,
I'll open a separate bug for it.
Benjamin Peterson [Sat, 3 Jan 2009 16:53:14 +0000 (16:53 +0000)]
Merged revisions 68197 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
................
r68197 | benjamin.peterson | 2009-01-03 10:34:02 -0600 (Sat, 03 Jan 2009) | 55 lines
Merged revisions 67900-67901,67919,67928,67984,67991-67993,68106-68108,68110 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r67900 | benjamin.peterson | 2008-12-22 14:02:45 -0600 (Mon, 22 Dec 2008) | 4 lines
fix_execfile: wrap the open(fn).read() call in compile(), so the filename is preserved
also add unittests for the fixer
........
r67901 | benjamin.peterson | 2008-12-22 14:09:55 -0600 (Mon, 22 Dec 2008) | 1 line
remove unused import
........
r67919 | benjamin.peterson | 2008-12-23 13:12:22 -0600 (Tue, 23 Dec 2008) | 1 line
copy permission bits from the backup to the original
........
r67928 | benjamin.peterson | 2008-12-26 20:49:30 -0600 (Fri, 26 Dec 2008) | 1 line
don't be so idiot about multiple local imports in fix_import; still won't handle absolute and local imports on the same line
........
r67984 | benjamin.peterson | 2008-12-28 09:55:16 -0600 (Sun, 28 Dec 2008) | 1 line
don't need loop
........
r67991 | benjamin.peterson | 2008-12-28 14:30:26 -0600 (Sun, 28 Dec 2008) | 1 line
actually call finish_tree()
........
r67992 | benjamin.peterson | 2008-12-28 14:34:47 -0600 (Sun, 28 Dec 2008) | 1 line
remove useless test
........
r67993 | benjamin.peterson | 2008-12-28 15:04:32 -0600 (Sun, 28 Dec 2008) | 1 line
update pyk3's test grammar
........
r68106 | benjamin.peterson | 2008-12-31 11:53:58 -0600 (Wed, 31 Dec 2008) | 1 line
#2734 don't convert every instance of long (eg if it's an attribute)
........
r68107 | benjamin.peterson | 2008-12-31 11:55:10 -0600 (Wed, 31 Dec 2008) | 1 line
add another test
........
r68108 | benjamin.peterson | 2008-12-31 12:00:12 -0600 (Wed, 31 Dec 2008) | 1 line
don't change long even if it's the only argument name
........
r68110 | benjamin.peterson | 2008-12-31 14:13:26 -0600 (Wed, 31 Dec 2008) | 1 line
remove unused import
........
................
Mark Dickinson [Sat, 3 Jan 2009 12:11:47 +0000 (12:11 +0000)]
Merged revisions 68191 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68191 | mark.dickinson | 2009-01-03 12:07:20 +0000 (Sat, 03 Jan 2009) | 2 lines
Issue #4812: further renaming of internal Decimal constants, for clarity.
........
Mark Dickinson [Fri, 2 Jan 2009 23:23:21 +0000 (23:23 +0000)]
Merged revisions 68182 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68182 | mark.dickinson | 2009-01-02 23:07:08 +0000 (Fri, 02 Jan 2009) | 4 lines
Issue #4812: add missing underscore prefix to some internal-use-only
constants in the decimal module. (Dec_0 becomes _Dec_0, etc.)
........
Raymond Hettinger [Fri, 2 Jan 2009 21:39:07 +0000 (21:39 +0000)]
Issue #4615. Document how to use itertools for de-duping.
Benjamin Peterson [Fri, 2 Jan 2009 21:24:04 +0000 (21:24 +0000)]
Merged revisions 68174 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68174 | benjamin.peterson | 2009-01-02 14:47:27 -0600 (Fri, 02 Jan 2009) | 1 line
fix compilation on non-Windows platforms
........
Martin v. Löwis [Fri, 2 Jan 2009 20:47:48 +0000 (20:47 +0000)]
Merged revisions 68172-68173 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68172 | martin.v.loewis | 2009-01-02 21:32:55 +0100 (Fr, 02 Jan 2009) | 2 lines
Issue #4075: Use OutputDebugStringW in Py_FatalError.
........
r68173 | martin.v.loewis | 2009-01-02 21:40:14 +0100 (Fr, 02 Jan 2009) | 2 lines
Issue #4051: Prevent conflict of UNICODE macros in cPickle.
........
Georg Brandl [Fri, 2 Jan 2009 20:10:05 +0000 (20:10 +0000)]
#4808: move old API below new API doc.
Georg Brandl [Fri, 2 Jan 2009 19:20:26 +0000 (19:20 +0000)]
Remove traces of Py_InitModule*.
Vinay Sajip [Fri, 2 Jan 2009 18:53:45 +0000 (18:53 +0000)]
Minor documentation changes relating to NullHandler, the module used for handlers and references to ConfigParser.
Antoine Pitrou [Fri, 2 Jan 2009 17:34:35 +0000 (17:34 +0000)]
Issue #4738: finer-grained locking in the zlib module.
Ronald Oussoren [Fri, 2 Jan 2009 13:10:34 +0000 (13:10 +0000)]
Recorded merge of revisions 68153 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68153 | ronald.oussoren | 2009-01-02 13:59:32 +0100 (Fri, 02 Jan 2009) | 10 lines
Fix for issue3559: No preferences menu in IDLE on OSX
1) Add a comment to the help file to that points to the
preferences menu.
2) An earlier checkin tried to detect Tk >= 8.10.14,
but did this in the wrong way. The end result of this
was that the IDLE->Preferences... menu got surpressed
when using the system version of Tcl/Tk
........
Ronald Oussoren [Fri, 2 Jan 2009 11:48:29 +0000 (11:48 +0000)]
Fix for issue 3433
Amaury Forgeot d'Arc [Thu, 1 Jan 2009 23:05:36 +0000 (23:05 +0000)]
#4747: on Windows, starting a module with a non-ascii filename would print a useless "SyntaxError: None"
when the script contains a "# coding:" declaration.
The Python API expects char* to be utf-8 encoded. wcstombs should be avoided here.
Reviewed by Benjamin. Will backport to 3.0
Hirokazu Yamamoto [Thu, 1 Jan 2009 16:09:52 +0000 (16:09 +0000)]
News fix. On py3k, `str' is unicode. should use `bytes'.
Hirokazu Yamamoto [Thu, 1 Jan 2009 16:03:45 +0000 (16:03 +0000)]
Merged revisions 68134 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68134 | hirokazu.yamamoto | 2009-01-02 00:45:39 +0900 | 2 lines
Issue #4797: IOError.filename was not set when _fileio.FileIO failed to open
file with `str' filename on Windows.
........
Georg Brandl [Thu, 1 Jan 2009 15:55:56 +0000 (15:55 +0000)]
Blocked revisions 67955 via svnmerge
........
r67955 | georg.brandl | 2008-12-27 19:27:53 +0100 (Sat, 27 Dec 2008) | 3 lines
Follow-up to r67746 in order to restore backwards-compatibility for
those who (monkey-)patch TextWrapper.wordsep_re with a custom RE.
........
Georg Brandl [Thu, 1 Jan 2009 15:53:14 +0000 (15:53 +0000)]
Merged revisions 67953 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r67953 | georg.brandl | 2008-12-27 19:20:04 +0100 (Sat, 27 Dec 2008) | 3 lines
Patch #4739 by David Laban: add symbols to pydoc help topics,
so that ``help('@')`` works as expected.
........
Georg Brandl [Thu, 1 Jan 2009 15:49:47 +0000 (15:49 +0000)]
Blocked revisions 67967,67980 via svnmerge
........
r67967 | benjamin.peterson | 2008-12-27 23:18:58 +0100 (Sat, 27 Dec 2008) | 1 line
fix markup
........
r67980 | antoine.pitrou | 2008-12-28 15:24:29 +0100 (Sun, 28 Dec 2008) | 1 line
wrong version number in doc changes committed in r67979
........
Antoine Pitrou [Thu, 1 Jan 2009 15:35:33 +0000 (15:35 +0000)]
Merged revisions 68128 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68128 | antoine.pitrou | 2009-01-01 15:11:22 +0100 (jeu., 01 janv. 2009) | 3 lines
Issue #3680: Reference cycles created through a dict, set or deque iterator did not get collected.
........
Benjamin Peterson [Thu, 1 Jan 2009 15:05:06 +0000 (15:05 +0000)]
Merged revisions 68116-68119,68121,68123-68127 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68116 | georg.brandl | 2009-01-01 05:46:51 -0600 (Thu, 01 Jan 2009) | 2 lines
#4100: note that element children are not necessarily present on "start" events.
........
r68117 | georg.brandl | 2009-01-01 05:53:55 -0600 (Thu, 01 Jan 2009) | 2 lines
#4156: make clear that "protocol" is to be replaced with the protocol name.
........
r68118 | georg.brandl | 2009-01-01 06:00:19 -0600 (Thu, 01 Jan 2009) | 2 lines
#4185: clarify escape behavior of replacement strings.
........
r68119 | georg.brandl | 2009-01-01 06:09:40 -0600 (Thu, 01 Jan 2009) | 3 lines
#4222: document dis.findlabels() and dis.findlinestarts() and
put them into dis.__all__.
........
r68121 | georg.brandl | 2009-01-01 06:43:33 -0600 (Thu, 01 Jan 2009) | 2 lines
Point to types module in new module deprecation notice.
........
r68123 | georg.brandl | 2009-01-01 06:52:29 -0600 (Thu, 01 Jan 2009) | 2 lines
#4784: ... on three counts ...
........
r68124 | georg.brandl | 2009-01-01 06:53:19 -0600 (Thu, 01 Jan 2009) | 2 lines
#4782: Fix markup error that hid load() and loads().
........
r68125 | georg.brandl | 2009-01-01 07:02:09 -0600 (Thu, 01 Jan 2009) | 2 lines
#4776: add data_files and package_dir arguments.
........
r68126 | georg.brandl | 2009-01-01 07:05:13 -0600 (Thu, 01 Jan 2009) | 2 lines
Handlers are in the `logging.handlers` module.
........
r68127 | georg.brandl | 2009-01-01 07:14:49 -0600 (Thu, 01 Jan 2009) | 2 lines
#4767: Use correct submodules for all MIME classes.
........
Benjamin Peterson [Thu, 1 Jan 2009 00:23:30 +0000 (00:23 +0000)]
Merged revisions 67952,67957-67958,67960-67961,67963,67973,67978,67995,68030,68057,68061 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r67952 | georg.brandl | 2008-12-27 11:42:40 -0600 (Sat, 27 Dec 2008) | 2 lines
#4752: actually use custom handler in example.
........
r67957 | georg.brandl | 2008-12-27 12:49:19 -0600 (Sat, 27 Dec 2008) | 2 lines
#4754: improve winsound documentation.
........
r67958 | georg.brandl | 2008-12-27 13:02:59 -0600 (Sat, 27 Dec 2008) | 2 lines
#4682: 'b' is actually unsigned char.
........
r67960 | georg.brandl | 2008-12-27 13:04:44 -0600 (Sat, 27 Dec 2008) | 2 lines
#4695: fix backslashery.
........
r67961 | georg.brandl | 2008-12-27 13:06:04 -0600 (Sat, 27 Dec 2008) | 2 lines
Use :samp: role.
........
r67963 | georg.brandl | 2008-12-27 13:11:15 -0600 (Sat, 27 Dec 2008) | 2 lines
#4671: document that pydoc imports modules.
........
r67973 | alexandre.vassalotti | 2008-12-27 20:58:22 -0600 (Sat, 27 Dec 2008) | 2 lines
Document Py_VaBuildValue.
........
r67978 | georg.brandl | 2008-12-28 05:58:49 -0600 (Sun, 28 Dec 2008) | 2 lines
#4731: clarify message about missing module prerequisites.
........
r67995 | benjamin.peterson | 2008-12-28 15:16:07 -0600 (Sun, 28 Dec 2008) | 1 line
#4763 PyErr_ExceptionMatches won't blow up with NULL arguments
........
r68030 | benjamin.peterson | 2008-12-29 15:38:14 -0600 (Mon, 29 Dec 2008) | 1 line
fix French
........
r68057 | vinay.sajip | 2008-12-30 01:01:25 -0600 (Tue, 30 Dec 2008) | 1 line
Minor documentation change relating to NullHandler.
........
r68061 | georg.brandl | 2008-12-30 04:15:49 -0600 (Tue, 30 Dec 2008) | 2 lines
#4778: attributes can't be called.
........
Benjamin Peterson [Wed, 31 Dec 2008 14:51:07 +0000 (14:51 +0000)]
#4406 Directory has to inherit from commondialog.Dialog
Hirokazu Yamamoto [Wed, 31 Dec 2008 06:05:46 +0000 (06:05 +0000)]
Merged revisions 68097,68099 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68097 | hirokazu.yamamoto | 2008-12-31 14:24:37 +0900 | 1 line
Fixed compile error on windows.
........
r68099 | hirokazu.yamamoto | 2008-12-31 14:47:19 +0900 | 1 line
Just inserted blank line.
........
Benjamin Peterson [Wed, 31 Dec 2008 04:13:40 +0000 (04:13 +0000)]
Blocked revisions 68092 via svnmerge
........
r68092 | benjamin.peterson | 2008-12-30 22:08:55 -0600 (Tue, 30 Dec 2008) | 1 line
fix name collision issues
........
Benjamin Peterson [Wed, 31 Dec 2008 04:10:35 +0000 (04:10 +0000)]
fix name usage
Benjamin Peterson [Wed, 31 Dec 2008 03:43:28 +0000 (03:43 +0000)]
#4788 qualify remove a bare except
Benjamin Peterson [Wed, 31 Dec 2008 03:41:35 +0000 (03:41 +0000)]
Blocked revisions 68089 via svnmerge
........
r68089 | benjamin.peterson | 2008-12-30 21:37:51 -0600 (Tue, 30 Dec 2008) | 1 line
#4788 qualify some bare except clauses
........
Tarek Ziadé [Tue, 30 Dec 2008 23:09:20 +0000 (23:09 +0000)]
Merged revisions 68081 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68081 | tarek.ziade | 2008-12-31 00:03:41 +0100 (Wed, 31 Dec 2008) | 1 line
Fixed #4702: Throwing DistutilsPlatformError instead of IOError under win32 if MSVC is not found
........
Benjamin Peterson [Tue, 30 Dec 2008 18:05:46 +0000 (18:05 +0000)]
use $(RUNSHARED) to run plat-mac/regen
Benjamin Peterson [Tue, 30 Dec 2008 17:56:45 +0000 (17:56 +0000)]
Merged revisions 67982,67988,67990 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r67982 | benjamin.peterson | 2008-12-28 09:37:31 -0600 (Sun, 28 Dec 2008) | 1 line
fix WORD_BIGEDIAN declaration in Universal builds; fixes #4060 and #4728
........
r67988 | ronald.oussoren | 2008-12-28 13:40:56 -0600 (Sun, 28 Dec 2008) | 1 line
Issue4064: architecture string for universal builds on OSX
........
r67990 | ronald.oussoren | 2008-12-28 13:50:40 -0600 (Sun, 28 Dec 2008) | 3 lines
Update the fix for issue4064 to deal correctly with all three variants of
universal builds that are presented by the configure script.
........
Ronald Oussoren [Tue, 30 Dec 2008 14:16:51 +0000 (14:16 +0000)]
Py3k: update OSX installer-generator
This update makes sure that the installer won't write files
in /usr/local/bin by default. The installer also won't
replace /Library/Frameworks/Python.framework/Version/Current.
Both to ensure that the installer doens't break an existing
install of python 2.x.
Ronald Oussoren [Tue, 30 Dec 2008 12:59:02 +0000 (12:59 +0000)]
Make it possible to install a framework build of Python 3.x on OSX.
This the build machinery on OSX to re-enable building (and installing)
PythonLauncher.app and IDLE.app.
This needs ports of fixes to Lib/distutils/util.py and Include/pymacconfig.h
to be fully functiontional, to be fully functional.
I also have a patch for Makefile.pre.in that I'll post on bugs.python.org
for review.
Vinay Sajip [Tue, 30 Dec 2008 07:32:59 +0000 (07:32 +0000)]
Minor documentation change relating to NullHandler.
Nick Coghlan [Tue, 30 Dec 2008 07:29:12 +0000 (07:29 +0000)]
Recorded merge of revisions 68051 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68051 | nick.coghlan | 2008-12-30 11:18:48 +1000 (Tue, 30 Dec 2008) | 1 line
Issue #4701: implicitly call PyType_Ready from PyObject_Hash
........
Tarek Ziadé [Mon, 29 Dec 2008 22:38:38 +0000 (22:38 +0000)]
Merged revisions 68033 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68033 | tarek.ziade | 2008-12-29 23:23:53 +0100 (Mon, 29 Dec 2008) | 1 line
fixed #4646 : distutils was choking on empty options arg in the setup function.
........
Benjamin Peterson [Mon, 29 Dec 2008 20:52:09 +0000 (20:52 +0000)]
hexdigest() doesn't return bytes #4771
Martin v. Löwis [Mon, 29 Dec 2008 18:43:40 +0000 (18:43 +0000)]
Issue #4323: Always encode source as UTF-8 without asking
the user (unless a different encoding is declared); remove
user configuration of source encoding; all according to
PEP 3120.
Martin v. Löwis [Mon, 29 Dec 2008 18:21:47 +0000 (18:21 +0000)]
Merged revisions 68018 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68018 | martin.v.loewis | 2008-12-29 19:17:34 +0100 (Mo, 29 Dez 2008) | 2 lines
Issue #
1040026 : Fix os.times result on systems where HZ is incorrect.
........
Benjamin Peterson [Mon, 29 Dec 2008 18:02:28 +0000 (18:02 +0000)]
Merged revisions 68016 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68016 | benjamin.peterson | 2008-12-29 11:56:58 -0600 (Mon, 29 Dec 2008) | 1 line
#4764 in io.open, set IOError.filename when trying to open a directory on POSIX platforms
........
Benjamin Peterson [Mon, 29 Dec 2008 17:50:07 +0000 (17:50 +0000)]
Blocked revisions 68014 via svnmerge
........
r68014 | benjamin.peterson | 2008-12-29 11:47:42 -0600 (Mon, 29 Dec 2008) | 1 line
#4764 set IOError.filename when trying to open a directory on POSIX platforms
........
Martin v. Löwis [Mon, 29 Dec 2008 16:27:13 +0000 (16:27 +0000)]
Merged revisions 68010 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68010 | martin.v.loewis | 2008-12-29 17:22:25 +0100 (Mo, 29 Dez 2008) | 2 lines
Issue #3767: Convert Tk object to string in tkColorChooser.
........
Martin v. Löwis [Mon, 29 Dec 2008 16:03:04 +0000 (16:03 +0000)]
Merged revisions 68006 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68006 | martin.v.loewis | 2008-12-29 16:51:01 +0100 (Mo, 29 Dez 2008) | 2 lines
Issue #3248: Allow placing ScrolledText in a PanedWindow.
........
Benjamin Peterson [Sun, 28 Dec 2008 15:44:55 +0000 (15:44 +0000)]
Blocked revisions 67976 via svnmerge
........
r67976 | georg.brandl | 2008-12-28 05:54:53 -0600 (Sun, 28 Dec 2008) | 7 lines
Backport r67974:
#4759: allow None as first argument of bytearray.translate(), for consistency with bytes.translate().
Also fix segfault for bytearray.translate(x, None) -- will backport this part to 3.0 and 2.6.
........
Antoine Pitrou [Sun, 28 Dec 2008 14:29:00 +0000 (14:29 +0000)]
Merged revisions 67979 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r67979 | antoine.pitrou | 2008-12-28 15:09:36 +0100 (dim., 28 déc. 2008) | 3 lines
Issue #4444: Allow assertRaises() to be used as a context handler.
........
Georg Brandl [Sun, 28 Dec 2008 11:44:14 +0000 (11:44 +0000)]
#4759: allow None as first argument of bytearray.translate(), for consistency with bytes.translate().
Also fix segfault for bytearray.translate(x, None) -- will backport this part to 3.0 and 2.6.
Alexandre Vassalotti [Sun, 28 Dec 2008 02:13:22 +0000 (02:13 +0000)]
Merged revisions 67970-67971 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r67970 | alexandre.vassalotti | 2008-12-27 20:52:58 -0500 (Sat, 27 Dec 2008) | 2 lines
Fix name mangling of PyUnicode_ClearFreeList.
........
r67971 | alexandre.vassalotti | 2008-12-27 21:10:35 -0500 (Sat, 27 Dec 2008) | 2 lines
Sort UCS-2/UCS-4 name mangling list.
........
Georg Brandl [Sat, 27 Dec 2008 23:33:20 +0000 (23:33 +0000)]
Document bytes.translate().
BTW, having str.maketrans() as a static method and
string.maketrans() as a function that creates translation tables for bytes objects is not very consistent :)
Georg Brandl [Sat, 27 Dec 2008 23:12:09 +0000 (23:12 +0000)]
Remove confusing error message in bytes.translate.
Antoine Pitrou [Sat, 27 Dec 2008 20:39:28 +0000 (20:39 +0000)]
Merged revisions 67965 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r67965 | antoine.pitrou | 2008-12-27 21:34:52 +0100 (sam., 27 déc. 2008) | 3 lines
Issue #4677: add two list comprehension tests to pybench.
........
Alexandre Vassalotti [Sat, 27 Dec 2008 19:46:35 +0000 (19:46 +0000)]
Revert unwanted function name change introduced by r67939.
Georg Brandl [Sat, 27 Dec 2008 19:08:11 +0000 (19:08 +0000)]
#4697: clarify that the functions are Unix-only.
Benjamin Peterson [Sat, 27 Dec 2008 19:03:36 +0000 (19:03 +0000)]
Merged revisions 67954 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r67954 | benjamin.peterson | 2008-12-27 12:24:11 -0600 (Sat, 27 Dec 2008) | 1 line
#4748 lambda generators shouldn't return values
........
Benjamin Peterson [Sat, 27 Dec 2008 18:35:25 +0000 (18:35 +0000)]
fix svnmerge properties
Benjamin Peterson [Sat, 27 Dec 2008 17:00:44 +0000 (17:00 +0000)]
fix 2.x isms in distutils test
Benjamin Peterson [Sat, 27 Dec 2008 16:58:50 +0000 (16:58 +0000)]
fix syntax