summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Lots of minor tweaks for the pep252 checkins, mainly because QdJack Jansen2002-11-3025-61/+60
| | | | attributes are no longer supported.
* Build _AE too.Jack Jansen2002-11-291-0/+4
|
* Converted the Carbon modules to use PEP252-style objects, withJack Jansen2002-11-2948-2507/+2447
| | | | | | | | | | | | | | | | descriptors in stead of manual getattr hooks to get at attributes of the objects. For Qd I have in stead gotten rid of most of the attribute access in favor of the carbon-style accessor methods (with the exception of visRgn, to be done later), and of the Carbon.Qd.qd global object, for which accessor functions are also available. For List I have fixed the fact that various methods were incorrectly generated as functions. CF is untouched: PEP252 doesn't allow "poor-mans-inheritance" with basechain, so it will have to wait for PEP253 support.
* Correct an error introduced at Rev 1.30. The keyword arg is necessaryKurt B. Kaiser2002-11-291-6/+8
| | | | to freeze the value of orig_checkcache. Otherwise infinite recursion.
* Forgot to do os.path.basename() on mainprogram: a nonworking app was built ↵Just van Rossum2002-11-291-7/+6
| | | | if the mainprogram wan't in the current directory. Fixed.
* Slightly improved version of patch #642578: "Expose PyImport_FrozenModulesJust van Rossum2002-11-293-0/+167
| | | | | in imp". This adds two functions to the imp module: get_frozenmodules() and set_frozenmodules().
* added Thomas H's LOADER code for importing extension (sub)modules; little tweaksJust van Rossum2002-11-291-21/+27
|
* Fix mode on scripts to have the read bit set (noted by Nicholas Riley)Andrew M. Kuchling2002-11-291-1/+1
|
* Fix value of 'propagate' (noted by Chris Reedy)Andrew M. Kuchling2002-11-291-8/+10
| | | | Rewrite paragraph
* Fix typo.Walter Dörwald2002-11-291-1/+1
|
* Fixed two silly bugs in the PEP252 support code, added an assertJack Jansen2002-11-281-3/+10
| | | | that basechain isn't set, and made the output a bit prettier.
* fixed typo and wrappingJust van Rossum2002-11-281-1/+2
|
* - Rewrote bootstapping code in sh so we're really independent of anJust van Rossum2002-11-281-40/+54
| | | | | | | | | | installed Python. So we don't use os.execve any longer, which means we need an actual executable in <myapp>.app/Contents/MacOS. For applets we make a symlink to the Python executable used to build the applet, for standalone apps we simply copy it. - Added support for the new any_missing_maybe() feature of modulefinder.py, which is pending as patch #643711. Its use is optional so it still works with the existing version of modulefinder.py
* Allow the device name to be passed to linuxaudiodev.open(), forGreg Ward2002-11-271-7/+19
| | | | | | | | | | | | consistency with the built-in open() (and every other sane open() function, for that matter). The two valid ways to call this open() are now open(mode) and open(device, mode). For backwards compatibility, retain the old open(mode) calling syntax -- this makes the error message when you call open(device) a bit confusing, but oh well. This is the first half of SF patch #644977.
* Add missing decrefNeal Norwitz2002-11-271-0/+1
|
* Mention dict.fromkeys()Andrew M. Kuchling2002-11-271-18/+29
| | | | Various edits
* Update e-mail addressAndrew M. Kuchling2002-11-273-3/+3
|
* Nudge getting __module__ and __name__ for new-style classes so thatMichael W. Hudson2002-11-272-18/+33
| | | | | | | the results of *setting* __name__ are not so surprising. If people can suggest more tests, that'd be grand, or is what's there sufficient?
* SF #641170, reST version of Lib/test/READMENeal Norwitz2002-11-271-89/+99
| | | | Convert test/README to reST
* I don't know why staring at the email to python-checkins made meMichael W. Hudson2002-11-272-9/+16
| | | | | | | see problems with my code that I didn't see before the checkin, but: When a subtype .mro() fails, we need to reset the type whose __bases__ are being changed, too. Fix + test.
* Readjustments to the way we cope with exceptions from subclasses'Michael W. Hudson2002-11-272-12/+111
| | | | | | mro() methods. Now any exception aborts the whole __bases__ change. And more tests.
* [Part of patch #641685] Add .dylib as an extension for shared librariesAndrew M. Kuchling2002-11-271-1/+1
|
* [Patch #641685] setup.py contained code for finding libraries, insteadAndrew M. Kuchling2002-11-271-8/+24
| | | | | | | | | | of using the CCompiler.find_library_file() provided by the Distutils. This patch fixes it to use the Distutils method at the cost of some additional glue. (The duplication resulted in the SSL module not being automatically built on Macs; the Distutils knew that shared libraries on OS X have a .dylib extension, but the setup.py code didn't.)
* Bug #643631: MacOS 9 details missing from inst.texAndrew M. Kuchling2002-11-271-18/+7
| | | | Fill in the missing details. (From Jack Jansen)
* Rephrase dict.fromkeys() news.Guido van Rossum2002-11-271-4/+5
|
* I had the inheritance cycle stuff backwards. Oops!Michael W. Hudson2002-11-272-4/+14
|
* Patch #639112: fixes for None locale and tz.Martin v. Löwis2002-11-272-61/+154
|
* Bring UserDict in-sync with changes to dict.Raymond Hettinger2002-11-272-6/+25
| | | | | | Constructor accepts optional keyword arguments after a optional items list. Add fromkeys() as an alternate constructor from an iterable over keys. Expand related unittests.
* SF Patch 643443. Added dict.fromkeys(iterable, value=None), a classRaymond Hettinger2002-11-274-1/+97
| | | | method for constructing new dictionaries from sequences of keys.
* Clarify the interpretation of the __getstate__() return value forFred Drake2002-11-271-3/+9
| | | | | new-style classes. Closes SF bug #637941.
* The MRO conflict error message depends on dictionary hash order.Guido van Rossum2002-11-271-4/+4
| | | | Avoid depending on this in the test.
* Add missing dependency information for the "What's New" document.Fred Drake2002-11-261-2/+2
|
* Avoid including tclInt.h.Martin v. Löwis2002-11-261-10/+26
|
* Noted the support for resource exclusion for regrtest. Some peopleFred Drake2002-11-261-0/+7
| | | | use regrtest, so it might be interesting.
* Add a way to say "use any resource except A". For example, to runFred Drake2002-11-262-4/+17
| | | | | allow the use of any resource except bsddb, give the option "-uall,-bsddb".
* Rename want_objects to wantobjects throughout, for consistency.Martin v. Löwis2002-11-264-14/+14
|
* Use "is" to test type objects, not "==".Fred Drake2002-11-261-1/+1
|
* * Doc/ref/ref5.texGustavo Niemeyer2002-11-261-1/+1
| | | | Fixed minor bug preventing documentation compilation.
* Initialize a variable. Hope this makes things work for Guido.Michael W. Hudson2002-11-261-1/+1
| | | | It's odd that gcc on my ibook didn't complain about this.
* Fix for bug #410541: bdist builds bogus .zipsAndrew M. Kuchling2002-11-261-6/+25
| | | | | | This adds a --relative option to the bdist_dumb command that defaults to false; if true, the .tar.gz or .zip will be assembled using relative paths.
* Part of the fix for bug #410541: add ensure_relative() functionAndrew M. Kuchling2002-11-261-1/+15
|
* This is not part of my patchMichael W. Hudson2002-11-262-0/+9
| | | | | | | | [ 635933 ] make some type attrs writable but should have been! News about the above.
* This is my patch:Michael W. Hudson2002-11-262-34/+366
| | | | | | | | | | | | [ 635933 ] make some type attrs writable Plus a couple of extra tests beyond what's up there. It hasn't been as carefully reviewed as it perhaps should, so all readers are encouraged, nay exhorted, to give this a close reading. There are still a couple of oddities related to assigning to __name__, but I intend to solicit python-dev's opinions on these.
* Fix typoAndrew M. Kuchling2002-11-261-1/+1
|
* refactor universal line endings detectionJust van Rossum2002-11-261-8/+8
|
* Report Tkinter changes.Martin v. Löwis2002-11-261-0/+24
|
* Patch #518625: Return objects in Tkinter.Martin v. Löwis2002-11-263-6/+335
|
* Patch #632973: Implement _getdefaultlocale for OS X.Martin v. Löwis2002-11-262-8/+19
|
* Polish some bits to silence pychecker.Thomas Heller2002-11-261-1/+1
|
* Don't look for modules in the registry any longer.Thomas Heller2002-11-261-38/+0
| | | | | | | | | | Mark writes in private email: "Modules listed in the registry was a dumb idea. This whole scheme can die. AFAIK, no one in the world uses it (including win32all since the last build)." (See also SF #643711)