- 15 Apr, 2003 10 commits
-
-
Walter Dörwald authored
-
Walter Dörwald authored
for the same gid.
-
Walter Dörwald authored
for the same uid.
-
Guido van Rossum authored
even farther down, to just before the call to _PyObject_DebugMallocStats(). This required the following changes: - pystate.c, PyThreadState_GetDict(): changed not to raise an exception or issue a fatal error when no current thread state is available, but simply return NULL without raising an exception (ever). - object.c, Py_ReprEnter(): when PyThreadState_GetDict() returns NULL, don't raise an exception but return 0. This means that when printing a container that's recursive, printing will go on and on and on. But that shouldn't happen in the case we care about (see first bullet). - Updated Misc/NEWS and Doc/api/init.tex to reflect changes to PyThreadState_GetDict() definition.
-
Jack Jansen authored
- Allow setting the destination install directory. If this is set then it is used for the modules, other items (header files, etc) are not installed, and warnings are printed if the package would have liked to. Unfortunaltey binary installs seem broken due to a tarfile bug (#721871) or my misunderstanding of how tarfile works.
-
Tim Peters authored
cases, but the test still expected ValueError. Repaired that.
-
Guido van Rossum authored
prevents it from showing stuff (like codec state) that is cleared when the interpreter state is cleared.
-
Guido van Rossum authored
-
Walter Dörwald authored
getpwnam()/getpwuid() return consistent data. Change test_grp to check that getgrall() and getgrnam()/getgrgid() return consistent data. Add error checks similar to test_pwd.py. Port test___all__.py to PyUnit. From SF patch #662807.
-
Raymond Hettinger authored
to cover the case for: "x,y,z=1,2,3". Gives a 30% speed-up. Also, added FOR_ITER to the list of opcodes that can jump.
-
- 14 Apr, 2003 12 commits
-
-
Guido van Rossum authored
(This is only the tip of the iceberg; the time and datetime classes need the same treatment.)
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
interpreted by slicing, so negative values count from the end of the list. This was the only place where such an interpretation was not placed on a list index.
-
Andrew M. Kuchling authored
-
Guido van Rossum authored
unexpected type, report the actual type rather than 'float'. (It's hard to even reach this code with a float. :-)
-
Guido van Rossum authored
A small fix for bug #545855 and Greg Chapman's addition of op code SRE_OP_MIN_REPEAT_ONE for eliminating recursion on simple uses of pattern '*?' on a long string.
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Jason Tishler authored
After some more reflection (and no negative feedback), I am reverting the original patch and applying my version, cygwinccompiler.py-shared.diff, instead. My reasons are the following: 1. support for older toolchains is retained 2. support for new toolchains (i.e., ld -shared) is added The goal of my approach is to avoid breaking older toolchains while adding better support for newer ones.
-
Jeremy Hylton authored
Fix memory leak in dialect_init().
-
Neal Norwitz authored
-
- 13 Apr, 2003 4 commits
-
-
Tim Peters authored
the code erroneously decrefed the istep argument in an error case. This caused a co_consts tuple to lose a float constant prematurely, which eventually caused gc to try executing static data in floatobject.c (don't ask <wink>). So reworked this extensively to ensure refcount correctness.
-
Andrew M. Kuchling authored
Fix error in description of logging package's 'propagate' Mention default arg to dict.pop() Link to more module docs (I wonder if I should adopt some convention such as linking the first mention of all new modules to the LibRef?) Various text changes Bump version number and Python version
-
Andrew M. Kuchling authored
-
Tim Peters authored
-
- 12 Apr, 2003 4 commits
-
-
Jack Jansen authored
to lookup properties declared in base classes. Looking at it I'm not sure what the official scope if the property codes is, maybe it is only the (OSA) class in which they are used. But giving them global scope hasn't been a problem so far. Regenerated the standard suites, which are now also space-indented.
-
Skip Montanaro authored
(thanks to Neal Norwitz for the code review, BTW)
-
Skip Montanaro authored
make csv_{get,unregister}_dialect METH_O functions to avoid PyArg_ParseTuple
-
Skip Montanaro authored
conditionally exclude Unicode functions
-
- 11 Apr, 2003 10 commits
-
-
Skip Montanaro authored
-
Skip Montanaro authored
-
Barry Warsaw authored
-
Barry Warsaw authored
to iso-8859-1. GNUTranslations._parse(): Back out the addition of a test for Project-ID-Version in the metadata. This was deliberately removed in response to SF patch #700839. Also, re-organize the code in _parse() so we parse the metadata header containing the charset parameter before we try to decode any strings using charset.
-
Skip Montanaro authored
-
Neal Norwitz authored
-
Guido van Rossum authored
- range() now works even if the arguments are longs with magnitude larger than sys.maxint, as long as the total length of the sequence fits. E.g., range(2**100, 2**101, 2**100) is the following list: [1267650600228229401496703205376L]. (SF patch #707427.)
-
http://mail.python.org/pipermail/i18n-sig/2003-April/001557.htmlBarry Warsaw authored
- Expose NullTranslations and GNUTranslations to __all__ - Set the default charset to iso-8859-1. It used to be None, which would cause problems with .ugettext() if the file had no charset parameter. Arguably, the po/mo file would be broken, but I still think iso-8859-1 is a reasonable default. - Add a "coerce" default argument to GNUTranslations's constructor. The reason for this is that in Zope, we want all msgids and msgstrs to be Unicode. For the latter, we could use .ugettext() but there isn't currently a mechanism for Unicode-ifying msgids. The plan then is that the charset parameter specifies the encoding for both the msgids and msgstrs, and both are decoded to Unicode when read. For example, we might encode po files with utf-8. I think the GNU gettext tools don't care. Since this could potentially break code [*] that wants to use the encoded interface .gettext(), the constructor flag is added, defaulting to False. Most code I suspect will want to set this to True and use .ugettext(). - A few other minor changes from the Zope project, including asserting that a zero-length msgid must have a Project-ID-Version header for it to be counted as the metadata record.
-
Jack Jansen authored
-
Neal Norwitz authored
Update configure and test to use proper timezone specifications
-