Commit Graph

3237 Commits

Author SHA1 Message Date
Mark Hammond
5610c7e34b Fix [ 846133 ] os.chmod/os.utime/shutil do not work with unicode filenames 2003-12-03 01:21:01 +00:00
Skip Montanaro
441c214997 doc nit 2003-12-02 19:00:44 +00:00
Guido van Rossum
5c20156349 Silence GCC warning when asserts are turned off. 2003-11-24 04:02:31 +00:00
Tim Peters
3c64e7ac58 Indented and repaired the maze of #ifdefs setting USE_RECURSION_LIMIT.
Indented because it was incomprehensible.  "Repaired" means someone
checked in a change that screwed up the multiple nesting levels, causing
USE_RECURSION_LIMIT to stop getting defined on all non-LP64 boxes other
than FreeBSD.  Tried to repair that in a more-robust way.  That error
in turn caused a bogus change to get checked in to test_re.py, which I
repaired earlier.

This needs fresh testing on all non-Win32 platforms (Win32 never used
USE_RECURSION_LIMIT, and still doesn't).  Running the standard test_re.py
is an adequate test.
2003-11-22 03:46:30 +00:00
Tim Peters
ca6919c180 SF bug 839548: Bug in type's GC handling causes segfaults.
Also SF patch 843455.

This is a critical bugfix, backported from 2.4 development.
I don't intend to backport beyond 2.3 maint.  The bugs this fixes
have been there since weakrefs were introduced.
2003-11-20 22:13:51 +00:00
cvs2svn
d33ed28024 This commit was manufactured by cvs2svn to create branch
'release23-maint'.
2003-11-20 22:13:51 +00:00
Martin v. Löwis
604b120ca6 Patch #804543: strdup saved locales. 2003-11-13 07:42:13 +00:00
Martin v. Löwis
058806e716 Overallocate target buffer for normalization more early. Fixes #834676. 2003-11-06 20:47:43 +00:00
Martin v. Löwis
7f5b2cda2c Patch #787189: Explicitly define CTRL on SGI. 2003-10-31 13:01:08 +00:00
Martin v. Löwis
f62fad7442 Patch #788404: ignore "b" and "t" mode modifiers in posix_popen.
Fixes #703198.
2003-10-31 10:01:37 +00:00
Martin v. Löwis
065b87b2d7 Patch #803998: Correctly check for error in SSL_write. 2003-10-27 14:24:41 +00:00
Fred Drake
c751a82286 Update to Expat 1.95.7; there are no changes to the Expat sources. 2003-10-21 20:02:35 +00:00
cvs2svn
eb7a27f9f2 This commit was manufactured by cvs2svn to create branch
'release23-maint'.
2003-10-21 20:02:35 +00:00
Martin v. Löwis
49e75c7988 Patch #813391: Reduce limits for amd64 and sparc64. 2003-10-20 20:59:45 +00:00
Walter Dörwald
4958f2741a Backport checkin:
Fix a bunch of typos in documentation, docstrings and comments.
(From SF patch #810751)
2003-10-20 14:34:48 +00:00
Anthony Baxter
dfcd95ccdc made the SGI INET_ADDRSTRLEN apply for any compiler on Irix. Both the
SGI compiler and GCC seem to need this.
2003-10-04 06:55:33 +00:00
Martin v. Löwis
fe16163388 Check for TclError when reading variables. Fixes #807314. 2003-10-03 17:11:45 +00:00
Martin v. Löwis
3c39f202ec Patch #813445: Add missing socket.IPPROTO_IPV6. 2003-10-03 13:55:37 +00:00
Gregory P. Smith
c52e257eb9 support for compiling with BerkeleyDB 4.2.x (soon to be released). this
is a partial version of the 1.18->1.19 patch.  i left out the ability for
the module to also load as _pybsddb in addition to _bsddb as that applies
more to pybsddb than python.
2003-09-21 23:10:23 +00:00
Gregory P. Smith
e9155da191 port of 1.17->1.18 change. adds DBEnv.set_shm_key method. 2003-09-21 23:06:20 +00:00
Martin v. Löwis
50999aa171 Patch #798145: Return correct information from nl_langinfo(RADIXCHAR). 2003-09-04 18:26:07 +00:00
Martin v. Löwis
e24c98a978 Use de_DE in example, change message for unknown locale. Fixes #797447. 2003-09-03 04:53:17 +00:00
Raymond Hettinger
617fc1758a SF patch #798534: Windows os.popen needlessly gets a reference to tuple ()
(Contributed by Andrew Gaul.)

Fixes a minor leak.
2003-09-01 22:34:31 +00:00
Raymond Hettinger
9ea45c88da * Add news item for the previous bugfix
* Backport itertoolsmodule.c 1.19 to re-sync Py2.3.1 with Py2.4.
2003-08-30 22:16:59 +00:00
Raymond Hettinger
21f819db86 For safety, replace a tuple entry before decreffing it. 2003-08-30 00:11:16 +00:00