]> granicus.if.org Git - python/log
python
23 years agotypo
Jeremy Hylton [Wed, 14 Nov 2001 21:32:27 +0000 (21:32 +0000)]
typo

23 years agoDon't initialize tp_type statically, it won't work on Windows. Spotted
Jack Jansen [Wed, 14 Nov 2001 15:48:13 +0000 (15:48 +0000)]
Don't initialize tp_type statically, it won't work on Windows. Spotted
by Thomas Heller (patch 459442).

23 years agoOSX tests used specific version numbers to test for new features and
Jack Jansen [Wed, 14 Nov 2001 10:59:57 +0000 (10:59 +0000)]
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).

23 years agoRemoved print that executes only on Unix boxes; that made it impossible
Tim Peters [Tue, 13 Nov 2001 23:39:47 +0000 (23:39 +0000)]
Removed print that executes only on Unix boxes; that made it impossible
to have single "expected output" file.

23 years agoCVS patch #477161: New "access" keyword for mmap, from Jay T Miller.
Tim Peters [Tue, 13 Nov 2001 23:11:19 +0000 (23:11 +0000)]
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.

23 years agoPyOS_getsig(), PyOS_setsig(): The minimal amount of work to avoid the
Barry Warsaw [Tue, 13 Nov 2001 23:08:26 +0000 (23:08 +0000)]
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.

23 years agoDon't munge __debug__ and leave it that way.
Jeremy Hylton [Tue, 13 Nov 2001 22:03:20 +0000 (22:03 +0000)]
Don't munge __debug__ and leave it that way.

23 years agoWhitespace normalization.
Tim Peters [Tue, 13 Nov 2001 21:51:26 +0000 (21:51 +0000)]
Whitespace normalization.

23 years agoA specific test for bug #481221, getaddrlist() failing on long
Barry Warsaw [Tue, 13 Nov 2001 21:33:52 +0000 (21:33 +0000)]
A specific test for bug #481221, getaddrlist() failing on long
addresses.  Commented out because it still takes too long to run.

23 years agoFix for bug #481221, getaddrlist() failing on long addresses.
Barry Warsaw [Tue, 13 Nov 2001 21:30:37 +0000 (21:30 +0000)]
Fix for bug #481221, getaddrlist() failing on long addresses.

23 years agoCommitting the second part of patch #480902, an improved test suite
Barry Warsaw [Tue, 13 Nov 2001 20:16:52 +0000 (20:16 +0000)]
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.

23 years agonew_code(): The last patch to this left behind an unreferenced local;
Tim Peters [Tue, 13 Nov 2001 20:11:55 +0000 (20:11 +0000)]
new_code():  The last patch to this left behind an unreferenced local;
deleted its declaration.

23 years agoAdd tests for bug #478115, parsedate_tz() IndexError when a Date:
Barry Warsaw [Tue, 13 Nov 2001 18:01:37 +0000 (18:01 +0000)]
Add tests for bug #478115, parsedate_tz() IndexError when a Date:
field exists with an empty value.

23 years agoparsedate_tz(): If data is false, return None. Fixes bug #478115,
Barry Warsaw [Tue, 13 Nov 2001 18:00:40 +0000 (18:00 +0000)]
parsedate_tz(): If data is false, return None.  Fixes bug #478115,
IndexError when a Date: field exists with an empty value.

23 years agoload_string(): Force use of unsigned compare in a context that was
Tim Peters [Mon, 12 Nov 2001 22:26:10 +0000 (22:26 +0000)]
load_string():  Force use of unsigned compare in a context that was
clearly (but incorrectly) assuming it.

23 years agoOSX notes:
Jack Jansen [Mon, 12 Nov 2001 14:11:13 +0000 (14:11 +0000)]
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.

23 years agoNo need to preprocess the header files - use ctags -I flag instead to
Thomas Heller [Mon, 12 Nov 2001 12:52:01 +0000 (12:52 +0000)]
No need to preprocess the header files - use ctags -I flag instead to
remove DL_IMPORT.

23 years agoFix obvious typos.
Thomas Heller [Mon, 12 Nov 2001 07:46:31 +0000 (07:46 +0000)]
Fix obvious typos.

23 years agoLimit string size on one-character-strings. Fixes #480384.
Martin v. Löwis [Sun, 11 Nov 2001 14:49:15 +0000 (14:49 +0000)]
Limit string size on one-character-strings. Fixes #480384.

23 years agoPatch in bug report #477700: Fix memory leaks in gdbm & curses.
Martin v. Löwis [Sun, 11 Nov 2001 14:24:05 +0000 (14:24 +0000)]
Patch in bug report #477700: Fix memory leaks in gdbm & curses.

23 years agoPatch #473002: Update Demo/tix tixwidgets.py et al.
Martin v. Löwis [Sun, 11 Nov 2001 14:07:37 +0000 (14:07 +0000)]
Patch #473002: Update Demo/tix tixwidgets.py et al.

23 years agoAdd the MSL C library to the set of standard libraries
Jack Jansen [Sat, 10 Nov 2001 23:21:55 +0000 (23:21 +0000)]
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.

23 years agoThe libraries argument was completely ignored, fixed. Reported by
Jack Jansen [Sat, 10 Nov 2001 23:20:22 +0000 (23:20 +0000)]
The libraries argument was completely ignored, fixed. Reported by
Tom Loredo.

23 years agoPatch #473265: UpdatePairedHandlers nonsensical.
Martin v. Löwis [Sat, 10 Nov 2001 13:59:16 +0000 (13:59 +0000)]
Patch #473265: UpdatePairedHandlers nonsensical.

23 years agoMerge 1.42 from PyXML: Flag errors resulting from argument conversion problems.
Martin v. Löwis [Sat, 10 Nov 2001 13:57:55 +0000 (13:57 +0000)]
Merge 1.42 from PyXML: Flag errors resulting from argument conversion problems.
Fixes problem with not detecting UTF-8 errors.

23 years agoFixed various problems with command-dot handling (some very old):
Jack Jansen [Sat, 10 Nov 2001 00:41:43 +0000 (00:41 +0000)]
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.

23 years agoAdded version annotations, remove hard tabs.
Fred Drake [Fri, 9 Nov 2001 23:34:26 +0000 (23:34 +0000)]
Added version annotations, remove hard tabs.

23 years agoUse PyObject_CheckReadBuffer().
Jeremy Hylton [Fri, 9 Nov 2001 22:02:48 +0000 (22:02 +0000)]
Use PyObject_CheckReadBuffer().

23 years agoAdd PyObject_CheckReadBuffer(), which returns true if its argument
Jeremy Hylton [Fri, 9 Nov 2001 21:59:42 +0000 (21:59 +0000)]
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.

23 years agoNo need to have documentation for a module which not accepted in the library.
Fred Drake [Fri, 9 Nov 2001 21:45:55 +0000 (21:45 +0000)]
No need to have documentation for a module which not accepted in the library.

23 years agoAdd note about assignment to __debug__ being an error.
Jeremy Hylton [Fri, 9 Nov 2001 21:06:24 +0000 (21:06 +0000)]
Add note about assignment to __debug__ being an error.

23 years agoInclude sys_getdefaultencoding in #ifdef Py_USING_UNICODE. Fixes #479571.
Martin v. Löwis [Fri, 9 Nov 2001 20:59:39 +0000 (20:59 +0000)]
Include sys_getdefaultencoding in #ifdef Py_USING_UNICODE. Fixes #479571.

23 years agoopen_the_file(): Explicitly set errno to 0 before calling fopen().
Tim Peters [Fri, 9 Nov 2001 20:59:14 +0000 (20:59 +0000)]
open_the_file():  Explicitly set errno to 0 before calling fopen().

23 years agogetnameinfo() appears to raise socket.error instead of
Barry Warsaw [Fri, 9 Nov 2001 20:37:43 +0000 (20:37 +0000)]
getnameinfo() appears to raise socket.error instead of
socket.gaierror. :( This allows test_socket to pass on a RH6.1-ish
Linux system.

23 years agoFix SF buf #480096: Assign to __debug__ still allowed
Jeremy Hylton [Fri, 9 Nov 2001 20:37:13 +0000 (20:37 +0000)]
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.

23 years agoFix SF buf #480096: Assign to __debug__ still allowed
Jeremy Hylton [Fri, 9 Nov 2001 19:50:08 +0000 (19:50 +0000)]
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.

23 years agoFiddle with new test cases -- verify that we get a sensible error
Jeremy Hylton [Fri, 9 Nov 2001 19:34:43 +0000 (19:34 +0000)]
Fiddle with new test cases -- verify that we get a sensible error
message for bad mode argument -- so that it doesn't fail on Windows.

It's hack.  We know that errno is set to 0 in this case on Windows, so
check for that specifically.

23 years agotest_formatdate(): Dang. Typo.
Barry Warsaw [Fri, 9 Nov 2001 19:31:34 +0000 (19:31 +0000)]
test_formatdate(): Dang.  Typo.

23 years agotest_formatdate(): Don't do the localtime test if we don't have
Barry Warsaw [Fri, 9 Nov 2001 19:30:58 +0000 (19:30 +0000)]
test_formatdate(): Don't do the localtime test if we don't have
strptime() -- I'm too lazy to code it otherwise.

23 years agoopen_the_file(): this routine has a borrowed reference to the file
Tim Peters [Fri, 9 Nov 2001 19:23:47 +0000 (19:23 +0000)]
open_the_file():  this routine has a borrowed reference to the file
object, so the "Metroworks only" section should not decref it in case
of error (the caller is responsible for decref'ing in case of error --
and does).

23 years agoAdd sys/types.h and stdio.h into getaddrinfo test, based on itojun's message
Martin v. Löwis [Fri, 9 Nov 2001 17:50:52 +0000 (17:50 +0000)]
Add sys/types.h and stdio.h into getaddrinfo test, based on itojun's message
in http://mail.python.org/pipermail/python-dev/2001-November/018473.html

23 years agotest_formatdate(): A test for email.Utils.formatdate().
Barry Warsaw [Fri, 9 Nov 2001 17:46:17 +0000 (17:46 +0000)]
test_formatdate(): A test for email.Utils.formatdate().

23 years agoForgot to import time.
Barry Warsaw [Fri, 9 Nov 2001 17:45:48 +0000 (17:45 +0000)]
Forgot to import time.

23 years agoUpdated the documentation for formatdate().
Barry Warsaw [Fri, 9 Nov 2001 17:08:13 +0000 (17:08 +0000)]
Updated the documentation for formatdate().

23 years agoformatdate(): A better docstring.
Barry Warsaw [Fri, 9 Nov 2001 17:07:28 +0000 (17:07 +0000)]
formatdate(): A better docstring.

23 years agoRemove my name, probably bad style.
Thomas Heller [Fri, 9 Nov 2001 17:04:43 +0000 (17:04 +0000)]
Remove my name, probably bad style.

23 years agoformatdate(): An implementation to replace the one borrowed from
Barry Warsaw [Fri, 9 Nov 2001 16:59:56 +0000 (16:59 +0000)]
formatdate(): An implementation to replace the one borrowed from
rfc822.py.  The old rfc822.formatdate() produced date strings using
obsolete syntax.  The new version produces the preferred RFC 2822
dates.

Also, an optional argument `localtime' is added, which if true,
produces a date relative to the local timezone, with daylight savings
time properly taken into account.

23 years agoScript to print undocumented symbols found in Python header files.
Thomas Heller [Fri, 9 Nov 2001 16:50:35 +0000 (16:50 +0000)]
Script to print undocumented symbols found in Python header files.

23 years agoFix SF bug 468948 & 451295: urllib2 authentication problems
Jeremy Hylton [Fri, 9 Nov 2001 16:46:51 +0000 (16:46 +0000)]
Fix SF bug 468948 & 451295: urllib2 authentication problems

Fix contributed by Jeffrey C. Ollie.

I haven't tested the fix because the situation is non-trivial to
reproduce.

The basic solution is to get rid of the __current_realm attribute of
authentication handlers.  Instead, prevent infinite retries by
checking for the presence of an Authenticate: header in the request
object that exactly matches the Authenticate: header that would be
added.

The problem prevent authentication from working correctly in the
presence of retries.

Ollie mentioned that digest authentication has the same problem and I
applied the same solution there.

23 years agoFix SF bug #479186: compiler generates bad code for "del"
Jeremy Hylton [Fri, 9 Nov 2001 16:24:34 +0000 (16:24 +0000)]
Fix SF bug #479186: compiler generates bad code for "del"

Fix by Neil Schemenauer.  Visit the Subscript node when trying to find
the operation for a statement.

XXX Not sure if there are other nodes that should be visited.

23 years agoFix SF buf #476953: Bad more for opening file gives bad msg.
Jeremy Hylton [Fri, 9 Nov 2001 16:17:24 +0000 (16:17 +0000)]
Fix SF buf #476953: Bad more for opening file gives bad msg.

If fopen() fails with EINVAL it means that the mode argument is
invalid.  Return the mode in the error message instead of the
filename.

23 years agoA better new, unique object
Jeremy Hylton [Fri, 9 Nov 2001 16:15:04 +0000 (16:15 +0000)]
A better new, unique object

23 years agoFix memory leak. This is part of SF patch #478006.
Fred Drake [Fri, 9 Nov 2001 16:00:41 +0000 (16:00 +0000)]
Fix memory leak.  This is part of SF patch #478006.

23 years agoFix memory leak. This is (very!) similar to part of SF patch #478006.
Fred Drake [Fri, 9 Nov 2001 15:59:36 +0000 (15:59 +0000)]
Fix memory leak.  This is (very!) similar to part of SF patch #478006.

23 years agoFixes to compile cPickle.c & socketmodule.c on cygwin and possibly
Michael W. Hudson [Fri, 9 Nov 2001 10:06:23 +0000 (10:06 +0000)]
Fixes to compile cPickle.c & socketmodule.c on cygwin and possibly
other platforms that have funny ideas about whether addresses of
functions in dlls are compile-time constants.

23 years agoCleaned up some markup stupidity and a usage problem reported by Detlef
Fred Drake [Fri, 9 Nov 2001 05:03:05 +0000 (05:03 +0000)]
Cleaned up some markup stupidity and a usage problem reported by Detlef
Lannert.  Added descriptions of HTTP_PORT and HTTPS_PORT.

23 years agoFix a variety of typographical, grammatical, and clarity problems reported
Fred Drake [Fri, 9 Nov 2001 03:49:29 +0000 (03:49 +0000)]
Fix a variety of typographical, grammatical, and clarity problems reported
by Detlef Lannert.

23 years agoMerge directory chooser into tkFileDialog.
Martin v. Löwis [Thu, 8 Nov 2001 17:51:33 +0000 (17:51 +0000)]
Merge directory chooser into tkFileDialog.

23 years agoClean up one comment, fix typos in others.
Fred Drake [Thu, 8 Nov 2001 17:19:29 +0000 (17:19 +0000)]
Clean up one comment, fix typos in others.

23 years agoBacking out the fast path for interned string compares again as requested.
Marc-André Lemburg [Thu, 8 Nov 2001 08:34:43 +0000 (08:34 +0000)]
Backing out the fast path for interned string compares again as requested.

23 years agoPatch #478654: Expose tk_chooseDirectory.
Martin v. Löwis [Wed, 7 Nov 2001 22:38:08 +0000 (22:38 +0000)]
Patch #478654: Expose tk_chooseDirectory.
Also delegate kw arguments through ** calls.

23 years agoAdd fast-path for comparing interned (true) string objects.
Marc-André Lemburg [Wed, 7 Nov 2001 14:54:49 +0000 (14:54 +0000)]
Add fast-path for comparing interned (true) string objects.

This patch boosts performance for comparing identical string object
by some 20% on my machine while not causing any noticable slow-down
for other operations (according to tests done with pybench).

23 years agoFix memory leaks detecting in bug report #478003.
Martin v. Löwis [Wed, 7 Nov 2001 08:31:03 +0000 (08:31 +0000)]
Fix memory leaks detecting in bug report #478003.

23 years agoWhen referring to a formal parameter from the description, use the name given
Fred Drake [Wed, 7 Nov 2001 06:28:47 +0000 (06:28 +0000)]
When referring to a formal parameter from the description, use the name given
with the signature, not an ad hoc abbreviated form.

23 years agoAnother name!
Fred Drake [Wed, 7 Nov 2001 06:23:27 +0000 (06:23 +0000)]
Another name!

23 years agoapply() documentation: Remove a detail about the implementation that does
Fred Drake [Wed, 7 Nov 2001 06:22:25 +0000 (06:22 +0000)]
apply() documentation:  Remove a detail about the implementation that does
not affect the API.  Clean up the text about call syntax apply() is
equivalent to.  Based on comments by Thomas Guettler.

23 years agoSF bug #478949 Windows installer start menu registry.
Tim Peters [Wed, 7 Nov 2001 04:42:04 +0000 (04:42 +0000)]
SF bug #478949 Windows installer start menu registry.
I'm guessing at this, pending more info from the bug submitter.  Wise
changed how the %GROUP% vrbl got defined between versions 5.0a (used
before Python 2.2) and 8.14, to hold the full path to Start Menu group
instead of just the group name.  If I'm guessing correctly, the info
the bug report is complaining about is in one of the registry keys
we set up that neither Windows nor Python cares about.  We did store
a full path there in 2.2b1 instead of just the group name; the patch cuts
it back to just the name again.

23 years agoAdjust the module synopsis to avoid margin overruns in the PDF format.
Fred Drake [Tue, 6 Nov 2001 22:14:35 +0000 (22:14 +0000)]
Adjust the module synopsis to avoid margin overruns in the PDF format.

23 years agoA variety of small cleanups, including one to avoid a margin overrun in the
Fred Drake [Tue, 6 Nov 2001 22:13:19 +0000 (22:13 +0000)]
A variety of small cleanups, including one to avoid a margin overrun in the
PDF version.

23 years agoRemove stray quotes; probably left over from conversion from docstrings.
Fred Drake [Tue, 6 Nov 2001 22:11:34 +0000 (22:11 +0000)]
Remove stray quotes; probably left over from conversion from docstrings.

23 years agoRemove extra period.
Fred Drake [Tue, 6 Nov 2001 22:10:47 +0000 (22:10 +0000)]
Remove extra period.

23 years agoAdd a regression test for SF bug #478536: If a value cannot be weakly
Fred Drake [Tue, 6 Nov 2001 16:38:34 +0000 (16:38 +0000)]
Add a regression test for SF bug #478536:  If a value cannot be weakly
referenced, WeakKeyDictionary.has_key() should return 0 instead of raising
TypeError.

23 years agoWeakKeyDictionary.has_key(): If the key being tested is not weakly
Fred Drake [Tue, 6 Nov 2001 16:36:53 +0000 (16:36 +0000)]
WeakKeyDictionary.has_key():  If the key being tested is not weakly
referencable (weakref.ref() raises TypeError), return 0 instead of
propogating the TypeError.
This closes SF bug #478536; bugfix candidate.

23 years agoChanged names, added bridge functions to macfs.fsref objects and
Jack Jansen [Tue, 6 Nov 2001 15:57:59 +0000 (15:57 +0000)]
Changed names, added bridge functions to macfs.fsref objects and
generally did things to get it working.

23 years agoAdded an error message when using FSRef objects on platforms that don't
Jack Jansen [Tue, 6 Nov 2001 15:57:26 +0000 (15:57 +0000)]
Added an error message when using FSRef objects on platforms that don't
support them.

23 years agoAdded hfsplusapi module.
Jack Jansen [Tue, 6 Nov 2001 15:56:56 +0000 (15:56 +0000)]
Added hfsplusapi module.

23 years agoAdded longlong routines.
Jack Jansen [Tue, 6 Nov 2001 15:55:23 +0000 (15:55 +0000)]
Added longlong routines.

23 years agoEnabled WITH_LONG_LONG. No reason it was disabled, it has been supported by the Metro...
Jack Jansen [Tue, 6 Nov 2001 12:11:05 +0000 (12:11 +0000)]
Enabled WITH_LONG_LONG. No reason it was disabled, it has been supported by the Metrowerks compiler for quite some time.

23 years agoRemoved unused variable.
Jack Jansen [Tue, 6 Nov 2001 12:10:05 +0000 (12:10 +0000)]
Removed unused variable.

23 years agoFirst couple of fixes to make it compile with Universal 3.3.2.
Jack Jansen [Tue, 6 Nov 2001 12:06:39 +0000 (12:06 +0000)]
First couple of fixes to make it compile with Universal 3.3.2.

23 years agoHFS+ API contributed by Nitin Ganatra. This checkin is identical to what he sent...
Jack Jansen [Tue, 6 Nov 2001 11:10:13 +0000 (11:10 +0000)]
HFS+ API contributed by Nitin Ganatra. This checkin is identical to what he sent me, except for the namechange (fmgr->hfsplus).

23 years agoUpdate obsolete e-mail address, and remove myself as a module author
Andrew M. Kuchling [Mon, 5 Nov 2001 21:34:36 +0000 (21:34 +0000)]
Update obsolete e-mail address, and remove myself as a module author

23 years agoA couple more test cases to ensure join() doesn't add an "extra" backslash
Tim Peters [Mon, 5 Nov 2001 21:33:04 +0000 (21:33 +0000)]
A couple more test cases to ensure join() doesn't add an "extra" backslash
in the presence of empty-string arguments.

23 years agoUpdate obsolete e-mail address
Andrew M. Kuchling [Mon, 5 Nov 2001 21:31:33 +0000 (21:31 +0000)]
Update obsolete e-mail address

23 years agoRemove obsolete e-mail address
Andrew M. Kuchling [Mon, 5 Nov 2001 21:31:15 +0000 (21:31 +0000)]
Remove obsolete e-mail address

23 years agoUpdate URL, and remove e-mail address reference (readers can get it from
Andrew M. Kuchling [Mon, 5 Nov 2001 21:30:10 +0000 (21:30 +0000)]
Update URL, and remove e-mail address reference (readers can get it from
   the Web page)

23 years agoRemove obsolete e-mail address
Andrew M. Kuchling [Mon, 5 Nov 2001 21:25:42 +0000 (21:25 +0000)]
Remove obsolete e-mail address

23 years agoSF bug 478425: Change in os.path.join (ntpath.py)
Tim Peters [Mon, 5 Nov 2001 21:25:02 +0000 (21:25 +0000)]
SF bug 478425:  Change in os.path.join (ntpath.py)
ntpath.join('a', '') was producing 'a' instead of 'a\\' as in 2.1.
Impossible to guess what was ever *intended*, but since split('a\\')
produces ('a', ''), I think it's best if join('a', '') gives 'a\\' back.

23 years agowalk(): Fix docstring; traversal is depth-first. Closes mimelib bug
Barry Warsaw [Mon, 5 Nov 2001 19:19:55 +0000 (19:19 +0000)]
walk(): Fix docstring; traversal is depth-first.  Closes mimelib bug
#477864.

23 years agoFinally fleshed out the examples section with 4 code samples! Some of
Barry Warsaw [Mon, 5 Nov 2001 17:50:53 +0000 (17:50 +0000)]
Finally fleshed out the examples section with 4 code samples!  Some of
my own doing, some originally written by Matthew Dixon Cowles.

23 years agoAdd regression test for SF bug #476616 -- make sure copy of a derived class
Fred Drake [Mon, 5 Nov 2001 17:41:48 +0000 (17:41 +0000)]
Add regression test for SF bug #476616 -- make sure copy of a derived class
does not share data with the original.

23 years agocopy(): Make sure the copy of a derived class cannot share the data of the
Fred Drake [Mon, 5 Nov 2001 17:40:48 +0000 (17:40 +0000)]
copy():  Make sure the copy of a derived class cannot share the data of the
original by replacing self.data temporarily, then using the update() method
on the new mapping object to populate it.
This closes SF bug #476616.

23 years agoCorrectly builds the C module now.
Jack Jansen [Mon, 5 Nov 2001 16:21:45 +0000 (16:21 +0000)]
Correctly builds the C module now.

23 years agoFirst tweaks to allow MacPython to be compiled with
Jack Jansen [Mon, 5 Nov 2001 16:16:39 +0000 (16:16 +0000)]
First tweaks to allow MacPython to be compiled with
Universal Headers 3.4

23 years agoFixed broken newlines and changed module name. Still untested.
Jack Jansen [Mon, 5 Nov 2001 16:15:45 +0000 (16:15 +0000)]
Fixed broken newlines and changed module name. Still untested.

23 years agoRegenerated with CF accessors.
Jack Jansen [Mon, 5 Nov 2001 16:14:33 +0000 (16:14 +0000)]
Regenerated with CF accessors.

23 years agoCarbon Event Manager module donated by Donovan Preston. Checked in as I received...
Jack Jansen [Mon, 5 Nov 2001 14:44:23 +0000 (14:44 +0000)]
Carbon Event Manager module donated by Donovan Preston. Checked in as I received them (except for namechange), these will not work as-is, that'll be fixed in a later checkin.

23 years agoMake the CoreFoundation object _New and _Convert routines available to other modules...
Jack Jansen [Mon, 5 Nov 2001 14:39:22 +0000 (14:39 +0000)]
Make the CoreFoundation object _New and _Convert routines available to other modules. Idea by Donovan Preston, implementaion by me.

23 years agoMacPython -vv equivalent printed incorrect filenames, fixed. Also
Jack Jansen [Mon, 5 Nov 2001 14:36:32 +0000 (14:36 +0000)]
MacPython -vv equivalent printed incorrect filenames, fixed. Also
removed some outdated code.

23 years agoadded acces to the cellSize field, rewrote setattr code
Just van Rossum [Mon, 5 Nov 2001 11:12:12 +0000 (11:12 +0000)]
added acces to the cellSize field, rewrote setattr code