- 20 Jun, 2001 8 commits
-
-
Fred Drake authored
is not pretty, but does what is needed.
-
Jack Jansen authored
-
Jack Jansen authored
Adapted to Universal Headers 3.4: new refcontype and use UPP names in stead of Proc names for callback creation.
-
Jack Jansen authored
Adapted for Universal Headers 3.4: refcon type has changed (sigh) and use modern (UPP in stead of Proc) names for callback object creation.
-
Just van Rossum authored
Override bdb's canonic() method with a no-op: with bdb's version we couldn't edit breakpoints in file-less ("Untitled" script windows). Besides, we did't need it as we always use full path names anyway.
-
Barry Warsaw authored
be outputted just before the msgid lines.
-
Tim Peters authored
NeilS, please check! This came from staring at your genbug.py, but I'm not sure it plugs all possible holes. Without this, I caught a frameobject refcount going negative, and it was also the cause (in debug build) of _Py_ForgetReference's attempt to forget an object with already- NULL _ob_prev and _ob_next pointers -- although I'm still not entirely sure how! Part of the difficulty is that frameobjects are stored on a free list that gets recycled very quickly, so if there's a stray pointer to one of them it never looks like an insane frameobject (never goes trough the free() mangling MS debug forces, etc).
-
Neil Schemenauer authored
-
- 19 Jun, 2001 19 commits
-
-
Barry Warsaw authored
cases.
-
Barry Warsaw authored
characters in length. Remember that when calculating the soft breaks, the trailing `=' sign counts against the max length!
-
Just van Rossum authored
-
Just van Rossum authored
Some long overdue maintainance. Made all IDE sources 7-bit-clean, to avoid any further encoding conversion troubles.
-
Jack Jansen authored
- 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 authored
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 authored
-
Marc-André Lemburg authored
marks.
-
Marc-André Lemburg authored
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 authored
marker should be output as a #, flag, e.g. "#, docstring".
-
Barry Warsaw authored
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 authored
Fixed -D emulation for symbols with a value, as specified with the define_macros Extension argument.
-
Barry Warsaw authored
-
Barry Warsaw authored
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 authored
new "simple generators" feature of 2.2. See PEP 255.
-
Neil Schemenauer authored
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 authored
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 authored
stmt. Along w/ the preceding change to keyword.py, making all this work w/ a future-stmt just looks harder and harder.
-
Tim Peters authored
-
- 18 Jun, 2001 9 commits
-
-
Tim Peters authored
Mark Favas).
-
Barry Warsaw authored
indent continuation lines, defined as lines following those that end in backslash. (py-compute-indentation): Support for py-continuation-offset.
-
Tim Peters authored
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 authored
Bugfix candidate in inspect.py: it was referencing "self" outside of a method.
-
Tim Peters authored
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 authored
PyArg_ParseTuple() call. (2.1.1 bugfix candidate.)
-
Fred Drake authored
an external file.
-
Guido van Rossum authored
-
Martin v. Löwis authored
has_key, __getitem__, and __setitem__.
-
- 17 Jun, 2001 4 commits
-
-
Tim Peters authored
Also replaced a *star* style emphasis in the Representation Error section with an \emph{} thingie.
-
Marc-André Lemburg authored
-
Guido van Rossum authored
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 authored
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.
-