]> granicus.if.org Git - python/log
python
16 years agoIssue #1658: dict size is changing during iteration in tkinter.BaseWidget and
Guilherme Polo [Thu, 4 Sep 2008 11:21:31 +0000 (11:21 +0000)]
Issue #1658: dict size is changing during iteration in tkinter.BaseWidget and
tkinter.scrolledtext.ScrolledText.

Reviewed by Amaury Forgeot d'Arc

16 years agoFollows to bsddb removal (VC6)
Hirokazu Yamamoto [Thu, 4 Sep 2008 08:47:17 +0000 (08:47 +0000)]
Follows to bsddb removal (VC6)

16 years agoMention that bsddb is gone and include a link to jcea's website where
Gregory P. Smith [Thu, 4 Sep 2008 05:07:03 +0000 (05:07 +0000)]
Mention that bsddb is gone and include a link to jcea's website where
it is being maintained.

16 years agoPyTokenizer_FindEncoding() always failed because it set the tokenizer state
Brett Cannon [Thu, 4 Sep 2008 05:04:25 +0000 (05:04 +0000)]
PyTokenizer_FindEncoding() always failed because it set the tokenizer state
with only a file pointer when it called fp_setreadl() which expected a file
path. Changed fp_setreadl() to use either a file path or file descriptor
(derived from the file pointer) to fix the issue.

Closes issue 3594.
Reviewed by Antoine Pitrou and Benjamin Peterson.

16 years agoInclude a pointer to the pybsddb website with the 'bsddb has been
Gregory P. Smith [Thu, 4 Sep 2008 04:46:48 +0000 (04:46 +0000)]
Include a pointer to the pybsddb website with the 'bsddb has been
removed' note.

16 years agocorrect an example
Gregory P. Smith [Thu, 4 Sep 2008 04:18:09 +0000 (04:18 +0000)]
correct an example

16 years agoRemove _bsddb project on py3k (_bsddb44 project remains and builds). As discussed
Mark Hammond [Thu, 4 Sep 2008 03:03:00 +0000 (03:03 +0000)]
Remove _bsddb project on py3k (_bsddb44 project remains and builds).  As discussed
with Barry etc on #python-dev

16 years agoFix a memory leak in reloading extension modules #3667
Benjamin Peterson [Thu, 4 Sep 2008 02:28:15 +0000 (02:28 +0000)]
Fix a memory leak in reloading extension modules #3667

Reviewer: Barry Warsaw

16 years ago#2501 xml.sax.parser doesn't terminate when given a filename; enable some more tests!
Benjamin Peterson [Thu, 4 Sep 2008 02:22:52 +0000 (02:22 +0000)]
#2501 xml.sax.parser doesn't terminate when given a filename; enable some more tests!

Reviewed by myself

16 years agoCommitting the patch in issue 2965, so that weakref dicts have a closer
Barry Warsaw [Thu, 4 Sep 2008 01:42:51 +0000 (01:42 +0000)]
Committing the patch in issue 2965, so that weakref dicts have a closer
interface to normal dictionaries.  keys(), values() and items() still return
iterators instead of views, but that can be fixed later (or not).

16 years agodb_incs is needed
Benjamin Peterson [Wed, 3 Sep 2008 23:30:49 +0000 (23:30 +0000)]
db_incs is needed

16 years agoclean up some more bsddb scraps
Benjamin Peterson [Wed, 3 Sep 2008 22:59:38 +0000 (22:59 +0000)]
clean up some more bsddb scraps

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

16 years agoBlocked revisions 66197 via svnmerge
Brett Cannon [Wed, 3 Sep 2008 22:47:09 +0000 (22:47 +0000)]
Blocked revisions 66197 via svnmerge

........
  r66197 | brett.cannon | 2008-09-03 15:45:11 -0700 (Wed, 03 Sep 2008) | 6 lines

  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 agoremove bsddb
Benjamin Peterson [Wed, 3 Sep 2008 22:30:12 +0000 (22:30 +0000)]
remove bsddb

16 years agoMerged revisions 66134,66136,66143,66154-66155,66190 via svnmerge from
Benjamin Peterson [Wed, 3 Sep 2008 22:22:18 +0000 (22:22 +0000)]
Merged revisions 66134,66136,66143,66154-66155,66190 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66134 | andrew.kuchling | 2008-09-01 20:13:42 -0500 (Mon, 01 Sep 2008) | 1 line

  Describe the __hash__ changes
........
  r66136 | andrew.kuchling | 2008-09-01 20:39:18 -0500 (Mon, 01 Sep 2008) | 1 line

  typo fix
........
  r66143 | mark.summerfield | 2008-09-02 02:23:16 -0500 (Tue, 02 Sep 2008) | 3 lines

  a typo
........
  r66154 | andrew.kuchling | 2008-09-02 08:06:00 -0500 (Tue, 02 Sep 2008) | 1 line

  Clarify example; add imports
........
  r66155 | andrew.kuchling | 2008-09-02 08:08:11 -0500 (Tue, 02 Sep 2008) | 1 line

  Add e-mail address
........
  r66190 | benjamin.peterson | 2008-09-03 16:48:20 -0500 (Wed, 03 Sep 2008) | 1 line

  3.0 still has the old threading names
........

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

16 years agoFixed wording of python --help text.
Christian Heimes [Wed, 3 Sep 2008 20:31:07 +0000 (20:31 +0000)]
Fixed wording of python --help text.
The -b option was still using the old name 'buffer' instead of 'bytearray'.

16 years agoThe decode is used to workaround this:
Jesus Cea [Wed, 3 Sep 2008 20:23:47 +0000 (20:23 +0000)]
The decode is used to workaround this:
http://mail.python.org/pipermail/python-3000/2008-September/014709.html

16 years agoIssue #3696: Error parsing arguments on OpenBSD <= 4.4 and Cygwin.
Antoine Pitrou [Wed, 3 Sep 2008 18:58:51 +0000 (18:58 +0000)]
Issue #3696: Error parsing arguments on OpenBSD <= 4.4 and Cygwin.

Patch by Amaury Forgeot d'Arc, reviewed by me.

16 years agoIssue #3697: "Fatal Python error: Cannot recover from stack overflow"
Antoine Pitrou [Wed, 3 Sep 2008 18:34:34 +0000 (18:34 +0000)]
Issue #3697: "Fatal Python error: Cannot recover from stack overflow"
could be easily encountered under Windows in debug mode when exercising
the recursion limit checking code, due to bogus handling of recursion
limit when USE_STACKCHEK was enabled.

Reviewed by Amaury Forgeot d'Arc on IRC.

16 years agomerge 66184 to fix issue3110 to py3k
Jesse Noller [Wed, 3 Sep 2008 18:22:19 +0000 (18:22 +0000)]
merge 66184 to fix issue3110 to py3k

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

16 years agoMerged revisions 66174-66175,66177 via svnmerge from
Benjamin Peterson [Wed, 3 Sep 2008 02:27:16 +0000 (02:27 +0000)]
Merged revisions 66174-66175,66177 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

................
  r66174 | benjamin.peterson | 2008-09-02 19:21:32 -0500 (Tue, 02 Sep 2008) | 15 lines

  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.
  ........
................
  r66175 | benjamin.peterson | 2008-09-02 20:53:28 -0500 (Tue, 02 Sep 2008) | 1 line

  update 2to3 script from 2to3 trunk
................
  r66177 | benjamin.peterson | 2008-09-02 21:14:03 -0500 (Tue, 02 Sep 2008) | 9 lines

  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 agoMerged revisions 66171 via svnmerge from
Amaury Forgeot d'Arc [Tue, 2 Sep 2008 23:22:56 +0000 (23:22 +0000)]
Merged revisions 66171 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66171 | amaury.forgeotdarc | 2008-09-03 01:19:56 +0200 (mer., 03 sept. 2008) | 9 lines

  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 agoMerged revisions 66167 via svnmerge from
Amaury Forgeot d'Arc [Tue, 2 Sep 2008 23:08:07 +0000 (23:08 +0000)]
Merged revisions 66167 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66167 | amaury.forgeotdarc | 2008-09-02 23:50:47 +0200 (mar., 02 sept. 2008) | 5 lines

  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 agoMerged revisions 66166 via svnmerge from
Amaury Forgeot d'Arc [Tue, 2 Sep 2008 22:36:25 +0000 (22:36 +0000)]
Merged revisions 66166 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

Note: The Windows projects still use bsddb 4.4.20 on the py3k branch

........
  r66166 | amaury.forgeotdarc | 2008-09-02 23:17:05 +0200 (mar., 02 sept. 2008) | 2 lines

  Use vs9to8.py to refresh the Visual Studio 2005 build files.
........

16 years agoMerged revisions 66162 via svnmerge from
Hirokazu Yamamoto [Tue, 2 Sep 2008 20:41:25 +0000 (20:41 +0000)]
Merged revisions 66162 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66162 | hirokazu.yamamoto | 2008-09-03 05:36:44 +0900 | 2 lines

  Issue #3759: test_asyncore.py leaked handle.
  Reviewed by Amaury Forgeot d'Arc
........

16 years agoMerge r66115 forward to py3k, resolves issue3419
Jesse Noller [Tue, 2 Sep 2008 19:12:20 +0000 (19:12 +0000)]
Merge r66115 forward to py3k, resolves issue3419

16 years agounblock 66115 from merging
Jesse Noller [Tue, 2 Sep 2008 18:44:13 +0000 (18:44 +0000)]
unblock 66115 from merging

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

16 years agoMerged revisions 66144 via svnmerge from
Nick Coghlan [Tue, 2 Sep 2008 10:43:28 +0000 (10:43 +0000)]
Merged revisions 66144 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66144 | nick.coghlan | 2008-09-02 20:14:47 +1000 (Tue, 02 Sep 2008) | 1 line

  Issue 3747: Fix caching in ABCMeta.__subclasscheck__ (R: Georg Brandl)
........

16 years agoAdd quotes around the file name to avoid issues with spaces.
Marc-André Lemburg [Tue, 2 Sep 2008 10:33:55 +0000 (10:33 +0000)]
Add quotes around the file name to avoid issues with spaces.

Closes #3719.

Ported to 3.0 from r66145.

16 years agoThe _warnings module did not properly handle cases where strings were not being
Brett Cannon [Tue, 2 Sep 2008 04:01:42 +0000 (04:01 +0000)]
The _warnings module did not properly handle cases where strings were not being
passed in as the message to use for a warning. Fixed along with making the code
more robust against other errors where return values were not checked.

Closes issue 3639.
Code review by Benjamin Peterson.

16 years agoMerge in r66135. Doing also required removing a stale DeprecationWarning along
Brett Cannon [Tue, 2 Sep 2008 02:46:59 +0000 (02:46 +0000)]
Merge in r66135. Doing also required removing a stale DeprecationWarning along
with moving warnings.catch_warnings() over to keyword-only parameters for its
constructor (as documented in the 2.6 docs).

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

16 years agoMerged revisions 66045,66048-66049,66053,66060,66062-66063,66065,66067,66071-66074...
Benjamin Peterson [Tue, 2 Sep 2008 00:31:15 +0000 (00:31 +0000)]
Merged revisions 66045,66048-66049,66053,66060,66062-66063,66065,66067,66071-66074,66080,66082-66083,66090-66093,66097-66099,66103,66105,66110,66118 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66045 | andrew.kuchling | 2008-08-26 19:27:18 -0500 (Tue, 26 Aug 2008) | 1 line

  Trim whitespace; add a few updates
........
  r66048 | andrew.kuchling | 2008-08-26 19:45:02 -0500 (Tue, 26 Aug 2008) | 1 line

  Add an item and a note
........
  r66049 | andrew.kuchling | 2008-08-26 21:12:18 -0500 (Tue, 26 Aug 2008) | 1 line

  Add various items
........
  r66053 | georg.brandl | 2008-08-28 04:40:18 -0500 (Thu, 28 Aug 2008) | 2 lines

  #3711: .dll isn't a valid Python extension anymore.
........
  r66060 | armin.rigo | 2008-08-29 16:21:52 -0500 (Fri, 29 Aug 2008) | 3 lines

  A collection of crashers, all variants of the idea
  of issue #3720.
........
  r66062 | georg.brandl | 2008-08-30 04:49:36 -0500 (Sat, 30 Aug 2008) | 2 lines

  #3730: mention "server" attribute explicitly.
........
  r66063 | georg.brandl | 2008-08-30 04:52:44 -0500 (Sat, 30 Aug 2008) | 2 lines

  #3716: fix typo.
........
  r66065 | georg.brandl | 2008-08-30 05:03:09 -0500 (Sat, 30 Aug 2008) | 2 lines

  #3569: eval() also accepts "exec"able code objects.
........
  r66067 | georg.brandl | 2008-08-30 08:17:39 -0500 (Sat, 30 Aug 2008) | 2 lines

  super() actually returns a super object.
........
  r66071 | andrew.kuchling | 2008-08-30 10:19:57 -0500 (Sat, 30 Aug 2008) | 1 line

  Partial edits from revision and tidying pass
........
  r66072 | andrew.kuchling | 2008-08-30 10:21:23 -0500 (Sat, 30 Aug 2008) | 1 line

  Tidy up some sentences
........
  r66073 | andrew.kuchling | 2008-08-30 10:25:47 -0500 (Sat, 30 Aug 2008) | 1 line

  Correction from Antoine Pitrou: BufferedWriter and Reader support seek()
........
  r66074 | andrew.kuchling | 2008-08-30 11:44:54 -0500 (Sat, 30 Aug 2008) | 1 line

  Edit four more sections
........
  r66080 | georg.brandl | 2008-08-30 17:00:28 -0500 (Sat, 30 Aug 2008) | 2 lines

  Fix markup.
........
  r66082 | andrew.kuchling | 2008-08-30 17:56:54 -0500 (Sat, 30 Aug 2008) | 1 line

  More edits; markup fixes
........
  r66083 | andrew.kuchling | 2008-08-30 21:24:08 -0500 (Sat, 30 Aug 2008) | 1 line

  More edits
........
  r66090 | andrew.kuchling | 2008-08-31 09:29:31 -0500 (Sun, 31 Aug 2008) | 1 line

  Edit the library section, rearranging items to flow better and making lots of edits
........
  r66091 | andrew.kuchling | 2008-08-31 10:41:48 -0500 (Sun, 31 Aug 2008) | 1 line

  Last batch of edits; remove the 'other changes' section
........
  r66092 | andrew.kuchling | 2008-08-31 10:48:44 -0500 (Sun, 31 Aug 2008) | 1 line

  Update patch/bug count
........
  r66093 | gregory.p.smith | 2008-08-31 11:34:18 -0500 (Sun, 31 Aug 2008) | 3 lines

  issue3715: docstring representation of hex escaped string needs to be double
  escaped.
........
  r66097 | benjamin.peterson | 2008-09-01 09:13:43 -0500 (Mon, 01 Sep 2008) | 4 lines

  #3703 unhelpful _fileio.FileIO error message when trying to open a directory

  Reviewer: Gregory P. Smith
........
  r66098 | georg.brandl | 2008-09-01 09:15:55 -0500 (Mon, 01 Sep 2008) | 2 lines

  #3749: fix c'n'p errors.
........
  r66099 | benjamin.peterson | 2008-09-01 09:18:30 -0500 (Mon, 01 Sep 2008) | 4 lines

  Fix compilation when --without-threads is given #3683

  Reviewer: Georg Brandl, Benjamin Peterson
........
  r66103 | vinay.sajip | 2008-09-01 09:30:10 -0500 (Mon, 01 Sep 2008) | 1 line

  logging: fixed lack of use of encoding attribute specified on a stream.
........
  r66105 | vinay.sajip | 2008-09-01 09:33:59 -0500 (Mon, 01 Sep 2008) | 1 line

  logging: fixed lack of use of encoding attribute specified on a stream.
........
  r66110 | vinay.sajip | 2008-09-01 10:08:07 -0500 (Mon, 01 Sep 2008) | 1 line

  Added section about configuring logging in a library. Thanks to Thomas Heller for the idea.
........
  r66118 | vinay.sajip | 2008-09-01 12:44:14 -0500 (Mon, 01 Sep 2008) | 1 line

  Bug #3738: Documentation is now more accurate in describing handler close methods.
........

16 years agoPort Python 2.6 bsddb3 testdriver to Python 3.0
Jesus Cea [Tue, 2 Sep 2008 00:06:22 +0000 (00:06 +0000)]
Port Python 2.6 bsddb3 testdriver to Python 3.0

16 years agoBlocked revisions 65655,66088,66123 via svnmerge
Benjamin Peterson [Mon, 1 Sep 2008 23:32:29 +0000 (23:32 +0000)]
Blocked revisions 65655,66088,66123 via svnmerge

........
  r65655 | bill.janssen | 2008-08-12 11:31:21 -0500 (Tue, 12 Aug 2008) | 1 line

  remove duplicate close() from ssl.py; expose unwrap and add test for it
........
  r66088 | jesus.cea | 2008-08-31 09:00:51 -0500 (Sun, 31 Aug 2008) | 6 lines

  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
........
  r66123 | jesus.cea | 2008-09-01 15:48:16 -0500 (Mon, 01 Sep 2008) | 1 line

  In Python3.0, "test.test_support" is renamed to "test.support".
........

16 years agoBlocked revisions 66127 via svnmerge
Benjamin Peterson [Mon, 1 Sep 2008 23:22:44 +0000 (23:22 +0000)]
Blocked revisions 66127 via svnmerge

........
  r66127 | benjamin.peterson | 2008-09-01 18:12:58 -0500 (Mon, 01 Sep 2008) | 4 lines

  remove py3k warnings about the threading api; update docs

  Reviewer: Benjamin Peterson
........

16 years agoremove the deprecation warnings for the old threading API; update the docs
Benjamin Peterson [Mon, 1 Sep 2008 23:09:31 +0000 (23:09 +0000)]
remove the deprecation warnings for the old threading API; update the 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:51 +0000 (20:48 +0000)]
In Python3.0, "test.test_support" is renamed to "test.support".

16 years agoBlocked revisions 66119 via svnmerge
Amaury Forgeot d'Arc [Mon, 1 Sep 2008 20:37:50 +0000 (20:37 +0000)]
Blocked revisions 66119 via svnmerge

........
  r66119 | amaury.forgeotdarc | 2008-09-01 21:52:00 +0200 (lun., 01 sept. 2008) | 5 lines

  Issue #3751: str.rpartition would perform a left-partition when called with
  a unicode argument.

  will backport.
........

16 years agoMerged revisions 66117 via svnmerge from
Benjamin Peterson [Mon, 1 Sep 2008 19:56:06 +0000 (19:56 +0000)]
Merged revisions 66117 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

................
  r66117 | benjamin.peterson | 2008-09-01 12:17:22 -0500 (Mon, 01 Sep 2008) | 25 lines

  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 agoBlocked revisions 66114-66115 via svnmerge
Benjamin Peterson [Mon, 1 Sep 2008 17:16:05 +0000 (17:16 +0000)]
Blocked revisions 66114-66115 via svnmerge

........
  r66114 | jesse.noller | 2008-09-01 11:47:25 -0500 (Mon, 01 Sep 2008) | 2 lines

  Submit Nick's patch for issue 3589, reviewed by jnoller
........
  r66115 | benjamin.peterson | 2008-09-01 12:10:46 -0500 (Mon, 01 Sep 2008) | 1 line

  revert r66114 for Jesse
........

16 years ago#3753: document that s* etc. are newer and preferred to s#.
Georg Brandl [Mon, 1 Sep 2008 16:45:35 +0000 (16:45 +0000)]
#3753: document that s* etc. are newer and preferred to s#.

16 years ago#3712: The memoryview object had a reference leak and didn't support cyclic garbage...
Antoine Pitrou [Mon, 1 Sep 2008 15:10:14 +0000 (15:10 +0000)]
#3712: The memoryview object had a reference leak and didn't support cyclic garbage collection.

Reviewed by Benjamin Peterson.

16 years agoMerged revisions 66104 via svnmerge from
Hirokazu Yamamoto [Mon, 1 Sep 2008 14:35:47 +0000 (14:35 +0000)]
Merged revisions 66104 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66104 | hirokazu.yamamoto | 2008-09-01 23:32:58 +0900 | 2 lines

  Issue #3748: platform.architecture() printed vogus message on windows.
  Reviewed by Marc-Andre Lemburg.
........

16 years agoBlocked revisions 66100 via svnmerge
Hirokazu Yamamoto [Mon, 1 Sep 2008 14:27:54 +0000 (14:27 +0000)]
Blocked revisions 66100 via svnmerge

........
  r66100 | hirokazu.yamamoto | 2008-09-01 23:24:04 +0900 | 3 lines

  Issue #3732: Backported r53335 to supress deprecation warning.
  Reviewed by Benjamin Peterson.
........

16 years agoissue3715: docstring representation of hex escaped string needs to be double
Gregory P. Smith [Sun, 31 Aug 2008 16:35:01 +0000 (16:35 +0000)]
issue3715: docstring representation of hex escaped string needs to be double
escaped.

16 years agobsddb code updated to version 4.7.3pre2. This code is the same than
Jesus Cea [Sun, 31 Aug 2008 14:12:11 +0000 (14:12 +0000)]
bsddb code updated to version 4.7.3pre2. This code is the same than
Python 2.6 one, since the intention is to keep an unified 2.x/3.x
codebase.

The Python code is automatically translated using "2to3". Please, do not
update this code in Python 3.0 by hand. Update the 2.6 one and then do
"2to3".

16 years agoMerged revisions 66085 (with modifications) via svnmerge from
Nick Coghlan [Sun, 31 Aug 2008 13:21:24 +0000 (13:21 +0000)]
Merged revisions 66085 (with modifications) via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66085 | nick.coghlan | 2008-08-31 23:10:50 +1000 (Sun, 31 Aug 2008) | 1 line

  Issue 2235: document the ability to block inheritance of __hash__ in the language reference
........

16 years agoMerged revisions 65487 (with heavy modifications for Py3k as well as some cleanups...
Nick Coghlan [Sun, 31 Aug 2008 12:40:14 +0000 (12:40 +0000)]
Merged revisions 65487 (with heavy modifications for Py3k as well as some cleanups of the type heirarchy) via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r65487 | nick.coghlan | 2008-08-04 22:40:59 +1000 (Mon, 04 Aug 2008) | 1 line

  Issue 643841: better documentation of the special method lookup process, especially for new-style classes. Also removes the warnings about not being authoritative for new-style classes - the language reference actually covers those fairly well now (albeit in a fashion that isn't always particularly easy to follow).
........

16 years agoMerged revisions 66076 via svnmerge from
Georg Brandl [Sat, 30 Aug 2008 19:53:05 +0000 (19:53 +0000)]
Merged revisions 66076 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66076 | georg.brandl | 2008-08-30 21:03:43 +0200 (Sat, 30 Aug 2008) | 2 lines

  #3707: fix inf. recursion in pydoc topic search. Rev'd by Antoine.
........

16 years agoRemove outdated comment. Reviewed by Antoine.
Georg Brandl [Sat, 30 Aug 2008 19:21:01 +0000 (19:21 +0000)]
Remove outdated comment. Reviewed by Antoine.

16 years ago#3577: 3.0 is not installed as "python" on Unix.
Georg Brandl [Sat, 30 Aug 2008 09:58:30 +0000 (09:58 +0000)]
#3577: 3.0 is not installed as "python" on Unix.

16 years agoBlocked revisions 66058 via svnmerge
Antoine Pitrou [Fri, 29 Aug 2008 18:45:22 +0000 (18:45 +0000)]
Blocked revisions 66058 via svnmerge

........
  r66058 | antoine.pitrou | 2008-08-29 20:39:48 +0200 (ven., 29 août 2008) | 7 lines

  #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#3668: When PyArg_ParseTuple correctly parses a s* format, but raises an
Antoine Pitrou [Fri, 29 Aug 2008 18:37:05 +0000 (18:37 +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 agoIssue 3611: in some cases (a __del__ re-raising an exception, when called from inside
Amaury Forgeot d'Arc [Fri, 29 Aug 2008 07:13:32 +0000 (07:13 +0000)]
Issue 3611: in some cases (a __del__ re-raising an exception, when called from inside
an 'except' clause), the exception __context__ would be reset to None.
This crases the interpreter if this precisely happens inside PyErr_SetObject.

- now the __context__ is properly preserved
- in any case, PyErr_SetObject now saves the current exc_value in a local variable, to
avoid such crashes in the future.

Reviewer: Antoine Pitrou.

16 years agoRemoved merge glitch from stringlib/find.h as explained on the python committers...
Christian Heimes [Thu, 28 Aug 2008 14:55:10 +0000 (14:55 +0000)]
Removed merge glitch from stringlib/find.h as explained on the python committers list. The FROM_BYTEARRAY isn't required here.
This also fixes bug #3713

16 years agoRemoved bytesmeth declaration in OyObject_Bytes. It's not used any more and causes...
Christian Heimes [Thu, 28 Aug 2008 11:28:26 +0000 (11:28 +0000)]
Removed bytesmeth declaration in OyObject_Bytes. It's not used any more and causes a compiler warning.

16 years ago#3706: fix error message for wrong exec() argument type. R=Guido.
Georg Brandl [Thu, 28 Aug 2008 07:57:16 +0000 (07:57 +0000)]
#3706: fix error message for wrong exec() argument type. R=Guido.

16 years agoFix #3651 various memory leaks when using the buffer interface
Benjamin Peterson [Wed, 27 Aug 2008 00:31:37 +0000 (00:31 +0000)]
Fix #3651  various memory leaks when using the buffer interface

by Amaury Forgeot d'Arc
Reviewer: Antoine Pitrou

16 years agoadd NULL checking for PyBytes_FromObject; R=Neal
Benjamin Peterson [Wed, 27 Aug 2008 00:28:34 +0000 (00:28 +0000)]
add NULL checking for PyBytes_FromObject; R=Neal

16 years agoBlocked revisions 66043 via svnmerge
Antoine Pitrou [Tue, 26 Aug 2008 22:44:20 +0000 (22:44 +0000)]
Blocked revisions 66043 via svnmerge

........
  r66043 | antoine.pitrou | 2008-08-27 00:42:08 +0200 (mer., 27 août 2008) | 11 lines

  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 agoIssue #2534: speed up isinstance() and issubclass() by 50-70%, so as to
Antoine Pitrou [Tue, 26 Aug 2008 22:40:48 +0000 (22:40 +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 ago#3663: extra DECREF on syntax errors.
Antoine Pitrou [Tue, 26 Aug 2008 22:02:58 +0000 (22:02 +0000)]
#3663: extra DECREF on syntax errors.
Patch by Amaury Forgeot d'Arc, reviewed by Benjamin Peterson.

16 years agoBlocked revisions 66039 via svnmerge
Benjamin Peterson [Tue, 26 Aug 2008 17:14:31 +0000 (17:14 +0000)]
Blocked revisions 66039 via svnmerge

........
  r66039 | benjamin.peterson | 2008-08-26 12:08:40 -0500 (Tue, 26 Aug 2008) | 1 line

  sort of backport 66038 by aliasing PyObject_Bytes to PyObject_Str
........

16 years agomake bytes(o) respect __bytes__ #2415
Benjamin Peterson [Tue, 26 Aug 2008 16:46:47 +0000 (16:46 +0000)]
make bytes(o) respect __bytes__ #2415

This adds two new C-API functions: PyObject_Bytes and PyBytes_FromObject.

Reviewer: Barry

16 years agoMerged revisions 65910,65977,65980,65984,65986,66000,66011-66012,66014,66017,66020...
Benjamin Peterson [Mon, 25 Aug 2008 21:05:21 +0000 (21:05 +0000)]
Merged revisions 65910,65977,65980,65984,65986,66000,66011-66012,66014,66017,66020 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r65910 | benjamin.peterson | 2008-08-20 09:07:59 -0500 (Wed, 20 Aug 2008) | 1 line

  fix up the multiprocessing docs a little
........
  r65977 | christian.heimes | 2008-08-22 14:47:25 -0500 (Fri, 22 Aug 2008) | 3 lines

  Silenced compiler warning
  Objects/stringlib/find.h:97: warning: 'stringlib_contains_obj' defined but not used
  Reviewed by Benjamin Peterson
........
  r65980 | christian.heimes | 2008-08-22 15:10:27 -0500 (Fri, 22 Aug 2008) | 3 lines

  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
........
  r65984 | christian.heimes | 2008-08-22 16:23:47 -0500 (Fri, 22 Aug 2008) | 1 line

  d is the correct format string
........
  r65986 | mark.hammond | 2008-08-22 19:59:14 -0500 (Fri, 22 Aug 2008) | 2 lines

  Fix bug 3625: test issues on 64bit windows. r=pitrou
........
  r66000 | benjamin.peterson | 2008-08-23 15:27:43 -0500 (Sat, 23 Aug 2008) | 5 lines

  #3643 add a few more checks to _testcapi to prevent segfaults

  Author: Victor Stinner
  Reviewer: Benjamin Peterson
........
  r66011 | neal.norwitz | 2008-08-24 12:27:43 -0500 (Sun, 24 Aug 2008) | 1 line

  Ignore a couple more tests that report leaks inconsistently.
........
  r66012 | neal.norwitz | 2008-08-24 12:29:53 -0500 (Sun, 24 Aug 2008) | 1 line

  Use the actual blacklist of leaky tests
........
  r66014 | georg.brandl | 2008-08-24 13:11:07 -0500 (Sun, 24 Aug 2008) | 2 lines

  #3654: fix duplicate test method name. Review by Benjamin P.
........
  r66017 | benjamin.peterson | 2008-08-24 16:55:03 -0500 (Sun, 24 Aug 2008) | 1 line

  remove note about unimplemented feature
........
  r66020 | brett.cannon | 2008-08-24 18:15:19 -0500 (Sun, 24 Aug 2008) | 1 line

  Clarify that some attributes/methods are listed somewhat separately because they are not part of the threading API.
........

16 years agoMerged revisions 66028 via svnmerge from
Neal Norwitz [Mon, 25 Aug 2008 03:55:03 +0000 (03:55 +0000)]
Merged revisions 66028 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66028 | neal.norwitz | 2008-08-24 20:52:40 -0700 (Sun, 24 Aug 2008) | 1 line

  Try to reduce the flakiness of this test
........

16 years agoMerged revisions 66026 via svnmerge from
Neal Norwitz [Mon, 25 Aug 2008 03:05:54 +0000 (03:05 +0000)]
Merged revisions 66026 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66026 | neal.norwitz | 2008-08-24 20:03:25 -0700 (Sun, 24 Aug 2008) | 6 lines

  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 agoMerged revisions 66023 via svnmerge from
Neal Norwitz [Mon, 25 Aug 2008 01:53:32 +0000 (01:53 +0000)]
Merged revisions 66023 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66023 | neal.norwitz | 2008-08-24 18:50:24 -0700 (Sun, 24 Aug 2008) | 6 lines

  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 agoTry to fix the sporadic problems on the Solaris buildbot with removing
Neal Norwitz [Mon, 25 Aug 2008 01:04:16 +0000 (01:04 +0000)]
Try to fix the sporadic problems on the Solaris buildbot with removing
the directories/files.

R=Brett
TESTED=./python -E -tt ./Lib/test/regrtest.py test_posix

16 years agoIssue #3657: Fix uninitialized memory read when pickling longs.
Neal Norwitz [Sun, 24 Aug 2008 23:50:08 +0000 (23:50 +0000)]
Issue #3657: Fix uninitialized memory read when pickling longs.

The conversion to the unicode API was incorrect, it should use bytes.
repr is a bad variable name.  The use is overloaded, but I'll leave
that to fix later.

R=Brett
TESTED=./python -E -tt ./Lib/test/regrtest.py -uall
valgrind -q --leak-check=yes --suppressions=Misc/valgrind-python.supp \
./python -E -tt ./Lib/test/regrtest.py test_pickletools

16 years agoMerged revisions 66018 via svnmerge from
Neal Norwitz [Sun, 24 Aug 2008 22:07:28 +0000 (22:07 +0000)]
Merged revisions 66018 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66018 | neal.norwitz | 2008-08-24 15:03:05 -0700 (Sun, 24 Aug 2008) | 6 lines

  #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 agoFix gdbinit to handle new types/APIs.
Neal Norwitz [Sun, 24 Aug 2008 20:59:23 +0000 (20:59 +0000)]
Fix gdbinit to handle new types/APIs.

16 years agoBlocked revisions 66013 via svnmerge
Benjamin Peterson [Sun, 24 Aug 2008 18:12:21 +0000 (18:12 +0000)]
Blocked revisions 66013 via svnmerge

........
  r66013 | benjamin.peterson | 2008-08-24 13:10:20 -0500 (Sun, 24 Aug 2008) | 4 lines

  generate py3k warnings on __getslice__, __delslice__, and __setslice__

  Reviewer: Brett Cannon
........

16 years agoFixed yet another compiler warning of 64bit builds.
Christian Heimes [Sun, 24 Aug 2008 16:15:19 +0000 (16:15 +0000)]
Fixed yet another compiler warning of 64bit builds.
Reviewed by Georg Brandl.

16 years agoCloses release blocker #3627.
Neal Norwitz [Sun, 24 Aug 2008 07:08:55 +0000 (07:08 +0000)]
Closes release blocker #3627.

Merged revisions 65335 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

TESTED=./python -E -tt ./Lib/test/regrtest.py -uall (both debug and opt)

........
  r65335 | neal.norwitz | 2008-07-31 10:17:14 -0700 (Thu, 31 Jul 2008) | 1 line

  Security patches from Apple:  prevent int overflow when allocating memory
........

16 years agoUpdate props for r66007.
Neal Norwitz [Sun, 24 Aug 2008 05:54:11 +0000 (05:54 +0000)]
Update props for r66007.

16 years agoMerged revisions 66006 via svnmerge from
Neal Norwitz [Sun, 24 Aug 2008 05:48:10 +0000 (05:48 +0000)]
Merged revisions 66006 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

TESTED=./python -E -tt ./Lib/test/regrtest.py -uall (both debug and opt modes)

........
  r66006 | neal.norwitz | 2008-08-23 22:04:52 -0700 (Sat, 23 Aug 2008) | 25 lines

  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 agoBlocked revisions 66004 via svnmerge
Benjamin Peterson [Sat, 23 Aug 2008 21:48:02 +0000 (21:48 +0000)]
Blocked revisions 66004 via svnmerge

........
  r66004 | benjamin.peterson | 2008-08-23 16:40:15 -0500 (Sat, 23 Aug 2008) | 1 line

  fix warning
........

16 years agobring the PyFile docs into sync with reality
Benjamin Peterson [Sat, 23 Aug 2008 21:04:47 +0000 (21:04 +0000)]
bring the PyFile docs into sync with reality

16 years ago#3643 add more checks to _testcapi to prevent segfaults
Benjamin Peterson [Sat, 23 Aug 2008 20:32:27 +0000 (20:32 +0000)]
#3643 add more checks to _testcapi to prevent segfaults

Author: Victor Stinner
Reviewer: Benjamin Peterson

16 years agoadd NEWS note and test for last commit
Benjamin Peterson [Sat, 23 Aug 2008 20:19:17 +0000 (20:19 +0000)]
add NEWS note and test for last commit

16 years agofix #3653 Python could segfault if invalid values were passed to sys.excepthook
Benjamin Peterson [Sat, 23 Aug 2008 20:08:07 +0000 (20:08 +0000)]
fix #3653 Python could segfault if invalid values were passed to sys.excepthook

Author: Daniel Diniz
Reviewer: Georg Brandl

16 years agoBlocked revisions 65995 via svnmerge
Georg Brandl [Sat, 23 Aug 2008 15:21:08 +0000 (15:21 +0000)]
Blocked revisions 65995 via svnmerge

........
  r65995 | georg.brandl | 2008-08-23 17:15:31 +0200 (Sat, 23 Aug 2008) | 2 lines

  Small updates to types member docs, backport from r65994.
........

16 years agoRemove outdated example from types module doc. Since the types left
Georg Brandl [Sat, 23 Aug 2008 15:14:57 +0000 (15:14 +0000)]
Remove outdated example from types module doc. Since the types left
in the modules are obscure, I didn't add a substitute example.

16 years ago#1276: Add temporary encoding aliases for non-supported Mac CJK
Hye-Shik Chang [Sat, 23 Aug 2008 08:03:03 +0000 (08:03 +0000)]
#1276: Add temporary encoding aliases for non-supported Mac CJK
encodings that are detected as system defaults in MacOS with CJK
locales.  Will be replaced by properly-implemented codecs in 3.1.

16 years ago#3650: fix a reference leak in bytes.split('x')
Amaury Forgeot d'Arc [Fri, 22 Aug 2008 22:05:20 +0000 (22:05 +0000)]
#3650: fix a reference leak in bytes.split('x')
Actually the same as r65785, but trunk only has bytearray.

16 years agoMerged revisions 65982 via svnmerge from
Benjamin Peterson [Fri, 22 Aug 2008 20:50:59 +0000 (20:50 +0000)]
Merged revisions 65982 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r65982 | benjamin.peterson | 2008-08-22 15:43:48 -0500 (Fri, 22 Aug 2008) | 4 lines

  fix a few get_name() calls and turn then to .name

  Reviewer: Christian Heimes
........

16 years agoMerged revisions 65978 via svnmerge from
Christian Heimes [Fri, 22 Aug 2008 19:56:47 +0000 (19:56 +0000)]
Merged revisions 65978 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r65978 | christian.heimes | 2008-08-22 21:55:54 +0200 (Fri, 22 Aug 2008) | 3 lines

  Silenced a compiler warning in the sqlite module
  Modules/_sqlite/row.c:187: warning: suggest parentheses around && within ||
  Reviewed by Benjamin Peterson
........

16 years agoMerged revisions 65975 via svnmerge from
Christian Heimes [Fri, 22 Aug 2008 19:38:45 +0000 (19:38 +0000)]
Merged revisions 65975 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r65975 | christian.heimes | 2008-08-22 21:34:15 +0200 (Fri, 22 Aug 2008) | 1 line

  Changed type of numarenas from uint to size_t to silence a GCC warning on 64bit OSes. Reviewed by Benjamin Peterson.
........

16 years agoMerged revisions 65971 via svnmerge from
Robert Schuppenies [Fri, 22 Aug 2008 08:27:53 +0000 (08:27 +0000)]
Merged revisions 65971 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r65971 | robert.schuppenies | 2008-08-22 10:03:43 +0200 (Fri, 22 Aug 2008) | 2 lines

  Issue #1342811: Fixed broken patch. Reviewed by benjamin.peterson.
........

16 years agoBlocked revisions 65922,65926 via svnmerge
Benjamin Peterson [Fri, 22 Aug 2008 00:57:24 +0000 (00:57 +0000)]
Blocked revisions 65922,65926 via svnmerge

........
  r65922 | barry.warsaw | 2008-08-20 20:15:08 -0500 (Wed, 20 Aug 2008) | 2 lines

  Bump to 2.6b3.
........
  r65926 | barry.warsaw | 2008-08-20 21:12:56 -0500 (Wed, 20 Aug 2008) | 1 line

  done with the release
........

16 years agoMerged revisions 65964 via svnmerge from
Mark Dickinson [Thu, 21 Aug 2008 21:40:15 +0000 (21:40 +0000)]
Merged revisions 65964 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r65964 | mark.dickinson | 2008-08-21 22:38:38 +0100 (Thu, 21 Aug 2008) | 7 lines

  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 agoMerged revisions 65958 via svnmerge from
Mark Dickinson [Thu, 21 Aug 2008 20:05:56 +0000 (20:05 +0000)]
Merged revisions 65958 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r65958 | mark.dickinson | 2008-08-21 21:02:24 +0100 (Thu, 21 Aug 2008) | 5 lines

  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 agomove test to a better location
Benjamin Peterson [Thu, 21 Aug 2008 17:00:40 +0000 (17:00 +0000)]
move test to a better location

16 years agoPyObject_Unicode doesn't exist anymore
Benjamin Peterson [Thu, 21 Aug 2008 16:51:15 +0000 (16:51 +0000)]
PyObject_Unicode doesn't exist anymore