- 21 Dec, 1998 7 commits
-
-
Guido van Rossum authored
widget -- no time to do this right now.
-
Guido van Rossum authored
explore this now.
-
Guido van Rossum authored
yours, please let me know for propoer acknowledgement.) This avoids recompiling files that haven't changed; it adds a -f option to force recompilation.
-
Guido van Rossum authored
- 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.
-
Jeremy Hylton authored
successfully)
-
Jeremy Hylton authored
checkin)
-
Guido van Rossum authored
-
- 19 Dec, 1998 1 commit
-
-
Guido van Rossum authored
assignments.
-
- 18 Dec, 1998 11 commits
-
-
Greg Ward authored
-
Jeremy Hylton authored
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.
-
Guido van Rossum authored
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.
-
Guido van Rossum authored
-
Greg Ward authored
-
Guido van Rossum authored
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.
-
Fred Drake authored
string we wanted to resize is set to NULL. Don't Py_DECREF() those variables! (5 places)
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
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
-
Andrew M. Kuchling authored
offending files to be printed. Good for emacs `tabnanny.py *.py`
-
- 17 Dec, 1998 5 commits
-
-
Guido van Rossum authored
-
Guido van Rossum authored
- remove PowerPC specific compiler switch for BeOS (Chris Herborth) - FreeBSD/3 support - check for pthread_detach in libc instead of _create
-
Guido van Rossum authored
have to use a const-correct prototype on BeOS or the compiler gets uppity.
-
Guido van Rossum authored
BeOS headers live in various non-standard places; luckily, there's an environment variable that lists them all.
-
Guido van Rossum authored
-
- 15 Dec, 1998 7 commits
-
-
Guido van Rossum authored
This fixes a bug that can cause core dumps when doing seeks in input StringIO objects. This has a number of other clean-ups.
-
Guido van Rossum authored
(This only applies when COUNT_ALLOCS is defined.)
-
Guido van Rossum authored
When printing missing modules, also print the module they were imported from.
-
Barry Warsaw authored
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.
-
Barry Warsaw authored
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.
-
Barry Warsaw authored
"Author" => "Contact"
-
Barry Warsaw authored
-
- 14 Dec, 1998 2 commits
-
-
Barry Warsaw authored
-
Andrew M. Kuchling authored
> 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.
-
- 11 Dec, 1998 4 commits
-
-
Guido van Rossum authored
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().
-
Guido van Rossum authored
from the fast free list -- the type (at least) is reset by _Py_Dealloc().
-
Guido van Rossum authored
in early dealloc. Patch by Andrew Dalke.
-
Guido van Rossum authored
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.
-
- 10 Dec, 1998 3 commits
-
-
Fred Drake authored
<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".
-
Fred Drake authored
Sheesh, where do these things come from?
-
Fred Drake authored
contains "e" events for them. This wasn't used anyway.
-