- 20 Aug, 2000 5 commits
-
-
Jack Jansen authored
-
Jack Jansen authored
-
Thomas Wouters authored
trying hard enough to find out what the arguments to an import were. There is no test-case for this bug, yet, but this is what it looked like: from encodings import cp1006, cp1026 ImportError: cannot import name cp1026 '__import__' was called with only the first name in the 'arguments' list.
-
Tim Peters authored
os.name == "nt". This makes test_popen2 pass under Win98SE. HOWEVER, the Win98 "more" invents a leading newline out of thin air, and I'm not sure that the other Windows flavors of "more" also do that. So, somebody please try under other Windows flavors!
-
Tim Peters authored
https://sourceforge.net/patch/?func=detailpatch&patch_id=101110&group_id=5470 Accepted as-is, except for purging an "import *".
-
- 19 Aug, 2000 8 commits
-
-
Thomas Wouters authored
load mod.submod as m, or mod as m ? Both can be achieved differently, and unambiguously. Also attempt to document this restriction (editor appreciated!) Note that this is an artificial check during compile, because incorporating this in the grammar is hard, and then adjusting the compiler to do the right thing with the right nodes is harder.
-
Fred Drake authored
-
Fred Drake authored
Adjust markup for hyperlinking to the relevant RFCs. Give it a little organization. Minor nits.
-
Moshe Zadka authored
functionality.
-
Andrew M. Kuchling authored
Fix comment typo
-
Andrew M. Kuchling authored
-
Moshe Zadka authored
-
Andrew M. Kuchling authored
http://www.timo-tasi.org/python/Cookie.py) This is revision 2.26 according to Tim's RCS history.
-
- 18 Aug, 2000 27 commits
-
-
Barry Warsaw authored
-
Fred Drake authored
-
Barry Warsaw authored
`str' is no longer necessary. Gotta turn on -Wall!
-
Vladimir Marangozov authored
thus preserving the first one that has been raised.
-
Fred Drake authored
-
Fred Drake authored
re-raise it instead of re-raising it "manually" the ugly way.
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
-
Sjoerd Mullender authored
-
Barry Warsaw authored
PyUnicode_EncodeUTF8() already returns the created object with the proper reference count. This fixes an Insure reported memory leak.
-
Barry Warsaw authored
have access to Purify anymore.
-
Barry Warsaw authored
been closed. Don't try to reclose it. Found by Insure.
-
Barry Warsaw authored
PyList_Append() always incref's the inserted item. Be sure to decref it regardless of whether the append succeeds or fails.
-
Barry Warsaw authored
Py_FatalError() should reflect that.
-
Barry Warsaw authored
-
Barry Warsaw authored
fields token and expected must also be initialized, otherwise the tests in parsetok() can generate uninitialized memory read errors. This quiets an Insure warning.
-
Barry Warsaw authored
scope. Previously, s_buffer[] was defined inside the PyUnicode_Check() scope, but referred to in the outer scope via assignment to s. This quiets an Insure portability warning.
-
Barry Warsaw authored
types (i.e. Py_uintptr_t, our spelling of C9X's uintptr_t). ANSI specifies that pointer compares other than == and != to non-related structures are undefined. This quiets an Insure portability warning.
-
Barry Warsaw authored
scope. Previously, s_buffer[] was defined inside the PyUnicode_Check() scope, but referred to in the outer scope via assignment to s. This quiets an Insure portability warning.
-
Barry Warsaw authored
to integer types (i.e. Py_uintptr_t, our spelling of C9X's uintptr_t). ANSI specifies that pointer compares other than == and != to non-related structures are undefined. This quiets an Insure portability warning.
-
Barry Warsaw authored
which I can cast void* to and back again without losing information". In pyport.h, we typedef Py_uintptr_t to mean this thing, which if the platform supports, will be uintptr_t (otherwise, other accomodations are made).
-
Barry Warsaw authored
-
Barry Warsaw authored
-
Barry Warsaw authored
by the following. typedef in a portable way the Python name for the C9X uintptr_t type. This latter is the most portable way to spell an integral type to which a void* can be cast to and back again without losing information. Parallel checkin hacks configure to check if the platform/compiler supports the C9X name.
-
Fred Drake authored
returns an xrange object, not a range object, despite the name of the source file they're implemented in. In the list of comparison operators, list != before <>, since <> is described as obsolescent.
-
Fred Drake authored
stand out more.
-