summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix from SF patch 565085: copy._reduction doesn't __setstate__.Guido van Rossum2002-06-061-0/+29
| | | | | | Straightforward fix. Will backport to 2.2. If there's ever a new 2.1 release, this could be backported there too (since it's an issue with anything that's got both a __reduce__ and a __setstate__).
* Fix from SF patch 565085: copy._reduction doesn't __setstate__.Guido van Rossum2002-06-061-1/+4
| | | | | | Straightforward fix. Will backport to 2.2. If there's ever a new 2.1 release, this could be backported there too (since it's an issue with anything that's got both a __reduce__ and a __setstate__).
* Apply diff.txt from SF patch http://www.python.org/sf/561478Walter Dörwald2002-06-061-1/+2
| | | | | | This uses cgi.parse_header() in Checker.checkforhtml(), so that webchecker recognises the mime type text/html even if options are specified.
* Close SF bug 563740. complex() now finds __complex__() in new style classes.Raymond Hettinger2002-06-063-28/+36
| | | | | Made conversion failure error messages consistent between types. Added related unittests.
* Pyrangeiter_Type && range_iter should be staticNeal Norwitz2002-06-061-5/+5
|
* Change warning to debug level; it's a very minor issue.Jeremy Hylton2002-06-061-2/+2
| | | | | The specific warning is that clean didn't find a directory that should be removed if it exists.
* Stop testing for sigprocmask. This is a stop gap measure until I workMichael W. Hudson2002-06-063-7/+3
| | | | | out how to just activate my code on platforms where I know it works (currently only linux/x86).
* Patch 473512: add GNU style scanning as gnu_getopt.Martin v. Löwis2002-06-065-2/+103
|
* Patch #551911: Escape . properly.Martin v. Löwis2002-06-061-1/+1
|
* Replace obsolete stat module constants withWalter Dörwald2002-06-062-5/+5
| | | | | | equivalent attributes in a few more spots. This closes SF patch http://www.python.org/sf/562373
* CRLF -> LFGuido van Rossum2002-06-060-0/+0
|
* Skip Montanaro's patch, SF 559833, exposing xrange type in builtins.Raymond Hettinger2002-06-054-46/+91
| | | | | Also, added more regression tests to cover the new type and test its conformity with range().
* open method changed to use arguments and set instance host/port values ↵Piers Lauder2002-06-051-8/+12
| | | | (instead of __init__)
* SF 564601 adding rangeiterobject to make xrange() iterate like range().Raymond Hettinger2002-06-051-46/+91
|
* SF bug 558179.Guido van Rossum2002-06-053-9/+2
| | | | | Change default for get() back to None. Will backport to 2.2.1.
* fixed refcount leak in CreateNewWindow() and CreateWindowFromResource().Just van Rossum2002-06-052-2/+9
|
* Better isinstance error message.Thomas Heller2002-06-051-1/+2
| | | | | | Closes SF patch # 560250. Bugfix candidate IMO.
* Move warning about directory not on sys.path to debug level.Jeremy Hylton2002-06-041-8/+10
| | | | Fix a bunch of multiline string constants that used +.
* Test changes before checking them in.Jeremy Hylton2002-06-041-1/+1
|
* Track extra arg to option_table to all uses of itJeremy Hylton2002-06-041-2/+2
|
* Replace bogus bare variables with attribute access.Jeremy Hylton2002-06-041-3/+4
|
* Define DEBUG as early as possible to avoid import problems.Jeremy Hylton2002-06-041-5/+5
|
* Add missing import of log.Jeremy Hylton2002-06-041-0/+1
|
* Use module-level import of DEBUG instead of many function-level imports.Jeremy Hylton2002-06-041-4/+1
|
* Remove unused importsJeremy Hylton2002-06-042-2/+0
|
* Make None return explicitJeremy Hylton2002-06-041-1/+1
|
* import base64 at the top to avoid two different imports at other timesJeremy Hylton2002-06-041-2/+2
|
* ensure_filename() only takes one argument.Jeremy Hylton2002-06-041-6/+4
| | | | | Call ensure_string() with one arg too, since the second value passed was the default.
* Reindent lines to improve readabilityJeremy Hylton2002-06-041-3/+3
|
* Remove (commented out) options that have moved into the distribution.Jeremy Hylton2002-06-041-13/+0
|
* get_script() implicitly returned None and also had explicit returns.Jeremy Hylton2002-06-041-26/+25
| | | | | Make all returns explicit and rearrange logic to avoid extra indentation.
* global _option_order is not usedJeremy Hylton2002-06-041-6/+0
|
* Fix bug in recent change to logging code.Jeremy Hylton2002-06-041-1/+1
| | | | | mode is not computed in dry_run mode, so it can't be included in the log message.
* Fix unused local variables caught by pychecker.Jeremy Hylton2002-06-046-22/+8
| | | | | Fixes a bug for Solaris pkgtool (bdist_pkgtool) that would have prevented it from building subpackages.
* Set repeat metadata for an option based on repeat local var notJeremy Hylton2002-06-041-1/+1
| | | | constant.
* Remove unused imports caught by pycheckerJeremy Hylton2002-06-044-5/+2
|
* Make setup.py less chatty by default.Jeremy Hylton2002-06-0432-313/+260
| | | | | | | | | | | | | | | This is a conservative version of SF patch 504889. It uses the log module instead of calling print in various places, and it ignores the verbose argument passed to many functions and set as an attribute on some objects. Instead, it uses the verbosity set on the logger via the command line. The log module is now preferred over announce() and warn() methods that exist only for backwards compatibility. XXX This checkin changes a lot of modules that have no test suite and aren't exercised by the Python build process. It will need substantial testing.
* A simple log mechanism styled after the proposed std library moduleJeremy Hylton2002-06-041-0/+56
|
* Address SF bug 519621: slots weren't traversed by GC.Guido van Rossum2002-06-043-49/+194
| | | | | | | | | | | | | | While I was at it, I added a tp_clear handler and changed the tp_dealloc handler to use the clear_slots helper for the tp_clear handler. Also tightened the rules for slot names: they must now be proper identifiers (ignoring the dirty little fact that <ctype.h> is locale sensitive). Also set mp->flags = READONLY for the __weakref__ pseudo-slot. Most of this is a 2.2 bugfix candidate; I'll apply it there myself.
* The comment said:Jeremy Hylton2002-06-041-20/+0
| | | | | | | | # XXX this isn't used anywhere, and worse, it has the same name as a method # in Command with subtly different semantics. (This one just has one # source -> one dest; that one has many sources -> one dest.) Nuke it? Yes. Nuke it.
* Inverted test for small speedupRaymond Hettinger2002-06-041-5/+4
|
* Fiddle wording.Michael W. Hudson2002-06-041-3/+4
|
* Fix SF bug #557436, TclError is a str should be an ExceptionNeal Norwitz2002-06-042-1/+5
| | | | Make Tkinter.TclError derive from Exception, it was a string.
* Fix up Guido's markup.Fred Drake2002-06-041-24/+24
|
* When using a Python that has not been installed to build 3rd-partyFred Drake2002-06-042-15/+22
| | | | | | | | | | | | | | | | | | modules, distutils does not understand that the build version of the source tree is needed. This patch fixes distutils.sysconfig to understand that the running Python is part of the build tree and needs to use the appropriate "shape" of the tree. This does not assume anything about the current directory, so can be used to build 3rd-party modules using Python's build tree as well. This is useful since it allows us to use a non-installed debug-mode Python with 3rd-party modules for testing. It as the side-effect that set_python_build() is no longer needed (the hack which was added to allow distutils to be used to build the "standard" extension modules). This closes SF patch #547734.
* Add constants BOM_UTF8, BOM_UTF16, BOM_UTF16_LE, BOM_UTF16_BE,Walter Dörwald2002-06-043-27/+53
| | | | | | | | | | BOM_UTF32, BOM_UTF32_LE and BOM_UTF32_BE that represent the Byte Order Mark in UTF-8, UTF-16 and UTF-32 encodings for little and big endian systems. The old names BOM32_* and BOM64_* were off by a factor of 2. This closes SF bug http://www.python.org/sf/555360
* Patch #555929: Cygwin AH_BOTTOM cleanup patch (*** version 2 ***)Jason Tishler2002-06-045-29/+19
| | | | | | | | | | | | This patch complies with the following request found near the top of configure.in: # This is for stuff that absolutely must end up in pyconfig.h. # Please use pyport.h instead, if possible. I tested this patch under Cygwin, Win32, and Red Hat Linux. Python built and ran successfully on each of these platforms.
* Test repair now that module.__init__ requires a name and initializesGuido van Rossum2002-06-041-6/+7
| | | | __name__ and __doc__.
* Repair the test (adding a docstring to the module type changed theGuido van Rossum2002-06-041-1/+1
| | | | docstring for an uninitialized module object).
* Add a docstring to the module type.Guido van Rossum2002-06-041-1/+7
|