5de435a | Guido van Rossum | 10 April 2000, 17:07:24 UTC | Removed CRLF line endings. | 10 April 2000, 17:07:24 UTC |
2953088 | Guido van Rossum | 10 April 2000, 17:06:55 UTC | Remove CRLF line endings. Fredrik Lundh: add two missing casts. | 10 April 2000, 17:06:55 UTC |
a25d7dd | Guido van Rossum | 10 April 2000, 17:02:46 UTC | Some cleanup -- don't use splitfields/joinfields, standardize indentation (tabs only), rationalize some code in urljoin... | 10 April 2000, 17:02:46 UTC |
3bb1edb | Guido van Rossum | 10 April 2000, 16:29:29 UTC | Match the error messages to say "(most recent call last)" like the built-in messages. | 10 April 2000, 16:29:29 UTC |
d6904ea | Fred Drake | 10 April 2000, 16:27:47 UTC | Use a better approach to locating IDLE's default configuration, allowing it to be run from anywhere, including through a symlink to the actual idle.py script. | 10 April 2000, 16:27:47 UTC |
4467959 | Guido van Rossum | 10 April 2000, 16:20:31 UTC | Patch by Vladimir Marangozov to include the function name when comparing code objects. This give sless surprising results in -Optimized code. It also sorts code objects by name, now. [I changed the patch to hash() slightly to touch fewer lines.] | 10 April 2000, 16:20:31 UTC |
1a4b593 | Fred Drake | 10 April 2000, 15:36:39 UTC | Use a constant to specify the number of child threads to create. Instead of assuming that the number process ids of the threads is the same as the process id of the controlling process, use a copy of the dictionary and check for changes in the process ids of the threads from the thread's process ids in the parent process. This makes the test make more sense on systems which assign a new pid to each thread (i.e., Linux). This doesn't fix the other problems evident with this test on Linux. | 10 April 2000, 15:36:39 UTC |
9706486 | Guido van Rossum | 10 April 2000, 13:52:48 UTC | Marc-Andre Lemburg: * '...%s...' % u"abc" now coerces to Unicode just like string methods. Care is taken not to reevaluate already formatted arguments -- only the first Unicode object appearing in the argument mapping is looked up twice. Added test cases for this to test_unicode.py. | 10 April 2000, 13:52:48 UTC |
45ad3c4 | Guido van Rossum | 10 April 2000, 13:52:13 UTC | Marc-Andre Lemburg: * More test cases for test_contains.py. | 10 April 2000, 13:52:13 UTC |
fd4b957 | Guido van Rossum | 10 April 2000, 13:51:10 UTC | Marc-Andre Lemburg: * New exported API PyUnicode_Resize() * The experimental Keep-Alive optimization was turned back on after some tweaks to the implementation. It should now work without causing core dumps... this has yet to tested though (switching it off is easy: see the unicodeobject.c file for details). * Fixed a memory leak in the Unicode freelist cleanup code. * Added tests to correctly process the return code from _PyUnicode_Resize(). * Fixed a bug in the 'ignore' error handling routines of some builtin codecs. Added test cases for these to test_unicode.py. | 10 April 2000, 13:51:10 UTC |
90daa87 | Guido van Rossum | 10 April 2000, 13:47:21 UTC | Marc-Andre Lemburg: * string_contains now calls PyUnicode_Contains() only when the other operand is a Unicode string (not whenever it's not a string). * New format style '%r' inserts repr(arg) instead of str(arg). * '...%s...' % u"abc" now coerces to Unicode just like string methods. Care is taken not to reevaluate already formatted arguments -- only the first Unicode object appearing in the argument mapping is looked up twice. Added test cases for this to test_unicode.py. | 10 April 2000, 13:47:21 UTC |
b244f69 | Guido van Rossum | 10 April 2000, 13:42:33 UTC | Marc-Andre Lemburg: * TypeErrors during comparing of mixed type arguments including a Unicode object are now masked (just like they are for all other combinations). | 10 April 2000, 13:42:33 UTC |
52c2359 | Guido van Rossum | 10 April 2000, 13:41:41 UTC | Marc-Andre Lemburg: New exported API PyUnicode_Resize(). | 10 April 2000, 13:41:41 UTC |
4b49101 | Guido van Rossum | 10 April 2000, 13:37:14 UTC | Don't be so strict in checking AttributeError -- the error message recently changed. | 10 April 2000, 13:37:14 UTC |
547e952 | Guido van Rossum | 10 April 2000, 13:24:00 UTC | Output from test_zipfile.py. | 10 April 2000, 13:24:00 UTC |
368f04a | Guido van Rossum | 10 April 2000, 13:23:04 UTC | Test for zipfile.py, by Jim Ahlstrom. | 10 April 2000, 13:23:04 UTC |
d197a3a | Greg Ward | 10 April 2000, 13:11:51 UTC | Define 'self.force' in the constructor and remove the hack in '__getattr__()' to account for it not being defined in the constructor. | 10 April 2000, 13:11:51 UTC |
5f8b12f | Guido van Rossum | 10 April 2000, 13:03:19 UTC | Mark Hammond: In line with a similar checkin to object.c a while ago, this patch gives a more descriptive error message for an attribute error on a class instance. The message now looks like: AttributeError: 'Descriptor' instance has no attribute 'GetReturnType' | 10 April 2000, 13:03:19 UTC |
5db862d | Guido van Rossum | 10 April 2000, 12:46:51 UTC | Skip Montanaro: add string precisions to calls to PyErr_Format to prevent possible buffer overruns. | 10 April 2000, 12:46:51 UTC |
fa972c9 | Guido van Rossum | 10 April 2000, 12:45:45 UTC | In dealloc(), only close the socket if fd != -1. | 10 April 2000, 12:45:45 UTC |
7aff6f3 | Greg Ward | 10 April 2000, 01:31:58 UTC | Delete some debugging print statements. | 10 April 2000, 01:31:58 UTC |
e9613ae | Greg Ward | 10 April 2000, 01:30:44 UTC | Added a check for the 'force' attribute in '__getattr__()' -- better than crashing when self.force not defined. Revise 'copy_file()' and 'copy_tree()' docstrings accordingly. Remove 'hasattr()' check for 'self.force' from 'make_file()'. | 10 April 2000, 01:30:44 UTC |
d38e6f7 | Greg Ward | 10 April 2000, 01:17:49 UTC | Added optional 'prefix' arguments to 'get_python_inc()' and 'get_python_lib()'. | 10 April 2000, 01:17:49 UTC |
cf6bea3 | Greg Ward | 10 April 2000, 01:15:06 UTC | Better variable names here and there. | 10 April 2000, 01:15:06 UTC |
c41d6b3 | Greg Ward | 10 April 2000, 00:19:42 UTC | Added '--force' option -- very clear what it means for building (ignore timestamps), so every build_* command has 'self.force', which follows the 'build' command if not set by the user. | 10 April 2000, 00:19:42 UTC |
68a0757 | Greg Ward | 10 April 2000, 00:18:16 UTC | Removed global '--force' option -- just too vague a concept to be applicable to all commands in the same way. Several Command methods now either expect 'self.force' to be defined, or check if it is defined and assume it's false if not. | 10 April 2000, 00:18:16 UTC |
582a870 | Greg Ward | 10 April 2000, 00:02:16 UTC | Added __version__ to store the Distutils version number. | 10 April 2000, 00:02:16 UTC |
c248bae | Greg Ward | 09 April 2000, 20:55:35 UTC | Moved definition of \XXX command out to distutils.sty. | 09 April 2000, 20:55:35 UTC |
6002ffc | Greg Ward | 09 April 2000, 20:54:50 UTC | Wrote the introduction (including several subsections). Started writing the "Standard Build and Install" section. | 09 April 2000, 20:54:50 UTC |
ae78718 | Just van Rossum | 09 April 2000, 19:45:38 UTC | minor tweak (jvr) | 09 April 2000, 19:45:38 UTC |
73efed2 | Just van Rossum | 09 April 2000, 19:45:22 UTC | added experimental microthread support for use with stackless python -- bw compatible (jvr) | 09 April 2000, 19:45:22 UTC |
d949b5c | Just van Rossum | 09 April 2000, 19:45:08 UTC | added popup control (jvr) | 09 April 2000, 19:45:08 UTC |
7051e52 | Just van Rossum | 09 April 2000, 19:44:45 UTC | added setbound() method, some cleanups (jvr) | 09 April 2000, 19:44:45 UTC |
6e5f2d1 | Just van Rossum | 09 April 2000, 19:44:13 UTC | oops, keyword list missed exec... doh! thanks to Maik Roeder (jvr) | 09 April 2000, 19:44:13 UTC |
7d7bb91 | Jack Jansen | 09 April 2000, 18:38:54 UTC | Installer Vise vct file for 1.6a1. Not very pretty (and needs funny directory structure). | 09 April 2000, 18:38:54 UTC |
4aafaf9 | Jack Jansen | 09 April 2000, 18:38:11 UTC | Modified for 1.6a1. | 09 April 2000, 18:38:11 UTC |
ffd61a6 | Jack Jansen | 09 April 2000, 18:37:50 UTC | Quick readme for 1.6a1. | 09 April 2000, 18:37:50 UTC |
facb8db | Greg Ward | 09 April 2000, 04:32:40 UTC | Fixed so LaTeX can actually process it, and so it looks like the other Distutils manual. | 09 April 2000, 04:32:40 UTC |
16aafcd | Greg Ward | 09 April 2000, 04:06:44 UTC | Got started for real on this manual. Completely untested and unread -- just checking it in so I can move things around in the CVS repository. | 09 April 2000, 04:06:44 UTC |
7593eb3 | Greg Ward | 09 April 2000, 03:59:15 UTC | Extracted a bunch of Distutils-specific commands and macros to distutils.sty (also needed by inst.tex). | 09 April 2000, 03:59:15 UTC |
60908f1 | Greg Ward | 09 April 2000, 03:51:40 UTC | Ditched the unused 'list_only' option. Added code to include source files from 'build_clib' command to default file list -- currently this won't work, since 'build_clib' doesn't have a 'get_source_files()' method! | 09 April 2000, 03:51:40 UTC |
b2e2c29 | Greg Ward | 09 April 2000, 03:49:20 UTC | Catch DistutilsFileError in addition to DistutilsExecError in 'setup()'. | 09 April 2000, 03:49:20 UTC |
b361233 | Greg Ward | 09 April 2000, 03:48:37 UTC | Added (currently) pointless and trivial main body (for future tests). | 09 April 2000, 03:48:37 UTC |
d759f5f | Greg Ward | 09 April 2000, 02:31:45 UTC | This little note is to clarify things for people who go poking around the Python library hoping to find out more about the Distutils. | 09 April 2000, 02:31:45 UTC |
6c38e5b | Jack Jansen | 08 April 2000, 21:29:31 UTC | Drag was missing from the modules built. | 08 April 2000, 21:29:31 UTC |
d96f04c | Jack Jansen | 08 April 2000, 21:28:53 UTC | This hadn't been checked in for a while. | 08 April 2000, 21:28:53 UTC |
9164f88 | Fred Drake | 08 April 2000, 04:53:29 UTC | Fix Skip's email address in his attribution! (Thanks, Skip!) | 08 April 2000, 04:53:29 UTC |
e7a8c97 | Fred Drake | 07 April 2000, 16:27:15 UTC | Added support for the "Long HTML" version to the build/packaging process. | 07 April 2000, 16:27:15 UTC |
c2c46c3 | Fred Drake | 07 April 2000, 16:09:59 UTC | New example from Skip Montanaro <skip@mojam.com>. | 07 April 2000, 16:09:59 UTC |
037649e | Jack Jansen | 07 April 2000, 15:40:59 UTC | Enable multithreading. | 07 April 2000, 15:40:59 UTC |
6d3632a | Jack Jansen | 07 April 2000, 15:40:14 UTC | Added a profiling target. | 07 April 2000, 15:40:14 UTC |
a974d24 | Jack Jansen | 07 April 2000, 15:39:25 UTC | Fiddled linkorder and a few other things to make shared threaded python work. | 07 April 2000, 15:39:25 UTC |
46f1458 | Fred Drake | 07 April 2000, 14:47:27 UTC | Describe the purpose of the "long HTML" package. | 07 April 2000, 14:47:27 UTC |
5fa3886 | Fred Drake | 07 April 2000, 14:34:50 UTC | Fred Gansevles <gansevle@cs.utwente.nl>: The copytree function doesn't pass the symlinks parameter in recursicve calls | 07 April 2000, 14:34:50 UTC |
37d21e1 | Jack Jansen | 07 April 2000, 09:25:06 UTC | Started on GUSI2 and threading support. | 07 April 2000, 09:25:06 UTC |
d629660 | Jack Jansen | 07 April 2000, 09:24:53 UTC | 1.6a1 modules added. | 07 April 2000, 09:24:53 UTC |
7f70c8e | Jack Jansen | 07 April 2000, 09:20:25 UTC | Started on GUSI2 and threading support. cfm68k targets are still included in all projects, but for the time being all the "fat" targets exclude them, making them basically copy operations. This way we don't have to rename everything, and anyone interested can easily try to fix 68k support. | 07 April 2000, 09:20:25 UTC |
2d1306b | Jack Jansen | 07 April 2000, 09:10:49 UTC | Started on GUSI2 and threading support. | 07 April 2000, 09:10:49 UTC |
5c21420 | Jack Jansen | 07 April 2000, 09:10:35 UTC | Ready for 1.6a1. Reordered the defines to be in line with config.h.in again, so tracking the new defines will be easier in future. | 07 April 2000, 09:10:35 UTC |
e31d3d6 | Jack Jansen | 07 April 2000, 09:08:37 UTC | Return a handle in stead of a resource. | 07 April 2000, 09:08:37 UTC |
a396a88 | Guido van Rossum | 07 April 2000, 01:21:36 UTC | Vladimir Marangozov: This fixes the line number in the string representation of code objects when optimization is on (python -O). It was always reported as -1 instead of the real lineno. | 07 April 2000, 01:21:36 UTC |
fa9ef18 | Guido van Rossum | 06 April 2000, 20:09:17 UTC | Just in case someone wants to use this, let's fix the pathname. | 06 April 2000, 20:09:17 UTC |
cff5482 | Fred Drake | 06 April 2000, 18:38:30 UTC | Mark RELEASE with the release level ("a2"). | 06 April 2000, 18:38:30 UTC |
ba47704 | Guido van Rossum | 06 April 2000, 18:18:10 UTC | Conrad Huang points out that "if (0 < ch < 256)", while legal C, doesn't mean what the Python programmer thought... | 06 April 2000, 18:18:10 UTC |
69ca950 | Fred Drake | 06 April 2000, 16:09:59 UTC | Make sure the \declaremodule uses the right name for the module! Clean up several markup problems & inconsistencies. | 06 April 2000, 16:09:59 UTC |
343301a | Fred Drake | 06 April 2000, 15:06:03 UTC | unichr(), unicode(): Added \versionadded{} annotations. | 06 April 2000, 15:06:03 UTC |
0b72116 | Fred Drake | 06 April 2000, 15:05:04 UTC | Marc-Andre Lemburg <mal@lemburg.com>: Added UnicodeType. | 06 April 2000, 15:05:04 UTC |
56ced2a | Fred Drake | 06 April 2000, 15:04:30 UTC | Marc-Andre Lemburg <mal@lemburg.com>: Added note that Unicode strings are picklable. | 06 April 2000, 15:04:30 UTC |
5828ad6 | Fred Drake | 06 April 2000, 15:03:01 UTC | Revised / removed comments about string exceptions (relating to the standard exceptions), added documentation of UnboundLocalError. | 06 April 2000, 15:03:01 UTC |
08df3ac | Guido van Rossum | 06 April 2000, 15:01:30 UTC | Bump version to 1.6a2 -- to be released one of these days. | 06 April 2000, 15:01:30 UTC |
3cb793e | Fred Drake | 06 April 2000, 14:48:35 UTC | Marc-Andre Lemburg <mal@lemburg.com>: Added UnicodeError description. | 06 April 2000, 14:48:35 UTC |
61098f2 | Fred Drake | 06 April 2000, 14:47:20 UTC | Marc-Andre Lemburg <mal@lemburg.com>: Add Unicode strings to the list of marshalable types. | 06 April 2000, 14:47:20 UTC |
b1b3096 | Guido van Rossum | 06 April 2000, 14:46:40 UTC | Moved socket, select, unicodedata to their own PYD. This should reduce the size of python16.dll to almost its 1.5.2 size, and remove dependencies on winsock unless sockets are actually used. Note that soundex is simply no longer supported. | 06 April 2000, 14:46:40 UTC |
665dd70 | Fred Drake | 06 April 2000, 14:45:19 UTC | Note the exception raised when parameter to chr() is out of range. | 06 April 2000, 14:45:19 UTC |
33d5184 | Fred Drake | 06 April 2000, 14:43:12 UTC | Marc-Andre Lemburg <mal@lemburg.com>: Documentation for unichr(), unicode(), update for ord(). | 06 April 2000, 14:43:12 UTC |
f4a3bd4 | Guido van Rossum | 06 April 2000, 14:41:11 UTC | Remove _socket, select, soundex, and unicodedata. These have been moved to their own DLLs, or are obsolete (soundex). | 06 April 2000, 14:41:11 UTC |
2097ef1 | Fred Drake | 06 April 2000, 14:26:43 UTC | Added entry for codecs module. | 06 April 2000, 14:26:43 UTC |
98f8a3d | Fred Drake | 06 April 2000, 14:25:28 UTC | Added codecs entry here as part of String Services. | 06 April 2000, 14:25:28 UTC |
b7979c7 | Fred Drake | 06 April 2000, 14:21:58 UTC | Marc-Andre Lemburg <mal@lemburg.com>: codecs module documentation, with some preliminary markup adjustments from FLD. | 06 April 2000, 14:21:58 UTC |
9dc30bb | Fred Drake | 06 April 2000, 14:17:03 UTC | Marc-Andre Lemburg <mal@lemburg.com>: Tutorial information about Unicode strings in Python, with some markup adjustments from FLD. | 06 April 2000, 14:17:03 UTC |
a4cd261 | Fred Drake | 06 April 2000, 14:10:29 UTC | Marc-Andre Lemburg <mal@lemburg.com>: API documentation for Unicode support from C. | 06 April 2000, 14:10:29 UTC |
8b3ce9e | Fred Drake | 06 April 2000, 14:00:14 UTC | But don't do the funny \UNICODE macro; we're trying to get away from those markups! <with-mixed-feelings> | 06 April 2000, 14:00:14 UTC |
f0aff8e | Fred Drake | 06 April 2000, 13:57:21 UTC | Patch from Marc-Andre Lemburg <mal@lemburg.com>: Added Unicode type to the language reference. | 06 April 2000, 13:57:21 UTC |
54b1c0b | Guido van Rossum | 06 April 2000, 13:20:38 UTC | Windows: Since we're not using ZLIB.DLL any more, don't define ZLIB_DLL. (Mark Hammond.) | 06 April 2000, 13:20:38 UTC |
4cb8c0b | Guido van Rossum | 06 April 2000, 13:19:43 UTC | Add msvcrt to list of libraries to ignore in Debug mode. | 06 April 2000, 13:19:43 UTC |
7d508fe | Greg Ward | 06 April 2000, 02:07:41 UTC | Add missing import of 'usage' string. | 06 April 2000, 02:07:41 UTC |
6d5c6bd | Fred Drake | 05 April 2000, 22:12:06 UTC | Removed bogus connect() call in SMTP example; reported by Travis B. Hartwell <slt5v@cc.usu.edu>. Removed second copy of the "See also" section! | 05 April 2000, 22:12:06 UTC |
71b04da | Fred Drake | 05 April 2000, 22:05:15 UTC | Added reference to the multifile module from the "See also" section in the mimetools documentation. Suggested by Skip Montanaro <skip@mojam.com>. | 05 April 2000, 22:05:15 UTC |
1b6e821 | Jack Jansen | 05 April 2000, 21:30:57 UTC | Added a few cast to make it 68k-compatible. | 05 April 2000, 21:30:57 UTC |
34888ed | Guido van Rossum | 05 April 2000, 21:29:50 UTC | Fredrik Lundh: eliminate a MSVC compiler warning. | 05 April 2000, 21:29:50 UTC |
9e896b3 | Guido van Rossum | 05 April 2000, 20:11:21 UTC | Marc-Andre's third try at this bulk patch seems to work (except that his copy of test_contains.py seems to be broken -- the lines he deleted were already absent). Checkin messages: New Unicode support for int(), float(), complex() and long(). - new APIs PyInt_FromUnicode() and PyLong_FromUnicode() - added support for Unicode to PyFloat_FromString() - new encoding API PyUnicode_EncodeDecimal() which converts Unicode to a decimal char* string (used in the above new APIs) - shortcuts for calls like int(<int object>) and float(<float obj>) - tests for all of the above Unicode compares and contains checks: - comparing Unicode and non-string types now works; TypeErrors are masked, all other errors such as ValueError during Unicode coercion are passed through (note that PyUnicode_Compare does not implement the masking -- PyObject_Compare does this) - contains now works for non-string types too; TypeErrors are masked and 0 returned; all other errors are passed through Better testing support for the standard codecs. Misc minor enhancements, such as an alias dbcs for the mbcs codec. Changes: - PyLong_FromString() now applies the same error checks as does PyInt_FromString(): trailing garbage is reported as error and not longer silently ignored. The only characters which may be trailing the digits are 'L' and 'l' -- these are still silently ignored. - string.ato?() now directly interface to int(), long() and float(). The error strings are now a little different, but the type still remains the same. These functions are now ready to get declared obsolete ;-) - PyNumber_Int() now also does a check for embedded NULL chars in the input string; PyNumber_Long() already did this (and still does) Followed by: Looks like I've gone a step too far there... (and test_contains.py seem to have a bug too). I've changed back to reporting all errors in PyUnicode_Contains() and added a few more test cases to test_contains.py (plus corrected the join() NameError). | 05 April 2000, 20:11:21 UTC |
457855a | Guido van Rossum | 05 April 2000, 18:25:12 UTC | Forgot to save the project file -- this also reflects the use of Tcl/Tk 8.2 instead of 8.3, because 8.3.0 often crashes on closing a window. | 05 April 2000, 18:25:12 UTC |
a5b0937 | Guido van Rossum | 05 April 2000, 16:33:30 UTC | Lots of cleanup things. Added the bitmaps back, and added the wizard style program group selection dialog. Got rid of references to backup etc. inserted by the installer wizard -- we don't use these. Got rid of conditionals for Windows 3.1, ditto. Changed version to 1.6a2. Changed default install directory to "C:\Python16" (not really, but close). Install only one copy of python16.lib. Install the two MS DLLs (versioned) and python16.dll (unversioned) in the system directory. Install Tcl/Tk and expat in the DLLs directory. | 05 April 2000, 16:33:30 UTC |
d1a56f4 | Fred Drake | 05 April 2000, 15:06:03 UTC | Noted by Guido: Fixed up descriptions of altzone and timezone not to refer to the 0th meridian, which doesn't exist. Reference is now to UTC. | 05 April 2000, 15:06:03 UTC |
898915d | Fred Drake | 05 April 2000, 15:01:36 UTC | Noted by Guido: Directionality of up/down were confused. | 05 April 2000, 15:01:36 UTC |
43b89b6 | Fred Drake | 05 April 2000, 15:00:38 UTC | Noted by Guido: Note in the "Caveats" section should refer to the exit() function, not exit_thread(). | 05 April 2000, 15:00:38 UTC |
605843f | Fred Drake | 05 April 2000, 14:17:11 UTC | Mark Hammond: This patch fixes the mmap module on Windows 9x. Also updates the mmap test to remove the test file. | 05 April 2000, 14:17:11 UTC |
1ef4e2d | Fred Drake | 05 April 2000, 14:15:31 UTC | Mark Hammond <mhammond@skippinet.com.au>: This patch fixes the mmap module on Windows 9x. | 05 April 2000, 14:15:31 UTC |
aaa8bb4 | Guido van Rossum | 04 April 2000, 23:32:21 UTC | Work the Tcl version number in the path we search for. | 04 April 2000, 23:32:21 UTC |
4f3cc35 | Guido van Rossum | 04 April 2000, 22:48:55 UTC | Get rid of Win32s check. | 04 April 2000, 22:48:55 UTC |