]> granicus.if.org Git - python/log
python
16 years agoAdded NEWS
Hirokazu Yamamoto [Thu, 4 Sep 2008 14:25:30 +0000 (14:25 +0000)]
Added NEWS

16 years ago#3671: various corrections and markup fixes noted by Kent Johnson
Andrew M. Kuchling [Thu, 4 Sep 2008 13:26:24 +0000 (13:26 +0000)]
#3671: various corrections and markup fixes noted by Kent Johnson

16 years agoIssue #3762: platform.architecture() fails if python is lanched via its symbolic...
Hirokazu Yamamoto [Thu, 4 Sep 2008 11:15:14 +0000 (11:15 +0000)]
Issue #3762: platform.architecture() fails if python is lanched via its symbolic link.
Reviewed by Amaury Forgeot d'Arc.

16 years agoIssue #3772: Fixed regression problem in StreamHandler.emit().
Vinay Sajip [Thu, 4 Sep 2008 07:31:21 +0000 (07:31 +0000)]
Issue #3772: Fixed regression problem in StreamHandler.emit().

16 years agotest_py3kwarn had been overlooked when test.test_support.catch_warning() was
Brett Cannon [Wed, 3 Sep 2008 22:45:11 +0000 (22:45 +0000)]
test_py3kwarn had been overlooked when test.test_support.catch_warning() was
re-implemented to use warnings.catch_warnings() and had its API improved.

Closes issue #3768.
Code review by Benjamin Peterson.

16 years agoIssue 600362: Relocated parse_qs() and parse_qsl(), from the cgi module
Facundo Batista [Wed, 3 Sep 2008 22:35:50 +0000 (22:35 +0000)]
Issue 600362: Relocated parse_qs() and parse_qsl(), from the cgi module
to the urlparse one.  Added a PendingDeprecationWarning in the old
module, it will be deprecated in the future.  Docs and tests updated.

16 years agoPython3.0 bsddb testsuite compatibility improvements
Jesus Cea [Wed, 3 Sep 2008 22:07:11 +0000 (22:07 +0000)]
Python3.0 bsddb testsuite compatibility improvements

16 years ago3.0 still has the old threading names
Benjamin Peterson [Wed, 3 Sep 2008 21:48:20 +0000 (21:48 +0000)]
3.0 still has the old threading names

16 years agoFix issue 3110 - solaris compilation of multiprocessing fails, reviewed by pitrou
Jesse Noller [Wed, 3 Sep 2008 18:10:30 +0000 (18:10 +0000)]
Fix issue 3110 - solaris compilation of multiprocessing fails, reviewed by pitrou

16 years agoFix some leaks - Neal Norwitz
Jesus Cea [Wed, 3 Sep 2008 17:50:32 +0000 (17:50 +0000)]
Fix some leaks - Neal Norwitz

16 years agoIssue #2562: Fix distutils PKG-INFO writing logic to allow having
Marc-André Lemburg [Wed, 3 Sep 2008 11:13:56 +0000 (11:13 +0000)]
Issue #2562: Fix distutils PKG-INFO writing logic to allow having
non-ascii characters and Unicode in setup.py meta-data.

16 years agoIssue #3726: Allowed spaces in separators in logging configuration files.
Vinay Sajip [Wed, 3 Sep 2008 09:20:05 +0000 (09:20 +0000)]
Issue #3726: Allowed spaces in separators in logging configuration files.

16 years agoFix issue 3645: OpenBSD required -lcurses when linking with readline
Gregory P. Smith [Wed, 3 Sep 2008 05:57:48 +0000 (05:57 +0000)]
Fix issue 3645: OpenBSD required -lcurses when linking with readline
to get the correct completion_matches function to avoid crashes on
x86_64 (amd64).

I don't have OpenBSD to test myself.  I tested that it does not break
anything on linux.  It is simple.

16 years agoMerged revisions 66176 via svnmerge from
Benjamin Peterson [Wed, 3 Sep 2008 02:14:03 +0000 (02:14 +0000)]
Merged revisions 66176 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

........
  r66176 | benjamin.peterson | 2008-09-02 21:04:06 -0500 (Tue, 02 Sep 2008) | 1 line

  fix typo
........

16 years agoupdate 2to3 script from 2to3 trunk
Benjamin Peterson [Wed, 3 Sep 2008 01:53:28 +0000 (01:53 +0000)]
update 2to3 script from 2to3 trunk

16 years agoMerged revisions 66173 via svnmerge from
Benjamin Peterson [Wed, 3 Sep 2008 00:21:32 +0000 (00:21 +0000)]
Merged revisions 66173 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

........
  r66173 | benjamin.peterson | 2008-09-02 18:57:48 -0500 (Tue, 02 Sep 2008) | 8 lines

  A little 2to3 refactoring #3637

  This moves command line logic from refactor.py to a new file called
  main.py.  RefactoringTool now merely deals with the actual fixers and
  refactoring; options processing for example is abstracted out.

  This patch was reviewed by Gregory P. Smith.
........

16 years agoIssue 2975: when compiling multiple extension modules with visual studio 2008
Amaury Forgeot d'Arc [Tue, 2 Sep 2008 23:19:56 +0000 (23:19 +0000)]
Issue 2975: when compiling multiple extension modules with visual studio 2008
from the same python instance, some environment variables (LIB, INCLUDE)
would grow without limit.

Tested with these statements:
    distutils.ccompiler.new_compiler().initialize()
    print os.environ['LIB']
But I don't know how to turn them into reliable unit tests.

16 years agoAttempt to correct the build files for the Microsoft VS7.1 compiler.
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.

16 years agoUse vs9to8.py to refresh the Visual Studio 2005 build files.
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.

16 years agoIssue #3759: test_asyncore.py leaked handle.
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

16 years agoAdd e-mail address
Andrew M. Kuchling [Tue, 2 Sep 2008 13:08:11 +0000 (13:08 +0000)]
Add e-mail address

16 years agoClarify example; add imports
Andrew M. Kuchling [Tue, 2 Sep 2008 13:06:00 +0000 (13:06 +0000)]
Clarify example; add imports

16 years agoAdd news item for #3719.
Marc-André Lemburg [Tue, 2 Sep 2008 12:11:19 +0000 (12:11 +0000)]
Add news item for #3719.

16 years agoAdd quotes around the file name to avoid issues with spaces.
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.

16 years agoIssue 3747: Fix caching in ABCMeta.__subclasscheck__ (R: Georg Brandl)
Nick Coghlan [Tue, 2 Sep 2008 10:14:47 +0000 (10:14 +0000)]
Issue 3747: Fix caching in ABCMeta.__subclasscheck__ (R: Georg Brandl)

16 years agoa typo
Mark Summerfield [Tue, 2 Sep 2008 07:23:16 +0000 (07:23 +0000)]
a typo

16 years agoIssue #3708: os.urandom no longer goes into an infinite loop when passed a
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.

16 years agoIssue #3678: Correctly pass LDFLAGS and LDLAST to the linker on shared
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.

16 years agoImprove compatibility with Python3.0 testsuite
Jesus Cea [Tue, 2 Sep 2008 02:29:06 +0000 (02:29 +0000)]
Improve compatibility with Python3.0 testsuite

16 years agotypo fix
Andrew M. Kuchling [Tue, 2 Sep 2008 01:39:18 +0000 (01:39 +0000)]
typo fix

16 years agoMove test.test_support.catch_warning() to the warnings module, rename it
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.

16 years agoDescribe the __hash__ changes
Andrew M. Kuchling [Tue, 2 Sep 2008 01:13:42 +0000 (01:13 +0000)]
Describe the __hash__ changes

16 years agoremove py3k warnings about the threading api; update docs
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

16 years agoIn Python3.0, "test.test_support" is renamed to "test.support".
Jesus Cea [Mon, 1 Sep 2008 20:48:16 +0000 (20:48 +0000)]
In Python3.0, "test.test_support" is renamed to "test.support".

16 years agoIssue #3751: str.rpartition would perform a left-partition when called with
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.

16 years agoBug #3738: Documentation is now more accurate in describing handler close methods.
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.

16 years agoMerged revisions 65887,65889,65967-65968,65981 via svnmerge from
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
........

16 years agorevert r66114 for Jesse
Benjamin Peterson [Mon, 1 Sep 2008 17:10:46 +0000 (17:10 +0000)]
revert r66114 for Jesse

16 years agoSubmit Nick's patch for issue 3589, reviewed by jnoller
Jesse Noller [Mon, 1 Sep 2008 16:47:25 +0000 (16:47 +0000)]
Submit Nick's patch for issue 3589, reviewed by jnoller

16 years agoAdded section about configuring logging in a library. Thanks to Thomas Heller for...
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.

16 years agologging: fixed lack of use of encoding attribute specified on a stream.
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.

16 years agoIssue #3748: platform.architecture() printed vogus message on windows.
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.

16 years agologging: fixed lack of use of encoding attribute specified on a stream.
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.

16 years agoIssue #3732: Backported r53335 to supress deprecation warning.
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.

16 years agoFix compilation when --without-threads is given #3683
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

16 years ago#3749: fix c'n'p errors.
Georg Brandl [Mon, 1 Sep 2008 14:15:55 +0000 (14:15 +0000)]
#3749: fix c'n'p errors.

16 years ago#3703 unhelpful _fileio.FileIO error message when trying to open a directory
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

16 years agoissue3715: docstring representation of hex escaped string needs to be double
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.

16 years agoUpdate patch/bug count
Andrew M. Kuchling [Sun, 31 Aug 2008 15:48:44 +0000 (15:48 +0000)]
Update patch/bug count

16 years agoLast batch of edits; remove the 'other changes' section
Andrew M. Kuchling [Sun, 31 Aug 2008 15:41:48 +0000 (15:41 +0000)]
Last batch of edits; remove the 'other changes' section

16 years agoEdit the library section, rearranging items to flow better and making lots of edits
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

16 years agoUpdate bsddb code to version 4.7.3pre2. This code should
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

16 years agoIssue 2235: document the ability to block inheritance of __hash__ in the language...
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

16 years agoMore edits
Andrew M. Kuchling [Sun, 31 Aug 2008 02:24:08 +0000 (02:24 +0000)]
More edits

16 years agoMore edits; markup fixes
Andrew M. Kuchling [Sat, 30 Aug 2008 22:56:54 +0000 (22:56 +0000)]
More edits; markup fixes

16 years agoFix markup.
Georg Brandl [Sat, 30 Aug 2008 22:00:28 +0000 (22:00 +0000)]
Fix markup.

16 years ago#3707: fix inf. recursion in pydoc topic search. Rev'd by Antoine.
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.

16 years agoEdit four more sections
Andrew M. Kuchling [Sat, 30 Aug 2008 16:44:54 +0000 (16:44 +0000)]
Edit four more sections

16 years agoCorrection from Antoine Pitrou: BufferedWriter and Reader support seek()
Andrew M. Kuchling [Sat, 30 Aug 2008 15:25:47 +0000 (15:25 +0000)]
Correction from Antoine Pitrou: BufferedWriter and Reader support seek()

16 years agoTidy up some sentences
Andrew M. Kuchling [Sat, 30 Aug 2008 15:21:23 +0000 (15:21 +0000)]
Tidy up some sentences

16 years agoPartial edits from revision and tidying pass
Andrew M. Kuchling [Sat, 30 Aug 2008 15:19:57 +0000 (15:19 +0000)]
Partial edits from revision and tidying pass

16 years agosuper() actually returns a super object.
Georg Brandl [Sat, 30 Aug 2008 13:17:39 +0000 (13:17 +0000)]
super() actually returns a super object.

16 years ago#3569: eval() also accepts "exec"able code objects.
Georg Brandl [Sat, 30 Aug 2008 10:03:09 +0000 (10:03 +0000)]
#3569: eval() also accepts "exec"able code objects.

16 years ago#3716: fix typo.
Georg Brandl [Sat, 30 Aug 2008 09:52:44 +0000 (09:52 +0000)]
#3716: fix typo.

16 years ago#3730: mention "server" attribute explicitly.
Georg Brandl [Sat, 30 Aug 2008 09:49:36 +0000 (09:49 +0000)]
#3730: mention "server" attribute explicitly.

16 years agoA collection of crashers, all variants of the idea
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.

16 years ago#3668: When PyArg_ParseTuple correctly parses a s* format, but raises an
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.

16 years ago#3711: .dll isn't a valid Python extension anymore.
Georg Brandl [Thu, 28 Aug 2008 09:40:18 +0000 (09:40 +0000)]
#3711: .dll isn't a valid Python extension anymore.

16 years agoAdd various items
Andrew M. Kuchling [Wed, 27 Aug 2008 02:12:18 +0000 (02:12 +0000)]
Add various items

16 years agoAdd an item and a note
Andrew M. Kuchling [Wed, 27 Aug 2008 00:45:02 +0000 (00:45 +0000)]
Add an item and a note

16 years agoTrim whitespace; add a few updates
Andrew M. Kuchling [Wed, 27 Aug 2008 00:27:18 +0000 (00:27 +0000)]
Trim whitespace; add a few updates

16 years agoIssue #2534: speed up isinstance() and issubclass() by 50-70%, so as to
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.

16 years agosort of backport 66038 by aliasing PyObject_Bytes to PyObject_Str
Benjamin Peterson [Tue, 26 Aug 2008 17:08:40 +0000 (17:08 +0000)]
sort of backport 66038 by aliasing PyObject_Bytes to PyObject_Str

16 years agoTry to reduce the flakiness of this test
Neal Norwitz [Mon, 25 Aug 2008 03:52:40 +0000 (03:52 +0000)]
Try to reduce the flakiness of this test

16 years agoUse bytes as return type from recv_bytes() methods. Not sure why this only
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

16 years agoFix problem reported by pychecker where AuthenticationError wasn't imported.
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

16 years agoClarify that some attributes/methods are listed somewhat separately because they...
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.

16 years ago#3662: Fix segfault introduced when fixing memory leaks.
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

16 years agoremove note about unimplemented feature
Benjamin Peterson [Sun, 24 Aug 2008 21:55:03 +0000 (21:55 +0000)]
remove note about unimplemented feature

16 years ago#3654: fix duplicate test method name. Review by Benjamin P.
Georg Brandl [Sun, 24 Aug 2008 18:11:07 +0000 (18:11 +0000)]
#3654: fix duplicate test method name. Review by Benjamin P.

16 years agogenerate py3k warnings on __getslice__, __delslice__, and __setslice__
Benjamin Peterson [Sun, 24 Aug 2008 18:10:20 +0000 (18:10 +0000)]
generate py3k warnings on __getslice__, __delslice__, and __setslice__

Reviewer: Brett Cannon

16 years agoUse the actual blacklist of leaky tests
Neal Norwitz [Sun, 24 Aug 2008 17:29:53 +0000 (17:29 +0000)]
Use the actual blacklist of leaky tests

16 years agoIgnore a couple more tests that report leaks inconsistently.
Neal Norwitz [Sun, 24 Aug 2008 17:27:43 +0000 (17:27 +0000)]
Ignore a couple more tests that report leaks inconsistently.

16 years agoFix:
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.

16 years agofix warning
Benjamin Peterson [Sat, 23 Aug 2008 21:40:15 +0000 (21:40 +0000)]
fix warning

16 years ago#3643 add a few more checks to _testcapi to prevent segfaults
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

16 years agoSmall updates to types member docs, backport from r65994.
Georg Brandl [Sat, 23 Aug 2008 15:15:31 +0000 (15:15 +0000)]
Small updates to types member docs, backport from r65994.

16 years agoFix bug 3625: test issues on 64bit windows. r=pitrou
Mark Hammond [Sat, 23 Aug 2008 00:59:14 +0000 (00:59 +0000)]
Fix bug 3625: test issues on 64bit windows. r=pitrou

16 years agod is the correct format string
Christian Heimes [Fri, 22 Aug 2008 21:23:47 +0000 (21:23 +0000)]
d is the correct format string

16 years agofix a few get_name() calls and turn then to .name
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

16 years agoFixed two format strings in the _collections module. For example
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

16 years agoSilenced a compiler warning in the sqlite module
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

16 years agoSilenced compiler warning
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

16 years agoChanged type of numarenas from uint to size_t to silence a GCC warning on 64bit OSes...
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.

16 years agoIssue #1342811: Fixed broken patch. 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.

16 years agoissue 3633: Solaris allows fullwidth Unicode digits in isxdigit, so
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.

16 years agoFix float.fromhex test to give additional information on failure. This
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

16 years agodone with the release
Barry Warsaw [Thu, 21 Aug 2008 02:12:56 +0000 (02:12 +0000)]
done with the release

16 years agoTagging 2.6b3
Barry Warsaw [Thu, 21 Aug 2008 01:15:57 +0000 (01:15 +0000)]
Tagging 2.6b3

16 years agoBump to 2.6b3. v2.6b3
Barry Warsaw [Thu, 21 Aug 2008 01:15:08 +0000 (01:15 +0000)]
Bump to 2.6b3.