Neal Norwitz
dcfdceb9a2
Fix SF bug #688424 , 64-bit test problems
2003-02-18 15:45:44 +00:00
Neal Norwitz
eb2a5ef36a
Fix SF bug #688424 , 64-bit test problems
2003-02-18 15:22:10 +00:00
Jeremy Hylton
4edaa0d516
Copy the trace module here from Tools/scripts.
...
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.
2003-02-18 15:06:17 +00:00
Neal Norwitz
6fa635df7a
SF patch #687683 , Patches to logging (updates from Vinay)
...
Mostly rename WARN -> WARNING
Other misc tweaks
Update tests (not in original patch)
2003-02-18 14:20:07 +00:00
Jack Jansen
d6a3f93070
Use "$@" to pass arguments to Python in stead of "${1}". This passes all
...
arguments, and also does the right thing for the no argument case.
2003-02-18 11:24:31 +00:00
Jack Jansen
0feb8c347e
Don't try to build dl on darwin. It doesn't build out of the box, and it
...
wouldn't serve a useful purpose anyway.
2003-02-18 10:24:34 +00:00
Neal Norwitz
0c0aad948a
Fix 64-bit problem, ParseTuple("i") needs C ints; ("l") needs C longs.
...
Use "l" as that *probably* makes more sense (at least to me it does :-)
And the test passes on the alpha.
2003-02-18 03:37:49 +00:00
Andrew M. Kuchling
679bc9fce5
[Patch #681504 ] Call customize_compiler in config command
2003-02-18 01:28:51 +00:00
Andrew M. Kuchling
d87eeb9477
Add two acks; bump version number
2003-02-18 00:56:56 +00:00
Andrew M. Kuchling
7ee9b51ba5
[Bug #688261 ] Fix optparse example and output
2003-02-18 00:48:23 +00:00
Andrew M. Kuchling
acddabc6ec
[Bug #683416 ] Make PEP263 coverage a bit more explicit, and add it to the
...
porting section
2003-02-18 00:43:24 +00:00
Neal Norwitz
2ff51a87b3
Make changes suggested by Walter to use self.assert*() methods.
2003-02-17 22:40:31 +00:00
Neal Norwitz
3b8fb47fb0
Import test_support properly
2003-02-17 22:38:56 +00:00
Tim Peters
003eb30882
test_posix is an expected skip on Win32. Also fixed test_posix to
...
import from test.test_support instead of directly from test_support.
2003-02-17 21:48:48 +00:00
Kurt B. Kaiser
003091cd51
M NEWS.txt
...
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().
2003-02-17 18:57:16 +00:00
Neal Norwitz
f927f14eda
Fix SF bug #687655 , String formatting conversions misleading
2003-02-17 18:57:06 +00:00
Marc-André Lemburg
1fb1400d08
Add URL for PEP to the source code encoding warning.
...
Remove the usage of PyErr_WarnExplicit() since this could cause
sensitive information from the source files to appear in e.g.
log files.
2003-02-17 18:31:57 +00:00
Neal Norwitz
08ea61ad45
Remove PyArg_ParseTuple() for methods which take no args,
...
use METH_NOARGS instead
2003-02-17 18:18:00 +00:00
Neal Norwitz
e241ce830a
Added test_posix (hopefully it works on Windows).
...
Remove PyArg_ParseTuple() for methods which take no args,
use METH_NOARGS instead
2003-02-17 18:17:05 +00:00
Neal Norwitz
5c1ba53f8c
Use correct function name to PyArg_ParseTuple("is_package").
...
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).
2003-02-17 18:05:20 +00:00
Jack Jansen
946c19445c
When installing resource files whose name ends in .rsrc use the
...
"copy anything to a data fork based resource file" trick of macresource.
Fixes #688007 .
2003-02-17 16:47:12 +00:00
Jack Jansen
3d3b74677a
Optionally honour #! paths in scripts. Fixes #676358 .
2003-02-17 15:40:00 +00:00
Neal Norwitz
996acf122d
Actually run these tests from regrtest.py.
...
There was no test_main() and the main body was protected
by if __name__ == '__main__' so the test didn't happen
on import either.
2003-02-17 14:51:41 +00:00
Michael W. Hudson
9e5d87fa20
Reword section about moving variables to os.path to match intent (or
...
at least, what I thought the intent was).
2003-02-17 12:26:23 +00:00
Jack Jansen
a460f446e9
- Added support for zip archives
...
- Better messages in case of a crash of the install-test script
2003-02-17 12:21:05 +00:00
Andrew MacIntyre
251b816297
Patch 686397:
...
move definition of platform dependent path related variables from os.py
to platform dependent path modules (ntpath, etc).
2003-02-17 09:20:23 +00:00
Andrew MacIntyre
437966c2cc
Tweak to Skip's checkin of patch 686397:
...
- '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'.
2003-02-17 09:17:50 +00:00
Jack Jansen
a2125fe523
Better error messages and warnings.
2003-02-16 23:03:04 +00:00
Jack Jansen
9f70aabbf8
Added notes about pimp and bundlebuilder to the Mac section.
2003-02-16 23:00:53 +00:00
Jack Jansen
fd3e54c68e
When building an applet clear out the tempfile and dir afterwards.
2003-02-16 21:28:51 +00:00
Guido van Rossum
97dede0202
Fix for SF 686380, from SF patch 686771 by Ping. (errors trying to
...
get help on os attributes)
2003-02-16 01:12:32 +00:00
Neal Norwitz
0ae4c4a823
Make 2 module variables static. Assuming this is correct.
2003-02-15 15:07:17 +00:00
Neal Norwitz
0732301738
Add closing ) in comment
2003-02-15 14:45:12 +00:00
Tim Peters
080c88b912
cPickle.c, load_build(): Taught cPickle how to pick apart
...
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.
2003-02-15 03:01:11 +00:00
Jack Jansen
d2c684f79f
Moved setupDocs.py to Doc/setup.py and did some cleanup. It now at least
...
allows bdist, but it's still one big hack:-(
2003-02-14 23:46:22 +00:00
Tim Peters
71fcda5ba7
cPickle produces NEWOBJ appropriately now. It still doesn't know
...
how to unpickle the new slot-full state tuples.
2003-02-14 23:05:28 +00:00
Marc-André Lemburg
9cac1c4574
Patch for bug reported in patch #686627 : import race condition in
...
codecs registry startup.
2003-02-14 20:25:56 +00:00
Skip Montanaro
117910dc44
Migrate definitions of several platform-dependent path-related variables
...
into the relevant path modules. See patch #686397 .
2003-02-14 19:35:31 +00:00
Guido van Rossum
4507ec70cf
- The audio driver tests (test_ossaudiodev.py and
...
test_linuxaudiodev.py) are no longer run by default. This is
because they don't always work, depending on your hardware and
software. To run these tests, you must use an invocation like
./python Lib/test/regrtest.py -u audio test_ossaudiodev
2003-02-14 19:29:22 +00:00
Jack Jansen
4ab8437e7f
Allow opening of alternate databases.
2003-02-14 14:13:25 +00:00
Jack Jansen
0dacac48b9
Factored out classes for handling source and binary distributions. Source
...
now means "distutils-based source", binary "bdist format archive". Also
fixed various lurking bugs.
2003-02-14 14:11:59 +00:00
Jack Jansen
f68043c4a9
Got building documentation from source to work.
2003-02-14 12:47:14 +00:00
Walter Dörwald
bb2734ab65
Port test_charmapcodec to PyUnit. From SF patch #662807
2003-02-14 11:21:53 +00:00
Fred Drake
002a5de202
extsep description:
...
- avoid "e.g." in text
- record version information
(should be backported)
2003-02-14 06:39:37 +00:00
Skip Montanaro
47e46e2347
add missing description of os.extsep
2003-02-14 05:45:31 +00:00
Raymond Hettinger
2835e37be5
SF bug #663701 : sets module review
...
Renamed hook methods to use the double underscore convention.
2003-02-14 03:42:11 +00:00
Raymond Hettinger
e544f6f682
SF bug #663701 . The caret wasn't printing well in the PDF documentation.
2003-02-14 01:49:09 +00:00
Neal Norwitz
d8d2cf476e
Remove deps on mac doc files which have been removed
2003-02-14 01:45:53 +00:00
Andrew M. Kuchling
a2ecabe420
Fix docstring typo
2003-02-14 01:14:15 +00:00
Andrew M. Kuchling
c07fb2fc5b
Fix comment typo
2003-02-14 01:13:01 +00:00