Kurt B. Kaiser
11c53e2ea7
M PyShell.py
...
M run.py
1. Move subprocess socket handling to a subthread - "SockThread".
2. In the subprocess, implement a queue and global completion and exit
flags. Execute code after it is passed through the queue. (Currently,
user code is executed in SockThread. The next phase of development will
move the tail of the queue to MainThread.)
3. Implement an RPC message used to shut down the execution server.
4. Improve normal and exception subprocess exits.
(At this checkin a "pass loop" interrupt doesn't work on any platform. It
will be restored for all platforms once user code execution is moved to
MainThread.)
2003-03-22 19:40:19 +00:00
Kurt B. Kaiser
e51529d79a
Improve error message handling.
2003-03-22 19:15:58 +00:00
Neal Norwitz
df5126df56
Include Python.h first which defines _XOPEN_SOURCE
...
which allows the file to compile and removes a warning about _XOPEN_SOURCE
being redefined (works on AIX 4.3 and 5.1 at least).
2003-03-22 16:35:37 +00:00
Neal Norwitz
24fcd23eae
Back out previous change as discussed on python-checkins
2003-03-22 16:19:52 +00:00
Tim Peters
b84e6fa710
Stop creating empty CVS directories in the csv subtree.
2003-03-22 01:16:05 +00:00
Neal Norwitz
1e942bd3f4
Add lib/mimelib.tex to dependencies
2003-03-22 00:23:04 +00:00
Jack Jansen
57c914c1aa
Lots of tweaks to make this work in the new setting. Not fully tested yet.
2003-03-22 00:02:23 +00:00
Jack Jansen
8806d47aff
Tools to build a disk image with a binary installer for MacPython-OSX,
...
donated by Robin Dunn and the rest of the wxPythonMac crew.
These are the versions from cvs.wxwindows.org as of 22-Mar-03, checked
in for reference.
2003-03-21 23:52:36 +00:00
Just van Rossum
5c83bb0f4a
use os.path.realpath() instead of os.readlink()
2003-03-21 22:22:19 +00:00
Barry Warsaw
bfa893f3ac
email is at version 2.5 now
2003-03-21 21:14:48 +00:00
Barry Warsaw
5fe9ead82c
Email version 2.5 -- I will now backport this to Python 2.2.3.
2003-03-21 18:57:59 +00:00
Andrew M. Kuchling
a092ba1adc
Add PEP 307 section
2003-03-21 18:32:43 +00:00
Andrew M. Kuchling
a978e10676
Add PEP305 section
2003-03-21 18:10:12 +00:00
Andrew M. Kuchling
c71bb97e2f
Update datetime section a bit
2003-03-21 17:23:07 +00:00
Tim Peters
f1ed934278
_PyFloat_Pack4(): Removed needless call of floor().
2003-03-21 17:10:03 +00:00
Jack Jansen
bc4ded9bc0
Give a better error message when a string of the wrong size is
...
passed to RawBitMap.
2003-03-21 16:42:36 +00:00
Jack Jansen
47345a794f
Generate all the standard OSA suite packages. Has absolute pathname
...
dependencies all over the place, but this is better than nothing, for now.
2003-03-21 16:30:53 +00:00
Jack Jansen
59cdbce9b1
Got rid of the "enum not found" interaction, and added code to allow
...
overriding the creator signature.
2003-03-21 16:28:09 +00:00
Jack Jansen
714caa0c35
Allow gensuitemodule to be run non-interactively, from the OSX command
...
line. 90% of the work is done, missing enums still cause a dialog to appear.
2003-03-21 16:07:39 +00:00
Guido van Rossum
dd42edcc9d
Rename variables _seq to _it and seq to it, to emphasize that this is
...
an iterator (which can only be used once!).
2003-03-21 14:54:19 +00:00
Jack Jansen
6fa2dc70b8
Added _csv module, and getting rid of macfs.
2003-03-21 12:56:27 +00:00
Jack Jansen
bb829b7c02
Getting rid of macfs.
2003-03-21 12:55:38 +00:00
Jack Jansen
3e0196cc00
Adding unicode filename support to FSRefs broke things on MacOS9. "Fixed" by disabling unicode filenames on OS9.
2003-03-21 12:54:24 +00:00
Jack Jansen
7e0bc112b8
Patch 702620 by Donovan Preston: Fix AE inheritance.
2003-03-21 12:04:19 +00:00
Just van Rossum
82ad32ec39
only set $PYTHONHOME when building a standalone app.
2003-03-21 11:32:37 +00:00
Just van Rossum
15624d850b
Patch #681927 from Robin Dunn: add option to add shared libraries or
...
frameworks to the bundle.
2003-03-21 09:26:59 +00:00
Neal Norwitz
718d307df8
Get locale module to build on aix4
2003-03-21 03:08:59 +00:00
Neal Norwitz
2deaddb0d6
Get rid of warning on IRIX
2003-03-21 03:08:31 +00:00
Tim Peters
82d61956fa
Changed the DLL base-address assignment for _csv so it no longer
...
obviously overlaps w/ datetime (but may -- no time for more here now).
2003-03-21 02:02:02 +00:00
Tim Peters
0d7ce4e221
Teach the Windows build & installer about the new csv module + DLL.
2003-03-21 01:55:41 +00:00
Neal Norwitz
b59798b157
Add support for os.openpty() on AIX which uses /dev/ptc instead of /dev/ptmx.
2003-03-21 01:43:31 +00:00
Neal Norwitz
865400fd07
/dev/ptmx doesn't exist on AIX, they had to be different and use /dev/ptc.
...
Otherwise, the 2 devices seem to work the same for allocating a pseudo-tty.
2003-03-21 01:42:58 +00:00
Neal Norwitz
7d8145268e
Prevent the pty test from hanging by setting an alarm.
...
Currently, test_pty hangs on AIX & HPUX if run after test_openpty.
2003-03-21 01:39:14 +00:00
Tim Peters
ef4b7ed42b
Squash compiler wng about signed-vs-unsigned mismatch.
2003-03-21 01:35:28 +00:00
Guido van Rossum
e3d1df0646
The message "*** skipping leakage tests ***" was causing the test to
...
fail in a non-debug build. Only print this in verbose test mode.
2003-03-21 01:15:58 +00:00
Neal Norwitz
0135b65c01
Add new CSV module to doc dependancies
2003-03-21 00:28:30 +00:00
Skip Montanaro
a0b3e6d191
add several people involved with PEP 305 and the csv package
2003-03-20 23:41:03 +00:00
Skip Montanaro
2497982bbb
add _csv build line
2003-03-20 23:37:24 +00:00
Skip Montanaro
64a839eb71
announce csv package
2003-03-20 23:36:55 +00:00
Skip Montanaro
0ed2ae46d5
include the csv package during installation
2003-03-20 23:35:38 +00:00
Skip Montanaro
5fbf8362a3
include csv doc section - Fred, you may want to change the location
2003-03-20 23:35:00 +00:00
Skip Montanaro
ba9e978180
build _csv extension module
2003-03-20 23:34:22 +00:00
Skip Montanaro
f823f11c36
forgot Cliff's sniffer
2003-03-20 23:31:24 +00:00
Skip Montanaro
b4a0417e91
new CSV file processing module - see PEP 305
2003-03-20 23:29:12 +00:00
Fred Drake
4cee220ff3
- added example of using a comparison function with list.sort(), and
...
explained the construction of a [(key, value), ...] list as an
alternative
- note that support for cmpfunc=None was added in 2.3
2003-03-20 22:17:59 +00:00
Just van Rossum
a87e44792c
set $PYTHONHOME in the bootstrap script, for no good reason really,
...
except to avoid getpath.c giving unsollicited advice on stderr.
2003-03-20 21:37:05 +00:00
Tim Peters
9905b943f7
New private API functions _PyFloat_{Pack,Unpack}(4,8}. This is a
...
refactoring to get all the duplicates of this delicate code out of the
cPickle and struct modules.
2003-03-20 20:53:32 +00:00
Tim Peters
d50ade68ec
SF bug 705836: struct.pack of floats in non-native endian order
...
pack_float, pack_double, save_float: All the routines for creating
IEEE-format packed representations of floats and doubles simply ignored
that rounding can (in rare cases) propagate out of a long string of
1 bits. At worst, the end-off carry can (by mistake) interfere with
the exponent value, and then unpacking yields a result wrong by a factor
of 2. In less severe cases, it can end up losing more low-order bits
than intended, or fail to catch overflow *caused* by rounding.
Bugfix candidate, but I already backported this to 2.2.
In 2.3, this code remains in severe need of refactoring.
2003-03-20 18:32:13 +00:00
Fred Drake
62364ffb80
- apply SF patch #700798 : fixes and cleanups for descriptor info
...
- use a TeX "tie" to prevent word-wrapping in "section x.y"-like text
2003-03-20 18:17:16 +00:00
Skip Montanaro
2a403e8a7e
add descriptions of {get,set}defaulttimeout.
2003-03-20 17:58:12 +00:00