]> granicus.if.org Git - python/log
python
17 years agoIssue #1700, reported by Nguyen Quan Son, fix by Fredruk Lundh:
Guido van Rossum [Thu, 3 Jan 2008 19:08:15 +0000 (19:08 +0000)]
Issue #1700, reported by Nguyen Quan Son, fix by Fredruk Lundh:
Regular Expression inline flags not handled correctly for some unicode
characters.

17 years agoAdd some news items I missed. Careful inspection of the svn log output
Guido van Rossum [Thu, 3 Jan 2008 18:57:40 +0000 (18:57 +0000)]
Add some news items I missed.  Careful inspection of the svn log output
reveals that a lot more are missing.  If you checked anything into the
2.5.2 branch without updating Misc/NEWS, please correct your mistake!

17 years agoPatch #1696. Don't attempt to call None.close() in dry-run mode.
Guido van Rossum [Wed, 2 Jan 2008 18:59:36 +0000 (18:59 +0000)]
Patch #1696.  Don't attempt to call None.close() in dry-run mode.

17 years agoBug #1699: Define _BSD_SOURCE only on OpenBSD.
Martin v. Löwis [Sat, 29 Dec 2007 18:48:57 +0000 (18:48 +0000)]
Bug #1699: Define _BSD_SOURCE only on OpenBSD.

17 years agoBackport of fix for issue 1695.
Brett Cannon [Mon, 24 Dec 2007 20:00:42 +0000 (20:00 +0000)]
Backport of fix for issue 1695.

17 years agoChange ctypes version number to 1.0.3 (when Python 2.5.2 is released,
Thomas Heller [Wed, 19 Dec 2007 17:22:34 +0000 (17:22 +0000)]
Change ctypes version number to 1.0.3 (when Python 2.5.2 is released,
ctypes 1.0.3 will be also be released).

17 years agoFixed merge glitch, second try
Christian Heimes [Tue, 18 Dec 2007 22:03:10 +0000 (22:03 +0000)]
Fixed merge glitch, second try

17 years agoFixed merge glitch
Christian Heimes [Tue, 18 Dec 2007 22:00:19 +0000 (22:00 +0000)]
Fixed merge glitch

17 years agoBackport of #1638: %zd configure test fails on Linux
Christian Heimes [Tue, 18 Dec 2007 21:14:54 +0000 (21:14 +0000)]
Backport of #1638: %zd configure test fails on Linux

17 years agoIssue #1642: Fix segfault in ctypes when trying to delete attributes.
Thomas Heller [Tue, 18 Dec 2007 19:00:59 +0000 (19:00 +0000)]
Issue #1642: Fix segfault in ctypes when trying to delete attributes.

17 years agoAdd a note about future import needed for with statement.
Georg Brandl [Sat, 15 Dec 2007 09:36:15 +0000 (09:36 +0000)]
Add a note about future import needed for with statement.

17 years agoRegenerated with autoconf.
Thomas Heller [Fri, 14 Dec 2007 06:58:04 +0000 (06:58 +0000)]
Regenerated with autoconf.

17 years agoBug #1608: use -fwrapv when GCC supports it. This is important, newer
Guido van Rossum [Thu, 13 Dec 2007 20:42:33 +0000 (20:42 +0000)]
Bug #1608: use -fwrapv when GCC supports it.  This is important, newer
GCC versions may optimize away overflow buffer overflow checks without
this option!  Thanks to Ismail Donmez.  No thanks to the GCC devs.

17 years agoBackport r59480.
Alexandre Vassalotti [Thu, 13 Dec 2007 18:18:47 +0000 (18:18 +0000)]
Backport r59480.
Fix issue #1313119.

17 years agoBackport patch #1643738.
Guido van Rossum [Mon, 10 Dec 2007 23:03:55 +0000 (23:03 +0000)]
Backport patch #1643738.

17 years agoThis is a backport of the fix in rev. 59369.
Ronald Oussoren [Wed, 5 Dec 2007 20:43:57 +0000 (20:43 +0000)]
This is a backport of the fix in rev. 59369.

This patch doesn't remove the wrappers for OSADebug* API's but only defines
them when configure detects that the API's are present in the system's
header files.

17 years agomerge -r59315:59316 from py3k: Fix issue #1553: An errornous __length_hint__ can...
Christian Heimes [Wed, 5 Dec 2007 12:51:23 +0000 (12:51 +0000)]
merge -r59315:59316 from py3k: Fix issue #1553: An errornous __length_hint__ can make list() raise a SystemError

17 years agoos.access now returns True on Windows for any existing directory.
Martin v. Löwis [Mon, 3 Dec 2007 22:39:10 +0000 (22:39 +0000)]
os.access now returns True on Windows for any existing directory.

17 years agoIssue #1531: Read fileobj from the current offset, do not seek to
Lars Gustäbel [Sat, 1 Dec 2007 21:06:06 +0000 (21:06 +0000)]
Issue #1531: Read fileobj from the current offset, do not seek to
the start.

(backport from r59260)

17 years agoBackport of r59241: str.decode fails on very long strings on 64bit platforms.
Amaury Forgeot d'Arc [Fri, 30 Nov 2007 21:53:17 +0000 (21:53 +0000)]
Backport of r59241: str.decode fails on very long strings on 64bit platforms.

PyArgs_ParseTuple t# and w# formats truncated the lengths to 32bit.

17 years agoSpaces vs. Tabs.
Georg Brandl [Thu, 29 Nov 2007 18:33:04 +0000 (18:33 +0000)]
Spaces vs. Tabs.
 (backport from rev. 59224)

17 years agoFix bug #1517, a possible segfault in lookup().
Guido van Rossum [Thu, 29 Nov 2007 18:23:48 +0000 (18:23 +0000)]
Fix bug #1517, a possible segfault in lookup().

17 years ago- Backported a workaround for a bug in SQLite 3.2.x/3.3.x versions where a
Gerhard Häring [Sun, 25 Nov 2007 17:40:35 +0000 (17:40 +0000)]
- Backported a workaround for a bug in SQLite 3.2.x/3.3.x versions where a
  statement recompilation with no bound parameters lead to a segfault
- Backported a fix necessary because of an SQLite API change in version 3.5.
  This prevents segfaults when executing empty queries, like our test suite
  does.

17 years agoback in these go - thanks to Titus Brown for the fix
Skip Montanaro [Sat, 24 Nov 2007 14:31:16 +0000 (14:31 +0000)]
back in these go - thanks to Titus Brown for the fix

17 years agoIssue #1445: Fix a SystemError when accessing the ``cell_contents``
Amaury Forgeot d'Arc [Sat, 24 Nov 2007 13:53:29 +0000 (13:53 +0000)]
Issue #1445: Fix a SystemError when accessing the ``cell_contents``
attribute of an empty cell object.  Now a ValueError is raised.

Backport of r59170.

17 years agorevert
Skip Montanaro [Sat, 24 Nov 2007 04:31:07 +0000 (04:31 +0000)]
revert

17 years agorevert change that breaks test_doctest (which I forgot to run - sorry)
Skip Montanaro [Sat, 24 Nov 2007 04:29:52 +0000 (04:29 +0000)]
revert change that breaks test_doctest (which I forgot to run - sorry)

17 years agoissue 1429818
Skip Montanaro [Fri, 23 Nov 2007 17:13:21 +0000 (17:13 +0000)]
issue 1429818

17 years agoMake trace and doctest play nice together (issue 1429818). Backported from
Skip Montanaro [Fri, 23 Nov 2007 17:09:34 +0000 (17:09 +0000)]
Make trace and doctest play nice together (issue 1429818).  Backported from
head.

17 years agoBackport of a fix for the __loader__.get_data() test.
Brett Cannon [Fri, 23 Nov 2007 00:07:49 +0000 (00:07 +0000)]
Backport of a fix for the __loader__.get_data() test.

17 years agoA test that should test for osx >= 10.4.0 actually tested for os versions <= 10.4...
Ronald Oussoren [Thu, 22 Nov 2007 10:14:26 +0000 (10:14 +0000)]
A test that should test for osx >= 10.4.0 actually tested for os versions <= 10.4. The end result is that
a universal ("fat") build will claim to be a single-architecture on on OSX 10.5 (Leopard).

This patch fixes this issue.

17 years agoAllow simultaneous installation of 32-bit and 64-bit versions
Martin v. Löwis [Thu, 22 Nov 2007 06:47:17 +0000 (06:47 +0000)]
Allow simultaneous installation of 32-bit and 64-bit versions
on 64-bit Windows systems.

17 years agoBackport of r59082 (doctest and using __loader__.get_data()).
Brett Cannon [Wed, 21 Nov 2007 00:58:54 +0000 (00:58 +0000)]
Backport of r59082 (doctest and using __loader__.get_data()).

17 years agoFixed #1372: zlibmodule.c: int overflow in PyZlib_decompress
Christian Heimes [Wed, 21 Nov 2007 00:44:57 +0000 (00:44 +0000)]
Fixed #1372: zlibmodule.c: int overflow in PyZlib_decompress

17 years agoRemove an old SF reference.
Brett Cannon [Mon, 19 Nov 2007 18:56:54 +0000 (18:56 +0000)]
Remove an old SF reference.

17 years agoBackport r59049:
Walter Dörwald [Mon, 19 Nov 2007 12:43:39 +0000 (12:43 +0000)]
Backport r59049:
Fix for #1444: utf_8_sig.StreamReader was (indirectly through decode())
calling codecs.utf_8_decode() with final==True, which falled with incomplete
byte sequences. Fix and test by James G. Sack.

17 years agoBackport r59047: Fix typo in comment.
Walter Dörwald [Mon, 19 Nov 2007 12:23:44 +0000 (12:23 +0000)]
Backport r59047: Fix typo in comment.

17 years agoBackport revision 58471, replace PyErr_Print() with PyErr_Clear().
Guido van Rossum [Thu, 15 Nov 2007 20:39:53 +0000 (20:39 +0000)]
Backport revision 58471, replace PyErr_Print() with PyErr_Clear().

17 years agoBackport for issue1265 (pdb bug with "with" statement).
Amaury Forgeot d'Arc [Tue, 13 Nov 2007 22:43:05 +0000 (22:43 +0000)]
Backport for issue1265 (pdb bug with "with" statement).

When an unfinished generator-iterator is garbage collected, PyEval_EvalFrameEx
is called with a GeneratorExit exception set.  This leads to funny results
if the sys.settrace function itself makes use of generators.
A visible effect is that the settrace function is reset to None.
Another is that the eventual "finally" block of the generator is not called.

It is necessary to save/restore the exception around the call to the trace
function.

This happens a lot with py3k: isinstance() of an ABCMeta instance runs
    def __instancecheck__(cls, instance):
        """Override for isinstance(instance, cls)."""
        return any(cls.__subclasscheck__(c)
                   for c in {instance.__class__, type(instance)})
which lets an opened generator expression each time it returns True.

And the problem can be reproduced in 2.5 with pure python code.

17 years agoNews about list_repeat() fix.
Guido van Rossum [Tue, 13 Nov 2007 05:23:21 +0000 (05:23 +0000)]
News about list_repeat() fix.

17 years agoIssue 1704621. Fix segfaults in list_repeat() and list_inplace_repeat().
Guido van Rossum [Mon, 12 Nov 2007 20:04:41 +0000 (20:04 +0000)]
Issue 1704621. Fix segfaults in list_repeat() and list_inplace_repeat().
The C changes aren't quite the same as the patch given there; the test is.

17 years agoFixed #1254: pdb fails to launch some script.
Christian Heimes [Mon, 12 Nov 2007 17:28:45 +0000 (17:28 +0000)]
Fixed #1254: pdb fails to launch some script.

17 years agoBackport r58942:
Walter Dörwald [Mon, 12 Nov 2007 10:03:39 +0000 (10:03 +0000)]
Backport r58942:
Fix TextCalendar.prweek(). This closes issue #1427.

17 years agoFix for #1427: Error in standard module calendar
Christian Heimes [Mon, 12 Nov 2007 01:25:08 +0000 (01:25 +0000)]
Fix for #1427: Error in standard module calendar
merge -r58935:58936 ../trunk

17 years agowhen talking about an imminent 2.5.2c1, the build should identify itself
Fred Drake [Fri, 9 Nov 2007 16:53:20 +0000 (16:53 +0000)]
when talking about an imminent 2.5.2c1, the build should identify itself
as being some form of 2.5.2 (this is admittedly a bit conservative);
we can make this 2.5.2c1 when making the release

17 years agoFix issue #1705170 (backport from trunk)
Nick Coghlan [Wed, 7 Nov 2007 12:26:40 +0000 (12:26 +0000)]
Fix issue #1705170 (backport from trunk)

17 years ago* fix failing test_recno.py - backport from trunk.
Gregory P. Smith [Wed, 7 Nov 2007 07:25:20 +0000 (07:25 +0000)]
* fix failing test_recno.py - backport from trunk.
* bump _bsddb patch version number.

17 years agoBackport r58892.
Guido van Rossum [Wed, 7 Nov 2007 01:19:49 +0000 (01:19 +0000)]
Backport r58892.
Add missing "return NULL" in overflow check in PyString_Repr().

17 years agoBackport r58868:
Gregory P. Smith [Tue, 6 Nov 2007 00:32:04 +0000 (00:32 +0000)]
Backport r58868:
  Fixes Issue 1385: The hmac module now computes the correct hmac when using
  hashes with a block size other than 64 bytes (such as sha384 and sha512).

17 years agoNote change to get_dialect semantics in 2.5.
Skip Montanaro [Sun, 4 Nov 2007 15:57:43 +0000 (15:57 +0000)]
Note change to get_dialect semantics in 2.5.

17 years agoBackport r58709 from trunk:
Georg Brandl [Fri, 2 Nov 2007 22:46:38 +0000 (22:46 +0000)]
Backport r58709 from trunk:
Backport fixes for the code that decodes octal escapes (and for PyString
also hex escapes) -- this was reaching beyond the end of the input string
buffer, even though it is not supposed to be \0-terminated.
This has no visible effect but is clearly the correct thing to do.
(In 3.0 it had a visible effect after removing ob_sstate from PyString.)
Also fixes #1098.

17 years agoBackport r58757, r58758, r58759.
Gregory P. Smith [Thu, 1 Nov 2007 21:22:40 +0000 (21:22 +0000)]
Backport r58757, r58758, r58759.
Undoes incorrect dbtables fix and errant strdup introduced as
described below:

r58757 | gregory.p.smith | 2007-11-01 14:08:14 -0700 (Thu, 01 Nov 2007) | 4 lines

Fix bug introduced in revision 58385.  Database keys could no longer
have NULL bytes in them.  Replace the errant strdup with a
malloc+memcpy.  Adds a unit test for the correct behavior.

r58758 | gregory.p.smith | 2007-11-01 14:15:36 -0700 (Thu, 01 Nov 2007) | 3 lines

Undo revision 58533 58534 fixes.  Those were a workaround for
a problem introduced by 58385.

r58759 | gregory.p.smith | 2007-11-01 14:17:47 -0700 (Thu, 01 Nov 2007) | 2 lines

false "fix" undone as correct problem was found and fixed.

17 years ago#1364: os.lstat is available on Windows too, as an alias to os.stat.
Georg Brandl [Thu, 1 Nov 2007 17:19:36 +0000 (17:19 +0000)]
#1364: os.lstat is available on Windows too, as an alias to os.stat.

17 years agoSets are marshalable.
Raymond Hettinger [Wed, 31 Oct 2007 22:16:25 +0000 (22:16 +0000)]
Sets are marshalable.

17 years agoClarify the reasons why pickle is almost always better than marshal
Raymond Hettinger [Wed, 31 Oct 2007 22:02:21 +0000 (22:02 +0000)]
Clarify the reasons why pickle is almost always better than marshal

17 years ago- Build using system ffi library on arm*-linux*, pass --with-system-ffi to CONFIG_ARGS
Matthias Klose [Thu, 25 Oct 2007 06:38:01 +0000 (06:38 +0000)]
- Build using system ffi library on arm*-linux*, pass --with-system-ffi to CONFIG_ARGS

17 years ago- Build using system ffi library on arm*-linux*.
Matthias Klose [Wed, 24 Oct 2007 20:34:07 +0000 (20:34 +0000)]
- Build using system ffi library on arm*-linux*.

17 years agoBug #1321: Fixed logic error in TimedRotatingFileHandler.__init__()
Vinay Sajip [Wed, 24 Oct 2007 10:49:50 +0000 (10:49 +0000)]
Bug #1321: Fixed logic error in TimedRotatingFileHandler.__init__()

17 years agoBackport 58618:
Neal Norwitz [Wed, 24 Oct 2007 03:52:50 +0000 (03:52 +0000)]
Backport 58618:
Issue 1307 by Derek Shockey, fix the same bug for RCPT.

17 years agoBug #1313, fix typo (wrong variable name) in example.
Neal Norwitz [Tue, 23 Oct 2007 05:42:38 +0000 (05:42 +0000)]
Bug #1313, fix typo (wrong variable name) in example.

17 years agoBackport 58594:
Neal Norwitz [Tue, 23 Oct 2007 05:35:11 +0000 (05:35 +0000)]
Backport 58594:
Issue #1307, patch by Derek Shockey.
When "MAIL" is received without args, an exception happens instead of
sending a 501 syntax error response.

17 years agoBackport r58545.
Georg Brandl [Fri, 19 Oct 2007 17:39:18 +0000 (17:39 +0000)]
Backport r58545.

17 years agoBackport r58542.
Georg Brandl [Fri, 19 Oct 2007 12:34:20 +0000 (12:34 +0000)]
Backport r58542.

17 years agoBackport 58539: squelch the warning that this test is intended to raise.
Gregory P. Smith [Fri, 19 Oct 2007 07:35:22 +0000 (07:35 +0000)]
Backport 58539: squelch the warning that this test is intended to raise.

17 years agoBackport 58532, 58533, 58534:
Gregory P. Smith [Thu, 18 Oct 2007 17:15:20 +0000 (17:15 +0000)]
Backport 58532, 58533, 58534:
 - Fix bsddb.dbtables: Don't randomly corrupt newly inserted rows by
   picking a rowid string with null bytes in it.  Such rows could not
   later be deleted, modified or individually selected.  Existing
   bsdTableDb databases created with such rows are out of luck.
 - Use mkdtemp for the test_dbtables test database environment and
   clean it up afterwards using shutil.rmtree.

17 years agoBackport 58450: fix uncollectable reference leak in bsddb.db.DBShelf.append
Gregory P. Smith [Sat, 13 Oct 2007 23:05:54 +0000 (23:05 +0000)]
Backport 58450: fix uncollectable reference leak in bsddb.db.DBShelf.append

17 years agoFix email example.
Georg Brandl [Sat, 13 Oct 2007 13:19:45 +0000 (13:19 +0000)]
Fix email example.

17 years agoMerge trunk 58434:
Gregory P. Smith [Fri, 12 Oct 2007 18:49:36 +0000 (18:49 +0000)]
Merge trunk 58434:
Fixes http://bugs.python.org/issue1233 - bsddb.dbshelve.DBShelf.append
was useless due to inverted logic.  Also adds a test case for RECNO dbs
to test_dbshelve.

17 years agoSilence a compiler warning about a function definition not being a prototype.
Brett Cannon [Fri, 12 Oct 2007 17:41:08 +0000 (17:41 +0000)]
Silence a compiler warning about a function definition not being a prototype.

17 years agoBug #1216: Restore support for Visual Studio 2002.
Martin v. Löwis [Fri, 12 Oct 2007 08:58:48 +0000 (08:58 +0000)]
Bug #1216: Restore support for Visual Studio 2002.

17 years agoFix ctypes on 32-bit systems when Python is configured --with-system-ffi.
Thomas Heller [Fri, 12 Oct 2007 06:53:32 +0000 (06:53 +0000)]
Fix ctypes on 32-bit systems when Python is configured --with-system-ffi.
See also https://bugs.launchpad.net/bugs/72505.

17 years agoBackport 58424:
Neal Norwitz [Fri, 12 Oct 2007 03:59:09 +0000 (03:59 +0000)]
Backport 58424:
Fix Coverity 185-186:  If the passed in FILE is NULL, uninitialized memory
would be accessed.

17 years agoBackport 58385 from trunk: fix a double free bug in the _bsddb module
Gregory P. Smith [Tue, 9 Oct 2007 07:25:24 +0000 (07:25 +0000)]
Backport 58385 from trunk: fix a double free bug in the _bsddb module
on DBCursor.get (and a friends) when passing in a string key.

17 years agoBackport rev 58343: fix DBSequence.get_key() to not crash/fail/etc.
Gregory P. Smith [Sat, 6 Oct 2007 16:05:18 +0000 (16:05 +0000)]
Backport rev 58343: fix DBSequence.get_key() to not crash/fail/etc.

17 years agoBackport 58348: use a reliable host in the test.
Gregory P. Smith [Sat, 6 Oct 2007 15:55:25 +0000 (15:55 +0000)]
Backport 58348: use a reliable host in the test.

17 years agoBackport 58344: allow BerkeleyDB 4.6.x >= 4.6.21 for the bsddb module
Gregory P. Smith [Sat, 6 Oct 2007 08:11:29 +0000 (08:11 +0000)]
Backport 58344: allow BerkeleyDB 4.6.x >= 4.6.21 for the bsddb module

17 years agoBackport 58332: Fix Coverity #159.
Neal Norwitz [Fri, 5 Oct 2007 05:05:24 +0000 (05:05 +0000)]
Backport 58332: Fix Coverity #159.

This code was broken if save() returned a negative number since i contained
a boolean value and then we compared i < 0 which should never be true.

17 years agoBackport 58330:
Neal Norwitz [Fri, 5 Oct 2007 03:45:42 +0000 (03:45 +0000)]
Backport 58330:
Fix Coverity #158: Check the correct variable.

17 years agomove descriptions of ac_(in|out)_buffer_size to the right place
Fred Drake [Fri, 5 Oct 2007 03:12:00 +0000 (03:12 +0000)]
move descriptions of ac_(in|out)_buffer_size to the right place
http://bugs.python.org/issue1053

17 years ago#1196: document default radix for int().
Georg Brandl [Mon, 24 Sep 2007 17:58:18 +0000 (17:58 +0000)]
#1196: document default radix for int().

17 years agoFix -- being converted to - in HTML. #1186.
Georg Brandl [Mon, 24 Sep 2007 17:56:12 +0000 (17:56 +0000)]
Fix -- being converted to - in HTML. #1186.

17 years agoFix #1169: remove docstrings in functions for -OO.
Georg Brandl [Wed, 19 Sep 2007 06:37:26 +0000 (06:37 +0000)]
Fix #1169: remove docstrings in functions for -OO.
 (backport from rev. 58204)

17 years agoissue1172: Documentation of "done" attribute in cgi module.
Sean Reifscheider [Tue, 18 Sep 2007 23:38:15 +0000 (23:38 +0000)]
issue1172: Documentation of "done" attribute in cgi module.

17 years agoissue1082: Fixing system and platform names for Vista.
Sean Reifscheider [Mon, 17 Sep 2007 20:58:46 +0000 (20:58 +0000)]
issue1082: Fixing system and platform names for Vista.

17 years agoissue1140: Guido's patch from revision 58098 (2.6) applied to 2.5.
Sean Reifscheider [Mon, 17 Sep 2007 09:43:11 +0000 (09:43 +0000)]
issue1140: Guido's patch from revision 58098 (2.6) applied to 2.5.

17 years agoissue1597011: Fix for bz2 module corner-case error due to error checking bug.
Sean Reifscheider [Mon, 17 Sep 2007 05:45:20 +0000 (05:45 +0000)]
issue1597011: Fix for bz2 module corner-case error due to error checking bug.

17 years agoctypes.util.find_library uses dump(1) instead of objdump(1) on Solaris.
Thomas Heller [Fri, 14 Sep 2007 20:05:26 +0000 (20:05 +0000)]
ctypes.util.find_library uses dump(1) instead of objdump(1) on Solaris.
Fixes issue #1777530; backported from trunk.

17 years agoBackport 58150: Rename debug import lib to _msi_d.lib.
Martin v. Löwis [Fri, 14 Sep 2007 07:02:51 +0000 (07:02 +0000)]
Backport 58150: Rename debug import lib to _msi_d.lib.

17 years agoBackport r58149: Clean Release projects as well.
Martin v. Löwis [Fri, 14 Sep 2007 07:01:59 +0000 (07:01 +0000)]
Backport r58149: Clean Release projects as well.

17 years agoAdd 2.5 MSI builder.
Martin v. Löwis [Thu, 13 Sep 2007 18:26:13 +0000 (18:26 +0000)]
Add 2.5 MSI builder.

17 years agoBug #1153: repr.repr() now doesn't require set and dictionary items
Georg Brandl [Wed, 12 Sep 2007 19:00:10 +0000 (19:00 +0000)]
Bug #1153: repr.repr() now doesn't require set and dictionary items
to be orderable to properly represent them.
 (backport from rev. 58122)

17 years agobug #1154: release memory allocated by "es" PyArg_ParseTuple format specifier.
Georg Brandl [Wed, 12 Sep 2007 18:29:21 +0000 (18:29 +0000)]
bug #1154: release memory allocated by "es" PyArg_ParseTuple format specifier.
 (backport from rev. 58119)

17 years agoFix #1139: PyFile_Encoding really is PyFile_SetEncoding.
Georg Brandl [Wed, 12 Sep 2007 18:11:03 +0000 (18:11 +0000)]
Fix #1139: PyFile_Encoding really is PyFile_SetEncoding.
(backport from rev. 58117).

17 years agoFix #1122: wrong return type documented for various _Size() functions.
Georg Brandl [Wed, 12 Sep 2007 18:08:54 +0000 (18:08 +0000)]
Fix #1122: wrong return type documented for various _Size() functions.
(backport from rev. 58115).

17 years agoCause passing a string to generator.throw() to raise a deprecation warning.
Brett Cannon [Tue, 11 Sep 2007 21:12:14 +0000 (21:12 +0000)]
Cause passing a string to generator.throw() to raise a deprecation warning.

17 years agoBackport: #1095: ln -f doesn't work portably.
Georg Brandl [Fri, 7 Sep 2007 20:12:59 +0000 (20:12 +0000)]
Backport: #1095: ln -f doesn't work portably.

17 years agobackport of r58023 to fix unit test suite issue1112 on windows
Gregory P. Smith [Thu, 6 Sep 2007 23:01:32 +0000 (23:01 +0000)]
backport of r58023 to fix unit test suite issue1112 on windows

17 years agoFix typo: c_float represents to C float type.
Thomas Heller [Thu, 6 Sep 2007 20:26:03 +0000 (20:26 +0000)]
Fix typo:  c_float represents to C float type.

17 years agoBackport of r58004.
Armin Rigo [Thu, 6 Sep 2007 08:35:34 +0000 (08:35 +0000)]
Backport of r58004.

17 years agoPatch #786737: Allow building in a tree of symlinks pointing to
Martin v. Löwis [Wed, 5 Sep 2007 11:47:22 +0000 (11:47 +0000)]
Patch #786737: Allow building in a tree of symlinks pointing to
a readonly source.