- 19 Haz, 2001 16 kayıt (commit)
-
-
Just van Rossum yazdı
Some long overdue maintainance. Made all IDE sources 7-bit-clean, to avoid any further encoding conversion troubles.
-
Jack Jansen yazdı
- compile() didn't return a (empty) list of objects. Fixed. - the various _fix_xxx_args() methods weren't called (are they new or did I overlook them?). Fixed.
-
Jack Jansen yazdı
The test used int(time.time()) to get a random number, but this doesn't work on the mac (where times are bigger than ints). Changed to int(time.time()%1000000).
-
Jack Jansen yazdı
-
Marc-André Lemburg yazdı
marks.
-
Marc-André Lemburg yazdı
write a BOM at the start of the stream and also to only read it as BOM at the start of a stream. Subsequent reading/writing of BOMs will read/write the BOM as ZWNBSP character. This is in sync with the Unicode specifications. Note that UTF-16 files will now *have* to start with a BOM mark in order to be readable by the codec.
-
Barry Warsaw yazdı
marker should be output as a #, flag, e.g. "#, docstring".
-
Barry Warsaw yazdı
add some description of what the quotetabs argument does for the encode*() functions. Finally, add a "see also" pointing to the base64 module.
-
Just van Rossum yazdı
Fixed -D emulation for symbols with a value, as specified with the define_macros Extension argument.
-
Barry Warsaw yazdı
-
Barry Warsaw yazdı
addition of interface for consistency with base64 module. Namely, encodestring(), decodestring(): New functions which accept a string object and return a string object. They just wrap the string in StringIOs and pass them to the encode() and decode() methods respectively. encodestring() accepts a default argument of quotetabs, defaulting to zero, which is passed on straight through to encode(). encode(): Fix the bug where an extra newline would always be added to the output, which prevented an idempotent roundtrip through encode->decode. Now, if the source string doesn't end in a newline, then the result string won't end in a newline. Also, extend the quotetabs argument semantics to include quoting embedded strings, which is also optional according to the RFC. test() -> main() "from quopri import *" also imports encodestring() and decodestring().
-
Barry Warsaw yazdı
new "simple generators" feature of 2.2. See PEP 255.
-
Neil Schemenauer yazdı
Mac/macglue.c into the core interpreter. This file contains the glue code that allows extension modules for Mac toolboxes to live in different shared libraries but still communicate with each other. The glue code is controlled by the USE_MAC_TOOLBOX_GLUE define. [checked in for Jack]
-
Jack Jansen yazdı
Mac/macglue.c into the core interpreter. This file contains the glue code that allows extension modules for Mac toolboxes to live in different shared libraries but still communicate with each other. The glue code is controlled by the USE_MAC_TOOLBOX_GLUE define.
-
Tim Peters yazdı
stmt. Along w/ the preceding change to keyword.py, making all this work w/ a future-stmt just looks harder and harder.
-
Tim Peters yazdı
-
- 18 Haz, 2001 9 kayıt (commit)
-
-
Tim Peters yazdı
Mark Favas).
-
Barry Warsaw yazdı
indent continuation lines, defined as lines following those that end in backslash. (py-compute-indentation): Support for py-continuation-offset.
-
Tim Peters yazdı
check correctly on pack(). While these were checking OK on my 32-bit box, Mark Favas reported failures on a 64-bit box (alas, easy to believe).
-
Tim Peters yazdı
Bugfix candidate in inspect.py: it was referencing "self" outside of a method.
-
Tim Peters yazdı
i_divmod: New and simpler algorithm. Old one returned gibberish on most boxes when the numerator was -sys.maxint-1. Oddly enough, it worked in the release (not debug) build on Windows, because the compiler optimized away some tricky sign manipulations that were incorrect in this case. Makes you wonder <wink> ... Bugfix candidate.
-
Andrew M. Kuchling yazdı
PyArg_ParseTuple() call. (2.1.1 bugfix candidate.)
-
Fred Drake yazdı
an external file.
-
Guido van Rossum yazdı
-
Martin v. Löwis yazdı
has_key, __getitem__, and __setitem__.
-
- 17 Haz, 2001 4 kayıt (commit)
-
-
Tim Peters yazdı
Also replaced a *star* style emphasis in the Representation Error section with an \emph{} thingie.
-
Marc-André Lemburg yazdı
-
Guido van Rossum yazdı
Summary: NAMESPACE support in imaplib.py Initial Comment: Support for the IMAP NAMESPACE extension defined in rfc 2342. This is almost a necessity for working with modern IMAP servers.
-
Martin v. Löwis yazdı
Allow application to set a new content handler and lex_prop handler during parsing. Closes bug #433761. Small hack to make expat be ignored in Jython.
-
- 16 Haz, 2001 8 kayıt (commit)
-
-
Fred Drake yazdı
and trace functions lazily, which incurs extra argument pushing and checks in the C overhead for profiling/tracing, create the strings semi-lazily when the Python code first registers a profile or trace function. This simplifies the trampoline into the profile/trace functions.
-
Tim Peters yazdı
#if/#error constructs.
-
Martin v. Löwis yazdı
-
Tim Peters yazdı
the need for the F_ERROR macro.
-
Tim Peters yazdı
-
Tim Peters yazdı
-
Tim Peters yazdı
Gave Python linear-time repr() implementations for dicts, lists, strings. This means, e.g., that repr(range(50000)) is no longer 50x slower than pprint.pprint() in 2.2 <wink>. I don't consider this a bugfix candidate, as it's a performance boost. Added _PyString_Join() to the internal string API. If we want that in the public API, fine, but then it requires runtime error checks instead of asserts.
-
Tim Peters yazdı
call_object: If the object isn't callable, display its type in the error msg rather than its repr. Bugfix candidate.
-
- 15 Haz, 2001 3 kayıt (commit)
-
-
Fred Drake yazdı
it should, but only enough that LaTeX2HTML doesn't bite us.
-
Fred Drake yazdı
-
Thomas Wouters yazdı
Protect several more uses of constants with #ifdefs; these are necessary on (at least) SCO OpenServer 5. Fixes a non-SF-submitted bugreport by Michael Kent.
-