Staging
v0.5.1
https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
90daa87 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 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 Marc-Andre Lemburg: New exported API PyUnicode_Resize(). 10 April 2000, 13:41:41 UTC
4b49101 Don't be so strict in checking AttributeError -- the error message recently changed. 10 April 2000, 13:37:14 UTC
547e952 Output from test_zipfile.py. 10 April 2000, 13:24:00 UTC
368f04a Test for zipfile.py, by Jim Ahlstrom. 10 April 2000, 13:23:04 UTC
d197a3a 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 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 Skip Montanaro: add string precisions to calls to PyErr_Format to prevent possible buffer overruns. 10 April 2000, 12:46:51 UTC
fa972c9 In dealloc(), only close the socket if fd != -1. 10 April 2000, 12:45:45 UTC
7aff6f3 Delete some debugging print statements. 10 April 2000, 01:31:58 UTC
e9613ae 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 Added optional 'prefix' arguments to 'get_python_inc()' and 'get_python_lib()'. 10 April 2000, 01:17:49 UTC
cf6bea3 Better variable names here and there. 10 April 2000, 01:15:06 UTC
c41d6b3 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 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 Added __version__ to store the Distutils version number. 10 April 2000, 00:02:16 UTC
c248bae Moved definition of \XXX command out to distutils.sty. 09 April 2000, 20:55:35 UTC
6002ffc Wrote the introduction (including several subsections). Started writing the "Standard Build and Install" section. 09 April 2000, 20:54:50 UTC
ae78718 minor tweak (jvr) 09 April 2000, 19:45:38 UTC
73efed2 added experimental microthread support for use with stackless python -- bw compatible (jvr) 09 April 2000, 19:45:22 UTC
d949b5c added popup control (jvr) 09 April 2000, 19:45:08 UTC
7051e52 added setbound() method, some cleanups (jvr) 09 April 2000, 19:44:45 UTC
6e5f2d1 oops, keyword list missed exec... doh! thanks to Maik Roeder (jvr) 09 April 2000, 19:44:13 UTC
7d7bb91 Installer Vise vct file for 1.6a1. Not very pretty (and needs funny directory structure). 09 April 2000, 18:38:54 UTC
4aafaf9 Modified for 1.6a1. 09 April 2000, 18:38:11 UTC
ffd61a6 Quick readme for 1.6a1. 09 April 2000, 18:37:50 UTC
facb8db Fixed so LaTeX can actually process it, and so it looks like the other Distutils manual. 09 April 2000, 04:32:40 UTC
16aafcd 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 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 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 Catch DistutilsFileError in addition to DistutilsExecError in 'setup()'. 09 April 2000, 03:49:20 UTC
b361233 Added (currently) pointless and trivial main body (for future tests). 09 April 2000, 03:48:37 UTC
d759f5f 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 Drag was missing from the modules built. 08 April 2000, 21:29:31 UTC
d96f04c This hadn't been checked in for a while. 08 April 2000, 21:28:53 UTC
9164f88 Fix Skip's email address in his attribution! (Thanks, Skip!) 08 April 2000, 04:53:29 UTC
e7a8c97 Added support for the "Long HTML" version to the build/packaging process. 07 April 2000, 16:27:15 UTC
c2c46c3 New example from Skip Montanaro <skip@mojam.com>. 07 April 2000, 16:09:59 UTC
037649e Enable multithreading. 07 April 2000, 15:40:59 UTC
6d3632a Added a profiling target. 07 April 2000, 15:40:14 UTC
a974d24 Fiddled linkorder and a few other things to make shared threaded python work. 07 April 2000, 15:39:25 UTC
46f1458 Describe the purpose of the "long HTML" package. 07 April 2000, 14:47:27 UTC
5fa3886 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 Started on GUSI2 and threading support. 07 April 2000, 09:25:06 UTC
d629660 1.6a1 modules added. 07 April 2000, 09:24:53 UTC
7f70c8e 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 Started on GUSI2 and threading support. 07 April 2000, 09:10:49 UTC
5c21420 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 Return a handle in stead of a resource. 07 April 2000, 09:08:37 UTC
a396a88 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 Just in case someone wants to use this, let's fix the pathname. 06 April 2000, 20:09:17 UTC
cff5482 Mark RELEASE with the release level ("a2"). 06 April 2000, 18:38:30 UTC
ba47704 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 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 unichr(), unicode(): Added \versionadded{} annotations. 06 April 2000, 15:06:03 UTC
0b72116 Marc-Andre Lemburg <mal@lemburg.com>: Added UnicodeType. 06 April 2000, 15:05:04 UTC
56ced2a Marc-Andre Lemburg <mal@lemburg.com>: Added note that Unicode strings are picklable. 06 April 2000, 15:04:30 UTC
5828ad6 Revised / removed comments about string exceptions (relating to the standard exceptions), added documentation of UnboundLocalError. 06 April 2000, 15:03:01 UTC
08df3ac Bump version to 1.6a2 -- to be released one of these days. 06 April 2000, 15:01:30 UTC
3cb793e Marc-Andre Lemburg <mal@lemburg.com>: Added UnicodeError description. 06 April 2000, 14:48:35 UTC
61098f2 Marc-Andre Lemburg <mal@lemburg.com>: Add Unicode strings to the list of marshalable types. 06 April 2000, 14:47:20 UTC
b1b3096 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 Note the exception raised when parameter to chr() is out of range. 06 April 2000, 14:45:19 UTC
33d5184 Marc-Andre Lemburg <mal@lemburg.com>: Documentation for unichr(), unicode(), update for ord(). 06 April 2000, 14:43:12 UTC
f4a3bd4 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 Added entry for codecs module. 06 April 2000, 14:26:43 UTC
98f8a3d Added codecs entry here as part of String Services. 06 April 2000, 14:25:28 UTC
b7979c7 Marc-Andre Lemburg <mal@lemburg.com>: codecs module documentation, with some preliminary markup adjustments from FLD. 06 April 2000, 14:21:58 UTC
9dc30bb 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 Marc-Andre Lemburg <mal@lemburg.com>: API documentation for Unicode support from C. 06 April 2000, 14:10:29 UTC
8b3ce9e 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 Patch from Marc-Andre Lemburg <mal@lemburg.com>: Added Unicode type to the language reference. 06 April 2000, 13:57:21 UTC
54b1c0b 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 Add msvcrt to list of libraries to ignore in Debug mode. 06 April 2000, 13:19:43 UTC
7d508fe Add missing import of 'usage' string. 06 April 2000, 02:07:41 UTC
6d5c6bd 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 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 Added a few cast to make it 68k-compatible. 05 April 2000, 21:30:57 UTC
34888ed Fredrik Lundh: eliminate a MSVC compiler warning. 05 April 2000, 21:29:50 UTC
9e896b3 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 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 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 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 Noted by Guido: Directionality of up/down were confused. 05 April 2000, 15:01:36 UTC
43b89b6 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 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 Mark Hammond <mhammond@skippinet.com.au>: This patch fixes the mmap module on Windows 9x. 05 April 2000, 14:15:31 UTC
aaa8bb4 Work the Tcl version number in the path we search for. 04 April 2000, 23:32:21 UTC
4f3cc35 Get rid of Win32s check. 04 April 2000, 22:48:55 UTC
bf4041a Merged in changes from 1.5.2p2 release. 04 April 2000, 20:58:39 UTC
02ba621 Merged in changes from 1.5.2p2 release as appropriate. 04 April 2000, 20:58:25 UTC
13c8c02 Skip Montanaro submits a simple patch that makes encode() and decode() recognize the '7bit' and '8bit' encodings, to simplify use. 04 April 2000, 20:53:07 UTC
12ed365 Added "See also" section; from Peter Funk <pf@artcom-gmbh.de> (re-written). 04 April 2000, 20:43:50 UTC
005f494 Added "See also" section; from Peter Funk <pf@artcom-gmbh.de>. 04 April 2000, 20:42:38 UTC
69fbf33 Fixed typo in example code; spotted by Everett Lipman <lipman@sphere.niddk.nih.gov>. 04 April 2000, 19:53:06 UTC
965fdae Patch by Fred Gansevles. This patch solves 2 problems of the os module. 1) Bug ID #50 (case-mismatch wiht "environ.get(..,..)" and "del environ[..]") 2) os.environ.update (dict) doesn't propagate changes to the 'real' environment (i.e doesn't call putenv) This patches also has minor changes specific for 1.6a The string module isn't used anymore, instead the strings own methods are used. 04 April 2000, 19:50:04 UTC
56a87a0 Patch from Hrvoje Niksic <hniksic@iskon.hr>: The bug is in mmap_read_line_method(), and its loop that searches for newlines. After the loop reaches EOF, eol is incremented and points after the end of the memory. This results in readline() method sometimes picking up and returning a byte after the end of the string. This is usually a bogus \0, but it could cause SIGSEGV if it's after the end of the page). The patch fixes the problem. Also, it uses memchr() for finding a character, which is in fact the "strnchr" the comment is asking for. memchr() is already used in Python sources, so there should be no portability problems. 04 April 2000, 18:17:35 UTC
7d68690 Added notes about the eventual disappearance of two-parameter bind(), connect(), and connect_ex(). I didn't make these deprecation notices since it was never a documented feature. 04 April 2000, 17:48:30 UTC
b49dc75 Add warning that multi-arg connect() etc. are deprecated. 04 April 2000, 15:09:07 UTC
back to top