summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Patch #707701: Expect '??' in event fields. Fixes #698517.Martin v. Löwis2003-03-291-16/+32
| | | | Will backport to 2.2.
* Regenerated with the new way to get terminology (through AppleEvents),Jack Jansen2003-03-2927-2692/+1571
| | | | | which sometimes seems to result in different terminology. It does seem to be mostly compatible, though.
* - Prefer using events (in stead of poking around in resource files) toJack Jansen2003-03-291-13/+19
| | | | | | get terminology resources. Unfortunately there doesn't seem to be any application I can ask for the basic StdSuites terminology (?). - Prefer OSX-native versions of applications over OS9 versions.
* Sometimes a class is used as a base class of itself. Obviously there'sJack Jansen2003-03-291-2/+6
| | | | | | something I don't understand, but for now ignore this. Output the file name such that it cannot contain non-ascii characters.
* On OSX the finder will return from an open() event before the applicationJack Jansen2003-03-281-0/+12
| | | | | has actually entered its event loop. As a stopgap, allow for a 10 second grace period.
* Sigh: didn't catch all lists that needed to be sorted. Regenerated again.Jack Jansen2003-03-2829-2508/+2508
|
* Sigh: didn't catch all lists that needed to be sorted.Jack Jansen2003-03-281-4/+22
|
* make nt altsep forward slash - closes bug 709428Skip Montanaro2003-03-281-1/+1
| | | | backport candidate
* Regenerated (from resource files) with sorting version of gensuitemodule.Jack Jansen2003-03-2829-3052/+3048
| | | | | | This is a first step towards regenerating the modules with newer, MacOSX, versions of these programs, and using the programmatic interface to get at the terminology in stead of poking in resource files.
* - Sort various lists (list of events, OSA-classes, etc) before generatingJack Jansen2003-03-281-10/+25
| | | | | | | code. This makes it a lot easier to compare the generated code for two different versions of the suite. - Various tweaks to the code to generate suites without looking at resource files manually.
* Minimal test suite of the generated packages in plat-mac/lib-scriptpackages.Jack Jansen2003-03-281-0/+49
| | | | | At the moment does little more than testing that the modules import correctly and some classes can be instantiated.
* Disable _XOPEN_SOURCE for Solaris 2.6. Fixes #690317.Martin v. Löwis2003-03-282-1/+9
|
* Add test for setpgrp. Fixes #690317.Martin v. Löwis2003-03-283-5/+9
|
* PyWeakref_GetObject returns None (not NULL) when the referent is gone.Ka-Ping Yee2003-03-281-1/+1
|
* Hide private names beginning with _ (but don't hide __special__ names).Ka-Ping Yee2003-03-281-54/+77
| | | | | | Clean up section headings; make the bars on the left less fat. Adjust the display of properties slightly. Don't show stuff inherited from the base 'object' type.
* Make module lookup a little more robust (certain kinds of fiddling toKa-Ping Yee2003-03-281-2/+2
| | | | sys.modules previously produced an exception).
* Move testing code into "if __name__ == '__main__'" so it's not run on import.Ka-Ping Yee2003-03-281-21/+21
|
* Factored out test for absolute jumps.Raymond Hettinger2003-03-281-2/+3
|
* 4.1.5Gregory P. Smith2003-03-271-1/+1
|
* Adds support for the DBEnv->set_timeout() method.Gregory P. Smith2003-03-272-1/+33
|
* Replace criterium with criterion. Fixes #705120.Martin v. Löwis2003-03-272-5/+5
|
* If GetAppTerminology fails (which seems to be the usual case on OSX?)Jack Jansen2003-03-261-11/+45
| | | | | we try to manually launch the application and send it an ascr/gdte event to get its terminology.
* Temporary bump of the version number.Barry Warsaw2003-03-261-1/+1
|
* typed_subpart_iterator(): Fix these to use non-deprecated APIs,Barry Warsaw2003-03-261-3/+10
| | | | | | i.e. get_content_maintype() and get_content_subtype(). Also, add True, False for Python 2.2.x where x < 2 compatibility.
* typed_subpart_iterator(): Fix these to use non-deprecated APIs,Barry Warsaw2003-03-261-2/+2
| | | | i.e. get_content_maintype() and get_content_subtype().
* Fix typo.Walter Dörwald2003-03-261-1/+1
|
* Modified to accept a command line argument too.Jack Jansen2003-03-261-4/+8
|
* Add two tests for simple error cases.Walter Dörwald2003-03-261-0/+4
|
* SF patch #707257: Improve code generationRaymond Hettinger2003-03-261-2/+94
| | | | | | | | | | Adds a single function to improve generated bytecode. Has a single line attachment point, so it is completely de-coupled from both the compiler and ceval.c. Makes three simple transforms that do not require a basic block analysis or re-ordering of code. Gives improved timings on pystone, pybench, and any code using either "while 1" or "x,y=y,x".
* CommandTests.testgetoutput():Thomas Wouters2003-03-251-1/+3
| | | | | Make sure we aren't masking any errors raised in tempfile.mkdtemp() by referencing the (then) unbound local 'dir'.
* Frank Vercruesse gave an okay on removing the copyright notice:Jack Jansen2003-03-252-1/+2
| | | | | "Hereby I make the script in question available under the terms and conditions of the latest Python License."
* Refactoring: rename update_these_slots() into update_subclasses() andGuido van Rossum2003-03-241-47/+68
| | | | | generalize to take a callback function and a void * data argument. This might come in handy later... :-)
* symtable_cellvar_offsets(): This leaked references to little integersTim Peters2003-03-241-1/+5
| | | | | | in normal cases, and also in error cases. Bugfix candidate.
* Added a Mac note that EasyDialogs dialogs now bring the application toJack Jansen2003-03-241-1/+3
| | | | the foreground.
* Allow floating point values in ProgressBar.Jack Jansen2003-03-241-0/+2
|
* Regenerated with Donovan Prestons patch #702620.Jack Jansen2003-03-2345-117/+331
|
* Not all objects have an _propdict and _privpropdict, so cater for that.Jack Jansen2003-03-231-3/+3
|
* Typo in comment.Tim Peters2003-03-231-1/+1
|
* Improved new Py_TRACE_REFS gimmicks.Tim Peters2003-03-234-21/+54
| | | | | | | | | | | Arranged that all the objects exposed by __builtin__ appear in the list of all objects. I basically peed away two days tracking down a mystery leak in sys.gettotalrefcount() in a ZODB app (== tons of code), because the object leaking the references didn't appear in the sys.getobjects(0) list. The object happened to be False. Now False is in the list, along with other popular & previously missing leak candidates (like None). Alas, we still don't have a choke point covering *all* Python objects, so the list of all objects may still be incomplete.
* add comment about 2.2 compatibilitySkip Montanaro2003-03-231-1/+13
| | | | dump empty TODO comment
* SF patch #708201, unchecked return value in import.c by Jason HarperNeal Norwitz2003-03-231-0/+2
| | | | Will backport.
* Make private function and data static.Neal Norwitz2003-03-231-2/+3
|
* slot_sq_contains(): This leaked a reference to the result of callingTim Peters2003-03-231-11/+12
| | | | | | __contains__(). Bugfix candidate.
* Refactored some of the Py_TRACE_REFS code. New private API functionTim Peters2003-03-233-10/+27
| | | | | | | _Py_AddToAllObjects() that simply inserts an object at the front of the doubly-linked list of all objects. Changed PyType_Ready() (the closest thing we've got to a choke point for type objects) to call that.
* Oops! Used a wrong preprocessor symbol.Tim Peters2003-03-231-1/+1
|
* When Py_TRACE_REFS is defined, a list of all live objects is maintained inTim Peters2003-03-232-6/+28
| | | | | | | | | | | a doubly-linked list, exposed by sys.getobjects(). Unfortunately, it's not really all live objects, and it seems my fate to bump into programs where sys.gettotalrefcount() keeps going up but where the reference leaks aren't accounted for by anything in the list of all objects. This patch helps a little: if COUNT_ALLOCS is also defined, from now on type objects will also appear in this list, provided at least one object of a type has been allocated.
* Correct error in last checkin noticed by Neal Norwitz. And some more.Kurt B. Kaiser2003-03-221-4/+4
|
* M PyShell.pyKurt B. Kaiser2003-03-222-19/+95
| | | | | | | | | | | | | | | | M run.py 1. Move subprocess socket handling to a subthread - "SockThread". 2. In the subprocess, implement a queue and global completion and exit flags. Execute code after it is passed through the queue. (Currently, user code is executed in SockThread. The next phase of development will move the tail of the queue to MainThread.) 3. Implement an RPC message used to shut down the execution server. 4. Improve normal and exception subprocess exits. (At this checkin a "pass loop" interrupt doesn't work on any platform. It will be restored for all platforms once user code execution is moved to MainThread.)
* Improve error message handling.Kurt B. Kaiser2003-03-221-3/+21
|
* Include Python.h first which defines _XOPEN_SOURCENeal Norwitz2003-03-221-3/+3
| | | | | which allows the file to compile and removes a warning about _XOPEN_SOURCE being redefined (works on AIX 4.3 and 5.1 at least).