summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Remove \module{} in link text to avoid HTML generation bugAndrew M. Kuchling2002-11-251-3/+2
|
* Remove extra wordAndrew M. Kuchling2002-11-251-1/+1
|
* James Henstridge pointed out a misleading comment.Michael W. Hudson2002-11-251-10/+6
|
* Mention that .pth files can't be used to override standard modulesAndrew M. Kuchling2002-11-251-4/+8
| | | | (suggested by Jack Jansen)
* Lots of restructuring, mostly suggested by Bill Bumgarner. MainJack Jansen2002-11-256-57/+242
| | | | | | externally visible difference is that the factory defaults are now in a plist file in the bundle, in stead of being hard-coded in the application.
* Add unidata_version. Bump generator version number.Martin v. Löwis2002-11-256-5/+19
|
* Don't disable building Mac-specific modules for a non-framework build:Just van Rossum2002-11-241-99/+89
| | | | | | whether they crash or not is not a matter of using a framework or not, but whether the code is run from an app bundle or not. And that it _can_ crash (instead of tracing back) is Apple's bug anyway, not ours.
* Regenerate from Unicode 3.2.0 to include all First/Last ranges.Martin v. Löwis2002-11-244-8512/+8473
|
* Sort names independent of the Python version. Fix hex constant warning.Martin v. Löwis2002-11-241-7/+11
| | | | Include all First/Last blocks.
* Repaired inaccuracies in the % docs. In particular, we don't (and can't)Tim Peters2002-11-241-3/+14
| | | | | | | guarantee abs(x%y) < abs(y) in all cases when a float is involved. math.fmod() should, though, so noted that too. Bugfix candidate. Someone should check the LaTeX here first, though.
* Reduced memory burden by iterating over the normalization test inputTim Peters2002-11-242-4/+2
| | | | file directly (instead of sucking it all into a list of lines first).
* Fiddled things so that test_normalization is expected to be skipped ifTim Peters2002-11-242-39/+60
| | | | and only if the test input file doesn't exist.
* Delete bsddb from sys.modules if _bsddb cannot be imported.Martin v. Löwis2002-11-241-1/+8
|
* Skip test_normalization on Windows until it's at least clear why theTim Peters2002-11-241-0/+1
| | | | | data it needs doesn't exist in the project. If it's a huge file, maybe the test should be changed to be one of the -u thingies.
* Split long line.Tim Peters2002-11-241-2/+3
| | | | | XXX If NormalizationTest.txt is required to run this test, why isn't it checked into the project?