c822a45 | Guido van Rossum | 22 December 1998, 16:49:16 UTC | Add warning to Netrc's docstring that it is obsolete -- use the netrc module instead. (The main advantage of the latter is that it comes with documentation.) | 22 December 1998, 16:49:16 UTC |
de8b026 | Guido van Rossum | 22 December 1998, 16:41:09 UTC | Added shlex and netrc modules; added warning about urllib change affecting subclasses (which Jeremy just found out). | 22 December 1998, 16:41:09 UTC |
d449342 | Guido van Rossum | 22 December 1998, 16:37:01 UTC | Optimistically, we label this as ready to go today. Also commit several improvements in the descriptions of the QNX and BeOS port, both by Chris Herborth. | 22 December 1998, 16:37:01 UTC |
af5add4 | Guido van Rossum | 22 December 1998, 14:23:50 UTC | New test function by Sjoerd, adding -t option. | 22 December 1998, 14:23:50 UTC |
7ea1d97 | Guido van Rossum | 22 December 1998, 13:50:33 UTC | The usual. # Message to all python-checkins readers: we have a problem with the # CVS mirroring software. You can't check out the latest changes yet. # We hope to have fixed this by noon EST today. | 22 December 1998, 13:50:33 UTC |
fdd3028 | Guido van Rossum | 22 December 1998, 13:44:01 UTC | Fix for modulefinder so that it prints all modules an unknown module was referenced in instead of only the last. (Sjoerd Mullender) | 22 December 1998, 13:44:01 UTC |
f96cff2 | Guido van Rossum | 22 December 1998, 13:40:55 UTC | Last-minute oopsie by Chris H. (Chris, please check that I did this right!) | 22 December 1998, 13:40:55 UTC |
343848b | Guido van Rossum | 22 December 1998, 13:35:29 UTC | Last-minute update by Chris H. | 22 December 1998, 13:35:29 UTC |
3c8e54b | Greg Ward | 22 December 1998, 12:42:04 UTC | Applied Fred's patch to fix the bugs that John Skaller noticed. | 22 December 1998, 12:42:04 UTC |
9c30c24 | Guido van Rossum | 22 December 1998, 05:19:29 UTC | Adding shlex and netrc by Eric Raymond. | 22 December 1998, 05:19:29 UTC |
5e97c9d | Guido van Rossum | 22 December 1998, 05:18:24 UTC | Adding libshlex and libnetrc by Eric Raymond. | 22 December 1998, 05:18:24 UTC |
a7d9bdf | Barry Warsaw | 22 December 1998, 03:24:27 UTC | A few other docstring fixes, most importantly to be a little nicer to Emacs ;-) | 22 December 1998, 03:24:27 UTC |
4c4bec8 | Barry Warsaw | 22 December 1998, 03:02:20 UTC | Nothing earthshattering, just some fixes to typos and other formatting bugs in various docstrings. | 22 December 1998, 03:02:20 UTC |
e96bd3f | Guido van Rossum | 21 December 1998, 21:45:04 UTC | News for 1.5.2b1. Moved news before 1.5.1 to HISTORY. | 21 December 1998, 21:45:04 UTC |
9818d0f | Guido van Rossum | 21 December 1998, 21:42:22 UTC | New names. Keep those contributions coming! | 21 December 1998, 21:42:22 UTC |
439d1fa | Guido van Rossum | 21 December 1998, 21:41:14 UTC | Moved history up to and including 1.5.1 here. | 21 December 1998, 21:41:14 UTC |
44331ec | Guido van Rossum | 21 December 1998, 20:44:53 UTC | Get rid of python_nt.def -- it's no longer needed! | 21 December 1998, 20:44:53 UTC |
a8b47fe | Guido van Rossum | 21 December 1998, 20:21:19 UTC | I can't seem to do anything right :-) As Chris H. points out, I should have added 'extern' to the declaration of _PyThreadState_Current. Here it is. | 21 December 1998, 20:21:19 UTC |
6058eb4 | Guido van Rossum | 21 December 1998, 19:51:00 UTC | Improve comment for PyImport_Import() as suggested by Bill Tutt. | 21 December 1998, 19:51:00 UTC |
65d5b57 | Guido van Rossum | 21 December 1998, 19:32:43 UTC | Thanks to Chris Herborth, the thread primitives now have proper Py* names in the source code (they already had those for the linker, through some smart macros; but the source still had the old, un-Py names). | 21 December 1998, 19:32:43 UTC |
14f53a7 | Guido van Rossum | 21 December 1998, 19:28:37 UTC | Chris H. adds MACHDEP=beos to the CCSHARED variable | 21 December 1998, 19:28:37 UTC |
d147a6c | Guido van Rossum | 21 December 1998, 19:18:55 UTC | Renaming Lib/plat-beos1 to Lib/plat-beos at Chris Herborth's request | 21 December 1998, 19:18:55 UTC |
b1f97d6 | Guido van Rossum | 21 December 1998, 18:57:36 UTC | Suggestion by Tim Peters clarifying what "before global" means. (Also added an XXX comment requesting clarification of module initialization -- TBD later.) | 21 December 1998, 18:57:36 UTC |
e848976 | Fred Drake | 21 December 1998, 18:56:13 UTC | Clarify descriptions of some operations; it's not always clear that strings are not actually modified. Problem reported by Dr. Peter Stoehr <peter.stoehr@weihenstephan.org>. | 21 December 1998, 18:56:13 UTC |
3b02ddf | Fred Drake | 21 December 1998, 18:52:53 UTC | Add a bunch of index entries related to retrieving information from the process table. | 21 December 1998, 18:52:53 UTC |
98c17b3 | Guido van Rossum | 21 December 1998, 18:51:23 UTC | Marc-Andre Lemburg notes about statparse(): """ The message ID is returned lowercased and there is no way to access the original ID the server sent. Now at least some news servers are very picky about the case of the ID and return errors when fetching articles with mixed case given a lowercased version of the ID. The solution is simple: remove the string.lower() call. """ (I might add that the lowercasing was probably introduced as a result of sloppy copy-and-paste coding; there's a string.lower in a similar piece of code a bit higher in the source, that makes more sense -- it's lowercasing the group name.) | 21 December 1998, 18:51:23 UTC |
95864d3 | Guido van Rossum | 21 December 1998, 18:35:49 UTC | Add dummy variable to avoid optimizer bug on OS/2 -- patch by Jeff Rush. (AMK: you should probably copy this into your patch set for pcre.) | 21 December 1998, 18:35:49 UTC |
885553e | Guido van Rossum | 21 December 1998, 18:33:30 UTC | Use PyThreadState_GET() macro. | 21 December 1998, 18:33:30 UTC |
89ce454 | Guido van Rossum | 21 December 1998, 18:32:40 UTC | Make sure that -t and -tt also work on strings passed to compile(). | 21 December 1998, 18:32:40 UTC |
b55f9ff | Guido van Rossum | 21 December 1998, 18:30:20 UTC | 100 bottles of beer on the wall example. After a version by Fredrik Lundh that I found on the web somewhere. (I like mine better, but of course that may have to do with my alcohol consumption. :-) | 21 December 1998, 18:30:20 UTC |
275ea67 | Guido van Rossum | 21 December 1998, 18:28:10 UTC | Add macro version of PyThreadState_GET(). This uses _PyThreadState_Current, defined in pystate.c. | 21 December 1998, 18:28:10 UTC |
18bc7c2 | Guido van Rossum | 21 December 1998, 18:27:28 UTC | Make current_tstate a global, _PyThreadState_Current. This is to support a macro in pystate.h. | 21 December 1998, 18:27:28 UTC |
dfaac4d | Guido van Rossum | 21 December 1998, 18:25:03 UTC | Add XXX comment about the need to add a dump() method to the Text widget -- no time to do this right now. | 21 December 1998, 18:25:03 UTC |
c08cc50 | Guido van Rossum | 21 December 1998, 18:24:09 UTC | Add XXX comment about a test that doesn't seem right -- no time to explore this now. | 21 December 1998, 18:24:09 UTC |
0b56a3e | Guido van Rossum | 21 December 1998, 18:23:38 UTC | A mod whose author I forget. (I must've mislaid the email. If it's yours, please let me know for propoer acknowledgement.) This avoids recompiling files that haven't changed; it adds a -f option to force recompilation. | 21 December 1998, 18:23:38 UTC |
91c8f59 | Guido van Rossum | 21 December 1998, 18:15:28 UTC | Sjoerd Mullender: - Fixed a bug where a syntax error was reported when a document started with white space. (White space at the start of a document is valid if there is no XML declaration.) - Improved the speed quite a bit for documents that don't make use of namespaces. | 21 December 1998, 18:15:28 UTC |
5bc4abe | Jeremy Hylton | 21 December 1998, 17:15:00 UTC | replace missing zalloc initialization (test_zlib now runs successfully) | 21 December 1998, 17:15:00 UTC |
3625202 | Jeremy Hylton | 21 December 1998, 16:40:21 UTC | remove debugging fprintf (should have checked this before previous checkin) | 21 December 1998, 16:40:21 UTC |
c6769c5 | Guido van Rossum | 21 December 1998, 16:26:31 UTC | Typo discovered by Just. | 21 December 1998, 16:26:31 UTC |
1f05708 | Guido van Rossum | 19 December 1998, 23:53:33 UTC | Use __stdin__ instead of stdin to derive FileType -- safer against assignments. | 19 December 1998, 23:53:33 UTC |
1190ee3 | Greg Ward | 18 December 1998, 23:46:33 UTC | Fred's sysconfig module. | 18 December 1998, 23:46:33 UTC |
a37e244 | Jeremy Hylton | 18 December 1998, 22:13:11 UTC | patches from Andrew NOTE: There is still a bug of some sort in the behavior of zlib. In at least one case, inflate returns Z_OK (which is typically interpreted to mean that more output space is needed) when it has finished inflating a buffer. This has been reported as a bug to the zlib maintainers; we may need to change the Python interface. | 18 December 1998, 22:13:11 UTC |
1924a06 | Guido van Rossum | 18 December 1998, 22:02:37 UTC | Chris H. writes: If we're going to put the PyOS_strtol() proto in intobject.h we should include it here or the symbol isn't exported on PowerPC. | 18 December 1998, 22:02:37 UTC |
eb45232 | Guido van Rossum | 18 December 1998, 22:00:58 UTC | Improved instructions by Chris H. | 18 December 1998, 22:00:58 UTC |
ee789b9 | Greg Ward | 18 December 1998, 22:00:30 UTC | Initial checkin of distutils source files. | 18 December 1998, 22:00:30 UTC |
b083a9f | Guido van Rossum | 18 December 1998, 20:17:13 UTC | Sjoerd Mullender writes: Here is my current version of xmllib.py and the documentation. This version has some API changes with respect to the version currently in Python (also the one in 1.5.2a). This version supports XML namespaces. | 18 December 1998, 20:17:13 UTC |
6de7d0c | Fred Drake | 18 December 1998, 19:46:59 UTC | When _PyString_Resize() reports failure, the variable referring to the string we wanted to resize is set to NULL. Don't Py_DECREF() those variables! (5 places) | 18 December 1998, 19:46:59 UTC |
654387e | Guido van Rossum | 18 December 1998, 15:52:54 UTC | Fix the class browser to work even when the file is not on sys.path. | 18 December 1998, 15:52:54 UTC |
060f24c | Guido van Rossum | 18 December 1998, 15:37:14 UTC | Forgot to check this in for Chris Herborth | 18 December 1998, 15:37:14 UTC |
33add0a | Guido van Rossum | 18 December 1998, 15:25:22 UTC | Sjoerd Mullender: File names with "funny" characters get translated wrong by pathname2url (any variety). E.g. the (Unix) file "/ufs/sjoerd/#tmp" gets translated into "/ufs/sjoerd/#tmp" which, when interpreted as a URL is file "/ufs/sjoerd/" with fragment ID "tmp". Here's an easy fix. (An alternative fix would be to change the various implementations of pathname2url and url2pathname to include calls to quote and unquote. [The main problem is with the normal use of URLs: url = url2pathname(file) transmit url url, tag = splittag(url) urlopen(url) ] In addition, this patch fixes some uses of unquote: - the host part of URLs should be unquoted - the file path in the FTP URL should be unquoted before it is split into components. - because of the latter, I removed all unquoting from ftpwrapper, and moved it to the caller, but that is not essential | 18 December 1998, 15:25:22 UTC |
dc86a4e | Andrew M. Kuchling | 18 December 1998, 13:56:58 UTC | Added a -q ('quiet') option to tabnanny, which causes only the names of offending files to be printed. Good for emacs `tabnanny.py *.py` | 18 December 1998, 13:56:58 UTC |
ea51632 | Guido van Rossum | 17 December 1998, 18:08:55 UTC | The usual | 17 December 1998, 18:08:55 UTC |
2666a15 | Guido van Rossum | 17 December 1998, 18:07:35 UTC | Several tiny changes: - remove PowerPC specific compiler switch for BeOS (Chris Herborth) - FreeBSD/3 support - check for pthread_detach in libc instead of _create | 17 December 1998, 18:07:35 UTC |
0e1d0e9 | Guido van Rossum | 17 December 1998, 18:03:10 UTC | Patch by Chris Herborth: have to use a const-correct prototype on BeOS or the compiler gets uppity. | 17 December 1998, 18:03:10 UTC |
5cd975c | Guido van Rossum | 17 December 1998, 18:02:15 UTC | Patch by Chris Herborth: BeOS headers live in various non-standard places; luckily, there's an environment variable that lists them all. | 17 December 1998, 18:02:15 UTC |
fc4966b | Guido van Rossum | 17 December 1998, 18:00:33 UTC | Changes for new BeOS port by Chris Herborth | 17 December 1998, 18:00:33 UTC |
476e49f | Guido van Rossum | 15 December 1998, 21:43:15 UTC | Jim Fulton writes: This fixes a bug that can cause core dumps when doing seeks in input StringIO objects. This has a number of other clean-ups. | 15 December 1998, 21:43:15 UTC |
2edcf0d | Guido van Rossum | 15 December 1998, 16:12:00 UTC | Move the prototype for dump_counts() to before where it is used. (This only applies when COUNT_ALLOCS is defined.) | 15 December 1998, 16:12:00 UTC |
38b92eb | Guido van Rossum | 15 December 1998, 15:35:23 UTC | Sjoerd Mullender: When printing missing modules, also print the module they were imported from. | 15 December 1998, 15:35:23 UTC |
9c1696c | Barry Warsaw | 15 December 1998, 04:36:22 UTC | (py-goto-beginning-of-tqs): Finds the beginning of the triple quoted string we find ourselves in, based on the passed in delimiter. (py-compute-indentation): Fixes for indentation errors when we land inside a triple quoted string. For example: def foo(): if os.path.isfile(o_pri_mbox_file) and os.path.isfile(o_pub_mbox_file): print """\ I found both a private and a public mbox archive file private: %s public : %s I won't move either file, but you should choose one and move it to %s You may want to merge them manually, but be careful about exposing private correspondences to the public.""" % ( o_pri_mbox_file, o_pub_mbox_file, mbox_file) *----indentation would be wrong on this line. | 15 December 1998, 04:36:22 UTC |
ef30092 | Barry Warsaw | 15 December 1998, 01:04:38 UTC | Added most of the mechanism to change the strips from color variations to color constants (i.e. red constant, green constant, blue constant). But I haven't hooked this up yet because the UI gets more crowded and the arrows don't reflect the correct values. Added "Go to Black" and "Go to White" buttons. | 15 December 1998, 01:04:38 UTC |
6403991 | Barry Warsaw | 15 December 1998, 01:02:51 UTC | A start on the TestModExp applet "Author" => "Contact" | 15 December 1998, 01:02:51 UTC |
107e623 | Barry Warsaw | 15 December 1998, 00:44:15 UTC | grid_bbox(): support new Tk API: grid bbox ?column row? ?column2 row2? | 15 December 1998, 00:44:15 UTC |
8860405 | Barry Warsaw | 14 December 1998, 21:36:40 UTC | "Author" -> "Contact" | 14 December 1998, 21:36:40 UTC |
4c07f81 | Andrew M. Kuchling | 14 December 1998, 19:36:14 UTC | Fixed bug reported to Gregor Hoffleit: > mpz.mpz('\xff') should return mpz(255). Instead it returns > mpz(4294967295L). Looks like the constructor doesn't work with strings > containing characters above chr(128). Caused by using just 'char' where 'unsigned char' should have been used. | 14 December 1998, 19:36:14 UTC |
cada293 | Guido van Rossum | 11 December 1998, 20:44:56 UTC | As noted by Per Cederqvist, new_buffersize() sometimes returns the buffer increment, and sometimes the new buffer size. Make it do what its name says, and fix the one place where this matters to the caller. Also add a comment explaining why we call lseek() and then ftell(). | 11 December 1998, 20:44:56 UTC |
68055ce | Guido van Rossum | 11 December 1998, 14:56:38 UTC | When tracing references, reset the type and size of tuples allocated from the fast free list -- the type (at least) is reset by _Py_Dealloc(). | 11 December 1998, 14:56:38 UTC |
21ef088 | Guido van Rossum | 11 December 1998, 03:20:00 UTC | Need to initialize self->safe_constructors early on to prevent crash in early dealloc. Patch by Andrew Dalke. | 11 December 1998, 03:20:00 UTC |
732aa2f | Guido van Rossum | 11 December 1998, 01:10:29 UTC | Gregor Hoffleit writes: But IMHO, this problem really reveals an annoyance in Python's makesetup. makesetup puts the global include directories "$(INCLUDEPY) $(EXECINCLUDEPY)" in front of the directories defined by the module in Setup. Therefore global (potentially older) header files are preferred over the ones set by the module, which makes it hard to compile new versions of modules when the old versions are installed. AFAIK, the other way around is common practice for most other software. This patch to makesetup would be an potential fix for this problem, though I don't know if it breaks anything else. | 11 December 1998, 01:10:29 UTC |
aaed971 | Fred Drake | 10 December 1998, 20:25:30 UTC | create_module_info(): New function: Modify a <section> to create a <moduleinfo> element based on various meta information, and strip some cruftiness. This is more usable for information extraction, and organizes the information more clearly. cleanup_synopses(): Rewrite to use create_module_info(), so this will work with multi-rooted "documents". | 10 December 1998, 20:25:30 UTC |
fee6abe | Fred Drake | 10 December 1998, 19:57:52 UTC | Remove another {\rm ...} construct. Sheesh, where do these things come from? | 10 December 1998, 19:57:52 UTC |
4abcffb | Fred Drake | 10 December 1998, 18:31:37 UTC | Don't pass around a list of known empty elements, since the ESIS contains "e" events for them. This wasn't used anyway. | 10 December 1998, 18:31:37 UTC |
46e9705 | Guido van Rossum | 10 December 1998, 16:57:44 UTC | Remove prototypes for PyOS_strto[u]l -- Chris Herborth. | 10 December 1998, 16:57:44 UTC |
ca90605 | Guido van Rossum | 10 December 1998, 16:56:22 UTC | Add more SET_LINENO instructions in long argument lists | 10 December 1998, 16:56:22 UTC |
f5046d1 | Guido van Rossum | 10 December 1998, 16:54:48 UTC | Remove prototype for PyOS_strtol -- Chris Herborth. | 10 December 1998, 16:54:48 UTC |
cc34faa | Guido van Rossum | 10 December 1998, 16:54:17 UTC | Add prototypes for PyOS_strto[u]l -- Chris Herborth. | 10 December 1998, 16:54:17 UTC |
9df827f | Guido van Rossum | 10 December 1998, 16:50:49 UTC | Need to define DL_EXPORT, of course! | 10 December 1998, 16:50:49 UTC |
e18f887 | Guido van Rossum | 10 December 1998, 16:50:14 UTC | No longer needed. | 10 December 1998, 16:50:14 UTC |
5de5420 | Guido van Rossum | 10 December 1998, 16:49:28 UTC | Needed to add DL_EXPORT to (redundant?) extern decl of module init function. | 10 December 1998, 16:49:28 UTC |
fba0ba2 | Fred Drake | 10 December 1998, 05:07:09 UTC | Added a transform to start cleaning up the modulesynopsis stuff a little; more thinking is needed about what we really want. | 10 December 1998, 05:07:09 UTC |
e9e0596 | Fred Drake | 10 December 1998, 05:04:21 UTC | Nits. | 10 December 1998, 05:04:21 UTC |
c166331 | Fred Drake | 10 December 1998, 04:56:00 UTC | Handle SGML variant as well as XML variant. SGML is *much* more likely to be used. | 10 December 1998, 04:56:00 UTC |
65e164f | Guido van Rossum | 09 December 1998, 22:24:27 UTC | Removing the BeOS specific 'ar' utility -- no longer needed, says Chris Herborth. | 09 December 1998, 22:24:27 UTC |
030d2ec | Guido van Rossum | 09 December 1998, 22:16:46 UTC | In read_multi, allow a subclass to override the class we instantiate when we create a recursive instance, by setting the class variable 'FieldStorageClass' to the desired class. By default, this is set to None, in which case we use self.__class__ (as before). | 09 December 1998, 22:16:46 UTC |
f8b3b94 | Guido van Rossum | 09 December 1998, 22:15:01 UTC | In __getslice__, use self.__class__ instead of UserList. | 09 December 1998, 22:15:01 UTC |
9819e4c | Guido van Rossum | 09 December 1998, 17:05:33 UTC | Sjoerd Mullender writes: The example Makefile.pre.in should also look at Setup.thread and Setup.local. Otherwise modules such as thread don't get incorporated in extensions. | 09 December 1998, 17:05:33 UTC |
e6360fa | Guido van Rossum | 08 December 1998, 20:39:36 UTC | Moved to Python 1.5.2/Lib | 08 December 1998, 20:39:36 UTC |
0ad55fb | Fred Drake | 08 December 1998, 19:59:36 UTC | Update the descriptions of strftime() and strptime() to avoid confusion, and describe what the "directives" are about. | 08 December 1998, 19:59:36 UTC |
e94e3fb | Guido van Rossum | 08 December 1998, 17:37:19 UTC | Make VC++ 5.0 compiler happy. | 08 December 1998, 17:37:19 UTC |
aac399b | Guido van Rossum | 08 December 1998, 16:30:10 UTC | Correct the poplib example. Stephan Richter pointed out some problems with it. | 08 December 1998, 16:30:10 UTC |
b057dd8 | Guido van Rossum | 08 December 1998, 16:27:10 UTC | Correctly document atan2. | 08 December 1998, 16:27:10 UTC |
64583d3 | Fred Drake | 08 December 1998, 16:10:44 UTC | Rename the parameters of atan2(), based on comments from Guido & Peter A. Koren <pkoren@hex.net>. | 08 December 1998, 16:10:44 UTC |
204b65c | Guido van Rossum | 08 December 1998, 13:25:00 UTC | Sjoerd patches the previous patch: In literal mode, also don't do anything about entity and character references, or about closing CDATA elements. | 08 December 1998, 13:25:00 UTC |
f0f3600 | Guido van Rossum | 08 December 1998, 13:23:22 UTC | Undo the change here -- there's no point in declaring a static function as DL_IMPORT()! | 08 December 1998, 13:23:22 UTC |
f484a33 | Guido van Rossum | 07 December 1998, 21:59:56 UTC | Sjoerd writes: When literal mode is entered it should exit automatically when the matching close tag of the last unclosed open tag is encountered. This patch fixes this. | 07 December 1998, 21:59:56 UTC |
926f7b6 | Guido van Rossum | 07 December 1998, 21:56:59 UTC | Adding thread support for BeOS by Chris Herborth. | 07 December 1998, 21:56:59 UTC |
d83675f | Fred Drake | 07 December 1998, 17:13:18 UTC | "singed" --> "signed" (3 places) Noticed by Andrew MacIntyre <andymac@bullseye.apana.org.au>. | 07 December 1998, 17:13:18 UTC |
9c1201f | Guido van Rossum | 07 December 1998, 14:28:47 UTC | Py_Main() must be DL_EXPORT too. | 07 December 1998, 14:28:47 UTC |
5c3b384 | Guido van Rossum | 07 December 1998, 04:08:30 UTC | Patch by Jeff Rush: In SimpleHTTPServer.py, the server specified in test() should be BaseHTTPServer.HTTPServer, in case the request handler should want to reference the two attributes added by BaseHTTPServer.server_bind: self.server_name = hostname self.server_port = port There was some Bobo CGI code that wanted access to those attributes. | 07 December 1998, 04:08:30 UTC |
9228cbd | Guido van Rossum | 07 December 1998, 04:08:03 UTC | Patch by Jeff Rush: In CGIHTTPServer.py, the list of acceptable formats is -split- on spaces but -joined- on commas, resulting in double commas in the joined text. It appears harmless to my browser but ought to be fixed anyway. 'A, B, C' -> 'A,', 'B,', 'C,' -> 'A,,B,,C' | 07 December 1998, 04:08:03 UTC |