]>
granicus.if.org Git - python/log
Amaury Forgeot d'Arc [Tue, 2 Sep 2008 21:50:47 +0000 (21:50 +0000)]
Attempt to correct the build files for the Microsoft VS7.1 compiler.
I don't have a working VS7.1, but VS2005 can automatically convert
the project and build a working python interpreter.
Amaury Forgeot d'Arc [Tue, 2 Sep 2008 21:17:05 +0000 (21:17 +0000)]
Use vs9to8.py to refresh the Visual Studio 2005 build files.
Hirokazu Yamamoto [Tue, 2 Sep 2008 20:36:44 +0000 (20:36 +0000)]
Issue #3759: test_asyncore.py leaked handle.
Reviewed by Amaury Forgeot d'Arc
Andrew M. Kuchling [Tue, 2 Sep 2008 13:08:11 +0000 (13:08 +0000)]
Add e-mail address
Andrew M. Kuchling [Tue, 2 Sep 2008 13:06:00 +0000 (13:06 +0000)]
Clarify example; add imports
Marc-André Lemburg [Tue, 2 Sep 2008 12:11:19 +0000 (12:11 +0000)]
Add news item for #3719.
Marc-André Lemburg [Tue, 2 Sep 2008 10:32:34 +0000 (10:32 +0000)]
Add quotes around the file name to avoid issues with spaces.
Closes #3719.
Nick Coghlan [Tue, 2 Sep 2008 10:14:47 +0000 (10:14 +0000)]
Issue 3747: Fix caching in ABCMeta.__subclasscheck__ (R: Georg Brandl)
Mark Summerfield [Tue, 2 Sep 2008 07:23:16 +0000 (07:23 +0000)]
a typo
Gregory P. Smith [Tue, 2 Sep 2008 05:36:11 +0000 (05:36 +0000)]
Issue #3708: os.urandom no longer goes into an infinite loop when passed a
non-integer floating point number.
Gregory P. Smith [Tue, 2 Sep 2008 05:29:51 +0000 (05:29 +0000)]
Issue #3678: Correctly pass LDFLAGS and LDLAST to the linker on shared
library targets in the Makefile.
Jesus Cea [Tue, 2 Sep 2008 02:29:06 +0000 (02:29 +0000)]
Improve compatibility with Python3.0 testsuite
Andrew M. Kuchling [Tue, 2 Sep 2008 01:39:18 +0000 (01:39 +0000)]
typo fix
Brett Cannon [Tue, 2 Sep 2008 01:25:16 +0000 (01:25 +0000)]
Move test.test_support.catch_warning() to the warnings module, rename it
catch_warnings(), and clean up the API.
While expanding the test suite, a bug was found where a warning about the
'line' argument to showwarning() was not letting functions with '*args' go
without a warning.
Closes issue 3602.
Code review by Benjamin Peterson.
Andrew M. Kuchling [Tue, 2 Sep 2008 01:13:42 +0000 (01:13 +0000)]
Describe the __hash__ changes
Benjamin Peterson [Mon, 1 Sep 2008 23:12:58 +0000 (23:12 +0000)]
remove py3k warnings about the threading api; update docs
Reviewer: Benjamin Peterson
Jesus Cea [Mon, 1 Sep 2008 20:48:16 +0000 (20:48 +0000)]
In Python3.0, "test.test_support" is renamed to "test.support".
Amaury Forgeot d'Arc [Mon, 1 Sep 2008 19:52:00 +0000 (19:52 +0000)]
Issue #3751: str.rpartition would perform a left-partition when called with
a unicode argument.
will backport.
Vinay Sajip [Mon, 1 Sep 2008 17:44:14 +0000 (17:44 +0000)]
Bug #3738: Documentation is now more accurate in describing handler close methods.
Benjamin Peterson [Mon, 1 Sep 2008 17:17:22 +0000 (17:17 +0000)]
Merged revisions 65887,65889,65967-65968,65981 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r65887 | benjamin.peterson | 2008-08-19 17:45:04 -0500 (Tue, 19 Aug 2008) | 1 line
allow the raw_input fixer to handle calls after the raw_input (ie. raw_input().split())
........
r65889 | benjamin.peterson | 2008-08-19 18:11:03 -0500 (Tue, 19 Aug 2008) | 1 line
no need for 2.4 compatibility now
........
r65967 | benjamin.peterson | 2008-08-21 18:43:37 -0500 (Thu, 21 Aug 2008) | 1 line
allow a Call to have no arguments
........
r65968 | benjamin.peterson | 2008-08-21 18:45:13 -0500 (Thu, 21 Aug 2008) | 1 line
add a fixer for sys.exc_info etc by Jeff Balogh #2357
........
r65981 | benjamin.peterson | 2008-08-22 15:41:30 -0500 (Fri, 22 Aug 2008) | 1 line
add a fixer to add parenthese for list and gen comps #2367
........
Benjamin Peterson [Mon, 1 Sep 2008 17:10:46 +0000 (17:10 +0000)]
revert r66114 for Jesse
Jesse Noller [Mon, 1 Sep 2008 16:47:25 +0000 (16:47 +0000)]
Submit Nick's patch for issue 3589, reviewed by jnoller
Vinay Sajip [Mon, 1 Sep 2008 15:08:07 +0000 (15:08 +0000)]
Added section about configuring logging in a library. Thanks to Thomas Heller for the idea.
Vinay Sajip [Mon, 1 Sep 2008 14:33:59 +0000 (14:33 +0000)]
logging: fixed lack of use of encoding attribute specified on a stream.
Hirokazu Yamamoto [Mon, 1 Sep 2008 14:32:58 +0000 (14:32 +0000)]
Issue #3748: platform.architecture() printed vogus message on windows.
Reviewed by Marc-Andre Lemburg.
Vinay Sajip [Mon, 1 Sep 2008 14:30:10 +0000 (14:30 +0000)]
logging: fixed lack of use of encoding attribute specified on a stream.
Hirokazu Yamamoto [Mon, 1 Sep 2008 14:24:04 +0000 (14:24 +0000)]
Issue #3732: Backported r53335 to supress deprecation warning.
Reviewed by Benjamin Peterson.
Benjamin Peterson [Mon, 1 Sep 2008 14:18:30 +0000 (14:18 +0000)]
Fix compilation when --without-threads is given #3683
Reviewer: Georg Brandl, Benjamin Peterson
Georg Brandl [Mon, 1 Sep 2008 14:15:55 +0000 (14:15 +0000)]
#3749: fix c'n'p errors.
Benjamin Peterson [Mon, 1 Sep 2008 14:13:43 +0000 (14:13 +0000)]
#3703 unhelpful _fileio.FileIO error message when trying to open a directory
Reviewer: Gregory P. Smith
Gregory P. Smith [Sun, 31 Aug 2008 16:34:18 +0000 (16:34 +0000)]
issue3715: docstring representation of hex escaped string needs to be double
escaped.
Andrew M. Kuchling [Sun, 31 Aug 2008 15:48:44 +0000 (15:48 +0000)]
Update patch/bug count
Andrew M. Kuchling [Sun, 31 Aug 2008 15:41:48 +0000 (15:41 +0000)]
Last batch of edits; remove the 'other changes' section
Andrew M. Kuchling [Sun, 31 Aug 2008 14:29:31 +0000 (14:29 +0000)]
Edit the library section, rearranging items to flow better and making lots of edits
Jesus Cea [Sun, 31 Aug 2008 14:00:51 +0000 (14:00 +0000)]
Update bsddb code to version 4.7.3pre2. This code should
be compatible with Python 3.0, also.
http://www.jcea.es/programacion/pybsddb.htm#bsddb3-4.7.3
Nick Coghlan [Sun, 31 Aug 2008 13:10:50 +0000 (13:10 +0000)]
Issue 2235: document the ability to block inheritance of __hash__ in the language reference
Andrew M. Kuchling [Sun, 31 Aug 2008 02:24:08 +0000 (02:24 +0000)]
More edits
Andrew M. Kuchling [Sat, 30 Aug 2008 22:56:54 +0000 (22:56 +0000)]
More edits; markup fixes
Georg Brandl [Sat, 30 Aug 2008 22:00:28 +0000 (22:00 +0000)]
Fix markup.
Georg Brandl [Sat, 30 Aug 2008 19:03:43 +0000 (19:03 +0000)]
#3707: fix inf. recursion in pydoc topic search. Rev'd by Antoine.
Andrew M. Kuchling [Sat, 30 Aug 2008 16:44:54 +0000 (16:44 +0000)]
Edit four more sections
Andrew M. Kuchling [Sat, 30 Aug 2008 15:25:47 +0000 (15:25 +0000)]
Correction from Antoine Pitrou: BufferedWriter and Reader support seek()
Andrew M. Kuchling [Sat, 30 Aug 2008 15:21:23 +0000 (15:21 +0000)]
Tidy up some sentences
Andrew M. Kuchling [Sat, 30 Aug 2008 15:19:57 +0000 (15:19 +0000)]
Partial edits from revision and tidying pass
Georg Brandl [Sat, 30 Aug 2008 13:17:39 +0000 (13:17 +0000)]
super() actually returns a super object.
Georg Brandl [Sat, 30 Aug 2008 10:03:09 +0000 (10:03 +0000)]
#3569: eval() also accepts "exec"able code objects.
Georg Brandl [Sat, 30 Aug 2008 09:52:44 +0000 (09:52 +0000)]
#3716: fix typo.
Georg Brandl [Sat, 30 Aug 2008 09:49:36 +0000 (09:49 +0000)]
#3730: mention "server" attribute explicitly.
Armin Rigo [Fri, 29 Aug 2008 21:21:52 +0000 (21:21 +0000)]
A collection of crashers, all variants of the idea
of issue #3720.
Antoine Pitrou [Fri, 29 Aug 2008 18:39:48 +0000 (18:39 +0000)]
#3668: When PyArg_ParseTuple correctly parses a s* format, but raises an
exception afterwards (for a subsequent parameter), the user code will
not call PyBuffer_Release() and memory will leak.
Reviewed by Amaury Forgeot d'Arc.
Georg Brandl [Thu, 28 Aug 2008 09:40:18 +0000 (09:40 +0000)]
#3711: .dll isn't a valid Python extension anymore.
Andrew M. Kuchling [Wed, 27 Aug 2008 02:12:18 +0000 (02:12 +0000)]
Add various items
Andrew M. Kuchling [Wed, 27 Aug 2008 00:45:02 +0000 (00:45 +0000)]
Add an item and a note
Andrew M. Kuchling [Wed, 27 Aug 2008 00:27:18 +0000 (00:27 +0000)]
Trim whitespace; add a few updates
Antoine Pitrou [Tue, 26 Aug 2008 22:42:08 +0000 (22:42 +0000)]
Issue #2534: speed up isinstance() and issubclass() by 50-70%, so as to
match Python 2.5 speed despite the __instancecheck__ / __subclasscheck__
mechanism. In the process, fix a bug where isinstance() and issubclass(),
when given a tuple of classes as second argument, were looking up
__instancecheck__ / __subclasscheck__ on the tuple rather than on each
type object.
Reviewed by Benjamin Peterson and Raymond Hettinger.
Benjamin Peterson [Tue, 26 Aug 2008 17:08:40 +0000 (17:08 +0000)]
sort of backport 66038 by aliasing PyObject_Bytes to PyObject_Str
Neal Norwitz [Mon, 25 Aug 2008 03:52:40 +0000 (03:52 +0000)]
Try to reduce the flakiness of this test
Neal Norwitz [Mon, 25 Aug 2008 03:03:25 +0000 (03:03 +0000)]
Use bytes as return type from recv_bytes() methods. Not sure why this only
affects some buildbots.
R=Brett
TESTED=./python -E -tt ./Lib/test/regrtest.py test_multiprocessing
Neal Norwitz [Mon, 25 Aug 2008 01:50:24 +0000 (01:50 +0000)]
Fix problem reported by pychecker where AuthenticationError wasn't imported.
Add some test coverage to this code. More tests should be added (TODO added).
R=Brett
TESTED=./python -E -tt ./Lib/test/regrtest.py test_multiprocessing
Brett Cannon [Sun, 24 Aug 2008 23:15:19 +0000 (23:15 +0000)]
Clarify that some attributes/methods are listed somewhat separately because they are not part of the threading API.
Neal Norwitz [Sun, 24 Aug 2008 22:03:05 +0000 (22:03 +0000)]
#3662: Fix segfault introduced when fixing memory leaks.
TESTED=./python -E -tt ./Lib/test/regrtest.py test_fileio
R (approach from bug)=Amaury and Benjamin
Benjamin Peterson [Sun, 24 Aug 2008 21:55:03 +0000 (21:55 +0000)]
remove note about unimplemented feature
Georg Brandl [Sun, 24 Aug 2008 18:11:07 +0000 (18:11 +0000)]
#3654: fix duplicate test method name. Review by Benjamin P.
Benjamin Peterson [Sun, 24 Aug 2008 18:10:20 +0000 (18:10 +0000)]
generate py3k warnings on __getslice__, __delslice__, and __setslice__
Reviewer: Brett Cannon
Neal Norwitz [Sun, 24 Aug 2008 17:29:53 +0000 (17:29 +0000)]
Use the actual blacklist of leaky tests
Neal Norwitz [Sun, 24 Aug 2008 17:27:43 +0000 (17:27 +0000)]
Ignore a couple more tests that report leaks inconsistently.
Neal Norwitz [Sun, 24 Aug 2008 05:04:52 +0000 (05:04 +0000)]
Fix:
* crashes on memory allocation failure found with failmalloc
* memory leaks found with valgrind
* compiler warnings in opt mode which would lead to invalid memory reads
* problem using wrong name in decimal module reported by pychecker
Update the valgrind suppressions file with new leaks that are small/one-time
leaks we don't care about (ie, they are too hard to fix).
TBR=barry
TESTED=./python -E -tt ./Lib/test/regrtest.py -uall (both debug and opt modes)
in opt mode:
valgrind -q --leak-check=yes --suppressions=Misc/valgrind-python.supp \
./python -E -tt ./Lib/test/regrtest.py -uall,-bsddb,-compiler \
-x test_logging test_ssl test_multiprocessing
valgrind -q --leak-check=yes --suppressions=Misc/valgrind-python.supp \
./python -E -tt ./Lib/test/regrtest.py test_multiprocessing
for i in `seq 1 4000` ; do
LD_PRELOAD=~/local/lib/libfailmalloc.so FAILMALLOC_INTERVAL=$i \
./python -c pass
done
At least some of these fixes should probably be backported to 2.5.
Benjamin Peterson [Sat, 23 Aug 2008 21:40:15 +0000 (21:40 +0000)]
fix warning
Benjamin Peterson [Sat, 23 Aug 2008 20:27:43 +0000 (20:27 +0000)]
#3643 add a few more checks to _testcapi to prevent segfaults
Author: Victor Stinner
Reviewer: Benjamin Peterson
Georg Brandl [Sat, 23 Aug 2008 15:15:31 +0000 (15:15 +0000)]
Small updates to types member docs, backport from r65994.
Mark Hammond [Sat, 23 Aug 2008 00:59:14 +0000 (00:59 +0000)]
Fix bug 3625: test issues on 64bit windows. r=pitrou
Christian Heimes [Fri, 22 Aug 2008 21:23:47 +0000 (21:23 +0000)]
d is the correct format string
Benjamin Peterson [Fri, 22 Aug 2008 20:43:48 +0000 (20:43 +0000)]
fix a few get_name() calls and turn then to .name
Reviewer: Christian Heimes
Christian Heimes [Fri, 22 Aug 2008 20:10:27 +0000 (20:10 +0000)]
Fixed two format strings in the _collections module. For example
Modules/_collectionsmodule.c:674: warning: format '%i' expects type 'int', but argument 2 has type 'Py_ssize_t'
Reviewed by Benjamin Peterson
Christian Heimes [Fri, 22 Aug 2008 19:55:54 +0000 (19:55 +0000)]
Silenced a compiler warning in the sqlite module
Modules/_sqlite/row.c:187: warning: suggest parentheses around && within ||
Reviewed by Benjamin Peterson
Christian Heimes [Fri, 22 Aug 2008 19:47:25 +0000 (19:47 +0000)]
Silenced compiler warning
Objects/stringlib/find.h:97: warning: 'stringlib_contains_obj' defined but not used
Reviewed by Benjamin Peterson
Christian Heimes [Fri, 22 Aug 2008 19:34:15 +0000 (19:34 +0000)]
Changed type of numarenas from uint to size_t to silence a GCC warning on 64bit OSes. Reviewed by Benjamin Peterson.
Robert Schuppenies [Fri, 22 Aug 2008 08:03:43 +0000 (08:03 +0000)]
Issue #
1342811 : Fixed broken patch. Reviewed by benjamin.peterson.
Mark Dickinson [Thu, 21 Aug 2008 21:38:38 +0000 (21:38 +0000)]
issue 3633: Solaris allows fullwidth Unicode digits in isxdigit, so
rewrite float.fromhex to only allow ASCII hex digits on all platforms.
(Tests for this are already present, but the test_float failures
on Solaris hadn't been noticed before.)
Reviewed by Antoine Pitrou.
Mark Dickinson [Thu, 21 Aug 2008 20:02:24 +0000 (20:02 +0000)]
Fix float.fromhex test to give additional information on failure. This
change is aimed at diagnosing issue 3633 (test_float fails on Solaris).
Reviewed by Benjamin Peterson
Barry Warsaw [Thu, 21 Aug 2008 02:12:56 +0000 (02:12 +0000)]
done with the release
Barry Warsaw [Thu, 21 Aug 2008 01:15:57 +0000 (01:15 +0000)]
Tagging 2.6b3
Barry Warsaw [Thu, 21 Aug 2008 01:15:08 +0000 (01:15 +0000)]
Bump to 2.6b3.
Hirokazu Yamamoto [Wed, 20 Aug 2008 16:15:28 +0000 (16:15 +0000)]
Reverted r65900. See http://mail.python.org/pipermail/python-checkins/2008-August/073116.html
Guido van Rossum [Wed, 20 Aug 2008 15:01:50 +0000 (15:01 +0000)]
News for the tp_flags change.
Guido van Rossum [Wed, 20 Aug 2008 14:57:20 +0000 (14:57 +0000)]
News for the imageop fix.
Benjamin Peterson [Wed, 20 Aug 2008 14:07:59 +0000 (14:07 +0000)]
fix up the multiprocessing docs a little
Hirokazu Yamamoto [Wed, 20 Aug 2008 13:14:07 +0000 (13:14 +0000)]
Issue #3612: Added some missing basic types in ctypes.wintypes.
Hirokazu Yamamoto [Wed, 20 Aug 2008 04:13:28 +0000 (04:13 +0000)]
fixed get_file_system in test_os.py ('path' is unicode on py3k and ansi on trunk)
Benjamin Peterson [Wed, 20 Aug 2008 02:15:42 +0000 (02:15 +0000)]
fix silly errors of mine
Benjamin Peterson [Wed, 20 Aug 2008 01:44:45 +0000 (01:44 +0000)]
newSymbolTable is not public API
Benjamin Peterson [Wed, 20 Aug 2008 01:42:01 +0000 (01:42 +0000)]
deprecate some useless, noop methods in symtable
Benjamin Peterson [Wed, 20 Aug 2008 01:27:30 +0000 (01:27 +0000)]
add a NEWS note for new args syntax
Amaury Forgeot d'Arc [Wed, 20 Aug 2008 00:08:47 +0000 (00:08 +0000)]
follow-up of issue3473: update the compiler package to recognize the new syntax.
Benjamin Peterson [Tue, 19 Aug 2008 22:06:11 +0000 (22:06 +0000)]
check that the parser module can handle the new keyword syntax
Benjamin Peterson [Tue, 19 Aug 2008 21:07:15 +0000 (21:07 +0000)]
Merged revisions 65876 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r65876 | benjamin.peterson | 2008-08-19 15:54:52 -0500 (Tue, 19 Aug 2008) | 1 line
apply a fix I think will help Windows
........
Guido van Rossum [Tue, 19 Aug 2008 21:02:04 +0000 (21:02 +0000)]
Issue 1179: [CVE-2007-4965] Integer overflow in imageop module.
Guido van Rossum [Tue, 19 Aug 2008 20:13:02 +0000 (20:13 +0000)]
Hopeful fix for issue 1878: remove Py_TPFLAGS_HAVE_VERSION_TAG from
Py_TPFLAGS_DEFAULT when not building the core.
Benjamin Peterson [Tue, 19 Aug 2008 19:52:46 +0000 (19:52 +0000)]
allow keyword args to be passed in after *args #3473
Thomas Heller [Tue, 19 Aug 2008 19:40:23 +0000 (19:40 +0000)]
COM method code is windows specific