summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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)
* added support for building standalone applicationsJust van Rossum2002-11-261-14/+259
| | | | | - requires modulefinder.py to be on sys.path - does *not* work for Python.framework (yet), only for static builds
* A tweaked version of Jeremy's patch #642489, to produce better errorGuido van Rossum2002-11-251-0/+31
| | | | | messages about MRO conflicts. (Tweaks here: don't print the message, but compare it with an expected string.)
* A tweaked version of Jeremy's patch #642489, to produce better errorGuido van Rossum2002-11-251-4/+138
| | | | | | messages about MRO conflicts. (The tweaks include correcting spelling errors, some refactoring to get the name of classic classes, and a style nit or two.)
* Added Marius Gedminas, for contributions to the datetime code.Tim Peters2002-11-251-0/+1
|
* SF 643115: Set._update() had a special case for dictionaries which allowedRaymond Hettinger2002-11-252-3/+3
| | | | | non-true values to leak in. This threw-off equality testing which depends on the underlying dictionaries having both the same keys and values.
* Add a note that this file should be kept compatible with Python 1.5.2,Thomas Heller2002-11-251-2/+10
| | | | | | | per PEP 291 (although there are currently string methods used). This patch makes it compatible with 2.2, at least, by detecting universal newline support.
* * libbz2.texGustavo Niemeyer2002-11-251-1/+1
| | | | Fixed minor typo, suggested by Drew Perttula <drewp@bigasterisk.com>.
* Fix typo in comment.Walter Dörwald2002-11-251-1/+1
|
* Fixed bugGustavo Niemeyer2002-11-252-2/+13
| | | | | | | | | | | [#495695] webbrowser.py: selection of browser * Lib/webbrowser.py Only include graphic browsers in _tryorder if DISPLAY is set. Also, included skipstone support, as suggested by Fred in the mentioned bug. * Misc/NEWS Mention fix and skipstone inclusion.
* Added a class PEP252Mixin. By adding this to your ObjectDefinition youJack Jansen2002-11-251-2/+127
| | | | | | | | | | | get PEP-252 style objects in stead of old-fashioned objects. In stead of defining a GetattrHook you declare a class variable getsetlist, which contains tuples (name, getcode, setcode, docstring). Only lightly tested: the code still works if you don't inherit PEP252Mixin and the code works if you inherit it but don't define any getters or setters. Also, this will not work together with the "poor mans inheritance" offered by method chains, so the CF module will remain with old-style objects until PEP253 is supported too.