Michael W. Hudson
e723e453a1
Repair refcounting on error return from type_set_bases.
...
Include a test case that failed for one of my efforts to repair this.
2003-08-07 14:58:10 +00:00
Fred Drake
bb18f620ad
Fix hyperlinks and one class reference.
...
Backporting to Python 2.3 branch.
2003-08-07 14:31:08 +00:00
Martin v. Löwis
5db099a4fe
Release host name memory. Fixes #783312 . Will backport to 2.3.
2003-08-07 11:55:15 +00:00
Mark Hammond
7edd0a9b21
Demonstrate and fix [ 783882 ] os.lstat crashes with Unicode filename.
...
Will also check in on the 2.3 branch.
2003-08-06 02:46:58 +00:00
Walter Dörwald
5301d9c10d
Remove useless import.
2003-08-05 15:55:38 +00:00
Walter Dörwald
b27cca6634
Check both __div__ and __truediv__ in division tests.
...
(From SF patch #543867 )
2003-08-05 15:34:34 +00:00
Raymond Hettinger
beb35f4da3
Removed deprecated functions
2003-08-05 12:32:41 +00:00
Raymond Hettinger
f8a52d38ad
Removed deprecated functions
2003-08-05 12:23:19 +00:00
Raymond Hettinger
02771c174c
SF patch #782810 : typo in libfuture.tex
...
(Contributed by George Yoshida)
2003-08-05 11:40:21 +00:00
Raymond Hettinger
85004cc47d
SF bug #782369 : Massive memory leak in array module
...
Fixed leak caused by switching from PyList_GetItem to PySequence_GetItem.
Added missing NULL check.
Clarified code by converting an "if" to an "else if".
Will backport to 2.3.
2003-08-05 11:23:59 +00:00
Anthony Baxter
83f5291c0f
forgot to commit this - note about the signal module SIGRT(MIN,MAX)
2003-08-05 06:33:56 +00:00
Brett Cannon
b7150a23f7
Mention caching and better thread-safety for Lib/_strptime.py
2003-08-05 06:27:04 +00:00
Martin v. Löwis
106490915b
Patch #781722 : Reject AF_INET6 if IPv6 is disabled. Will backport to 2.3.
2003-08-05 06:25:06 +00:00
Martin v. Löwis
0d8e16c7ad
Support trailing dots in DNS names. Fixes #782510 . Will backport to 2.3.
2003-08-05 06:19:47 +00:00
Martin v. Löwis
8db4403a76
Correct URL of normalization file. Fixes #781065 . Will backport to 2.3.
2003-08-05 05:59:13 +00:00
Martin v. Löwis
cebcc61d4d
Patch #781126 : Fix markup for add_fallback. Will backport to 2.3.
2003-08-05 05:54:15 +00:00
Martin v. Löwis
249d50a25f
Make sure eol_convention is an ASCII string. Fixes #774680 .
...
Will backport to 2.3.
2003-08-05 05:51:20 +00:00
Fred Drake
5d9c636faf
init_myformat(): None of the "mark" values can be empty strings, or
...
LaTeX2HTML feels free to remove a surrounding element that
contains no other content. Since such an element is typically a
named anchor used for hyperlinking, they should not be removed.
Unfortunatley, making sure these marks are non-empty is the most
direct way of avoiding this behavior.
Thanks to Dave Kuhlman for tracking this down; this was some excellent
detective work!
2003-08-05 05:00:23 +00:00
Brett Cannon
474335ce17
Re-introduce caching of TimeRE and compiled regexes with added thread-safety.
...
Also remove now unnecessary property attributes for thread safety
(no longer have lazy attributes) and code simplicity reasons.
Timezone storage has been reworked to be simpler and more flexible. All values
in LocaleTime instances are lower-cased. This is all done to simplify the
module.
The module now assumes nothing beyond the strptime function will be exposed for
general use beyond providing functionality for strptime.
2003-08-05 04:02:49 +00:00
Brett Cannon
8ab27dfa13
Touch-up to docstrings.
2003-08-05 03:52:04 +00:00
Brett Cannon
b278ac4e46
Add note about fileno not being usable as a normal file descriptor in Windows.
2003-08-05 03:51:24 +00:00
Fred Drake
e0c1740bc5
better support for well-formed XHTML
2003-08-05 03:48:29 +00:00
Fred Drake
2fc88a62d4
make the portions of the generated HTML produced by these styles better
...
conform to XHTML rules.
2003-08-05 03:45:37 +00:00
Raymond Hettinger
4ee2ff36d0
Clarified that TypeErrors can be raised by any
...
function (not just builtins).
The issue arose in a thread on comp.lang.python.
2003-08-04 08:33:50 +00:00
Skip Montanaro
ed9bf12848
protect against test problems with Jython
2003-08-03 23:30:40 +00:00
Skip Montanaro
d5cf0b86df
added test for bug 782369
2003-08-03 23:02:10 +00:00
Skip Montanaro
c1b4154587
more extension marshal tests and conversion to unittest - was surprised to
...
see how much of the file was not covered by the build process
2003-08-02 15:02:33 +00:00
Raymond Hettinger
eaef615116
As discussed on python-dev, changed builtin.zip() to handle zero arguments
...
by returning an empty list instead of raising a TypeError.
2003-08-02 07:42:57 +00:00
Skip Montanaro
9463792c68
To be a good citizen, it should really delete its socket when done.
2003-08-01 14:20:02 +00:00
Skip Montanaro
cb3988c48b
add skeletal "what's new" for 2.4a1 and mention a couple python-mode tweaks.
2003-08-01 05:01:54 +00:00
Skip Montanaro
031611635d
delete the f1 key binding. py-help-at-point is still available @ C-c C-h.
2003-08-01 04:27:34 +00:00
Skip Montanaro
98a4fbe043
make pending-delete/delete-selection mode work with py-electric-colon
2003-08-01 04:00:32 +00:00
Anthony Baxter
f37f37dec0
Patch [ 776725 ] add SIGRTMIN, SIGRTMAX to signalmodule.c
...
Trivial patch, and the alternative is to guess at the right values
based on platform...
2003-07-31 10:35:29 +00:00
Skip Montanaro
4563769be9
tweak to py-fill-paragraph - problem noted by John Lee and correction
...
submitted by Bernard Herzog. Closes patch 779830.
2003-07-31 04:59:48 +00:00
Mark Hammond
67e5582dfc
Complete move of windows builds to 2.4alpha
2003-07-31 02:06:22 +00:00
Skip Montanaro
3576f0a6a4
Everyone knows what Fred meant, but I thought I'd make it official... ;-)
2003-07-31 01:17:22 +00:00
Fred Drake
7d597d911f
Generalize the template for the "What's New" document so it's easier
...
to extract next time without having to remember where in CVS to dig it
out.
2003-07-30 23:52:16 +00:00
Fred Drake
90b20494a1
there's a new "What's New" for Python 2.4
2003-07-30 19:14:54 +00:00
Fred Drake
ed0fa3da9f
boilerplate to start off "What's New in Python 2.4"
2003-07-30 19:14:09 +00:00
Fred Drake
afc0d8e893
Update to the same version info used by the interpreter.
2003-07-30 18:43:28 +00:00
Fred Drake
9bd4462780
Update version number here as well; patchlevel.h is not the only place.
2003-07-30 17:39:48 +00:00
Walter Dörwald
73a8a4b9df
Fix typo.
2003-07-30 12:14:02 +00:00
Andrew M. Kuchling
68a3294fc4
[Bug #779469 ] Fix error in example code
2003-07-30 11:55:06 +00:00
Barry Warsaw
bf71fa1a59
Bump the trunk to 2.4a0
2003-07-30 05:37:39 +00:00
Fred Drake
9d843087b6
update the documentation contact address
2003-07-30 02:55:28 +00:00
Fred Drake
333d6fd583
- update the documentation contact address
...
- remove text about the long-moved Mac OS libref chapter
2003-07-30 02:55:01 +00:00
Barry Warsaw
5a2e2c1d98
Get rid of empty sections
2003-07-29 22:11:31 +00:00
Tim Peters
36c1afc47a
SF bug 778400: IDLE hangs when selecting "Edit with IDLE".
...
The fix is confined to the Windows installer.
Not a bugfix candidate: the need for the new -n switch added here was
introduced by moving to the idlefork IDLE (so this change isn't needed
or helpful before 2.3).
2003-07-29 17:22:57 +00:00
Andrew M. Kuchling
b34ba3f174
Bump version number; record 2.3 release date
2003-07-29 12:06:32 +00:00
Fred Drake
7a7aba9931
Update release information.
2003-07-29 03:20:32 +00:00