summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* I entered the wrong year for 2.3a2.Tim Peters2003-02-181-1/+1
|
* Bump version number.Fred Drake2003-02-182-2/+2
|
* Introducing __reduce_ex__, which is called with a protocol number argumentGuido van Rossum2003-02-184-19/+36
| | | | | if it exists in preference over __reduce__. Now Tim can go implement this in cPickle.c.
* Bump Windows build number for 2.3a2.Tim Peters2003-02-181-1/+1
|
* Bump version # to 2.3a2.Tim Peters2003-02-184-10/+12
|
* Use python.org as the repositoryAndrew M. Kuchling2003-02-181-2/+1
|
* save_global(): Trying to resolve module.name can fail for twoTim Peters2003-02-181-3/+5
| | | | | | | reasons: importing module can fail, or the attribute lookup module.name can fail. We were giving the same error msg for both cases, making it needlessly hard to guess what went wrong. These cases give different error msgs now.
* Removed unreferenced label.Tim Peters2003-02-181-2/+1
|
* The recent changes to super(), in particular supercheck(), broke whenGuido van Rossum2003-02-181-9/+7
| | | | | | | | using super() for an instance in a metaclass situation. Because the class was a metaclass, the instance was a class, and hence the PyType_Check() branch was taken. But this branch didn't apply. Make it so that if this branch doesn't apply, the other branch is still tried. All tests pass.
* Make __module__ writable except in restricted mode (like for classic classes).Guido van Rossum2003-02-182-2/+2
|
* Make __module__ settable on functions and methods.Jeremy Hylton2003-02-182-2/+2
|
* One doctest displaying a dict didn't sort it first. *Maybe* this fixesTim Peters2003-02-181-2/+2
| | | | the AIX problem with this test.
* default_3way_compare(): use PyNumber_Check(), rather than testing forGuido van Rossum2003-02-181-3/+3
| | | | tp_as_number directly.
* Make PyNumber_Check() a bit more careful, since all sorts of thingsGuido van Rossum2003-02-182-1/+11
| | | | now have tp_as_number. Check for nb_int or nb_float.
* Fold some long lines.Guido van Rossum2003-02-181-14/+31
| | | | Change fatal errors during module initialization into RuntimeErrors.
* Fix SF bug #688424, 64-bit test problemsNeal Norwitz2003-02-181-26/+71
|
* Fix SF bug #688424, 64-bit test problemsNeal Norwitz2003-02-182-3/+8
|
* Copy the trace module here from Tools/scripts.Jeremy Hylton2003-02-181-0/+729
| | | | | | There are some problems with this module, but the tool works for simple tasks and no one else has volunteered a better code coverage tool. Should cleanup and document before the beta release.
* SF patch #687683, Patches to logging (updates from Vinay)Neal Norwitz2003-02-185-63/+98
| | | | | | Mostly rename WARN -> WARNING Other misc tweaks Update tests (not in original patch)
* Use "$@" to pass arguments to Python in stead of "${1}". This passes allJack Jansen2003-02-181-1/+1
| | | | arguments, and also does the right thing for the no argument case.
* Don't try to build dl on darwin. It doesn't build out of the box, and itJack Jansen2003-02-181-1/+1
| | | | wouldn't serve a useful purpose anyway.
* Fix 64-bit problem, ParseTuple("i") needs C ints; ("l") needs C longs.Neal Norwitz2003-02-181-1/+1
| | | | | Use "l" as that *probably* makes more sense (at least to me it does :-) And the test passes on the alpha.
* [Patch #681504] Call customize_compiler in config commandAndrew M. Kuchling2003-02-181-0/+2
|
* Add two acks; bump version numberAndrew M. Kuchling2003-02-181-3/+3
|
* [Bug #688261] Fix optparse example and outputAndrew M. Kuchling2003-02-181-2/+5
|
* [Bug #683416] Make PEP263 coverage a bit more explicit, and add it to theAndrew M. Kuchling2003-02-181-6/+14
| | | | porting section
* Make changes suggested by Walter to use self.assert*() methods.Neal Norwitz2003-02-171-26/+14
|
* Import test_support properlyNeal Norwitz2003-02-171-1/+1
|
* test_posix is an expected skip on Win32. Also fixed test_posix toTim Peters2003-02-172-1/+2
| | | | import from test.test_support instead of directly from test_support.
* M NEWS.txtKurt B. Kaiser2003-02-175-63/+149
| | | | | | | | | | | | | | | | | | M PyShell.py M ScriptBinding.py M rpc.py M run.py Clean up the way IDLEfork handles termination of the subprocess, restore ability to interrupt user code in Windows (so long as it's doing terminal I/O). 1. Handle subprocess interrupts in Windows with an RPC message. 2. Run/F5 will restart the subprocess even if user code is running. 3. Restart the subprocess if the link is dropped. 4. Exit IDLE cleanly even during I/O. 4. In rpc.py, remove explicit calls to statelock, let the condition variable handle acquire() and release().
* Fix SF bug #687655, String formatting conversions misleadingNeal Norwitz2003-02-171-1/+1
|
* Add URL for PEP to the source code encoding warning.Marc-André Lemburg2003-02-171-6/+12
| | | | | | Remove the usage of PyErr_WarnExplicit() since this could cause sensitive information from the source files to appear in e.g. log files.
* Remove PyArg_ParseTuple() for methods which take no args,Neal Norwitz2003-02-171-23/+13
| | | | use METH_NOARGS instead
* Added test_posix (hopefully it works on Windows).Neal Norwitz2003-02-172-130/+236
| | | | | Remove PyArg_ParseTuple() for methods which take no args, use METH_NOARGS instead
* Use correct function name to PyArg_ParseTuple("is_package").Neal Norwitz2003-02-172-6/+6
| | | | | | | | | | | | Fix off-by-1 error in normalize_line_endings(): when *p == '\0' the NUL was copied into q and q was auto-incremented, the loop was broken out of, then a newline was appended followed by a NUL. So the function, in effect, was strcpy() but added two extra chars which was caught by obmalloc in debug mode, since there was only room for 1 additional newline. Get test working under regrtest (added test_main).
* When installing resource files whose name ends in .rsrc use theJack Jansen2003-02-172-5/+45
| | | | | "copy anything to a data fork based resource file" trick of macresource. Fixes #688007.
* Optionally honour #! paths in scripts. Fixes #676358.Jack Jansen2003-02-1714-14/+54
|
* Actually run these tests from regrtest.py.Neal Norwitz2003-02-176-10/+38
| | | | | | There was no test_main() and the main body was protected by if __name__ == '__main__' so the test didn't happen on import either.
* Reword section about moving variables to os.path to match intent (orMichael W. Hudson2003-02-171-3/+4
| | | | at least, what I thought the intent was).
* - Added support for zip archivesJack Jansen2003-02-171-3/+13
| | | | - Better messages in case of a crash of the install-test script
* Patch 686397:Andrew MacIntyre2003-02-171-0/+6
| | | | | move definition of platform dependent path related variables from os.py to platform dependent path modules (ntpath, etc).
* Tweak to Skip's checkin of patch 686397:Andrew MacIntyre2003-02-171-3/+2
| | | | | | - 'os2' references in ntpath.py relate to the VACPP port, not the EMX port; - the VACPP port uses the same defpath as all other ntpath.py supported platforms except 'ce'.
* Better error messages and warnings.Jack Jansen2003-02-161-7/+11
|
* Added notes about pimp and bundlebuilder to the Mac section.Jack Jansen2003-02-161-0/+8
|
* When building an applet clear out the tempfile and dir afterwards.Jack Jansen2003-02-161-0/+5
|
* Fix for SF 686380, from SF patch 686771 by Ping. (errors trying toGuido van Rossum2003-02-161-1/+1
| | | | get help on os attributes)
* Make 2 module variables static. Assuming this is correct.Neal Norwitz2003-02-151-2/+2
|
* Add closing ) in commentNeal Norwitz2003-02-151-1/+1
|
* cPickle.c, load_build(): Taught cPickle how to pick apartTim Peters2003-02-155-30/+88
| | | | | | | | | | | | | | | | | | the optional proto 2 slot state. pickle.py, load_build(): CAUTION: Noted that cPickle's load_build and pickle's load_build really don't do the same things with the state, and didn't before this patch either. cPickle never tries to do .update(), and has no backoff if instance.__dict__ can't be retrieved. There are no tests that can tell the difference, and part of what cPickle's load_build() did looked accidental to me, so I don't know what the true intent is here. pickletester.py, test_pickle.py: Got rid of the hack for exempting cPickle from running some of the proto 2 tests. dictobject.c, PyDict_Next(): documented intended use.
* Moved setupDocs.py to Doc/setup.py and did some cleanup. It now at leastJack Jansen2003-02-141-49/+61
| | | | allows bdist, but it's still one big hack:-(