Commit Graph

27215 Commits

Author SHA1 Message Date
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
Fred Drake 5c7b2487cd - explain what a UNC path is in the makedirs() description, since
they're actually mentioned there
- remove some extraneous paragraph separations
- \versionadded --> \versionchanged in one place
2003-03-20 17:39:38 +00:00
Neal Norwitz 26f42f6821 Skip the ioctl test if we can't open /dev/tty. This happens on
Solaris (and probably other Unixes) when run without a terminal
(eg, from cron or at).
2003-03-20 04:33:16 +00:00
Jack Jansen fe94e97e48 GetCreatorAndType and SetCreatorAndType have been undeprecated. Spotted by
Just.
2003-03-19 22:51:42 +00:00
Gustavo Niemeyer 5ddd4c3f77 Fixed SF bug #663074. The codec system was using global static
variables to store internal data. As a result, any atempts to use the
unicode system with multiple active interpreters, or successive
interpreter executions, would fail.

Now that information is stored into members of the PyInterpreterState
structure.
2003-03-19 00:35:36 +00:00
Just van Rossum 821a0fc140 replace obsolete 'exceptions' implicit by 'warnings' 2003-03-18 18:48:17 +00:00
Neal Norwitz 6e54f579a6 Fix SF bug #697556, test_posix fails: getlogin
getlogin() can fail for too many reasons, so remove the test
2003-03-18 13:30:14 +00:00
Barry Warsaw 6613fb8412 _encode_chunks(): Throw out empty chunks. 2003-03-17 20:36:20 +00:00
Barry Warsaw 240754933e test_long_lines_with_different_header(): Another test from Jason. 2003-03-17 20:35:14 +00:00
Raymond Hettinger 1da1dbf458 Renamed PyObject_GenericGetIter to PyObject_SelfIter
to more accurately describe what the function does.

Suggested by Thomas Wouters.
2003-03-17 19:46:11 +00:00
Barry Warsaw ab75840cd0 test_getaddresses_nasty(): A test for mimelib SF bug # 697641. 2003-03-17 18:36:37 +00:00
Barry Warsaw fa348c876f getaddrlist(): Make sure this consumes all the data, and if there is
no address there (perhaps because of invalid characters, it appends
('', '') to the result set.

Closes mimelib SF bug # 697641.
2003-03-17 18:35:42 +00:00
Martin v. Löwis c2ca32d9ae Test for UnicodeError instead of ImportError to determine whether
the test file name can be encoded.
2003-03-17 18:30:15 +00:00
Jack Jansen 54e7d2c029 Get rid of Mac.pth: plat-mac is now added through the normal mechanism. 2003-03-17 15:45:38 +00:00