]> granicus.if.org Git - python/log
python
18 years agoWhitespace normalization.
Tim Peters [Wed, 18 Oct 2006 05:09:12 +0000 (05:09 +0000)]
Whitespace normalization.

18 years agonewIobject(): repaired incorrect cast to quiet MSVC warning.
Tim Peters [Wed, 18 Oct 2006 05:06:06 +0000 (05:06 +0000)]
newIobject():  repaired incorrect cast to quiet MSVC warning.

18 years agoctypes callback functions only support 'fundamental' result types.
Thomas Heller [Tue, 17 Oct 2006 19:30:48 +0000 (19:30 +0000)]
ctypes callback functions only support 'fundamental' result types.
Check this and raise an error when something else is used - before
this change ctypes would hang or crash when such a callback was
called.  This is a partial fix for #1574584.

Will backport to release25-maint.

18 years agoForward-port r52358:
Martin v. Löwis [Tue, 17 Oct 2006 18:59:23 +0000 (18:59 +0000)]
Forward-port r52358:
- Bug #1578513: Cross compilation was broken by a change to configure.
Repair so that it's back to how it was in 2.4.3.

18 years agoRemove obsolete file. Will backport.
Martin v. Löwis [Tue, 17 Oct 2006 18:09:55 +0000 (18:09 +0000)]
Remove obsolete file. Will backport.

18 years agoPatch #1457736: Update VC6 to use current PCbuild settings.
Martin v. Löwis [Tue, 17 Oct 2006 15:18:06 +0000 (15:18 +0000)]
Patch #1457736: Update VC6 to use current PCbuild settings.
Will backport to 2.5.

18 years agoFix turtle so that you can launch the demo2 function on its own instead of only
Brett Cannon [Mon, 16 Oct 2006 03:09:52 +0000 (03:09 +0000)]
Fix turtle so that you can launch the demo2 function on its own instead of only
when the module is launched as a script.

18 years agoMention the bdist_msi module. Will backport to 2.5.
Martin v. Löwis [Sun, 15 Oct 2006 14:30:38 +0000 (14:30 +0000)]
Mention the bdist_msi module. Will backport to 2.5.

18 years agoRemove binary property, set eol-style to CRLF instead.
Martin v. Löwis [Sun, 15 Oct 2006 12:01:43 +0000 (12:01 +0000)]
Remove binary property, set eol-style to CRLF instead.

18 years agoDrop binary property on dsp files, set eol-style
Martin v. Löwis [Sun, 15 Oct 2006 11:59:56 +0000 (11:59 +0000)]
Drop binary property on dsp files, set eol-style
to CRLF instead.

18 years agoSet the eol-style for project files to "CRLF".
Martin v. Löwis [Sun, 15 Oct 2006 11:57:40 +0000 (11:57 +0000)]
Set the eol-style for project files to "CRLF".

18 years agoRound to int, because some systems support sub-second time stamps in stat, but not...
Martin v. Löwis [Sun, 15 Oct 2006 11:02:07 +0000 (11:02 +0000)]
Round to int, because some systems support sub-second time stamps in stat, but not in utime.
Also be consistent with modifying only mtime, not atime.

18 years agoBug #1567666: Emulate GetFileAttributesExA for Win95.
Martin v. Löwis [Sun, 15 Oct 2006 09:43:39 +0000 (09:43 +0000)]
Bug #1567666: Emulate GetFileAttributesExA for Win95.
Will backport to 2.5.

18 years agoLoosen the test for equal time stamps.
Martin v. Löwis [Sun, 15 Oct 2006 09:35:51 +0000 (09:35 +0000)]
Loosen the test for equal time stamps.

18 years agoPatch #1577551: Add ctypes and ET build support for VC6.
Martin v. Löwis [Sun, 15 Oct 2006 08:51:22 +0000 (08:51 +0000)]
Patch #1577551: Add ctypes and ET build support for VC6.
Will backport to 2.5.

18 years agoPatch #1576166: Support os.utime for directories on Windows NT+.
Martin v. Löwis [Sun, 15 Oct 2006 08:43:33 +0000 (08:43 +0000)]
Patch #1576166: Support os.utime for directories on Windows NT+.

18 years agoPatch #1576954: Update VC6 build directory; remove redundant
Martin v. Löwis [Sun, 15 Oct 2006 07:54:40 +0000 (07:54 +0000)]
Patch #1576954: Update VC6 build directory; remove redundant
files in VC7. Will backport to 2.5.

18 years agoUpdate the peephole optimizer to remove more dead code (jumps after returns)
Neal Norwitz [Sat, 14 Oct 2006 21:33:38 +0000 (21:33 +0000)]
Update the peephole optimizer to remove more dead code (jumps after returns)
and inline jumps to returns.

18 years agoClean up the language of a sentence relating to the connect() function and
Brett Cannon [Sat, 14 Oct 2006 06:36:45 +0000 (06:36 +0000)]
Clean up the language of a sentence relating to the connect() function and
user-defined datatypes.

18 years agoBug #1560179: speed up posixpath.(dir|base)name
Georg Brandl [Thu, 12 Oct 2006 13:08:16 +0000 (13:08 +0000)]
Bug #1560179: speed up posixpath.(dir|base)name

18 years agoBug #1283491: follow docstring convention wrt. keyword-able args in sum().
Georg Brandl [Thu, 12 Oct 2006 12:33:07 +0000 (12:33 +0000)]
Bug #1283491: follow docstring convention wrt. keyword-able args in sum().

18 years agoFix tarfile depending on buggy int('1\0', base) behavior.
Georg Brandl [Thu, 12 Oct 2006 12:03:07 +0000 (12:03 +0000)]
Fix tarfile depending on buggy int('1\0', base) behavior.

18 years agoSmall grammar fix, thanks Sjoerd.
Georg Brandl [Thu, 12 Oct 2006 11:59:27 +0000 (11:59 +0000)]
Small grammar fix, thanks Sjoerd.

18 years agoBug #1560114: the Mac filesystem does have accurate information
Georg Brandl [Thu, 12 Oct 2006 11:46:57 +0000 (11:46 +0000)]
Bug #1560114: the Mac filesystem does have accurate information
about the case of filenames.

18 years agoAdd a note to fpectl docs that it's not built by default
Georg Brandl [Thu, 12 Oct 2006 11:41:11 +0000 (11:41 +0000)]
Add a note to fpectl docs that it's not built by default
(bug #1556261).

18 years agoBug #1545497: when given an explicit base, int() did ignore NULs
Georg Brandl [Thu, 12 Oct 2006 11:27:59 +0000 (11:27 +0000)]
Bug #1545497: when given an explicit base, int() did ignore NULs
embedded in the string to convert.

18 years agoBug #1546628: add a note about urlparse.urljoin() and absolute paths.
Georg Brandl [Thu, 12 Oct 2006 11:14:40 +0000 (11:14 +0000)]
Bug #1546628: add a note about urlparse.urljoin() and absolute paths.

18 years agoBug #1548891: The cStringIO.StringIO() constructor now encodes unicode
Georg Brandl [Thu, 12 Oct 2006 09:47:12 +0000 (09:47 +0000)]
Bug #1548891: The cStringIO.StringIO() constructor now encodes unicode
arguments with the system default encoding just like the write()
method does, instead of converting it to a raw buffer.

18 years agoBug #1550524: better heuristics to find correct class definition
Georg Brandl [Thu, 12 Oct 2006 09:20:33 +0000 (09:20 +0000)]
Bug #1550524: better heuristics to find correct class definition
in inspect.findsource().

18 years agoBug #1565919: document set types in the Language Reference.
Georg Brandl [Thu, 12 Oct 2006 08:22:53 +0000 (08:22 +0000)]
Bug #1565919: document set types in the Language Reference.

18 years agoBug #813342: Start the IDLE subprocess with -Qnew if the parent
Georg Brandl [Thu, 12 Oct 2006 07:57:21 +0000 (07:57 +0000)]
Bug #813342: Start the IDLE subprocess with -Qnew if the parent
is started with that option.

18 years agoBug #1575746: fix typo in property() docs.
Georg Brandl [Thu, 12 Oct 2006 07:38:04 +0000 (07:38 +0000)]
Bug #1575746: fix typo in property() docs.

18 years agoMacOSX: fix permission problem in the generated installer
Ronald Oussoren [Tue, 10 Oct 2006 07:55:06 +0000 (07:55 +0000)]
MacOSX: fix permission problem in the generated installer

18 years agoBug #1565150: Fix subsecond processing for os.utime on Windows.
Martin v. Löwis [Mon, 9 Oct 2006 20:44:25 +0000 (20:44 +0000)]
Bug #1565150: Fix subsecond processing for os.utime on Windows.

18 years agoList gc.get_count() in the module docstring.
Barry Warsaw [Mon, 9 Oct 2006 19:43:24 +0000 (19:43 +0000)]
List gc.get_count() in the module docstring.

18 years agoPatch #1572724: fix typo ('=' instead of '==') in _msi.c.
Georg Brandl [Mon, 9 Oct 2006 19:03:06 +0000 (19:03 +0000)]
Patch #1572724: fix typo ('=' instead of '==') in _msi.c.

18 years agoFix wording in comment
Andrew M. Kuchling [Mon, 9 Oct 2006 18:05:19 +0000 (18:05 +0000)]
Fix wording in comment

18 years agoAdd news item for rev. 52211 change
Andrew M. Kuchling [Mon, 9 Oct 2006 17:10:12 +0000 (17:10 +0000)]
Add news item for rev. 52211 change

18 years agoMacOSX: add more logic to recognize the correct startup file to patch to the
Ronald Oussoren [Sun, 8 Oct 2006 18:18:26 +0000 (18:18 +0000)]
MacOSX: add more logic to recognize the correct startup file to patch to the
shell profile patching post-install script.

18 years agoMacOSX: The universal build requires that users have the MacOSX10.4u SDK
Ronald Oussoren [Sun, 8 Oct 2006 17:51:46 +0000 (17:51 +0000)]
MacOSX: The universal build requires that users have the MacOSX10.4u SDK
installed to build extensions. This patch makes distutils emit a warning when
the compiler should use an SDK but that SDK is not installed, hopefully reducing
some confusion.

18 years agoMacOSX: distutils changes the values of BASECFLAGS and LDFLAGS when using a
Ronald Oussoren [Sun, 8 Oct 2006 17:49:52 +0000 (17:49 +0000)]
MacOSX: distutils changes the values of BASECFLAGS and LDFLAGS when using a
universal build of python on OSX 10.3 to ensure that those flags can be used
to compile code (the universal build uses compiler flags that aren't supported
on 10.3). This patches gives the same treatment to CFLAGS, PY_CFLAGS and
BLDSHARED.

18 years agoFix for bug #1570284
Ronald Oussoren [Sun, 8 Oct 2006 17:40:02 +0000 (17:40 +0000)]
Fix for bug #1570284

18 years agoAdd version number to the link to the python documentation in
Ronald Oussoren [Sun, 8 Oct 2006 17:37:58 +0000 (17:37 +0000)]
Add version number to the link to the python documentation in
/Developer/Documentation/Python, better for users that install multiple versions
of python.

18 years agoBug #1572832: fix a bug in ISO-2022 codecs which may cause segfault
Hye-Shik Chang [Sun, 8 Oct 2006 13:48:34 +0000 (13:48 +0000)]
Bug #1572832: fix a bug in ISO-2022 codecs which may cause segfault
when encoding non-BMP unicode characters.  (Submitted by Ray Chason)

18 years agoAdd missing NEWS entry for rev. 52129.
Georg Brandl [Sun, 8 Oct 2006 07:11:54 +0000 (07:11 +0000)]
Add missing NEWS entry for rev. 52129.

18 years agoNote that the excel_tab class is registered as the "excel-tab" dialect.
Skip Montanaro [Sat, 7 Oct 2006 11:05:02 +0000 (11:05 +0000)]
Note that the excel_tab class is registered as the "excel-tab" dialect.
Fixes 1572471.  Make a similar change for the excel class and clean up
references to the Dialects and Formatting Parameters section in a few
places.

18 years agoComment grammar
Andrew M. Kuchling [Fri, 6 Oct 2006 18:51:55 +0000 (18:51 +0000)]
Comment grammar

18 years agoA very minor bug fix: this code looks like it is designed to accept
Armin Rigo [Fri, 6 Oct 2006 16:33:22 +0000 (16:33 +0000)]
A very minor bug fix: this code looks like it is designed to accept
any hue value and do the modulo itself, except it doesn't quite do
it in all cases.  At least, the "cannot get here" comment was wrong.

18 years ago[Bug #1545341] Allow 'classifier' parameter to be a tuple as well as a list. Will...
Andrew M. Kuchling [Fri, 6 Oct 2006 13:18:26 +0000 (13:18 +0000)]
[Bug #1545341] Allow 'classifier' parameter to be a tuple as well as a list.  Will backport.

18 years agoFix name.
Georg Brandl [Fri, 6 Oct 2006 12:46:08 +0000 (12:46 +0000)]
Fix name.

18 years agoCase fix
Andrew M. Kuchling [Fri, 6 Oct 2006 10:41:01 +0000 (10:41 +0000)]
Case fix

18 years ago- update links
Fred Drake [Fri, 6 Oct 2006 00:03:45 +0000 (00:03 +0000)]
- update links
- remove Sleepycat name now that they have been bought

18 years agoClarify what "re-initialization" means for init_builtin() and init_dynamic().
Brett Cannon [Thu, 5 Oct 2006 22:02:31 +0000 (22:02 +0000)]
Clarify what "re-initialization" means for init_builtin() and init_dynamic().

Also remove warning about re-initialization as possibly raising an execption as
both call _PyImport_FindExtension() which pulls any module that was already
imported from the Python process' extension cache and just copies the __dict__
into the module stored in sys.modules.

18 years agoAdd MSVC8 project files to create wininst-8.exe.
Martin v. Löwis [Wed, 4 Oct 2006 15:25:28 +0000 (15:25 +0000)]
Add MSVC8 project files to create wininst-8.exe.

18 years agoCause a PyObject_Malloc() failure to trigger a MemoryError, and then
Andrew M. Kuchling [Wed, 4 Oct 2006 13:42:43 +0000 (13:42 +0000)]
Cause a PyObject_Malloc() failure to trigger a MemoryError, and then
add 'if (PyErr_Occurred())' checks to various places so that NULL is
returned properly.

2.4 backport candidate.

18 years agoForward-port of r52136,52138: a review of overflow-detecting code.
Armin Rigo [Wed, 4 Oct 2006 12:17:45 +0000 (12:17 +0000)]
Forward-port of r52136,52138: a review of overflow-detecting code.

* unified the way intobject, longobject and mystrtoul handle
  values around -sys.maxint-1.

* in general, trying to entierely avoid overflows in any computation
  involving signed ints or longs is extremely involved.  Fixed a few
  simple cases where a compiler might be too clever (but that's all
  guesswork).

* more overflow checks against bad data in marshal.c.

* 2.5 specific: fixed a number of places that were still confusing int
  and Py_ssize_t.  Some of them could potentially have caused
  "real-world" breakage.

* list.pop(x): fixing overflow issues on x was messy.  I just reverted
  to PyArg_ParseTuple("n"), which does the right thing.  (An obscure
  test was trying to give a Decimal to list.pop()... doesn't make
  sense any more IMHO)

* trying to write a few tests...

18 years agoCompilation problem caused by conflicting typedefs for uint32_t
Armin Rigo [Wed, 4 Oct 2006 10:23:57 +0000 (10:23 +0000)]
Compilation problem caused by conflicting typedefs for uint32_t
(unsigned long vs. unsigned int).

18 years agoForward port r52134: Add uuids for 2.4.4.
Martin v. Löwis [Wed, 4 Oct 2006 09:21:20 +0000 (09:21 +0000)]
Forward port r52134: Add uuids for 2.4.4.

18 years agoFix integer negation and absolute value to not rely
Martin v. Löwis [Wed, 4 Oct 2006 05:47:34 +0000 (05:47 +0000)]
Fix integer negation and absolute value to not rely
on undefined behaviour of the C compiler anymore.
Will backport to 2.5 and 2.4.

18 years agoFix for SF bug 1569998: break permitted inside try.
Jeremy Hylton [Wed, 4 Oct 2006 02:24:52 +0000 (02:24 +0000)]
Fix for SF bug 1569998: break permitted inside try.

The compiler was checking that there was something on the fblock
stack, but not that there was a loop on the stack.  Fixed that and
added a test for the specific syntax error.

Bug fix candidate.

18 years agodecode_rfc2231(): As Christian Robottom Reis points out, it makes no sense to
Barry Warsaw [Wed, 4 Oct 2006 02:06:36 +0000 (02:06 +0000)]
decode_rfc2231(): As Christian Robottom Reis points out, it makes no sense to
test for parts > 3 when we use .split(..., 2).

18 years agoConvert test_imp over to unittest.
Brett Cannon [Tue, 3 Oct 2006 23:23:14 +0000 (23:23 +0000)]
Convert test_imp over to unittest.

18 years agoFix minor typo in a comment.
Brett Cannon [Tue, 3 Oct 2006 21:58:55 +0000 (21:58 +0000)]
Fix minor typo in a comment.

18 years agoModified LogRecord.__init__ to make the func parameter optional. (See SF #1569622).
Vinay Sajip [Tue, 3 Oct 2006 18:21:56 +0000 (18:21 +0000)]
Modified LogRecord.__init__ to make the func parameter optional. (See SF #1569622).

18 years agoDocumentation clarified to mention optional parameters.
Vinay Sajip [Tue, 3 Oct 2006 18:20:26 +0000 (18:20 +0000)]
Documentation clarified to mention optional parameters.

18 years agoDocumentation omitted the additional parameter to LogRecord.__init__ which was added...
Vinay Sajip [Tue, 3 Oct 2006 18:02:37 +0000 (18:02 +0000)]
Documentation omitted the additional parameter to LogRecord.__init__ which was added in 2.5. (See SF #1569622).

18 years agoGuard uintptr_t test with HAVE_STDINT_H, test for
Martin v. Löwis [Mon, 2 Oct 2006 15:20:37 +0000 (15:20 +0000)]
Guard uintptr_t test with HAVE_STDINT_H, test for
stdint.h. Will backport.

18 years agoFix test for uintptr_t. Fixes #1568842.
Martin v. Löwis [Mon, 2 Oct 2006 14:55:51 +0000 (14:55 +0000)]
Fix test for uintptr_t. Fixes #1568842.
Will backport.

18 years agoAdd comment explaining that error msgs may be due to user code when
Kurt B. Kaiser [Sun, 1 Oct 2006 21:54:37 +0000 (21:54 +0000)]
Add comment explaining that error msgs may be due to user code when
running w/o subprocess.

18 years agoSome syntax errors were being caught by tokenize during the tabnanny
Kurt B. Kaiser [Sun, 1 Oct 2006 21:16:45 +0000 (21:16 +0000)]
Some syntax errors were being caught by tokenize during the tabnanny
check, resulting in obscure error messages.  Do the syntax check
first.  Bug 15627161562719

18 years agoConvert test_import to unittest.
Georg Brandl [Sat, 30 Sep 2006 12:16:03 +0000 (12:16 +0000)]
Convert test_import to unittest.

18 years agoBug #1546052: clarify that PyString_FromString(AndSize) copies the
Georg Brandl [Sat, 30 Sep 2006 12:02:57 +0000 (12:02 +0000)]
Bug #1546052: clarify that PyString_FromString(AndSize) copies the
string pointed to by its parameter.

18 years agoBug #1446043: correctly raise a LookupError if an encoding name given
Georg Brandl [Sat, 30 Sep 2006 11:22:28 +0000 (11:22 +0000)]
Bug #1446043: correctly raise a LookupError if an encoding name given
to encodings.search_function() contains a dot.

18 years agoBug #1556784: allow format strings longer than 127 characters in
Georg Brandl [Sat, 30 Sep 2006 11:17:34 +0000 (11:17 +0000)]
Bug #1556784: allow format strings longer than 127 characters in
datetime's strftime function.

18 years agoBug #1560617: in pyclbr, return full module name not only for classes,
Georg Brandl [Sat, 30 Sep 2006 11:06:47 +0000 (11:06 +0000)]
Bug #1560617: in pyclbr, return full module name not only for classes,
but also for functions.

18 years agoBug #1457823: cgi.(Sv)FormContentDict's constructor now takes
Georg Brandl [Sat, 30 Sep 2006 10:58:01 +0000 (10:58 +0000)]
Bug #1457823: cgi.(Sv)FormContentDict's constructor now takes
keep_blank_values and strict_parsing keyword arguments.

18 years agoBug #1566602: correct failure of posixpath unittest when $HOME ends
Georg Brandl [Sat, 30 Sep 2006 09:13:21 +0000 (09:13 +0000)]
Bug #1566602: correct failure of posixpath unittest when $HOME ends
with a slash.

18 years agoBug #1566663: remove obsolete example from datetime docs.
Georg Brandl [Sat, 30 Sep 2006 09:06:45 +0000 (09:06 +0000)]
Bug #1566663: remove obsolete example from datetime docs.

18 years agoBug #1566800: make sure that EnvironmentError can be called with any
Georg Brandl [Sat, 30 Sep 2006 09:03:42 +0000 (09:03 +0000)]
Bug #1566800: make sure that EnvironmentError can be called with any
number of arguments, as was the case in Python 2.4.

18 years agoPatch #1567691: super() and new.instancemethod() now don't accept
Georg Brandl [Sat, 30 Sep 2006 08:43:30 +0000 (08:43 +0000)]
Patch #1567691: super() and new.instancemethod() now don't accept
keyword arguments any more (previously they accepted them, but didn't
use them).

18 years agoBug #1565661: in webbrowser, split() the command for the default
Georg Brandl [Sat, 30 Sep 2006 07:31:57 +0000 (07:31 +0000)]
Bug #1565661: in webbrowser, split() the command for the default
GNOME browser in case it is a command with args.

18 years agoBug #1567375: a minor logical glitch in example description.
Georg Brandl [Sat, 30 Sep 2006 07:24:48 +0000 (07:24 +0000)]
Bug #1567375: a minor logical glitch in example description.

18 years agowording change
Gregory P. Smith [Sat, 30 Sep 2006 06:08:20 +0000 (06:08 +0000)]
wording change

18 years agoSF bug #1567976 : fix typo
George Yoshida [Sat, 30 Sep 2006 05:14:02 +0000 (05:14 +0000)]
SF bug #1567976 : fix typo

Will backport to 2.5.

18 years agoVery minor grammatical fix in a comment.
Brett Cannon [Thu, 28 Sep 2006 22:10:14 +0000 (22:10 +0000)]
Very minor grammatical fix in a comment.

18 years agoMake examples do error checking on Py_InitModule
Andrew M. Kuchling [Wed, 27 Sep 2006 19:23:05 +0000 (19:23 +0000)]
Make examples do error checking on Py_InitModule

18 years agoAdd news item for rev. 51815
Andrew M. Kuchling [Wed, 27 Sep 2006 16:37:30 +0000 (16:37 +0000)]
Add news item for rev. 51815

18 years agoMake the error message for when the time data and format do not match clearer.
Brett Cannon [Tue, 26 Sep 2006 23:38:24 +0000 (23:38 +0000)]
Make the error message for when the time data and format do not match clearer.

18 years agoAnother crasher.
Armin Rigo [Mon, 25 Sep 2006 15:16:26 +0000 (15:16 +0000)]
Another crasher.

18 years agoFix a bug in traceback.format_exception_only() that led to an error
Georg Brandl [Sun, 24 Sep 2006 12:50:24 +0000 (12:50 +0000)]
Fix a bug in traceback.format_exception_only() that led to an error
being raised when print_exc() was called without an exception set.
In version 2.4, this printed "None", restored that behavior.

18 years agoFix a bug in the parser's future statement handling that led to "with"
Georg Brandl [Sun, 24 Sep 2006 12:35:36 +0000 (12:35 +0000)]
Fix a bug in the parser's future statement handling that led to "with"
not being recognized as a keyword after, e.g., this statement:
from __future__ import division, with_statement

18 years agoFix webbrowser.BackgroundBrowser on Windows.
Georg Brandl [Sun, 24 Sep 2006 10:36:01 +0000 (10:36 +0000)]
Fix webbrowser.BackgroundBrowser on Windows.

18 years agoMake output on test_strptime() be more verbose in face of failure. This is in
Brett Cannon [Sat, 23 Sep 2006 19:53:20 +0000 (19:53 +0000)]
Make output on test_strptime() be more verbose in face of failure.  This is in
hopes that more information will help debug the failing test on HPPA Ubuntu.

18 years agoSF Bug #1563963, add missing word and cleanup first sentance
Neal Norwitz [Sat, 23 Sep 2006 18:11:58 +0000 (18:11 +0000)]
SF Bug #1563963, add missing word and cleanup first sentance

18 years agoRemove extra semi-colons reported by Johnny Lee on python-dev. Backport if anyone...
Neal Norwitz [Sat, 23 Sep 2006 04:11:38 +0000 (04:11 +0000)]
Remove extra semi-colons reported by Johnny Lee on python-dev.  Backport if anyone cares.

18 years agoadd boilerplate "What's New" document so the docs will build
Fred Drake [Sat, 23 Sep 2006 00:26:31 +0000 (00:26 +0000)]
add boilerplate "What's New" document so the docs will build

18 years agoMostly revert this file to the same version as before. Only force setting
Neal Norwitz [Fri, 22 Sep 2006 08:47:23 +0000 (08:47 +0000)]
Mostly revert this file to the same version as before.  Only force setting
of PY_FORMAT_SIZE_T to "l" for Mac OSX.  I don't know a better define
to use.  This should get rid of the warnings on other platforms and Mac too.

18 years agoBug #1557232: fix seg fault with def f((((x)))) and def f(((x),)).
Neal Norwitz [Fri, 22 Sep 2006 08:18:10 +0000 (08:18 +0000)]
Bug #1557232: fix seg fault with def f((((x)))) and def f(((x),)).

These tests should be improved.  Hopefully this fixes variations when
flipping back and forth between fpdef and fplist.

Backport candidate.

18 years agoFix %zd string formatting on Mac OS X so it prints negative numbers.
Neal Norwitz [Fri, 22 Sep 2006 08:16:26 +0000 (08:16 +0000)]
Fix %zd string formatting on Mac OS X so it prints negative numbers.

In addition to testing positive numbers, verify negative numbers work in configure.
In order to avoid compiler warnings on OS X 10.4, also change the order of the check
for the format character to use (PY_FORMAT_SIZE_T) in the sprintf format
for Py_ssize_t.  This patch changes PY_FORMAT_SIZE_T from "" to "l" if it wasn't
defined at configure time.  Need to verify the buildbot results.

Backport candidate (if everyone thinks this patch can't be improved).

18 years agoadded itertools.count(-n) fix
Jack Diederich [Thu, 21 Sep 2006 20:34:49 +0000 (20:34 +0000)]
added itertools.count(-n) fix