]> granicus.if.org Git - python/log
python
17 years agoCast a struct to a void pointer so as to do a type-safe pointer comparison
Brett Cannon [Thu, 7 Feb 2008 07:47:31 +0000 (07:47 +0000)]
Cast a struct to a void pointer so as to do a type-safe pointer comparison
(mistmatch found by clang).

17 years agoMerge r60628, r60631, and r60633. Register UserList and UserString will the appropri...
Raymond Hettinger [Thu, 7 Feb 2008 03:25:46 +0000 (03:25 +0000)]
Merge r60628, r60631, and r60633.  Register UserList and UserString will the appropriate ABCs.

17 years agoMerge 60627.
Raymond Hettinger [Thu, 7 Feb 2008 03:10:33 +0000 (03:10 +0000)]
Merge 60627.

17 years agoReturn ints instead of longs for tuple.count() and tuple.index().
Raymond Hettinger [Thu, 7 Feb 2008 02:12:52 +0000 (02:12 +0000)]
Return ints instead of longs for tuple.count() and tuple.index().

17 years agoIEEE 754 should be IEEE 854; give precise reference for
Mark Dickinson [Thu, 7 Feb 2008 01:42:06 +0000 (01:42 +0000)]
IEEE 754 should be IEEE 854;  give precise reference for
comparisons involving NaNs.

17 years agoFix broken link in decimal documentation.
Mark Dickinson [Thu, 7 Feb 2008 01:14:23 +0000 (01:14 +0000)]
Fix broken link in decimal documentation.

17 years agoIssue 2025: Add tuple.count() and tuple.index() to follow the ABC in collections...
Raymond Hettinger [Thu, 7 Feb 2008 00:54:20 +0000 (00:54 +0000)]
Issue 2025:  Add tuple.count() and tuple.index() to follow the ABC in collections.Sequence.

17 years agoRevert accidental changes to test_queue in r60605.
Georg Brandl [Wed, 6 Feb 2008 23:45:51 +0000 (23:45 +0000)]
Revert accidental changes to test_queue in r60605.

17 years agoRemove incorrect usage of :const: in documentation.
Mark Dickinson [Wed, 6 Feb 2008 22:25:16 +0000 (22:25 +0000)]
Remove incorrect usage of :const: in documentation.

17 years agoIssue 1979: Make Decimal comparisons (other than !=, ==) involving NaN
Mark Dickinson [Wed, 6 Feb 2008 22:10:50 +0000 (22:10 +0000)]
Issue 1979: Make Decimal comparisons (other than !=, ==) involving NaN
raise InvalidOperation (and return False if InvalidOperation is trapped).

17 years agoFixed refcounts and error handling.
Thomas Heller [Wed, 6 Feb 2008 20:29:17 +0000 (20:29 +0000)]
Fixed refcounts and error handling.

Should not be merged to py3k branch.

17 years agoFixes issue 1959. Converted tests to unittest.
Facundo Batista [Wed, 6 Feb 2008 19:28:49 +0000 (19:28 +0000)]
Fixes issue 1959. Converted tests to unittest.
Thanks Giampaolo Rodola.

17 years agoRemove month parameter from Calendar.yeardatescalendar(),
Walter Dörwald [Wed, 6 Feb 2008 14:31:55 +0000 (14:31 +0000)]
Remove month parameter from Calendar.yeardatescalendar(),
Calendar.yeardays2calendar() and Calendar.yeardayscalendar() as the methods
don't have such a parameter. Fixes issue #2017.

Rewrap content to 80 chars.

17 years agoUnified naming convention for free lists and their limits. All free lists
Christian Heimes [Wed, 6 Feb 2008 13:33:44 +0000 (13:33 +0000)]
Unified naming convention for free lists and their limits. All free lists
in Object/ are named ``free_list``, the counter ``numfree`` and the upper
limit is a macro ``PyName_MAXFREELIST`` inside an #ifndef block.

The chances should make it easier to adjust Python for platforms with
less memory, e.g. mobile phones.

17 years agoLimit free list of method and builtin function objects to 256 entries each.
Christian Heimes [Wed, 6 Feb 2008 12:44:34 +0000 (12:44 +0000)]
Limit free list of method and builtin function objects to 256 entries each.

17 years agoSync-up with Py3k work.
Raymond Hettinger [Wed, 6 Feb 2008 01:49:00 +0000 (01:49 +0000)]
Sync-up with Py3k work.

17 years ago* Use the same code to profile for test_profile and test_cprofile.
Georg Brandl [Tue, 5 Feb 2008 19:58:17 +0000 (19:58 +0000)]
* Use the same code to profile for test_profile and test_cprofile.
* Convert both to unittest.
* Use the same unit testing code.
* Include the expected output in both test files.
* Make it possible to regenerate the expected output by running
  the file as a script with an '-r' argument.

17 years agocorrect object name
Skip Montanaro [Tue, 5 Feb 2008 19:24:30 +0000 (19:24 +0000)]
correct object name

17 years agoActually run the test.
Georg Brandl [Tue, 5 Feb 2008 19:07:10 +0000 (19:07 +0000)]
Actually run the test.

17 years agoIssue 1951. Converts wave test cases to unittest.
Facundo Batista [Tue, 5 Feb 2008 19:03:32 +0000 (19:03 +0000)]
Issue 1951. Converts wave test cases to unittest.

17 years agoFix unittest conversion breakage.
Georg Brandl [Tue, 5 Feb 2008 18:32:47 +0000 (18:32 +0000)]
Fix unittest conversion breakage.

17 years agoIn the experimental 'Scanner' feature, the group count was set wrong.
Guido van Rossum [Tue, 5 Feb 2008 17:32:15 +0000 (17:32 +0000)]
In the experimental 'Scanner' feature, the group count was set wrong.

17 years agoUpdate PEP URL.
Andrew M. Kuchling [Tue, 5 Feb 2008 16:06:57 +0000 (16:06 +0000)]
Update PEP URL.
(This code is duplicated between pydoc and DocXMLRPCServer; maybe it
should be refactored as a GHOP project.)

2.5.2 backport candidate.

17 years agoKeep distutils Python 2.1 compatible (or even Python 2.4 in this case).
Marc-André Lemburg [Tue, 5 Feb 2008 14:50:40 +0000 (14:50 +0000)]
Keep distutils Python 2.1 compatible (or even Python 2.4 in this case).

17 years agoConvert external links to internal links. Fixes #2010.
Georg Brandl [Tue, 5 Feb 2008 12:01:24 +0000 (12:01 +0000)]
Convert external links to internal links. Fixes #2010.

17 years agoIssue #2004: Use mode 0700 for temporary directories and default
Lars Gustäbel [Tue, 5 Feb 2008 11:51:40 +0000 (11:51 +0000)]
Issue #2004: Use mode 0700 for temporary directories and default
permissions for missing directories.

(will backport to 2.5)

17 years agosync with most recent version from python-mode sf project
Skip Montanaro [Tue, 5 Feb 2008 02:32:16 +0000 (02:32 +0000)]
sync with most recent version from python-mode sf project

17 years agoChange r60575 broke test_compile:
Amaury Forgeot d'Arc [Tue, 5 Feb 2008 00:26:21 +0000 (00:26 +0000)]
Change r60575 broke test_compile:
there is no need to emit co_lnotab item when both offsets are zeros.

17 years ago#1750076: Debugger did not step on every iteration of a while statement.
Amaury Forgeot d'Arc [Mon, 4 Feb 2008 21:45:05 +0000 (21:45 +0000)]
#1750076: Debugger did not step on every iteration of a while statement.

The mapping between bytecode offsets and source lines (lnotab) did not contain
an entry for the beginning of the loop.

Now it does, and the lnotab can be a bit larger:
in particular, several statements on the same line generate several entries.
However, this does not bother the settrace function, which will trigger only
one 'line' event.

The lnotab seems to be exactly the same as with python2.4.

17 years agoCorrect quotes in NEWS file
Amaury Forgeot d'Arc [Mon, 4 Feb 2008 20:53:14 +0000 (20:53 +0000)]
Correct quotes in NEWS file

17 years agoSmall adjustments for test compact freelist test. It's no passing on Windows as well.
Christian Heimes [Mon, 4 Feb 2008 19:30:05 +0000 (19:30 +0000)]
Small adjustments for test compact freelist test. It's no passing on Windows as well.

17 years agoIncrease debugging to investige failing tests on some build bots
Christian Heimes [Mon, 4 Feb 2008 18:48:38 +0000 (18:48 +0000)]
Increase debugging to investige failing tests on some build bots

17 years agoPatch #1953
Christian Heimes [Mon, 4 Feb 2008 18:00:12 +0000 (18:00 +0000)]
Patch #1953
I implemented the function sys._compact_freelists() and C API functions PyInt_/PyFloat_CompactFreeList() to compact the pre-allocated blocks of ints and floats. They allow the user to reduce the memory usage of a Python process that deals with lots of numbers.
The patch also renames sys._cleartypecache to sys._clear_type_cache

17 years agoMake int() and long() fall back to __trunc__(). See issue 2002.
Jeffrey Yasskin [Mon, 4 Feb 2008 01:04:35 +0000 (01:04 +0000)]
Make int() and long() fall back to __trunc__(). See issue 2002.

17 years agoLet test_socketserver pass on win32, which does not have AF_UNIX sockets.
Amaury Forgeot d'Arc [Sun, 3 Feb 2008 23:57:24 +0000 (23:57 +0000)]
Let test_socketserver pass on win32, which does not have AF_UNIX sockets.

17 years agoCorrect test_mailbox on win32: since the test sets a custom 'colon' attribute
Amaury Forgeot d'Arc [Sun, 3 Feb 2008 23:15:32 +0000 (23:15 +0000)]
Correct test_mailbox on win32: since the test sets a custom 'colon' attribute
to the main mailbox, copy it to secondary mailbox instances.

17 years agoNasty typo in setobject.h
Amaury Forgeot d'Arc [Sun, 3 Feb 2008 23:14:32 +0000 (23:14 +0000)]
Nasty typo in setobject.h

17 years agoEnsure that PySet_Add() operates on a newly created frozenset, like PyTuple_SetItem...
Amaury Forgeot d'Arc [Sun, 3 Feb 2008 22:51:43 +0000 (22:51 +0000)]
Ensure that PySet_Add() operates on a newly created frozenset, like PyTuple_SetItem does.

Add PyFrozenSet_Check(), which was not needed before; The list of Py*Set_Check* macros seems to be complete now.

Add missing NEWS entries about all this.

17 years agoAnother int -> pid_t case
Christian Heimes [Sun, 3 Feb 2008 19:51:13 +0000 (19:51 +0000)]
Another int -> pid_t case

17 years agoIgnore leaky warnings from test_asynchat
Neal Norwitz [Sun, 3 Feb 2008 16:53:09 +0000 (16:53 +0000)]
Ignore leaky warnings from test_asynchat

17 years agoFixed paths to Windows build directories in build_ext.py
Christian Heimes [Sun, 3 Feb 2008 14:34:18 +0000 (14:34 +0000)]
Fixed paths to Windows build directories in build_ext.py
Use vsbuild instead of devenv in build.bat and _bsddb.vcproj

17 years ago#2003: fix sentence.
Georg Brandl [Sun, 3 Feb 2008 12:29:00 +0000 (12:29 +0000)]
#2003: fix sentence.

17 years agoAdd an entry for r60537.
Brett Cannon [Sun, 3 Feb 2008 09:59:21 +0000 (09:59 +0000)]
Add an entry for r60537.

17 years agoremove a repeated occurance of a hardcoded berkeleydb library version number
Gregory P. Smith [Sun, 3 Feb 2008 08:01:46 +0000 (08:01 +0000)]
remove a repeated occurance of a hardcoded berkeleydb library version number

17 years agoMerge this fix from the pybsddb tree:
Gregory P. Smith [Sun, 3 Feb 2008 07:20:53 +0000 (07:20 +0000)]
Merge this fix from the pybsddb tree:
r293 | jcea | 2008-01-31 01:08:19 -0800 (Thu, 31 Jan 2008) | 4 lines

Solved memory leak when using cursors with
databases without environment.

17 years agoThe wrapper function is supposed to be for spawnvpe() so that's
Andrew MacIntyre [Sun, 3 Feb 2008 07:07:31 +0000 (07:07 +0000)]
The wrapper function is supposed to be for spawnvpe() so that's
what we should call [this wrapper only available on OS/2].

Backport candidate to 2.5.

17 years agoRename module definition file to reflect v2.6.
Andrew MacIntyre [Sun, 3 Feb 2008 07:01:11 +0000 (07:01 +0000)]
Rename module definition file to reflect v2.6.

17 years agoUpdate OS/2 EMX build bits for 2.6.
Andrew MacIntyre [Sun, 3 Feb 2008 06:58:06 +0000 (06:58 +0000)]
Update OS/2 EMX build bits for 2.6.

17 years agoUse context manager for a lock.
Brett Cannon [Sun, 3 Feb 2008 02:43:01 +0000 (02:43 +0000)]
Use context manager for a lock.

17 years agoRemove extra tick marks and add a missing closing parenthesis.
Brett Cannon [Sun, 3 Feb 2008 02:34:14 +0000 (02:34 +0000)]
Remove extra tick marks and add a missing closing parenthesis.

17 years agoDirectories from CPPFLAGS and LDFLAGS were being added in the reverse order for
Brett Cannon [Sun, 3 Feb 2008 02:08:45 +0000 (02:08 +0000)]
Directories from CPPFLAGS and LDFLAGS were being added in the reverse order for
searches as to how they were listed in the environment variable.

17 years agoFix a minor typo.
Brett Cannon [Sun, 3 Feb 2008 02:07:55 +0000 (02:07 +0000)]
Fix a minor typo.

17 years agoWait for a delay before reaping children -- this should fix the
Georg Brandl [Sun, 3 Feb 2008 00:04:50 +0000 (00:04 +0000)]
Wait for a delay before reaping children -- this should fix the
test_socketserver failures on several platforms.

17 years agoFix a conversion mistake that caused test_queue to fail intermittently.
Georg Brandl [Sat, 2 Feb 2008 23:59:21 +0000 (23:59 +0000)]
Fix a conversion mistake that caused test_queue to fail intermittently.

17 years agoSplit the refleak mail body into two parts, the first being those failing
Skip Montanaro [Sat, 2 Feb 2008 19:11:57 +0000 (19:11 +0000)]
Split the refleak mail body into two parts, the first being those failing
tests which are deemed more important issues, the second those which are
known to have difficult to solve problems and are generally expected to
leak.  Hopefully this doesn't break the script...

17 years agoUpdate the leaky tests (ie, ignore these tests if they report leaks). This version...
Neal Norwitz [Sat, 2 Feb 2008 18:52:51 +0000 (18:52 +0000)]
Update the leaky tests (ie, ignore these tests if they report leaks).  This version has been running for a while.

17 years agoMake the Rational constructor accept '3.' and '.2' as well as '3.2'.
Mark Dickinson [Sat, 2 Feb 2008 17:16:13 +0000 (17:16 +0000)]
Make the Rational constructor accept '3.' and '.2' as well as '3.2'.

17 years agoRewrite test_cprofile as unittest (and rename the file to be consistent
Georg Brandl [Sat, 2 Feb 2008 11:46:07 +0000 (11:46 +0000)]
Rewrite test_cprofile as unittest (and rename the file to be consistent
with all other test files). Written for GHOP by Benjamin Peterson.

17 years agoRewrite test_queue as unittest. Written for GHOP by Ian Seyer.
Georg Brandl [Sat, 2 Feb 2008 11:39:29 +0000 (11:39 +0000)]
Rewrite test_queue as unittest. Written for GHOP by Ian Seyer.

17 years agoAdd GHOP contributor.
Georg Brandl [Sat, 2 Feb 2008 11:05:34 +0000 (11:05 +0000)]
Add GHOP contributor.

17 years agoRewrite test_socketserver as unittest, written for GHOP by Benjamin Petersen.
Georg Brandl [Sat, 2 Feb 2008 11:05:00 +0000 (11:05 +0000)]
Rewrite test_socketserver as unittest, written for GHOP by Benjamin Petersen.

17 years agoAdd email example how to send a multipart message.
Georg Brandl [Sat, 2 Feb 2008 10:49:58 +0000 (10:49 +0000)]
Add email example how to send a multipart message.
Written for GHOP by Martin Matejek.

17 years agoRewrite test_funcattrs as unittest, written for GHOP by Jeff Wheeler.
Georg Brandl [Sat, 2 Feb 2008 10:18:15 +0000 (10:18 +0000)]
Rewrite test_funcattrs as unittest, written for GHOP by Jeff Wheeler.

17 years agoRewrite test_descr as unittest, written for GHOP by Jeff Wheeler.
Georg Brandl [Sat, 2 Feb 2008 10:12:36 +0000 (10:12 +0000)]
Rewrite test_descr as unittest, written for GHOP by Jeff Wheeler.

17 years agoAmendments to the urllib2 docs, written for GHOP by Thomas Lamb.
Georg Brandl [Sat, 2 Feb 2008 09:56:20 +0000 (09:56 +0000)]
Amendments to the urllib2 docs, written for GHOP by Thomas Lamb.

17 years agoNeaten-up a bit.
Raymond Hettinger [Sat, 2 Feb 2008 05:24:44 +0000 (05:24 +0000)]
Neaten-up a bit.

17 years agoSimpler solution to handling non-IEEE 754 environments.
Raymond Hettinger [Sat, 2 Feb 2008 05:11:40 +0000 (05:11 +0000)]
Simpler solution to handling non-IEEE 754 environments.

17 years agoAdd protection from weirdness while scaling the mantissa to an integer.
Raymond Hettinger [Fri, 1 Feb 2008 23:45:44 +0000 (23:45 +0000)]
Add protection from weirdness while scaling the mantissa to an integer.

17 years agoFix int/long typecase. Add check for non-binary floating point.
Raymond Hettinger [Fri, 1 Feb 2008 23:12:19 +0000 (23:12 +0000)]
Fix int/long typecase.  Add check for non-binary floating point.

17 years agoBump distutils version number to match Python version.
Marc-André Lemburg [Fri, 1 Feb 2008 22:58:17 +0000 (22:58 +0000)]
Bump distutils version number to match Python version.

17 years agoTest round-trip on float.as_integer_ratio() and float.__truediv__().
Raymond Hettinger [Fri, 1 Feb 2008 22:42:59 +0000 (22:42 +0000)]
Test round-trip on float.as_integer_ratio() and float.__truediv__().

17 years agolabs() takes a long for an input.
Raymond Hettinger [Fri, 1 Feb 2008 22:22:50 +0000 (22:22 +0000)]
labs() takes a long for an input.

17 years agoInteger ratio should return ints instead of longs whereever possible.
Raymond Hettinger [Fri, 1 Feb 2008 22:15:52 +0000 (22:15 +0000)]
Integer ratio should return ints instead of longs whereever possible.

17 years agoIssue #1996: float.as_integer_ratio() should return fraction in lowest terms.
Raymond Hettinger [Fri, 1 Feb 2008 21:30:23 +0000 (21:30 +0000)]
Issue #1996: float.as_integer_ratio() should return fraction in lowest terms.

17 years agoUpdate for latest sphinx latex writer.
Georg Brandl [Fri, 1 Feb 2008 20:45:33 +0000 (20:45 +0000)]
Update for latest sphinx latex writer.

17 years agoWording nit.
Georg Brandl [Fri, 1 Feb 2008 19:24:01 +0000 (19:24 +0000)]
Wording nit.

17 years agoMore int -> pid_t.
Christian Heimes [Fri, 1 Feb 2008 18:49:26 +0000 (18:49 +0000)]
More int -> pid_t.

17 years agoRename batch file.
Georg Brandl [Fri, 1 Feb 2008 18:08:09 +0000 (18:08 +0000)]
Rename batch file.

17 years agoAdd link checker builder, written for GHOP by Thomas Lamb.
Georg Brandl [Fri, 1 Feb 2008 15:50:15 +0000 (15:50 +0000)]
Add link checker builder, written for GHOP by Thomas Lamb.

17 years agoUpdate IPv6 RFC number.
Georg Brandl [Fri, 1 Feb 2008 11:59:08 +0000 (11:59 +0000)]
Update IPv6 RFC number.

17 years agoFix refleak
Neal Norwitz [Fri, 1 Feb 2008 07:22:59 +0000 (07:22 +0000)]
Fix refleak

17 years agoRoll back r60248. It's useful to encourage users not to change Rational
Jeffrey Yasskin [Fri, 1 Feb 2008 07:05:46 +0000 (07:05 +0000)]
Roll back r60248. It's useful to encourage users not to change Rational
instances.

17 years agoMove __builtins__.trunc() to math.trunc() per
Jeffrey Yasskin [Fri, 1 Feb 2008 06:22:46 +0000 (06:22 +0000)]
Move __builtins__.trunc() to math.trunc() per
http://mail.python.org/pipermail/python-dev/2008-January/076626.html and issue
1965.

17 years agoFixed bug #1983: Return from fork() is pid_t, not int
Christian Heimes [Thu, 31 Jan 2008 23:08:23 +0000 (23:08 +0000)]
Fixed bug #1983: Return from fork() is pid_t, not int

17 years agoIssue #1678380. Fix a bug that identifies 0j and -0j when they appear
Mark Dickinson [Thu, 31 Jan 2008 22:17:37 +0000 (22:17 +0000)]
Issue #1678380.  Fix a bug that identifies 0j and -0j when they appear
in the same code unit. The fix is essentially the same as the fix for a
previous bug identifying 0. and -0.

17 years agoMinor wordsmithing on docstring
Raymond Hettinger [Thu, 31 Jan 2008 22:07:16 +0000 (22:07 +0000)]
Minor wordsmithing on docstring

17 years agoRemove unused to-be-magic methods from Rational per issue 1968. Do not port
Jeffrey Yasskin [Thu, 31 Jan 2008 17:45:59 +0000 (17:45 +0000)]
Remove unused to-be-magic methods from Rational per issue 1968. Do not port
this patch to py3k.

17 years agoAdded more documentation on how mixed-mode arithmetic should be implemented. I
Jeffrey Yasskin [Thu, 31 Jan 2008 07:44:11 +0000 (07:44 +0000)]
Added more documentation on how mixed-mode arithmetic should be implemented. I
also noticed and fixed a bug in Rational's forward operators (they were
claiming all instances of numbers.Rational instead of just the concrete types).

17 years agoMissing return
Raymond Hettinger [Thu, 31 Jan 2008 01:42:11 +0000 (01:42 +0000)]
Missing return

17 years agoFix defect in __ixor__ which would get the wrong
Raymond Hettinger [Thu, 31 Jan 2008 01:38:15 +0000 (01:38 +0000)]
Fix defect in __ixor__ which would get the wrong
answer if the input iterable had a duplicate element
(two calls to toggle() reverse each other).  Borrow
the correct code from sets.py.

17 years agoBug #1234: Fixed semaphore errors on AIX 5.2
Christian Heimes [Wed, 30 Jan 2008 22:54:18 +0000 (22:54 +0000)]
Bug #1234: Fixed semaphore errors on AIX 5.2

17 years agoUpdate itertool recipes
Raymond Hettinger [Wed, 30 Jan 2008 22:17:31 +0000 (22:17 +0000)]
Update itertool recipes

17 years agoThe previous change was causing a segfault after multiple calls to Py_Initialize...
Christian Heimes [Wed, 30 Jan 2008 18:58:29 +0000 (18:58 +0000)]
The previous change was causing a segfault after multiple calls to Py_Initialize() and Py_Finalize().

17 years agoFixed some references leaks in sys.
Christian Heimes [Wed, 30 Jan 2008 17:21:22 +0000 (17:21 +0000)]
Fixed some references leaks in sys.

17 years agoRemoved unused var
Christian Heimes [Wed, 30 Jan 2008 11:46:00 +0000 (11:46 +0000)]
Removed unused var

17 years agoPatch #1970 by Antoine Pitrou: Speedup unicode whitespace and linebreak detection...
Christian Heimes [Wed, 30 Jan 2008 11:32:37 +0000 (11:32 +0000)]
Patch #1970 by Antoine Pitrou: Speedup unicode whitespace and linebreak detection. The speedup is about 25% for split() (571 / 457 usec) and 35% (175 / 127 usec )for splitlines()

17 years agoDemonstrate new except/as syntax.
Raymond Hettinger [Wed, 30 Jan 2008 00:51:58 +0000 (00:51 +0000)]
Demonstrate new except/as syntax.

17 years agoMutableSets support a remove() method.
Raymond Hettinger [Wed, 30 Jan 2008 00:08:31 +0000 (00:08 +0000)]
MutableSets support a remove() method.

17 years agoAdd isdisjoint() to the Set/MutableSet ABCs.
Raymond Hettinger [Wed, 30 Jan 2008 00:01:07 +0000 (00:01 +0000)]
Add isdisjoint() to the Set/MutableSet ABCs.

17 years agoCallMethod is faster with a NULL third-argument than with an empty format string.
Raymond Hettinger [Tue, 29 Jan 2008 19:52:09 +0000 (19:52 +0000)]
CallMethod is faster with a NULL third-argument than with an empty format string.