Barry Warsaw
d44e7ad702
Minor updates to add more pointers to the pickle documentation, and to
...
clarify some of the interface.
2001-11-15 23:37:26 +00:00
Fred Drake
fd4f069b12
The turtle docs will be moving to another location in the Tkinter chapter.
2001-11-15 22:10:46 +00:00
Fred Drake
482b9a8c0c
Clean up the descriptions of multi-signature functions so we do the right
...
thing in the index.
2001-11-15 20:41:03 +00:00
Guido van Rossum
3fc08d23c7
Group dict[ionary] news together; and use dict() instead of
...
dictionary().
2001-11-15 20:33:10 +00:00
Guido van Rossum
3d27df0734
Correct the description of mixed multiple inheritance: the code
...
special-cases classic classes, it doesn't do anything about other
cases where different metaclasses are involved (except for the trivial
case where one metaclass is a subclass of the others). Also note that
it's metaclass, not metatype.
2001-11-15 20:27:54 +00:00
Tim Peters
76f7fe37bb
News about mixing classic and new-style classes in MI.
2001-11-15 20:02:21 +00:00
Tim Peters
330bdfe335
Bump Windows buildno for 2.2b2.
2001-11-15 19:50:51 +00:00
Fred Drake
bc1491f60f
Thanks for the Tkinter chapter, Mike!
2001-11-15 17:26:10 +00:00
Fred Drake
53556861df
Add entries for the new Tkinter chapter.
2001-11-15 17:25:29 +00:00
Fred Drake
7cf4e5b329
Tkinter chapter, contributed by Mike Clarkson. Based in part on the "Tkinter
...
Life Preserver" by Matt Conway.
2001-11-15 17:22:04 +00:00
Tim Peters
144b98dab8
More simple test cases for mixed classic+new multiple inheritance.
2001-11-14 23:56:45 +00:00
Tim Peters
a91e9646e0
Changing diapers reminded Guido that he wanted to allow for some measure
...
of multiple inheritance from a mix of new- and classic-style classes.
This is his patch, plus a start at some test cases from me. Will check
in more, plus a NEWS blurb, later tonight.
2001-11-14 23:32:33 +00:00
Fred Drake
e1d4ad3a31
Finally commit the font changes that have been live on the development site
...
for a month or more.
2001-11-14 22:35:59 +00:00
Fred Drake
9c7a07f7a4
Bump release number & date.
2001-11-14 22:28:26 +00:00
Jeremy Hylton
1336e99054
Fred observes that the typo was not the only problem with this sentence.
2001-11-14 21:38:13 +00:00
Jeremy Hylton
4a98f70a09
typo
2001-11-14 21:32:27 +00:00
Jack Jansen
1062e706e5
Don't initialize tp_type statically, it won't work on Windows. Spotted
...
by Thomas Heller (patch 459442).
2001-11-14 15:48:13 +00:00
Jack Jansen
418c3b1e26
OSX tests used specific version numbers to test for new features and
...
used the default Darwin/* for the old code. Reversed those tests so
that compatibility code is in a switch leg with a specific version and
newer systems take the default leg.
This should allow Python to build on OSX 10.1.1 (which jumps from Darwin/1.4
to Darwin/5.1 due to a new numbering scheme).
2001-11-14 10:59:57 +00:00
Tim Peters
00cafa0f76
Removed print that executes only on Unix boxes; that made it impossible
...
to have single "expected output" file.
2001-11-13 23:39:47 +00:00
Tim Peters
5ebfd36afa
CVS patch #477161 : New "access" keyword for mmap, from Jay T Miller.
...
This gives mmap() on Windows the ability to create read-only, write-
through and copy-on-write mmaps. A new keyword argument is introduced
because the mmap() signatures diverged between Windows and Unix, so
while they (now) both support this functionality, there wasn't a way to
spell it in a common way without introducing a new spelling gimmick.
The old spellings are still accepted, so there isn't a backward-
compatibility issue here.
2001-11-13 23:11:19 +00:00
Barry Warsaw
afeb2a4d89
PyOS_getsig(), PyOS_setsig(): The minimal amount of work to avoid the
...
uninitialized memory reads reported in bug #478001 .
Note that this doesn't address the following larger issues:
- Error conditions are not documented for PyOS_*sig() in the C API.
- Nothing that actually calls PyOS_*sig() in the core interpreter and
extension modules actually /checks/ the return value of the call.
Fixing those is left as an exercise for a later day.
2001-11-13 23:08:26 +00:00
Jeremy Hylton
79b5b5b7fb
Don't munge __debug__ and leave it that way.
2001-11-13 22:03:20 +00:00
Tim Peters
8876848323
Whitespace normalization.
2001-11-13 21:51:26 +00:00
Barry Warsaw
135cce8718
A specific test for bug #481221 , getaddrlist() failing on long
...
addresses. Commented out because it still takes too long to run.
2001-11-13 21:33:52 +00:00
Barry Warsaw
f1fd282f13
Fix for bug #481221 , getaddrlist() failing on long addresses.
2001-11-13 21:30:37 +00:00
Barry Warsaw
3ca656f1be
Committing the second part of patch #480902 , an improved test suite
...
for dumbdbm.py, by Skip Montanaro. The first half of Skip's patch has
been postponed until Py2.3 since it adds new features.
2001-11-13 20:16:52 +00:00
Tim Peters
88d21319ba
new_code(): The last patch to this left behind an unreferenced local;
...
deleted its declaration.
2001-11-13 20:11:55 +00:00
Barry Warsaw
19c10caaa4
Add tests for bug #478115 , parsedate_tz() IndexError when a Date:
...
field exists with an empty value.
2001-11-13 18:01:37 +00:00
Barry Warsaw
4a106ee9e1
parsedate_tz(): If data is false, return None. Fixes bug #478115 ,
...
IndexError when a Date: field exists with an empty value.
2001-11-13 18:00:40 +00:00
Tim Peters
bf5ca65c2d
load_string(): Force use of unsigned compare in a context that was
...
clearly (but incorrectly) assuming it.
2001-11-12 22:26:10 +00:00
Jack Jansen
f8197d4f9f
OSX notes:
...
- Added a note about the limit stack command
- Revoved the note about largefile
- Added a note about /usr/local not existing by default.
2001-11-12 14:11:13 +00:00
Thomas Heller
64cdb48c80
No need to preprocess the header files - use ctags -I flag instead to
...
remove DL_IMPORT.
2001-11-12 12:52:01 +00:00
Thomas Heller
bfeeeee851
Fix obvious typos.
2001-11-12 07:46:31 +00:00
Martin v. Löwis
43f2dc6251
Limit string size on one-character-strings. Fixes #480384 .
2001-11-11 14:49:15 +00:00
Martin v. Löwis
00ff10cae4
Patch in bug report #477700 : Fix memory leaks in gdbm & curses.
2001-11-11 14:24:05 +00:00
Martin v. Löwis
20efa68be4
Patch #473002 : Update Demo/tix tixwidgets.py et al.
2001-11-11 14:07:37 +00:00
Jack Jansen
c252e6304e
Add the MSL C library to the set of standard libraries
...
linked against. Most, but not all, of it is included in
PythonCore, but extensions may want to use some of
the routines not included. Fixes a bug reported by
Tom Loredo.
2001-11-10 23:21:55 +00:00
Jack Jansen
92c2ebf1b2
The libraries argument was completely ignored, fixed. Reported by
...
Tom Loredo.
2001-11-10 23:20:22 +00:00
Martin v. Löwis
42ba08fab0
Patch #473265 : UpdatePairedHandlers nonsensical.
2001-11-10 13:59:16 +00:00
Martin v. Löwis
1d7c55faee
Merge 1.42 from PyXML: Flag errors resulting from argument conversion problems.
...
Fixes problem with not detecting UTF-8 errors.
2001-11-10 13:57:55 +00:00
Jack Jansen
439eaa9f74
Fixed various problems with command-dot handling (some very old):
...
- Don't scan for cmd-. unless in the foreground
- Scan before switching out to other processes, not after
- don't scan if SchedParams.check_interrupt is false (!)
- But: do scan if we're blocked on I/O
One problem remains: in the last case KeyboardInterrupt is raised
too late.
2001-11-10 00:41:43 +00:00
Fred Drake
94ead57dc3
Added version annotations, remove hard tabs.
2001-11-09 23:34:26 +00:00
Jeremy Hylton
9f64caaf00
Use PyObject_CheckReadBuffer().
2001-11-09 22:02:48 +00:00
Jeremy Hylton
89c3a22a27
Add PyObject_CheckReadBuffer(), which returns true if its argument
...
supports the single-segment readable buffer interface.
Add documentation for this and other PyObject_XXXBuffer() calls.
2001-11-09 21:59:42 +00:00
Fred Drake
da4ffeecf5
No need to have documentation for a module which not accepted in the library.
2001-11-09 21:45:55 +00:00
Jeremy Hylton
249aaeda0a
Add note about assignment to __debug__ being an error.
2001-11-09 21:06:24 +00:00
Martin v. Löwis
107b7daf5a
Include sys_getdefaultencoding in #ifdef Py_USING_UNICODE. Fixes #479571 .
2001-11-09 20:59:39 +00:00
Tim Peters
a27a150ea5
open_the_file(): Explicitly set errno to 0 before calling fopen().
2001-11-09 20:59:14 +00:00
Barry Warsaw
4279346a9f
getnameinfo() appears to raise socket.error instead of
...
socket.gaierror. :( This allows test_socket to pass on a RH6.1-ish
Linux system.
2001-11-09 20:37:43 +00:00
Jeremy Hylton
8edd5402f0
Fix SF buf #480096 : Assign to __debug__ still allowed
...
Easy enough to catch assignment in the compiler. The perverse user
can still change the value of __debug__, but that may be the least he
can do.
2001-11-09 20:37:13 +00:00