]>
granicus.if.org Git - python/log
Frank Wierzbicki [Sun, 16 Aug 2009 20:30:12 +0000 (20:30 +0000)]
Merged revisions 74477 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74477 | frank.wierzbicki | 2009-08-16 16:22:51 -0400 (Sun, 16 Aug 2009) | 2 lines
Add test of file.write(array) extracted from Jython.
........
Gregory P. Smith [Sun, 16 Aug 2009 18:58:46 +0000 (18:58 +0000)]
Merged revisions 74475 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74475 | gregory.p.smith | 2009-08-16 11:52:58 -0700 (Sun, 16 Aug 2009) | 2 lines
Issue 6665: Fix fnmatch to properly match filenames with newlines in them.
........
Guilherme Polo [Sun, 16 Aug 2009 14:46:16 +0000 (14:46 +0000)]
Moved entry about issue #1135 to the proper place.
Guilherme Polo [Sun, 16 Aug 2009 14:44:14 +0000 (14:44 +0000)]
Merged revisions 74471-74472 via svnmerge from
svn+ssh://pythondev/python/trunk
........
r74471 | guilherme.polo | 2009-08-16 11:34:26 -0300 (Sun, 16 Aug 2009) | 1 line
Issue #6244: Allow detect_tkinter to look for Tcl/Tk 8.6.
........
r74472 | guilherme.polo | 2009-08-16 11:38:57 -0300 (Sun, 16 Aug 2009) | 1 line
Wrong place for issue #6244.
........
Senthil Kumaran [Sun, 16 Aug 2009 06:43:50 +0000 (06:43 +0000)]
Fixing Issue6711 - macurl2path has typos that raise AttributeError
Vinay Sajip [Sat, 15 Aug 2009 23:35:08 +0000 (23:35 +0000)]
Refined section on logging to one file from multiple processes.
Vinay Sajip [Sat, 15 Aug 2009 23:23:37 +0000 (23:23 +0000)]
Added section on logging to one file from multiple processes.
Benjamin Peterson [Sat, 15 Aug 2009 14:08:53 +0000 (14:08 +0000)]
Blocked revisions 74445 via svnmerge
........
r74445 | vinay.sajip | 2009-08-14 06:33:54 -0500 (Fri, 14 Aug 2009) | 1 line
Added versionchanged notices for optional 'delay' parameter to file handler classes.
........
Benjamin Peterson [Sat, 15 Aug 2009 13:23:05 +0000 (13:23 +0000)]
Merged revisions 74457 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74457 | benjamin.peterson | 2009-08-15 08:16:38 -0500 (Sat, 15 Aug 2009) | 1 line
#6707 fix a crash with dir() on an uninitialized module
........
Guilherme Polo [Fri, 14 Aug 2009 15:05:30 +0000 (15:05 +0000)]
Merged revisions 74446-74449 via svnmerge from
svn+ssh://pythondev/python/trunk
........
r74446 | guilherme.polo | 2009-08-14 10:53:41 -0300 (Fri, 14 Aug 2009) | 1 line
Issue #3344: Replace itertools.count by enumerate.
........
r74447 | guilherme.polo | 2009-08-14 11:03:07 -0300 (Fri, 14 Aug 2009) | 1 line
Issue #3926: Fix the usage of the new showwarnings and formatwarning.
........
r74448 | guilherme.polo | 2009-08-14 11:36:45 -0300 (Fri, 14 Aug 2009) | 3 lines
Issue #1135: Add the XView and YView mix-ins to avoid duplicating
the xview* and yview* methods.
........
r74449 | guilherme.polo | 2009-08-14 11:43:43 -0300 (Fri, 14 Aug 2009) | 1 line
Clarifying Entry.selection_present's docstring.
........
Georg Brandl [Fri, 14 Aug 2009 08:12:14 +0000 (08:12 +0000)]
Recorded merge of revisions 74429 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74429 | brett.cannon | 2009-08-13 21:27:12 +0200 (Do, 13 Aug 2009) | 5 lines
Expat could crash if given the wrong kind of input by never stopping its
tokenizing step.
Thanks to Ivan Krstić for the patch.
........
Brett Cannon [Thu, 13 Aug 2009 19:58:01 +0000 (19:58 +0000)]
Backport of r77429. Not merged/blocked as svnmerge.py is not liking me right now.
Georg Brandl [Thu, 13 Aug 2009 12:58:30 +0000 (12:58 +0000)]
Merged revisions 74411 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74411 | georg.brandl | 2009-08-13 14:57:25 +0200 (Do, 13 Aug 2009) | 2 lines
Remove potentially confusing sentence in __mangling description.
........
Georg Brandl [Thu, 13 Aug 2009 12:06:43 +0000 (12:06 +0000)]
Merged revisions 74404 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74404 | georg.brandl | 2009-08-13 14:05:52 +0200 (Do, 13 Aug 2009) | 1 line
Use locale.format_string() for more than one specifier.
........
Georg Brandl [Thu, 13 Aug 2009 11:55:03 +0000 (11:55 +0000)]
Fix duplicate sentence.
Georg Brandl [Thu, 13 Aug 2009 09:16:39 +0000 (09:16 +0000)]
#6694: fix old function names.
Georg Brandl [Thu, 13 Aug 2009 07:56:35 +0000 (07:56 +0000)]
Merged revisions 74328,74332-74333,74365 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74328 | georg.brandl | 2009-08-06 17:06:25 +0200 (Do, 06 Aug 2009) | 1 line
Fix base keyword arg name for int() and long().
........
r74332 | georg.brandl | 2009-08-06 19:23:21 +0200 (Do, 06 Aug 2009) | 1 line
Fix punctuation and one copy-paste error.
........
r74333 | georg.brandl | 2009-08-06 19:43:55 +0200 (Do, 06 Aug 2009) | 1 line
#6658: fix two typos.
........
r74365 | georg.brandl | 2009-08-13 09:48:05 +0200 (Do, 13 Aug 2009) | 1 line
#6679: Remove mention that sub supports no flags.
........
Georg Brandl [Thu, 13 Aug 2009 07:50:57 +0000 (07:50 +0000)]
#6126: fix pdb stepping and breakpoints by giving the executed code the correct filename; this used execfile() in 2.x which did this automatically.
Benjamin Peterson [Wed, 12 Aug 2009 18:18:03 +0000 (18:18 +0000)]
search through db.h in binary #6680
Benjamin Peterson [Wed, 12 Aug 2009 18:11:03 +0000 (18:11 +0000)]
fix typo in c++ ifdef
Antoine Pitrou [Thu, 6 Aug 2009 21:00:37 +0000 (21:00 +0000)]
Fix typo
Antoine Pitrou [Thu, 6 Aug 2009 20:29:56 +0000 (20:29 +0000)]
Merged revisions 74336 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74336 | antoine.pitrou | 2009-08-06 22:18:29 +0200 (jeu., 06 août 2009) | 8 lines
Issue #6629: Fix a data corruption issue in the new `io` package, which could
occur when writing to a BufferedRandom object (e.g. a file opened in "rb+" or
"wb+" mode) after having buffered a certain amount of data for reading. This
bug was not present in the pure Python implementation.
Yes, this is a serious issue.
........
Philip Jenvey [Thu, 6 Aug 2009 20:00:08 +0000 (20:00 +0000)]
typo
Georg Brandl [Thu, 6 Aug 2009 17:51:03 +0000 (17:51 +0000)]
#6648: mention surrogateescape handler where all standard handlers are listed.
Mark Dickinson [Thu, 6 Aug 2009 16:06:25 +0000 (16:06 +0000)]
Issue #6622: Fix 'variable referenced before assignment' bug in POP3.apop.
Thanks Vincent Legoll.
Alexandre Vassalotti [Tue, 4 Aug 2009 23:19:13 +0000 (23:19 +0000)]
Issue 5449: Fix io.BytesIO to not accept arbitrary keywords
Patch contributed by Erick Tryzelaar.
Mark Dickinson [Tue, 4 Aug 2009 21:57:18 +0000 (21:57 +0000)]
Merged revisions 74312 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74312 | mark.dickinson | 2009-08-04 22:56:04 +0100 (Tue, 04 Aug 2009) | 4 lines
Issue #6620: Slightly safer code for _grouping_intervals in the locale
module. Fixes a 'possible use before assignment' warning from pylint.
Thanks Vincent Legoll.
........
Georg Brandl [Tue, 4 Aug 2009 20:29:27 +0000 (20:29 +0000)]
Slightly improve buffer-related error message.
Georg Brandl [Tue, 4 Aug 2009 20:25:54 +0000 (20:25 +0000)]
Merged revisions 74307 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74307 | georg.brandl | 2009-08-04 22:22:43 +0200 (Di, 04 Aug 2009) | 1 line
Add donation link to docs footer.
........
Mark Dickinson [Tue, 4 Aug 2009 19:25:12 +0000 (19:25 +0000)]
Merged revisions 74303 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74303 | mark.dickinson | 2009-08-04 20:22:35 +0100 (Tue, 04 Aug 2009) | 2 lines
Issue #6644: Fix compile error on AIX.
........
Raymond Hettinger [Tue, 4 Aug 2009 19:16:39 +0000 (19:16 +0000)]
Issue 6637: defaultdict.copy() failed with an empty factory.
Georg Brandl [Mon, 3 Aug 2009 17:50:20 +0000 (17:50 +0000)]
#6618: fix invalid 3k syntax.
Frank Wierzbicki [Sun, 2 Aug 2009 22:19:05 +0000 (22:19 +0000)]
Merged revisions 74291 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74291 | frank.wierzbicki | 2009-08-02 16:37:48 -0400 (Sun, 02 Aug 2009) | 6 lines
Adding tests derived from the Jython project. These are primarily tests of
'single' statements with partial sentences (so they test things like "try:" in
interactive mode). Others tests hit areas that previously failed in Jython. A
couple still fail in Jython, mainly due to the difficulty of parsing partial
sentences (but should be fixed by Jython 2.6).
........
Mark Dickinson [Sun, 2 Aug 2009 20:08:54 +0000 (20:08 +0000)]
Issues #2715, #6621: Remove unused and undefined references to FSSpec
from binhex module. Thanks Vincent Legoll.
Mark Dickinson [Sun, 2 Aug 2009 15:51:19 +0000 (15:51 +0000)]
Merged revisions 74285 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74285 | mark.dickinson | 2009-08-02 16:40:11 +0100 (Sun, 02 Aug 2009) | 3 lines
Issue #6619: Remove duplicate 'isgenerator' function from inspect module.
Thanks Vincent Legoll.
........
Mark Dickinson [Sun, 2 Aug 2009 11:02:05 +0000 (11:02 +0000)]
Blocked revisions 74281 via svnmerge
........
r74281 | mark.dickinson | 2009-08-02 11:59:36 +0100 (Sun, 02 Aug 2009) | 4 lines
Issue #6595: Allow Decimal constructor to accept non-European decimal
digits, as recommended by the specification. (Backport of r74279 from
py3k.)
........
Mark Dickinson [Sun, 2 Aug 2009 10:14:23 +0000 (10:14 +0000)]
Issue #6595: Allow Decimal constructor to accept non-European decimal digits, as recommended by the specification.
Sean Reifscheider [Sat, 1 Aug 2009 23:55:06 +0000 (23:55 +0000)]
- Issue #6624: yArg_ParseTuple with "s" format when parsing argument with
NUL: Bogus TypeError detail string.
Eric Smith [Thu, 30 Jul 2009 13:43:08 +0000 (13:43 +0000)]
Merged revisions 74269 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74269 | eric.smith | 2009-07-30 09:39:44 -0400 (Thu, 30 Jul 2009) | 1 line
Issue 6330: Fix --enable-unicode=ucs4.
........
Mark Dickinson [Thu, 30 Jul 2009 10:02:09 +0000 (10:02 +0000)]
Merged revisions 74265 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74265 | mark.dickinson | 2009-07-30 11:00:10 +0100 (Thu, 30 Jul 2009) | 1 line
Documentation fix for change introduced in r71832
........
Alexandre Vassalotti [Wed, 29 Jul 2009 20:12:15 +0000 (20:12 +0000)]
Merged revisions 74075,74187,74197,74201,74216,74225 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74075 | georg.brandl | 2009-07-18 05:06:31 -0400 (Sat, 18 Jul 2009) | 1 line
#6505: fix typos.
........
r74187 | benjamin.peterson | 2009-07-23 10:19:08 -0400 (Thu, 23 Jul 2009) | 1 line
use bools for autoraise
........
r74197 | benjamin.peterson | 2009-07-24 22:03:48 -0400 (Fri, 24 Jul 2009) | 1 line
clarify
........
r74201 | amaury.forgeotdarc | 2009-07-25 12:22:06 -0400 (Sat, 25 Jul 2009) | 2 lines
Better name a variable: 'buf' seems to imply a mutable buffer.
........
r74216 | michael.foord | 2009-07-26 17:12:14 -0400 (Sun, 26 Jul 2009) | 1 line
Issue 6581. Michael Foord
........
r74225 | kurt.kaiser | 2009-07-27 12:09:28 -0400 (Mon, 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.
........
Alexandre Vassalotti [Wed, 29 Jul 2009 20:00:39 +0000 (20:00 +0000)]
Blocked revisions 74134,74147 via svnmerge
........
r74134 | thomas.heller | 2009-07-21 02:27:14 -0400 (Tue, 21 Jul 2009) | 3 lines
Issue #6493: Fix a ctypes problem setting bitfields more than 31 bits
wide.
........
r74147 | thomas.heller | 2009-07-21 15:04:02 -0400 (Tue, 21 Jul 2009) | 1 line
Revert rev 74134, as it does not completely fixx issue #6493.
........
Alexandre Vassalotti [Wed, 29 Jul 2009 19:54:39 +0000 (19:54 +0000)]
Merged revisions 74074,74077,74111,74188,74192-74193,74200,74252-74253,74258-74261 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74074 | georg.brandl | 2009-07-18 05:03:10 -0400 (Sat, 18 Jul 2009) | 1 line
#6513: fix example code: warning categories are classes, not instances.
........
r74077 | georg.brandl | 2009-07-18 05:43:40 -0400 (Sat, 18 Jul 2009) | 1 line
#6489: fix an ambiguity in getiterator() documentation.
........
r74111 | benjamin.peterson | 2009-07-20 09:30:10 -0400 (Mon, 20 Jul 2009) | 1 line
remove docs for deprecated -p option
........
r74188 | benjamin.peterson | 2009-07-23 10:25:31 -0400 (Thu, 23 Jul 2009) | 1 line
use bools
........
r74192 | georg.brandl | 2009-07-24 12:28:38 -0400 (Fri, 24 Jul 2009) | 1 line
Fix arg types of et#.
........
r74193 | georg.brandl | 2009-07-24 12:46:38 -0400 (Fri, 24 Jul 2009) | 1 line
Dont put "void" in signature for nullary functions.
........
r74200 | georg.brandl | 2009-07-25 09:02:15 -0400 (Sat, 25 Jul 2009) | 1 line
#6571: add index entries for more operators.
........
r74252 | georg.brandl | 2009-07-29 12:06:31 -0400 (Wed, 29 Jul 2009) | 1 line
#6593: fix link targets.
........
r74253 | georg.brandl | 2009-07-29 12:09:17 -0400 (Wed, 29 Jul 2009) | 1 line
#6591: add reference to ioctl in fcntl module for platforms other than Windows.
........
r74258 | georg.brandl | 2009-07-29 12:57:05 -0400 (Wed, 29 Jul 2009) | 1 line
Add a link to readline, and mention IPython and bpython.
........
r74259 | georg.brandl | 2009-07-29 13:07:21 -0400 (Wed, 29 Jul 2009) | 1 line
Fix some markup and small factual glitches found by M. Markert.
........
r74260 | georg.brandl | 2009-07-29 13:15:20 -0400 (Wed, 29 Jul 2009) | 1 line
Fix a few markup glitches.
........
r74261 | georg.brandl | 2009-07-29 13:50:25 -0400 (Wed, 29 Jul 2009) | 1 line
Rewrite the section about classes a bit; mostly tidbits, and a larger update to the section about "private" variables to reflect the Pythonic consensus better.
........
Georg Brandl [Wed, 29 Jul 2009 16:33:19 +0000 (16:33 +0000)]
Blocked revisions 74256 via svnmerge
........
r74256 | georg.brandl | 2009-07-29 16:32:30 +0000 (Mi, 29 Jul 2009) | 1 line
#6336: Add nb_divide.
........
Georg Brandl [Wed, 29 Jul 2009 16:14:16 +0000 (16:14 +0000)]
#6586: fix return/argument type doc for os.read() and os.write().
R. David Murray [Wed, 29 Jul 2009 14:12:23 +0000 (14:12 +0000)]
Recorded merge of revisions 74228 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
Applied in r74226.
........
r74228 | raymond.hettinger | 2009-07-27 16:32:04 -0400 (Mon, 27 Jul 2009) | 1 line
Issue 6573: Fix set.union() for cases where self is in the argument chain.
........
Georg Brandl [Wed, 29 Jul 2009 07:27:08 +0000 (07:27 +0000)]
Merged revisions 74239 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74239 | georg.brandl | 2009-07-28 18:55:32 +0000 (Di, 28 Jul 2009) | 1 line
Clarify quote_plus() usage.
........
Amaury Forgeot d'Arc [Tue, 28 Jul 2009 22:18:57 +0000 (22:18 +0000)]
Merged revisions 74245 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74245 | amaury.forgeotdarc | 2009-07-29 00:15:30 +0200 (mer., 29 juil. 2009) | 3 lines
#6511: ZipFile will now raise BadZipfile when opening an empty or tiny file,
like it does for larger invalid files.
........
Amaury Forgeot d'Arc [Tue, 28 Jul 2009 21:32:43 +0000 (21:32 +0000)]
Blocked revisions 74243 via svnmerge
........
r74243 | amaury.forgeotdarc | 2009-07-28 22:47:55 +0200 (mar., 28 juil. 2009) | 2 lines
"Fix" for the refleak report: the ABC classes are now in the _pyio module
........
Mark Dickinson [Tue, 28 Jul 2009 20:36:23 +0000 (20:36 +0000)]
Blocked revisions 74240 via svnmerge
........
r74240 | mark.dickinson | 2009-07-28 21:35:03 +0100 (Tue, 28 Jul 2009) | 4 lines
Issue #6561: '\d' regular expression should not match characters of
category [No]; only those of category [Nd]. (Backport of r74237
from py3k.)
........
Mark Dickinson [Tue, 28 Jul 2009 17:22:36 +0000 (17:22 +0000)]
Issue #6561: '\d' in a regular expression should match only Unicode
character category [Nd], not [No].
Mark Dickinson [Tue, 28 Jul 2009 16:46:53 +0000 (16:46 +0000)]
Blocked revisions 74234 via svnmerge
........
r74234 | mark.dickinson | 2009-07-28 17:45:13 +0100 (Tue, 28 Jul 2009) | 1 line
Remove leading blank line from cmath.rst
........
Mark Dickinson [Tue, 28 Jul 2009 16:31:03 +0000 (16:31 +0000)]
Merged revisions 74184,74230 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74184 | georg.brandl | 2009-07-23 08:08:58 +0100 (Thu, 23 Jul 2009) | 1 line
#6548: dont suggest existence of real and imag functions in cmath.
........
r74230 | mark.dickinson | 2009-07-28 17:12:40 +0100 (Tue, 28 Jul 2009) | 4 lines
Issue #6458: Reorganize cmath documentation into sections (similar to
the way that the math documentation is organized); clarify section on
conversions to and from polar coordinates.
........
Raymond Hettinger [Mon, 27 Jul 2009 20:16:37 +0000 (20:16 +0000)]
Issue 6573: Fix set.union() for cases where self is in the argument chain.
Jack Diederich [Mon, 27 Jul 2009 09:03:14 +0000 (09:03 +0000)]
- belated ACK for issue #6106
Eric Smith [Mon, 27 Jul 2009 02:10:42 +0000 (02:10 +0000)]
Sync trunk and py3k versions of string formatting. Manual merge of r74219.
Eric Smith [Mon, 27 Jul 2009 02:00:11 +0000 (02:00 +0000)]
Blocked revisions 74219 via svnmerge
........
r74219 | eric.smith | 2009-07-26 21:58:25 -0400 (Sun, 26 Jul 2009) | 1 line
Sync trunk and py3k versions of string formatting. Will manually merge into py3k.
........
Jack Diederich [Sun, 26 Jul 2009 22:23:04 +0000 (22:23 +0000)]
- fix issue #6106, Telnet.process_rawq default handling of WILL/WONT/DO/DONT
Georg Brandl [Sun, 26 Jul 2009 15:03:49 +0000 (15:03 +0000)]
Merged revisions 74205 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74205 | georg.brandl | 2009-07-26 15:36:39 +0200 (So, 26 Jul 2009) | 1 line
#6576: fix cross-refs in re docs.
........
Georg Brandl [Sun, 26 Jul 2009 15:02:41 +0000 (15:02 +0000)]
Merged revisions 74207 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74207 | georg.brandl | 2009-07-26 16:19:57 +0200 (So, 26 Jul 2009) | 1 line
#6577: fix (hopefully) all links to builtin instead of module/class-specific objects.
........
Georg Brandl [Sun, 26 Jul 2009 14:54:51 +0000 (14:54 +0000)]
Merged revisions 74209 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74209 | georg.brandl | 2009-07-26 16:37:28 +0200 (So, 26 Jul 2009) | 1 line
builtin -> built-in.
........
Georg Brandl [Sun, 26 Jul 2009 14:48:09 +0000 (14:48 +0000)]
Recorded merge of revisions 74210 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74210 | georg.brandl | 2009-07-26 16:44:23 +0200 (So, 26 Jul 2009) | 1 line
Move member descriptions inside the classes.
........
Senthil Kumaran [Sun, 26 Jul 2009 04:46:00 +0000 (04:46 +0000)]
Fixing module names in the NEWS entry.
Senthil Kumaran [Sat, 25 Jul 2009 04:27:38 +0000 (04:27 +0000)]
versionadded: 3.2. not 3.1.
Senthil Kumaran [Sat, 25 Jul 2009 04:24:38 +0000 (04:24 +0000)]
Fixed Issue1424152 in Py3k: urllib2 fails with HTTPS over Proxy.
Benjamin Peterson [Sat, 25 Jul 2009 01:02:01 +0000 (01:02 +0000)]
account for range() py3k change
Georg Brandl [Fri, 24 Jul 2009 20:13:37 +0000 (20:13 +0000)]
Blocked revisions 74194 via svnmerge
........
r74194 | georg.brandl | 2009-07-24 22:09:46 +0200 (Fr, 24 Jul 2009) | 1 line
#6564: fix section about the two raise syntaxes.
........
Amaury Forgeot d'Arc [Thu, 23 Jul 2009 22:34:27 +0000 (22:34 +0000)]
Blocked revisions 74189 via svnmerge
........
r74189 | amaury.forgeotdarc | 2009-07-23 21:26:02 +0200 (jeu., 23 juil. 2009) | 4 lines
#6553: crash in cPickle.load(), when given a StringIO with incomplete data.
Will backport to 2.6, 3.x already fixed a similar issue with issue4298.
........
Georg Brandl [Thu, 23 Jul 2009 09:19:09 +0000 (09:19 +0000)]
Recorded merge of revisions 74185 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74185 | georg.brandl | 2009-07-23 11:17:09 +0200 (Do, 23 Jul 2009) | 1 line
Fix the "pylocals" gdb command.
........
Alexandre Vassalotti [Wed, 22 Jul 2009 23:27:17 +0000 (23:27 +0000)]
Specialize assertTrue checks when possible.
We should get slightly more helpful failure messages with this change.
Alexandre Vassalotti [Wed, 22 Jul 2009 21:29:01 +0000 (21:29 +0000)]
Use assertGreater instead of assertTrue(x > y).
Alexandre Vassalotti [Wed, 22 Jul 2009 21:27:53 +0000 (21:27 +0000)]
Clean up test_curses.
By using __stdout__ directly, test_curses caused regrtest.py
to duplicate the output of some test results.
Ezio Melotti [Wed, 22 Jul 2009 21:17:14 +0000 (21:17 +0000)]
Merged revisions 74179 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74179 | ezio.melotti | 2009-07-23 00:08:49 +0300 (Thu, 23 Jul 2009) | 1 line
#6423 has_key -> in
........
R. David Murray [Wed, 22 Jul 2009 17:42:10 +0000 (17:42 +0000)]
Recorded merge of revisions 74175 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74175 | r.david.murray | 2009-07-22 13:22:58 -0400 (Wed, 22 Jul 2009) | 4 lines
Backport of fix for issue 6542: make sure
test_os.TestInvalidFD.test_closerange does not close any
valid file descriptors.
........
Benjamin Peterson [Wed, 22 Jul 2009 16:36:58 +0000 (16:36 +0000)]
Blocked revisions 74152,74173 via svnmerge
........
r74152 | benjamin.peterson | 2009-07-21 19:03:43 -0500 (Tue, 21 Jul 2009) | 1 line
simplify
........
r74173 | benjamin.peterson | 2009-07-22 11:34:37 -0500 (Wed, 22 Jul 2009) | 1 line
revert r74152
........
R. David Murray [Wed, 22 Jul 2009 15:20:27 +0000 (15:20 +0000)]
Issue 6542: Make sure that TestInvalidFD.test_closerange does not
close any valid file descriptors.
Georg Brandl [Wed, 22 Jul 2009 12:03:59 +0000 (12:03 +0000)]
Merged revisions 74167 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74167 | georg.brandl | 2009-07-22 13:57:15 +0200 (Mi, 22 Jul 2009) | 1 line
Issue #6540: Fixed crash for bytearray.translate() with invalid parameters.
........
Tarek Ziadé [Wed, 22 Jul 2009 08:57:28 +0000 (08:57 +0000)]
Merged revisions 74163 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74163 | tarek.ziade | 2009-07-22 10:55:19 +0200 (Wed, 22 Jul 2009) | 1 line
Issue #6545: Removed assert statements in distutils.Extension, so the behavior is similar when used with -O
........
Alexandre Vassalotti [Wed, 22 Jul 2009 04:54:52 +0000 (04:54 +0000)]
Use unittest.SkipTest to skip tests in test_threading.
Alexandre Vassalotti [Wed, 22 Jul 2009 04:43:33 +0000 (04:43 +0000)]
Remove erroneous print statement.
Alexandre Vassalotti [Wed, 22 Jul 2009 04:27:34 +0000 (04:27 +0000)]
Only skip test_nis on Solaris.
Alexandre Vassalotti [Wed, 22 Jul 2009 03:56:36 +0000 (03:56 +0000)]
Issue #6151: Make PyDescr_COMMON conform to standard C.
Alexandre Vassalotti [Wed, 22 Jul 2009 03:24:36 +0000 (03:24 +0000)]
Issue #6218: Make io.BytesIO and io.StringIO picklable.
Alexandre Vassalotti [Wed, 22 Jul 2009 03:07:33 +0000 (03:07 +0000)]
Issue #6241: Better type checking for the arguments of io.StringIO.
Alexandre Vassalotti [Wed, 22 Jul 2009 02:32:34 +0000 (02:32 +0000)]
Issue #6360: Simplify string decoding in xmlrpc.client.
Alexandre Vassalotti [Wed, 22 Jul 2009 02:24:49 +0000 (02:24 +0000)]
Issue #6242: Fix deallocator of io.StringIO and io.BytesIO.
Alexandre Vassalotti [Wed, 22 Jul 2009 00:30:24 +0000 (00:30 +0000)]
Make test_normalization verify the version of the correct test data file.
Alexandre Vassalotti [Wed, 22 Jul 2009 00:19:57 +0000 (00:19 +0000)]
Fix open_urlresource() to pass its arguments to open() when the resource is cached.
This fixes the failure of test_normalization on the Windows buildbots,
where the Normalization.txt file was read as a MBCS text file, instead
as a UTF-8 one.
Benjamin Peterson [Tue, 21 Jul 2009 23:18:55 +0000 (23:18 +0000)]
Merged revisions 74150 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74150 | benjamin.peterson | 2009-07-21 18:13:14 -0500 (Tue, 21 Jul 2009) | 1 line
install unittest as a package
........
Ezio Melotti [Tue, 21 Jul 2009 20:37:52 +0000 (20:37 +0000)]
Merged revisions 74148 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74148 | ezio.melotti | 2009-07-21 23:18:27 +0300 (Tue, 21 Jul 2009) | 1 line
#6536 fixed typo
........
Benjamin Peterson [Tue, 21 Jul 2009 14:11:27 +0000 (14:11 +0000)]
Merged revisions 74139 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74139 | benjamin.peterson | 2009-07-21 09:08:40 -0500 (Tue, 21 Jul 2009) | 1 line
must use _PyThreadState_Current so it isn't checked for NULL #6530
........
Benjamin Peterson [Tue, 21 Jul 2009 12:51:07 +0000 (12:51 +0000)]
Merged revisions 74117,74123 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
................
r74117 | benjamin.peterson | 2009-07-20 12:24:30 -0500 (Mon, 20 Jul 2009) | 9 lines
Merged revisions 74116 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r74116 | benjamin.peterson | 2009-07-20 12:22:35 -0500 (Mon, 20 Jul 2009) | 1 line
placate windows
........
................
r74123 | benjamin.peterson | 2009-07-20 16:09:45 -0500 (Mon, 20 Jul 2009) | 13 lines
Merged revisions 74121-74122 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r74121 | benjamin.peterson | 2009-07-20 15:40:59 -0500 (Mon, 20 Jul 2009) | 1 line
try to make warning tests more robust
........
r74122 | benjamin.peterson | 2009-07-20 15:44:14 -0500 (Mon, 20 Jul 2009) | 1 line
platform compat
........
................
Alexandre Vassalotti [Tue, 21 Jul 2009 05:23:51 +0000 (05:23 +0000)]
Merged revisions 73750 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r73750 | benjamin.peterson | 2009-07-01 19:45:19 -0400 (Wed, 01 Jul 2009) | 1 line
small optimization: avoid popping the current block until we have to
........
Alexandre Vassalotti [Tue, 21 Jul 2009 04:30:03 +0000 (04:30 +0000)]
Merged revisions 72487-72488,72879 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r72487 | jeffrey.yasskin | 2009-05-08 17:51:06 -0400 (Fri, 08 May 2009) | 7 lines
PyCode_NewEmpty:
Most uses of PyCode_New found by http://www.google.com/codesearch?q=PyCode_New
are trying to build an empty code object, usually to put it in a dummy frame
object. This patch adds a PyCode_NewEmpty wrapper which lets the user specify
just the filename, function name, and first line number, instead of also
requiring lots of code internals.
........
r72488 | jeffrey.yasskin | 2009-05-08 18:23:21 -0400 (Fri, 08 May 2009) | 13 lines
Issue 5954, PyFrame_GetLineNumber:
Most uses of PyCode_Addr2Line
(http://www.google.com/codesearch?q=PyCode_Addr2Line) are just trying to get
the line number of a specified frame, but there's no way to do that directly.
Forcing people to go through the code object makes them know more about the
guts of the interpreter than they should need.
The remaining uses of PyCode_Addr2Line seem to be getting the line from a
traceback (for example,
http://www.google.com/codesearch/p?hl=en#u_9_nDrchrw/pygame-1.7.1release/src/base.c&q=PyCode_Addr2Line),
which is replaced by the tb_lineno field. So we may be able to deprecate
PyCode_Addr2Line entirely for external use.
........
r72879 | jeffrey.yasskin | 2009-05-23 19:23:01 -0400 (Sat, 23 May 2009) | 14 lines
Issue #6042:
lnotab-based tracing is very complicated and isn't documented very well. There
were at least 3 comment blocks purporting to document co_lnotab, and none did a
very good job. This patch unifies them into Objects/lnotab_notes.txt which
tries to completely capture the current state of affairs.
I also discovered that we've attached 2 layers of patches to the basic tracing
scheme. The first layer avoids jumping to instructions that don't start a line,
to avoid problems in if statements and while loops. The second layer
discovered that jumps backward do need to trace at instructions that don't
start a line, so it added extra lnotab entries for 'while' and 'for' loops, and
added a special case for backward jumps within the same line. I replaced these
patches by just treating forward and backward jumps differently.
........
Alexandre Vassalotti [Tue, 21 Jul 2009 02:51:58 +0000 (02:51 +0000)]
Merged revisions 73683,73786 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r73683 | georg.brandl | 2009-06-29 10:44:49 -0400 (Mon, 29 Jun 2009) | 1 line
Fix error handling in PyCode_Optimize, by Alexander Schremmer at EuroPython sprint.
........
r73786 | benjamin.peterson | 2009-07-02 18:56:16 -0400 (Thu, 02 Jul 2009) | 1 line
condense with assertRaises
........
Alexandre Vassalotti [Tue, 21 Jul 2009 00:57:50 +0000 (00:57 +0000)]
Add ignore rule for the Doc/tools/jinga2/ directory.
Alexandre Vassalotti [Tue, 21 Jul 2009 00:55:16 +0000 (00:55 +0000)]
Revert r74125.
Alexandre Vassalotti [Tue, 21 Jul 2009 00:51:58 +0000 (00:51 +0000)]
Merged revisions 73706,73778 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r73706 | georg.brandl | 2009-06-30 12:18:55 -0400 (Tue, 30 Jun 2009) | 1 line
#6384: Add a heading for the exception hierarchy.
........
r73778 | r.david.murray | 2009-07-02 14:19:20 -0400 (Thu, 02 Jul 2009) | 3 lines
Issue 6389: add documentation for the 'mode' flags defined in the
stat module.
........
Alexandre Vassalotti [Tue, 21 Jul 2009 00:39:03 +0000 (00:39 +0000)]
Merged revisions 73871 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r73871 | alexandre.vassalotti | 2009-07-06 22:17:30 -0400 (Mon, 06 Jul 2009) | 7 lines
Grow the allocated buffer in PyUnicode_EncodeUTF7 to avoid buffer overrun.
Without this change, test_unicode.UnicodeTest.test_codecs_utf7 crashes in
debug mode. What happens is the unicode string u'\U000abcde' with a length
of 1 encodes to the string '+2m/c3g-' of length 8. Since only 5 bytes is
reserved in the buffer, a buffer overrun occurs.
........
Alexandre Vassalotti [Mon, 20 Jul 2009 23:59:41 +0000 (23:59 +0000)]
Ignore the correct jinga directory.