summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix SF bug #479186: compiler generates bad code for "del"Jeremy Hylton2001-11-091-0/+1
| | | | | | | 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.
* Fix SF buf #476953: Bad more for opening file gives bad msg.Jeremy Hylton2001-11-092-2/+17
| | | | | | If fopen() fails with EINVAL it means that the mode argument is invalid. Return the mode in the error message instead of the filename.
* A better new, unique objectJeremy Hylton2001-11-091-1/+1
|
* Fix memory leak. This is part of SF patch #478006.Fred Drake2001-11-092-1/+2
|
* Fix memory leak. This is (very!) similar to part of SF patch #478006.Fred Drake2001-11-091-0/+1
|
* Fixes to compile cPickle.c & socketmodule.c on cygwin and possiblyMichael W. Hudson2001-11-092-5/+10
| | | | | other platforms that have funny ideas about whether addresses of functions in dlls are compile-time constants.
* Cleaned up some markup stupidity and a usage problem reported by DetlefFred Drake2001-11-091-9/+19
| | | | Lannert. Added descriptions of HTTP_PORT and HTTPS_PORT.
* Fix a variety of typographical, grammatical, and clarity problems reportedFred Drake2001-11-091-54/+62
| | | | by Detlef Lannert.
* Merge directory chooser into tkFileDialog.Martin v. Löwis2001-11-082-54/+18
|
* Clean up one comment, fix typos in others.Fred Drake2001-11-081-7/+7
|
* Backing out the fast path for interned string compares again as requested.Marc-André Lemburg2001-11-081-15/+0
|
* Patch #478654: Expose tk_chooseDirectory.Martin v. Löwis2001-11-072-4/+14
| | | | Also delegate kw arguments through ** calls.
* Add fast-path for comparing interned (true) string objects.Marc-André Lemburg2001-11-071-0/+15
| | | | | | 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).
* Fix memory leaks detecting in bug report #478003.Martin v. Löwis2001-11-072-5/+11
|
* When referring to a formal parameter from the description, use the name givenFred Drake2001-11-071-1/+1
| | | | with the signature, not an ad hoc abbreviated form.
* Another name!Fred Drake2001-11-071-0/+1
|
* apply() documentation: Remove a detail about the implementation that doesFred Drake2001-11-071-5/+6
| | | | | not affect the API. Clean up the text about call syntax apply() is equivalent to. Based on comments by Thomas Guettler.
* SF bug #478949 Windows installer start menu registry.Tim Peters2001-11-071-5/+7
| | | | | | | | | | | 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.
* Adjust the module synopsis to avoid margin overruns in the PDF format.Fred Drake2001-11-062-5/+3
|
* A variety of small cleanups, including one to avoid a margin overrun in theFred Drake2001-11-061-17/+15
| | | | PDF version.
* Remove stray quotes; probably left over from conversion from docstrings.Fred Drake2001-11-061-1/+1
|
* Remove extra period.Fred Drake2001-11-061-1/+1
|
* Add a regression test for SF bug #478536: If a value cannot be weaklyFred Drake2001-11-061-1/+5
| | | | | referenced, WeakKeyDictionary.has_key() should return 0 instead of raising TypeError.
* WeakKeyDictionary.has_key(): If the key being tested is not weaklyFred Drake2001-11-061-1/+5
| | | | | | referencable (weakref.ref() raises TypeError), return 0 instead of propogating the TypeError. This closes SF bug #478536; bugfix candidate.
* Changed names, added bridge functions to macfs.fsref objects andJack Jansen2001-11-061-67/+48
| | | | generally did things to get it working.
* Added an error message when using FSRef objects on platforms that don'tJack Jansen2001-11-061-0/+1
| | | | support them.
* Added hfsplusapi module.Jack Jansen2001-11-064-0/+6
|
* Added longlong routines.Jack Jansen2001-11-062-1/+8
|
* Enabled WITH_LONG_LONG. No reason it was disabled, it has been supported by ↵Jack Jansen2001-11-061-2/+2
| | | | the Metrowerks compiler for quite some time.
* Removed unused variable.Jack Jansen2001-11-061-1/+0
|
* First couple of fixes to make it compile with Universal 3.3.2.Jack Jansen2001-11-061-10/+21
|
* HFS+ API contributed by Nitin Ganatra. This checkin is identical to what he ↵Jack Jansen2001-11-061-0/+1547
| | | | sent me, except for the namechange (fmgr->hfsplus).
* Update obsolete e-mail address, and remove myself as a module authorAndrew M. Kuchling2001-11-051-2/+1
|
* A couple more test cases to ensure join() doesn't add an "extra" backslashTim Peters2001-11-051-0/+2
| | | | in the presence of empty-string arguments.
* Update obsolete e-mail addressAndrew M. Kuchling2001-11-051-1/+1
|
* Remove obsolete e-mail addressAndrew M. Kuchling2001-11-051-2/+0
|
* Update URL, and remove e-mail address reference (readers can get it fromAndrew M. Kuchling2001-11-051-3/+3
| | | | the Web page)
* Remove obsolete e-mail addressAndrew M. Kuchling2001-11-054-4/+4
|
* SF bug 478425: Change in os.path.join (ntpath.py)Tim Peters2001-11-052-0/+14
| | | | | | 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.
* walk(): Fix docstring; traversal is depth-first. Closes mimelib bugBarry Warsaw2001-11-051-1/+1
| | | | #477864.
* Finally fleshed out the examples section with 4 code samples! Some ofBarry Warsaw2001-11-051-1/+297
| | | | my own doing, some originally written by Matthew Dixon Cowles.
* Add regression test for SF bug #476616 -- make sure copy of a derived classFred Drake2001-11-051-0/+4
| | | | does not share data with the original.
* copy(): Make sure the copy of a derived class cannot share the data of theFred Drake2001-11-051-1/+8
| | | | | | original by replacing self.data temporarily, then using the update() method on the new mapping object to populate it. This closes SF bug #476616.
* Correctly builds the C module now.Jack Jansen2001-11-052-5/+1600
|
* First tweaks to allow MacPython to be compiled withJack Jansen2001-11-055-22/+9
| | | | Universal Headers 3.4
* Fixed broken newlines and changed module name. Still untested.Jack Jansen2001-11-052-23/+18
|
* Regenerated with CF accessors.Jack Jansen2001-11-052-0/+72
|
* Carbon Event Manager module donated by Donovan Preston. Checked in as I ↵Jack Jansen2001-11-052-0/+332
| | | | received them (except for namechange), these will not work as-is, that'll be fixed in a later checkin.
* Make the CoreFoundation object _New and _Convert routines available to other ↵Jack Jansen2001-11-054-38/+186
| | | | modules. Idea by Donovan Preston, implementaion by me.
* MacPython -vv equivalent printed incorrect filenames, fixed. AlsoJack Jansen2001-11-051-11/+1
| | | | removed some outdated code.