Jeremy Hylton
387b1011a1
rename args variable in CALL_FUNCTION to callargs (avoids name
...
override)
add missing DECREFs in error handling code of CALL_FUNCTION
2000-03-31 01:22:54 +00:00
Guido van Rossum
706dbd03bd
Mark Hammond: Ooops - even though Win32 handles the same args, there
...
was a superfluous check for the platform.
2000-03-31 01:20:33 +00:00
Guido van Rossum
a7937e57f3
Added mmap project. (Mark Hammond.)
2000-03-31 01:17:42 +00:00
Guido van Rossum
09fdf07315
Hacked for Win32 by Mark Hammond.
...
Reformatted for 8-space tabs and fitted into 80-char lines by GvR.
Mark writes:
* the Win32 version now accepts the same args as the Unix version.
The win32 specific "tag" param is now optional. The end result is
that the exact same test suite runs on Windows (definately a worthy
goal!).
* I changed the error object. All occurences of the error, except
for 1, corresponds to an underlying OS error. This one was changed
to a ValueError (a better error for that condition), and the module
error object is now simply EnvironmentError. All win32 error
routines now call the new Windows specific error handler.
2000-03-31 01:17:07 +00:00
Guido van Rossum
767e775a98
Improved test, by Mark Hammond, for Win32.
2000-03-31 01:09:14 +00:00
Guido van Rossum
2b6004a07f
New version 1.0.4. I'm sure someone mailed me these patches but I
...
can't remember who. :-) Changes:
- Support for Windows NT (different locking behavior)
- Added a logging mechanism
2000-03-31 00:58:00 +00:00
Guido van Rossum
8daef3791e
New version 1.0.4. I'm sure someone mailed me these patches but I
...
can't remember who. :-) Changes:
- Owner name+email made generic instead of GvR
- Support for Windows NT (running from a .bat file)
- DOcument <HTML>...</HTML> tags
2000-03-31 00:55:54 +00:00
Guido van Rossum
ab5ca15f94
Fix by Eric Raymond: make the code that looks for various bits of
...
tab-setting magic much smarter, more correct, and more easily
extensible.
2000-03-31 00:52:27 +00:00
Guido van Rossum
a1f0a8f4a4
Don't use the object call interface in Tk 8.0 -- the EvalObj* API
...
changed from 8.0 to 8.1 and I see no big reason to use objects in 8.0.
At least now it works again with all versions from 8.0 - 8.3.
2000-03-31 00:51:37 +00:00
Guido van Rossum
49679b40b9
Oops, the previous patch contained a bug in chmod. Fixed now.
2000-03-31 00:48:21 +00:00
Guido van Rossum
ffd15f5255
Two robustness patches:
...
(1) In opendir(), don't call the lock-release macros; we're
manipulating list objects and that shouldn't be done in unlocked
state.
(2) Don't use posix_strint() for chmod() -- the mode_t arg might be a
64 bit int (reported by Nick Maclaren).
2000-03-31 00:47:28 +00:00
Guido van Rossum
fb2789f387
Couple more names. We need to add way more names -- I'll have to dig
...
them out of the changelogs :-(
2000-03-31 00:45:00 +00:00
Guido van Rossum
6d10887cdc
Change traceback error message to "most recent call last" from
...
"innermost last". The latter was mysterious to newbies.
2000-03-31 00:39:23 +00:00
Guido van Rossum
ffc0f4fb36
Use modern PyArg_ParseTuple style, with function names.
...
(Mostly.)
2000-03-31 00:38:29 +00:00
Guido van Rossum
2efa369861
Use modern PyArg_ParseTuple style, with function names.
2000-03-31 00:37:41 +00:00
Jeremy Hylton
6a973c7118
robustify UserList constructor -- will now accept any sequence
...
add test cases for non-UserList class, tuple, & string
2000-03-31 00:17:46 +00:00
Jeremy Hylton
074c3e62d1
Two fixes for extended call syntax:
...
If a non-tuple sequence is passed as the *arg, convert it to a tuple
before checking its length.
If named keyword arguments are used in combination with **kwargs, make
a copy of kwargs before inserting the new keys.
2000-03-30 23:55:31 +00:00
Guido van Rossum
aaf0ab26ed
Add linuxaudio module.
2000-03-30 23:27:44 +00:00
Guido van Rossum
b130dc7419
Audio module for Linux, contributed by Peter Bosch.
...
Careful, this has had zero testing (except by Peter)!
2000-03-30 23:25:49 +00:00
Guido van Rossum
2ab9082a07
Show Tcl/Tk version number in _test() and show Unicode test if possible.
2000-03-30 23:19:44 +00:00
Guido van Rossum
a14253d4f8
Make it version 1.6a1.
2000-03-30 22:59:20 +00:00
Guido van Rossum
5cf648b654
Seems there was a version string here that still looked like 1.5.2.
2000-03-30 22:59:09 +00:00
Guido van Rossum
8c4cba8ef2
Mark Hammond: ensure the new standard module winreg is installed.
2000-03-30 22:44:50 +00:00
Jeremy Hylton
a12c7a7620
Add PyDict_Copy() function to C API for dicts. It returns a new
...
dictionary that contains the same key/value pairs as p.
2000-03-30 22:27:31 +00:00
Guido van Rossum
c06653f567
Internal changes.
2000-03-30 21:27:30 +00:00
Guido van Rossum
fb515f892f
Added Tcl 8.3.
...
Building on Windows NT.
Removed Tcl installation.
Commented out Doc installation.
2000-03-30 21:27:11 +00:00
Guido van Rossum
426e39f2c2
Deleting Python 1.5 project and Wise file.
2000-03-30 21:22:08 +00:00
Andrew M. Kuchling
a35be2f412
Output for simple test case for mmap on Unix; someone needs to write a
...
Win32 test case.
2000-03-30 21:15:46 +00:00
Andrew M. Kuchling
e81b9cfcfe
Added simple test case for mmap on Unix; someone needs to write a
...
Win32 test case
2000-03-30 21:15:29 +00:00
Andrew M. Kuchling
1ed7d2d2b8
Added mmap module -- map a view of a file into memory on Win32 and Unix.
...
(Needs testing on Win32.)
2000-03-30 21:14:30 +00:00
Guido van Rossum
e0dd3010ce
Removed two files that were added temporarily.
2000-03-30 20:34:56 +00:00
Guido van Rossum
b8f512bfa4
Bump version to 0.6 for the event of the Python 1.6 alpha 1 release.
2000-03-30 20:30:34 +00:00
Greg Ward
71d55835b3
Oops: 'build_extensions()' no longer takes an 'extensions' list.
2000-03-30 19:47:22 +00:00
Guido van Rossum
88716bba55
Revamped path access again, by Mark Hammond, to be more robust in the
...
light of three different situations: (1) running from build; (2)
running from installed; (3) running without being able to find an
installation (e.g. as a COM object). The system paths in the
repository are only used for (3); the path deduced from the
installation location are used otherwise. PYTHONHOME overrides in all
cases.
Read the comments for more details.
2000-03-30 19:45:39 +00:00
Guido van Rossum
d30dedca27
Michael Hudson: With the (cool!) new call syntax, the longest opcode
...
name is much longer, which fouls up dis's formatting slightly; this is
a "fix" for that.
2000-03-30 15:02:11 +00:00
Guido van Rossum
bf45322b3d
Lawrence Kesteloot noted: Lib/user.py has a comment that says that the
...
script pointed to by PYTHONPATH will be executed on startup. That
should say PYTHONSTARTUP.
2000-03-30 15:00:33 +00:00
Fred Drake
bdcc96c9e3
Changes from 1.5.2p2, plus fix a couple of errors noted by Hernan
...
Martinez Foffani <hfoffani@sofrecom.com.ar>.
2000-03-29 22:41:52 +00:00
Barry Warsaw
bc9476ebe5
__pushtodev(): Ignore transient sunaudiodev.errors when setting the
...
device info. I don't know why these occur, but they seem to be
shortlived and harmless.
2000-03-29 21:05:53 +00:00
Barry Warsaw
b2ba9d8963
eval_code2(): Oops, in the last checkin, we shouldn't check for
...
PyErr_Occurred(), just set x=NULL and break. Oh, and make Jeremy stop
nagging me about the "special" indentation for this block.
2000-03-29 18:36:49 +00:00
Barry Warsaw
4961ef7086
eval_code2(): In the extended calling syntax opcodes, you must check
...
the return value of PySequence_Length(). If an exception occurred,
the returned length will be -1. Make sure this doesn't get obscurred,
and that the bogus length isn't used.
2000-03-29 18:30:03 +00:00
Guido van Rossum
918429b3b2
Moved robotparser.py to the Lib directory.
...
If you do a "cvs update" in the Lib directory, it will pop up there.
2000-03-29 16:02:45 +00:00
Greg Ward
1d16a9f040
Put the Python "system" include dir last, rather than first.
2000-03-29 04:13:49 +00:00
Greg Ward
41b4dd66c8
Call 'find_exe()', not '_find_exe()'.
2000-03-29 04:13:00 +00:00
Greg Ward
ed8a0e0f21
Patch inspired by Bastian Kleineidam <calvin@cs.uni-sb.de>:
...
use global __debug__ flag to determine if compiled files will be ".pyc"
or ".pyo". Tweaked compilation output messages too.
2000-03-29 03:29:34 +00:00
Greg Ward
044b7c15c9
Changed 'copy_tree()' so it returns the list of all files that were copied or
...
might have been copied, regardless of the 'update' flag.
2000-03-29 03:27:45 +00:00
Greg Ward
739d06689d
Documented Bastian's patch.
...
Made handling OSError in 'mkpath()' more standard.
2000-03-29 02:56:34 +00:00
Greg Ward
da4d1aef4e
Patch from Bastian Kleineidam <calvin@cs.uni-sb.de>:
...
make 'mkdir()' return list of directories created.
2000-03-29 02:53:02 +00:00
Greg Ward
7c1a6d4777
Added 'make_tarball()' and 'make_zipfile()' functions in preparation
...
for the 'bdist_dumb' command. Adapted, with tweakage, from the 'sdist'
command.
2000-03-29 02:48:40 +00:00
Greg Ward
03d1ae1f01
Moved the guts of 'make_tarball()' and 'make_zipfile()' to distutils.util
...
in preparation for the 'bdist_dumb' command; these methods remain as
trivial wrappers around the versions in distutils.util.
2000-03-29 02:47:29 +00:00
Greg Ward
f00c34da1d
Added the "distribution query" methods: 'has_pure_modules()',
...
'has_ext_modules()', 'has_c_libraries()', 'has_modules()', and 'is_pure()'.
2000-03-29 02:20:45 +00:00