summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Patch #698082 from Thomas Heller: Modulefinder didn't exclude modulesJust van Rossum2003-03-051-4/+4
| | | | in packages correctly.
* Fix for bug #697546: don't auto-register the Python documentationJack Jansen2003-03-051-1/+3
| | | | | | by putting the help book in an array. Somehow the fact that Python.app (and, hence, pythonw) got an automatic help menu messed up Tkinter's handling of the help menu.
* An #endif was missing in Just's patch. Added.Jack Jansen2003-03-051-0/+1
|
* removing one Mac hack and add another:Just van Rossum2003-03-051-26/+16
| | | | | | | - The applet logic has been replaced to bundlebuilder's bootstrap script - Due to Apple being extremely string about argv[0], we need a way to specify the actual executable name for use with sys.executable. See the comment embedded in the code.
* Always initialize Py_FileSystemDefaultEncoding on Unix in Py_Initialize,Martin v. Löwis2003-03-056-22/+67
| | | | | and not as a side effect of setlocale. Expose it as sys.getfilesystemencoding. Adjust test case.
* Actually *do* override the type in AppBuilder.Jack Jansen2003-03-051-1/+1
|
* Moved some application-bundle specific code from the BundleBuilder class toJack Jansen2003-03-051-5/+9
| | | | | | AppBuilder, and set the default type to BNDL (overridden in AppBuilder). This surfaced when trying to build help bundles.
* Back in June in revision 1.98 Steve (accidentally, presumably) wipedMichael W. Hudson2003-03-051-29/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | out a month's worth of checkins to libstdtypes.tex (including my extended slice docs). I think this checkin merges them all back in, but if you make one of these checkins: revision 1.97 date: 2002/06/14 00:27:13; author: nnorwitz Use \code{True} (or False) instead of true/false. Not sure if code is correct, but that is what's in this file. I've seen \constant{True} in other places. ---------------------------- revision 1.95 date: 2002/05/22 20:39:43; author: bwarsaw Jack's documentation for the U mode character on the file() constructor, vetted by Barry. ---------------------------- revision 1.94 date: 2002/05/21 18:19:15; author: rhettinger Patch 543387. Document deprecation of complex %, //,and divmod(). ---------------------------- revision 1.93 date: 2002/05/15 15:45:25; author: rhettinger Added missing index entries for mapping methods. Closes patch #548693. some checking may be in order.
* I thought it was common practice to check things compiled beforeMichael W. Hudson2003-03-051-5/+5
| | | | | | | checking them in? Oh well, this fixes various obvious mistakes and changes a subsubsubsection (which doesn't exist) into a subsubsection (which does). I'm not sure this matches the intent, but it seems to read OK on a quick skim.
* Patch #696645: Remove VMS code with uncertain authorship.Martin v. Löwis2003-03-053-301/+60
|
* These are no longer used.Jack Jansen2003-03-052-54/+0
|
* Point e-mail address at the SIGAndrew M. Kuchling2003-03-042-2/+2
|
* os.listdir(): Fall back to the original byte string if conversion to unicodeJust van Rossum2003-03-041-6/+8
| | | | fails, as discussed in patch #683592.
* Weaken recommendation of Friedl book; fix referenceAndrew M. Kuchling2003-03-041-4/+4
|
* [bug #692016] update description of {m,n} modifier; you can omit the lower boundAndrew M. Kuchling2003-03-041-3/+4
|
* [bug #696771] Remove misleading parenthetical asideAndrew M. Kuchling2003-03-041-2/+0
|
* Patch #696613 by Ben Laurie: use "test -L" to test for symlinks in steadJack Jansen2003-03-041-1/+1
| | | | of the older (and, according to some manpages, deprecated) "test -h".
* Attempting to save the shell raised an error related to savingKurt B. Kaiser2003-03-041-2/+8
| | | | breakpoints, which are not implemented in the shell
* SF 693333Kurt B. Kaiser2003-03-041-0/+3
| | | | | Modify subprocess to print a reasonable message upon receiving a 'quit' or 'exit'
* test_ioctl is an expected skip on Windows.Tim Peters2003-03-041-0/+1
|
* Fix SF #692416, don't crash interpreter for _tkinter.deletefilehandlerNeal Norwitz2003-03-032-1/+17
| | | | in addition to createfilehandler and creaetetimerhandler.
* [Bug #693470] 'licence' as an alias for 'license' doesn't work.Andrew M. Kuchling2003-03-031-1/+10
| | | | This patch makes it work again.
* SF 695861Kurt B. Kaiser2003-03-031-1/+11
| | | | | | | Eliminate extra blank line in shell output. Caused by stdout not being flushed upon completion of subprocess' Executive.runcode() when user code ends by outputting an unterminated line, e.g. print "test",
* plugged leak noted by nnorwitz: the 'et' format returns allocated memoryJust van Rossum2003-03-031-2/+4
|
* [Bug #69389] List register command in __all__, so setup.py --help-commands ↵Andrew M. Kuchling2003-03-031-0/+1
| | | | will now list it
* Improve descriptionAndrew M. Kuchling2003-03-031-1/+1
|
* Patch #683592 revisited, after discussions with MvL:Just van Rossum2003-03-033-19/+15
| | | | | | | | | | | | | | | | | | - Implement the behavior as specified in PEP 277, meaning os.listdir() will only return unicode strings if it is _called_ with a unicode argument. - And then return only unicode, don't attempt to convert to ASCII. - Don't switch on Py_FileSystemDefaultEncoding, but simply use the default encoding if Py_FileSystemDefaultEncoding is NULL. This means os.listdir() can now raise UnicodeDecodeError if the default encoding can't represent the directory entry. (This seems better than silcencing the error and fall back to a byte string.) - Attempted to decribe the above in Doc/lib/libos.tex. - Reworded the Misc/NEWS items to reflect the current situation. This checkin also fixes bug #696261, which was due to os.listdir() not using Py_FileSystemDefaultEncoding, like all file system calls are supposed to.
* py-pdbtrack-grub-for-buffer(): Rectified some logic errors iKen Manheimer2003-03-031-6/+18
| | | | | | | | | introduced when shifting around some code, and added some redundancy to reduce chances of hitting the wrong source code. (This is experimental - it will improve the accuracy, but will reduce the ability of the user to deliberately select the buffer they want the buffer grubbing stuff to find. I think the accuracy improvement will be worth it, but am not sure, so may remove this.)
* Gave the text fields a little more space, so they don't get cut off.Jack Jansen2003-03-031-4/+4
|
* Mod to previous checkin: we must require ascii, not system defautl encoding,Jack Jansen2003-03-032-2/+2
| | | | | because we have no easy way to convert the python encoding string to a CF encoding parameter.
* Accept only the system default encoding when converting PythonJack Jansen2003-03-033-8/+11
| | | | strings to CF strings. Fixes 682215.
* Fix bugMichael W. Hudson2003-03-034-18/+171
| | | | | | | | [ 555817 ] Flawed fcntl.ioctl implementation. with my patch that allows for an array to be mutated when passed as the buffer argument to ioctl() (details complicated by backwards compatibility considerations -- read the docs!).
* Don't call AEInteractWithUser unconditionally on a quit appleevent. TheJack Jansen2003-03-031-2/+0
| | | | | | EasyDIalogs methods will call it if needed. Fixes #684975.
* Call AEInteractWithUser() before bringing up any of the dialogs (with theJack Jansen2003-03-031-1/+13
| | | | | | exception of the ProgressBar, which I think is okay to show in the background). This is a prerequisitite for the fix of #684975.
* Don't crash on _tkinter.createfilehandler in non-threaded Tcl;Martin v. Löwis2003-03-031-1/+26
| | | | | disable this function in threaded Tcl. Likewise for creaetetimerhandler. Fixes #692416.
* Patch #671666: Alias ANSI code page to "mbcs".Martin v. Löwis2003-03-031-0/+16
|
* Guard advancing past leading meta-comments.Ken Manheimer2003-03-031-4/+6
|
* Enhanced pdbtrack to provide for source code that's not findable byKen Manheimer2003-03-031-29/+105
| | | | | | | | | | | | | | | | | the reported path. (Eg, precompiled scripts with a file path suitable for a different host, scripts actually running on a remote system or with no valid path, like Zope through-the-web python scripts.) On failing to find the code on the reported path, pdbtrack takes the function name and looks through the buffers, from most to least recent, seeking the first python-mode buffer that either is named for the function or has a definition (def or class) for that function. So to get source tracking for code that's not located where the path indicates, you put a copy of the script in a buffer, and pdbtrack will find it. Also, fixed a small bug so pdbtrack now properly presents the overlay arrow when you run the pdb 'w'here command.
* Use Carbon.File for FSSpec and FSRef conversion, not macfs.Jack Jansen2003-03-021-4/+4
|
* _CG module only needs the ApplicationServices framework, not Carbon.Jack Jansen2003-03-021-2/+1
|
* Undo the apply() removals; this code needs to run under Python 1.5.2.Guido van Rossum2003-03-022-14/+14
|
* MyComplex now works.Guido van Rossum2003-03-021-1/+1
|
* Fix from Greg Chapman from SF bug #695651: a complex subclassGuido van Rossum2003-03-021-2/+3
| | | | | | | | | | | | | | constructor, when passed a single complex argument, returns the argument unchanged. This should be done only for the complex base class; a complex subclass should of course cast the value to the subclass in this case. The fix also revealed a segfault in complex_getnewargs(): the argument for the Py_BuildValue() format code "D" is the *address* of a Py_complex struct, not the value. (This corroborated by the API documentation.) I expect this needs to be backported to 2.2.3.
* Commit MvL's doc patch for SF bug #221327. This adds an example ofGuido van Rossum2003-03-021-0/+22
| | | | calling into Python from a C thread.
* test_load_from_canned_string(): Created a DATA2 string to test a cannedTim Peters2003-03-021-2/+66
| | | | proto 2 pickle too.
* Add updates for alpha2Andrew M. Kuchling2003-03-021-3/+7
|
* Expand itertools paragraphAndrew M. Kuchling2003-03-021-3/+9
|
* TestOnlySetsInBinaryOps: Simplified the non-inplace tests by usingTim Peters2003-03-021-44/+16
| | | | | | assertRaises. Fixed a repeated subtle bug in the inplace tests by removing the possibilty that a self.fail() call could raise a TypeError that the test catches by mistake.
* Typo repairs in new code.Tim Peters2003-03-021-3/+7
|
* SF bug 693121: Set == non-Set is a TypeError.Tim Peters2003-03-023-23/+61
| | | | | | | | | Allow mixed-type __eq__ and __ne__ for Set objects. This is messier than I'd like because Set *also* implements __cmp__. I know of one glitch now: cmp(s, t) returns 0 now when s and t are both Sets and s == t, despite that Set.__cmp__ unconditionally raises TypeError (and by intent). The rub is that __eq__ gets tried first, and the x.__eq__(y) True result convinces Python that cmp(x, y) is 0 without even calling Set.__cmp__.