Commit Graph

1368 Commits

Author SHA1 Message Date
Martin v. Löwis 8b291e2d66 Patch #1213831: Fix typo in unicodedata._getcode.
Will backport to Python 2.4.
2005-09-18 08:17:56 +00:00
Brett Cannon a783d06f8c Clear out the regex cache when the TimeRE cache is invalidated by a locale
change.

Fixes bug #1290505.
2005-09-15 02:34:56 +00:00
Georg Brandl fb1ef85b0b *** empty log message *** 2005-09-14 20:53:32 +00:00
Georg Brandl 3225242a39 bug [ 1274828 ] splitunc not documented 2005-09-14 20:42:00 +00:00
Georg Brandl 80bbf3f6c8 Complete format code support in getargs.c::skipitem(), which is called when
evaluating keyword arguments.

CVS: ----------------------------------------------------------------------
CVS: Enter Log.  Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: 	Python/getargs.c
CVS: ----------------------------------------------------------------------
2005-09-14 19:38:29 +00:00
Guido van Rossum 8ee3e5aa93 - Changes donated by Elemental Security to make it work on AIX 5.3
with IBM's 64-bit compiler (SF patch #1284289).  This also closes SF
  bug #105470: test_pwd fails on 64bit system (Opteron).
2005-09-14 18:09:42 +00:00
Guido van Rossum 539c662f10 - Changes donated by Elemental Security to make it work on HP-UX 11 on
Itanium2 with HP's 64-bit compiler (SF patch #1225212).
2005-09-14 17:49:54 +00:00
Gustavo Niemeyer 6fa0c5a452 Bug #1202493: Fixing SRE parser to handle '{}' as perl does, rather than
considering it exactly like a '*'.
2005-09-14 08:54:39 +00:00
Walter Dörwald 78a78b0768 Fix rest markup and typos. 2005-09-01 12:04:29 +00:00
Walter Dörwald c5238b8288 SF bug #1235646: codecs.StreamRecoder.next() now reencodes the data it reads
from the input stream, so that the output is a byte string in the correct
encoding instead of a unicode string.
2005-09-01 11:56:53 +00:00
Walter Dörwald a47d1c08d0 SF bug #1251300: On UCS-4 builds the "unicode-internal" codec will now complain
about illegal code points. The codec now supports PEP 293 style error handlers.
(This is a variant of the Nik Haldimann's patch that detects truncated data)
2005-08-30 10:23:14 +00:00
Martin v. Löwis 5dbdc59577 Patch #1168594: set sizes of non-regular files to zero. Fixes #1167128.
Will backport to 2.4.
2005-08-27 10:07:56 +00:00
Georg Brandl 5a650a253c patch [ 810023 ] Fix for off-by-one bug in urllib.URLopener.retrieve 2005-08-26 08:51:34 +00:00
Georg Brandl d2e3ba7a35 patch [ 756021 ] Allow socket.inet_aton("255.255.255.255") on Windows 2005-08-26 08:34:00 +00:00
Georg Brandl 4550b8db56 typo 2005-08-26 06:43:52 +00:00
Georg Brandl 02c42871cf Disallow keyword arguments for type constructors that don't use them.
(fixes bug #1119418)
2005-08-26 06:42:30 +00:00
Georg Brandl 02760f9b25 Correcting my last BZ2 entry. Adding one for #1215928. 2005-08-25 13:10:41 +00:00
Martin v. Löwis 8b59514e57 Make IDNA return an empty string when the input is empty. Fixes #1163178.
Will backport to 2.4.
2005-08-25 11:03:38 +00:00
Georg Brandl 532efabf1d patch #848017: make Cookie more RFC-compliant. 2005-08-24 22:34:21 +00:00
Georg Brandl b925602f16 Patch [ 1062060 ] fix for 1016880 urllib.urlretrieve silently truncates dwnld 2005-08-24 18:46:39 +00:00
Georg Brandl 568973181a Patch [ 784089 ] A program to scan python files and list those require coding 2005-08-24 18:32:30 +00:00
Martin v. Löwis 0a5d4a20e7 Patch #1167716: Support Unicode filenames in mkpath. Fixes #1121494.
Will backport to 2.4.
2005-08-24 14:55:22 +00:00
Martin v. Löwis d35edda682 Forward UnicodeDecodeError into SyntaxError for source encoding errors.
Will backport to 2.4.
2005-08-24 08:39:24 +00:00
Martin v. Löwis 56066d2e55 Return complete lines from codec stream readers
even if there is an exception in later lines, resulting in
correct line numbers for decoding errors in source code. Fixes #1178484.
Will backport to 2.4.
2005-08-24 07:38:12 +00:00
Georg Brandl 6d2b346140 bug [ 1192315 ] 'clear -1' in pdb 2005-08-24 07:36:17 +00:00
Georg Brandl 79c122f568 bug [ 1190204 ] 3.29 site is confusing re site-packages on Windows 2005-08-24 07:31:33 +00:00
Georg Brandl 6f2bbd353b bug [ 1193849 ] os.path.expanduser documentation wrt. empty $HOME 2005-08-24 07:26:55 +00:00
Georg Brandl 38387b8b91 bug [ 728515 ] mmap's resize method resizes the file in win32 but not unix 2005-08-24 07:17:40 +00:00
Martin v. Löwis faffa15842 Revert previous checkin. 2005-08-24 06:43:09 +00:00
Martin v. Löwis bc3b06087c Patch #1262036: Make tarfile name absolute. Fixes #1257255.
Will backport to 2.4.
2005-08-24 06:06:52 +00:00
Andrew M. Kuchling 88b8582e45 Typo fixes 2005-08-23 00:57:07 +00:00
Georg Brandl f0de6a18bb Bug #1266283: lexists() is not exported from os.path 2005-08-22 18:02:59 +00:00
Georg Brandl 33a5f2af59 Fix BZ2File.(x)readlines() for files without a newline. 2005-08-21 14:16:04 +00:00
Raymond Hettinger beb3101b05 Add a C API for sets and frozensets. 2005-08-16 03:47:52 +00:00
Barry Warsaw e2eca0b709 Port from the Python 2.4 branch, patches for SF bug # 900092,
hotshot.stats.load.
2005-08-15 18:14:19 +00:00
Neil Schemenauer cf52c07843 Change the %s format specifier for str objects so that it returns a
unicode instance if the argument is not an instance of basestring and
calling __str__ on the argument returns a unicode instance.
2005-08-12 17:34:58 +00:00
Martin v. Löwis ebd9d5ba1a Patch #1180695: Implement nanosecond stat resolution on FreeBSD,
add st_gen, st_birthtime.
2005-08-09 15:00:59 +00:00
Martin v. Löwis 147fbe5a55 Patch #1239112: Correct LINKCC C++ test. Fixes #1189330.
Backported to 2.4.
2005-08-07 21:09:30 +00:00
Martin v. Löwis b813c53cd8 Patch #827386: Support absolute source paths in msvccompiler.py.
Backported to 2.4.
2005-08-07 20:51:04 +00:00
Georg Brandl 649f8e7de2 patch [ 1105730 ] Faster commonprefix in macpath, ntpath, etc. 2005-08-03 07:30:12 +00:00
Georg Brandl f13c4ba11b [ 1243192 ] Incorrect documentation of re.UNICODE 2005-08-02 10:28:08 +00:00
Raymond Hettinger 9f1a6796eb Revised the set() and frozenset() implementaion to use its own internal
data structure instead of using dictionaries.  Reduces memory consumption
by 1/3 and provides modest speed-ups for most set operations.
2005-07-31 01:16:36 +00:00
Michael W. Hudson 8137bea4ca This is barry-scott's patch:
[ 1231069 ] ioctl has problem with -ive request codes

by using the 'I' not the 'i' format code to PyArg_ParseTuple().

Backport candidate?  Maybe...
2005-07-27 20:24:40 +00:00
Guido van Rossum 755149fb97 Ouch, move that comment to the right place. 2005-07-27 00:00:44 +00:00
Guido van Rossum 49a4b68b8b Fix a problem in Tkinter introduced by SF patch #869468 (checked in as
1.179): delete bogus __hasattr__ and __delattr__ methods on class Tk
that were breaking Tkdnd.
2005-07-26 23:57:46 +00:00
Trent Mick 8321b42f38 Upgrade Windows build to zlib 1.2.3 (a security fix) 2005-07-26 02:29:21 +00:00
Georg Brandl 7eb4b7d177 Fix all wrong instances of "it's". 2005-07-22 21:49:32 +00:00
Georg Brandl 08c02dbb85 [ 1243081 ] repair typos 2005-07-22 18:39:19 +00:00
Georg Brandl 150db73c78 added news entry for previous checkin 2005-07-18 08:53:17 +00:00
Tim Peters de7990b8af SF bug #1238681: freed pointer is used in longobject.c:long_pow().
In addition, long_pow() skipped a necessary (albeit extremely unlikely
to trigger) error check when converting an int modulus to long.

Alas, I was unable to write a test case that crashed due to either
cause.

Bugfix candidate.
2005-07-17 23:45:23 +00:00