]>
granicus.if.org Git - python/log
Brett Cannon [Thu, 13 Aug 2009 19:27:12 +0000 (19:27 +0000)]
Expat could crash if given the wrong kind of input by never stopping its
tokenizing step.
Thanks to Ivan Krstić for the patch.
Gregory P. Smith [Thu, 13 Aug 2009 18:54:50 +0000 (18:54 +0000)]
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.
Georg Brandl [Thu, 13 Aug 2009 12:57:25 +0000 (12:57 +0000)]
Remove potentially confusing sentence in __mangling description.
Georg Brandl [Thu, 13 Aug 2009 12:05:52 +0000 (12:05 +0000)]
Use locale.format_string() for more than one specifier.
Georg Brandl [Thu, 13 Aug 2009 07:48:05 +0000 (07:48 +0000)]
#6679: Remove mention that sub supports no flags.
Gregory P. Smith [Wed, 12 Aug 2009 17:02:37 +0000 (17:02 +0000)]
comment typo fix
Antoine Pitrou [Thu, 6 Aug 2009 20:18:29 +0000 (20:18 +0000)]
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.
Georg Brandl [Thu, 6 Aug 2009 17:43:55 +0000 (17:43 +0000)]
#6658: fix two typos.
Georg Brandl [Thu, 6 Aug 2009 17:23:21 +0000 (17:23 +0000)]
Fix punctuation and one copy-paste error.
Georg Brandl [Thu, 6 Aug 2009 15:06:25 +0000 (15:06 +0000)]
Fix base keyword arg name for int() and long().
Jesse Noller [Thu, 6 Aug 2009 02:05:56 +0000 (02:05 +0000)]
Fix issue 4660: spurious task_done errors in multiprocessing, remove doc note for from_address
Guilherme Polo [Wed, 5 Aug 2009 23:48:26 +0000 (23:48 +0000)]
Typo.
Guilherme Polo [Wed, 5 Aug 2009 16:51:41 +0000 (16:51 +0000)]
Easier reference to find (at least while svn continues being used).
Mark Dickinson [Tue, 4 Aug 2009 21:56:04 +0000 (21:56 +0000)]
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:22:43 +0000 (20:22 +0000)]
Add donation link to docs footer.
Mark Dickinson [Tue, 4 Aug 2009 19:22:35 +0000 (19:22 +0000)]
Issue #6644: Fix compile error on AIX.
Raymond Hettinger [Tue, 4 Aug 2009 19:08:05 +0000 (19:08 +0000)]
Issue 6637: defaultdict.copy() failed with an empty factory.
Frank Wierzbicki [Sun, 2 Aug 2009 20:37:48 +0000 (20:37 +0000)]
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 15:40:11 +0000 (15:40 +0000)]
Issue #6619: Remove duplicate 'isgenerator' function from inspect module.
Thanks Vincent Legoll.
Mark Dickinson [Sun, 2 Aug 2009 10:59:36 +0000 (10:59 +0000)]
Issue #6595: Allow Decimal constructor to accept non-European decimal
digits, as recommended by the specification. (Backport of r74279 from
py3k.)
Sean Reifscheider [Sat, 1 Aug 2009 23:54:55 +0000 (23:54 +0000)]
- Issue #6624: yArg_ParseTuple with "s" format when parsing argument with
NUL: Bogus TypeError detail string.
Eric Smith [Thu, 30 Jul 2009 13:39:44 +0000 (13:39 +0000)]
Issue 6330: Fix --enable-unicode=ucs4.
Mark Dickinson [Thu, 30 Jul 2009 10:00:10 +0000 (10:00 +0000)]
Documentation fix for change introduced in r71832
Georg Brandl [Wed, 29 Jul 2009 17:50:25 +0000 (17:50 +0000)]
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 17:15:20 +0000 (17:15 +0000)]
Fix a few markup glitches.
Georg Brandl [Wed, 29 Jul 2009 17:07:21 +0000 (17:07 +0000)]
Fix some markup and small factual glitches found by M. Markert.
Georg Brandl [Wed, 29 Jul 2009 16:57:05 +0000 (16:57 +0000)]
Add a link to readline, and mention IPython and bpython.
Georg Brandl [Wed, 29 Jul 2009 16:32:30 +0000 (16:32 +0000)]
#6336: Add nb_divide.
Georg Brandl [Wed, 29 Jul 2009 16:09:17 +0000 (16:09 +0000)]
#6591: add reference to ioctl in fcntl module for platforms other than Windows.
Georg Brandl [Wed, 29 Jul 2009 16:06:31 +0000 (16:06 +0000)]
#6593: fix link targets.
Amaury Forgeot d'Arc [Tue, 28 Jul 2009 22:15:30 +0000 (22:15 +0000)]
#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 20:47:55 +0000 (20:47 +0000)]
"Fix" for the refleak report: the ABC classes are now in the _pyio module
Mark Dickinson [Tue, 28 Jul 2009 20:35:03 +0000 (20:35 +0000)]
Issue #6561: '\d' regular expression should not match characters of
category [No]; only those of category [Nd]. (Backport of r74237
from py3k.)
Georg Brandl [Tue, 28 Jul 2009 18:55:32 +0000 (18:55 +0000)]
Clarify quote_plus() usage.
Mark Dickinson [Tue, 28 Jul 2009 16:45:13 +0000 (16:45 +0000)]
Remove leading blank line from cmath.rst
Mark Dickinson [Tue, 28 Jul 2009 16:12:40 +0000 (16:12 +0000)]
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:32:04 +0000 (20:32 +0000)]
Issue 6573: Fix set.union() for cases where self is in the argument chain.
Kurt B. Kaiser [Mon, 27 Jul 2009 16:09:28 +0000 (16:09 +0000)]
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.
Eric Smith [Mon, 27 Jul 2009 01:58:25 +0000 (01:58 +0000)]
Sync trunk and py3k versions of string formatting. Will manually merge into py3k.
Michael Foord [Sun, 26 Jul 2009 21:12:14 +0000 (21:12 +0000)]
Issue 6581. Michael Foord
Georg Brandl [Sun, 26 Jul 2009 14:44:23 +0000 (14:44 +0000)]
Move member descriptions inside the classes.
Georg Brandl [Sun, 26 Jul 2009 14:37:28 +0000 (14:37 +0000)]
builtin -> built-in.
Georg Brandl [Sun, 26 Jul 2009 14:19:57 +0000 (14:19 +0000)]
#6577: fix (hopefully) all links to builtin instead of module/class-specific objects.
Georg Brandl [Sun, 26 Jul 2009 13:36:39 +0000 (13:36 +0000)]
#6576: fix cross-refs in re docs.
Amaury Forgeot d'Arc [Sat, 25 Jul 2009 16:22:06 +0000 (16:22 +0000)]
Better name a variable: 'buf' seems to imply a mutable buffer.
Georg Brandl [Sat, 25 Jul 2009 13:02:15 +0000 (13:02 +0000)]
#6571: add index entries for more operators.
Benjamin Peterson [Sat, 25 Jul 2009 02:03:48 +0000 (02:03 +0000)]
clarify
Georg Brandl [Fri, 24 Jul 2009 20:09:46 +0000 (20:09 +0000)]
#6564: fix section about the two raise syntaxes.
Georg Brandl [Fri, 24 Jul 2009 16:46:38 +0000 (16:46 +0000)]
Dont put "void" in signature for nullary functions.
Georg Brandl [Fri, 24 Jul 2009 16:28:38 +0000 (16:28 +0000)]
Fix arg types of et#.
Amaury Forgeot d'Arc [Thu, 23 Jul 2009 19:26:02 +0000 (19:26 +0000)]
#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.
Benjamin Peterson [Thu, 23 Jul 2009 14:25:31 +0000 (14:25 +0000)]
use bools
Benjamin Peterson [Thu, 23 Jul 2009 14:19:08 +0000 (14:19 +0000)]
use bools for autoraise
Georg Brandl [Thu, 23 Jul 2009 09:17:09 +0000 (09:17 +0000)]
Fix the "pylocals" gdb command.
Georg Brandl [Thu, 23 Jul 2009 07:08:58 +0000 (07:08 +0000)]
#6548: dont suggest existence of real and imag functions in cmath.
Ezio Melotti [Wed, 22 Jul 2009 21:08:49 +0000 (21:08 +0000)]
#6423 has_key -> in
R. David Murray [Wed, 22 Jul 2009 17:22:58 +0000 (17:22 +0000)]
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:34:37 +0000 (16:34 +0000)]
revert r74152
Georg Brandl [Wed, 22 Jul 2009 11:57:15 +0000 (11:57 +0000)]
Issue #6540: Fixed crash for bytearray.translate() with invalid parameters.
Tarek Ziadé [Wed, 22 Jul 2009 08:55:19 +0000 (08:55 +0000)]
Issue #6545: Removed assert statements in distutils.Extension, so the behavior is similar when used with -O
Benjamin Peterson [Wed, 22 Jul 2009 00:03:43 +0000 (00:03 +0000)]
simplify
Benjamin Peterson [Tue, 21 Jul 2009 23:13:14 +0000 (23:13 +0000)]
install unittest as a package
Ezio Melotti [Tue, 21 Jul 2009 20:18:27 +0000 (20:18 +0000)]
#6536 fixed typo
Thomas Heller [Tue, 21 Jul 2009 19:04:02 +0000 (19:04 +0000)]
Revert rev 74134, as it does not completely fixx issue #6493.
Benjamin Peterson [Tue, 21 Jul 2009 14:08:40 +0000 (14:08 +0000)]
must use _PyThreadState_Current so it isn't checked for NULL #6530
Thomas Heller [Tue, 21 Jul 2009 06:27:14 +0000 (06:27 +0000)]
Issue #6493: Fix a ctypes problem setting bitfields more than 31 bits
wide.
Benjamin Peterson [Mon, 20 Jul 2009 21:09:45 +0000 (21:09 +0000)]
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
........
Benjamin Peterson [Mon, 20 Jul 2009 20:28:08 +0000 (20:28 +0000)]
the Slice in x[::] has to have step as None to help the interpreter
Benjamin Peterson [Mon, 20 Jul 2009 17:24:30 +0000 (17:24 +0000)]
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
........
Benjamin Peterson [Mon, 20 Jul 2009 15:33:09 +0000 (15:33 +0000)]
Merged revisions 73771,73811,73840,73842,73848-73849,73861,73957-73960,73964-73969,73972-73974,73977,73981,73984,74065,74113 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r73771 | benjamin.peterson | 2009-07-02 10:56:55 -0500 (Thu, 02 Jul 2009) | 1 line
force the imports fixer to be run after the import one #6400
........
r73811 | benjamin.peterson | 2009-07-03 09:03:14 -0500 (Fri, 03 Jul 2009) | 1 line
check for sep, not pathsep when looking for a subpackage #6408
........
r73840 | benjamin.peterson | 2009-07-04 09:52:28 -0500 (Sat, 04 Jul 2009) | 1 line
don't print diffs by default; it's annoying
........
r73842 | benjamin.peterson | 2009-07-04 09:58:46 -0500 (Sat, 04 Jul 2009) | 1 line
complain when not showing diffs or writing
........
r73848 | alexandre.vassalotti | 2009-07-04 23:38:19 -0500 (Sat, 04 Jul 2009) | 2 lines
Fix test_refactor_stdin to handle print_output() method with 4 arguments.
........
r73849 | alexandre.vassalotti | 2009-07-04 23:43:18 -0500 (Sat, 04 Jul 2009) | 5 lines
Issue 2370: Add fixer for the removal of operator.isCallable() and
operator.sequenceIncludes().
Patch contributed by Jeff Balogh (and updated by me).
........
r73861 | benjamin.peterson | 2009-07-05 09:15:53 -0500 (Sun, 05 Jul 2009) | 1 line
cleanup and use unicode where appropiate
........
r73957 | benjamin.peterson | 2009-07-11 15:49:56 -0500 (Sat, 11 Jul 2009) | 1 line
fix calls to str() with unicode()
........
r73958 | benjamin.peterson | 2009-07-11 15:51:51 -0500 (Sat, 11 Jul 2009) | 1 line
more str() -> unicode()
........
r73959 | benjamin.peterson | 2009-07-11 16:40:08 -0500 (Sat, 11 Jul 2009) | 1 line
add tests for refactor_dir()
........
r73960 | benjamin.peterson | 2009-07-11 16:44:32 -0500 (Sat, 11 Jul 2009) | 1 line
don't parse files just because they end with 'py' (no dot)
........
r73964 | benjamin.peterson | 2009-07-11 17:30:15 -0500 (Sat, 11 Jul 2009) | 1 line
simplify
........
r73965 | benjamin.peterson | 2009-07-11 17:31:30 -0500 (Sat, 11 Jul 2009) | 1 line
remove usage of get_prefix()
........
r73966 | benjamin.peterson | 2009-07-11 17:33:35 -0500 (Sat, 11 Jul 2009) | 1 line
revert unintended change in 73965
........
r73967 | benjamin.peterson | 2009-07-11 17:34:44 -0500 (Sat, 11 Jul 2009) | 1 line
avoid expensive checks and assume the node did change
........
r73968 | benjamin.peterson | 2009-07-11 20:46:46 -0500 (Sat, 11 Jul 2009) | 1 line
use a regular dict for the heads to avoid adding lists in the loop
........
r73969 | benjamin.peterson | 2009-07-11 20:50:43 -0500 (Sat, 11 Jul 2009) | 1 line
prefix headnode functions with '_'
........
r73972 | benjamin.peterson | 2009-07-11 21:25:45 -0500 (Sat, 11 Jul 2009) | 1 line
try to make the head node dict as sparse as possible
........
r73973 | benjamin.peterson | 2009-07-11 21:59:49 -0500 (Sat, 11 Jul 2009) | 1 line
a better idea; add an option to *not* print diffs
........
r73974 | benjamin.peterson | 2009-07-11 22:00:29 -0500 (Sat, 11 Jul 2009) | 1 line
add space
........
r73977 | benjamin.peterson | 2009-07-12 10:16:07 -0500 (Sun, 12 Jul 2009) | 1 line
update get_headnode_dict tests for recent changes
........
r73981 | benjamin.peterson | 2009-07-12 12:06:39 -0500 (Sun, 12 Jul 2009) | 4 lines
detect when "from __future__ import print_function" is given
Deprecate the 'print_function' option and the -p flag
........
r73984 | benjamin.peterson | 2009-07-12 16:16:37 -0500 (Sun, 12 Jul 2009) | 1 line
add tests for Call; thanks Joe Amenta
........
r74065 | benjamin.peterson | 2009-07-17 12:52:49 -0500 (Fri, 17 Jul 2009) | 1 line
pathname2url and url2pathname are in urllib.request not urllib.parse #6496
........
r74113 | benjamin.peterson | 2009-07-20 08:56:57 -0500 (Mon, 20 Jul 2009) | 1 line
fix deprecation warnings in tests
........
Benjamin Peterson [Mon, 20 Jul 2009 13:30:10 +0000 (13:30 +0000)]
remove docs for deprecated -p option
Kristján Valur Jónsson [Sun, 19 Jul 2009 22:35:44 +0000 (22:35 +0000)]
http://bugs.python.org/issue6499
gzip.GzipFile may not exist as a parent class
Kristján Valur Jónsson [Sun, 19 Jul 2009 22:14:00 +0000 (22:14 +0000)]
http://bugs.python.org/issue6499
zlib/gzip may not be present for all builds. Make xmlrpclib gracefully not supporg gzip encoding in this case
Benjamin Peterson [Sun, 19 Jul 2009 20:18:21 +0000 (20:18 +0000)]
split unittest.py into a package
Senthil Kumaran [Sun, 19 Jul 2009 02:43:43 +0000 (02:43 +0000)]
Fix for issue5102, timeout value propages between redirects, proxy, digest and
auth handlers. Fixed tests to reflect the same.
Mark Dickinson [Sat, 18 Jul 2009 16:01:57 +0000 (16:01 +0000)]
Add Case Van Horsen to Misc/ACKS, for fractions module patches and other work
Mark Dickinson [Sat, 18 Jul 2009 15:18:18 +0000 (15:18 +0000)]
Issue #6431: Fix Fraction comparisons with unknown types, and with
float infinities and nans. Backport of r74078 from py3k.
Georg Brandl [Sat, 18 Jul 2009 09:43:40 +0000 (09:43 +0000)]
#6489: fix an ambiguity in getiterator() documentation.
Georg Brandl [Sat, 18 Jul 2009 09:06:31 +0000 (09:06 +0000)]
#6505: fix typos.
Georg Brandl [Sat, 18 Jul 2009 09:03:10 +0000 (09:03 +0000)]
#6513: fix example code: warning categories are classes, not instances.
Alexandre Vassalotti [Sat, 18 Jul 2009 00:31:06 +0000 (00:31 +0000)]
Add a check to ensure the correct autoconf version is used
for generating the configure script.
Original idea by Martin von Löwis.
Alexandre Vassalotti [Fri, 17 Jul 2009 23:17:48 +0000 (23:17 +0000)]
Regenerate configure script using autoconf 2.61.
Alexandre Vassalotti [Fri, 17 Jul 2009 23:09:02 +0000 (23:09 +0000)]
Revert r74048.
Alexandre Vassalotti [Fri, 17 Jul 2009 08:09:04 +0000 (08:09 +0000)]
Fix GCC warning about fprintf used without a string literal and
without format arguments.
Alexandre Vassalotti [Fri, 17 Jul 2009 07:54:23 +0000 (07:54 +0000)]
Initialize variables in PyCurses_getsyx() to avoid compiler warnings.
Alexandre Vassalotti [Fri, 17 Jul 2009 07:46:46 +0000 (07:46 +0000)]
Regenerate configure script.
Alexandre Vassalotti [Fri, 17 Jul 2009 06:33:51 +0000 (06:33 +0000)]
Double-quote the test case for %zd printf() format support to avoid
mangling the array declarations in it.
Hirokazu Yamamoto [Fri, 17 Jul 2009 06:26:54 +0000 (06:26 +0000)]
NEWS about r74040.
Hirokazu Yamamoto [Fri, 17 Jul 2009 06:20:46 +0000 (06:20 +0000)]
Issue #6415: Fixed warnings.warn sagfault on bad formatted string.
Alexandre Vassalotti [Fri, 17 Jul 2009 06:17:33 +0000 (06:17 +0000)]
Clean up the test case for broken poll().
Alexandre Vassalotti [Fri, 17 Jul 2009 06:10:06 +0000 (06:10 +0000)]
Double-quote the test cases for chflags() and lchflags()
to ensure they don't get mangled.
Alexandre Vassalotti [Fri, 17 Jul 2009 05:26:39 +0000 (05:26 +0000)]
Cache the results of all runtime checks.
This will be helpful to people who want to compile Python with a
cross-compiler. Now you can upload the configure script on your host
machine, run it with caching enabled, and download the cached results
on your build machine.
Alexandre Vassalotti [Fri, 17 Jul 2009 04:59:05 +0000 (04:59 +0000)]
Rename the useless AC_INCLUDES_DEFAULT and protect the includes.
This is mostly an aesthetic change.
Alexandre Vassalotti [Fri, 17 Jul 2009 04:24:45 +0000 (04:24 +0000)]
Use AC_CHECK_SIZEOF to find the size of off_t, pthread_t and time_t.
Georg Brandl [Thu, 16 Jul 2009 21:47:51 +0000 (21:47 +0000)]
Revert r74028.
Georg Brandl [Thu, 16 Jul 2009 19:24:48 +0000 (19:24 +0000)]
#6482: simplify "except: raise" to "finally:".
Tarek Ziadé [Thu, 16 Jul 2009 15:35:45 +0000 (15:35 +0000)]
#6466 refactored distutils duplicate get_versions() functions (used to get gcc/ld/dllwrap versions)
Jesse Noller [Thu, 16 Jul 2009 14:23:04 +0000 (14:23 +0000)]
Issue 6433: multiprocessing.pool.map hangs on empty list
Georg Brandl [Thu, 16 Jul 2009 07:38:35 +0000 (07:38 +0000)]
#6481: fix typo in os.system() replacement.
Georg Brandl [Thu, 16 Jul 2009 07:33:04 +0000 (07:33 +0000)]
#6486: start with built in functions rather than "built in objects".