- 16 Ock, 2001 15 kayıt (commit)
-
-
Eric S. Raymond yazdı
-
Eric S. Raymond yazdı
-
Eric S. Raymond yazdı
when configure detects the presence of termios.h; later we'll use this for correct configuration of edline/readline. Also, fix a bug in acconfig.h -- somebody forgot to add an undef to cover the LIBNDBM configure symbol, which was preventing autoheader from working properly.
-
Jack Jansen yazdı
-
Eric S. Raymond yazdı
These basically just make available to the user what userhook() does to the source stack. Documentation included.
-
Jack Jansen yazdı
-
Jack Jansen yazdı
-
Marc-André Lemburg yazdı
in case the parameters are out of bounds and fixes error handling for .count(), .startswith() and .endswith() for the case of mixed string/Unicode objects. This patch adds Python style index semantics to PyUnicode_Count() indices (including the special handling of negative indices). The patch is an extended version of patch #103249 submitted by Michael Hudson (mwh) on SF. It also includes new test cases.
-
Fredrik Lundh yazdı
compatibility patches.
-
Tim Peters yazdı
-
Tim Peters yazdı
-
Fredrik Lundh yazdı
-
Thomas Wouters yazdı
readers', others *after*. (Netscape Collabra for the first category, INN-which-forks-nnrpd for the second.)
-
Neil Schemenauer yazdı
-
Andrew M. Kuchling yazdı
prevent creating files such as build/lib.whatever/Modules/foo.o when given a source filename such as Modules/foo.c.
-
- 15 Ock, 2001 25 kayıt (commit)
-
-
Tim Peters yazdı
-
Ka-Ping Yee yazdı
it anticipates another patch i was about to propose.
-
Ka-Ping Yee yazdı
-
Ka-Ping Yee yazdı
message, and tries to make the messages more consistent and helpful when the wrong number of arguments or duplicate keyword arguments are supplied. Comes with more tests for test_extcall.py and and an update to an error message in test/output/test_pyexpat.
-
Ka-Ping Yee yazdı
-
Barry Warsaw yazdı
new module.
-
Barry Warsaw yazdı
-
Barry Warsaw yazdı
-
Barry Warsaw yazdı
Closes SF patch #103123. funcobject.h: PyFunctionObject: add the func_dict slot. funcobject.c: PyFunction_New(): Initialize the func_dict slot to NULL. func_getattr(): Rename to func_getattro() and change the signature. It's more efficient to use attro methods and dig the C string out than it is to re-convert a C string to a PyString. Also, add support for getting the __dict__ (a.k.a. func_dict) attribute, and for getting an arbitrary function attribute. func_setattr(): Rename to func_setattro() and change the signature for the same reason. Also add support for setting __dict__ (a.k.a. func_dict) and any arbitrary function attribute. func_dealloc(): Be sure to DECREF the func_dict slot. func_traverse(): Be sure to traverse func_dict too. PyFunction_Type: make the necessary func_?etattro() changes. classobject.c: instancemethod_memberlist: Add __dict__ instancemethod_setattro(): New method to set arbitrary attributes on methods (really the underlying im_func). Raise TypeError when the instance is bound or when you're trying to set one of the reserved im_* attributes. instancemethod_getattr(): Renamed to instancemethod_getattro() since that's what it really is. Also, added support fo getting arbitrary attributes through the im_func. PyMethod_Type: Do the ?etattr{,o} dance.
-
Barry Warsaw yazdı
Closes SF patch #103123. Regression test for function attributes, with output file.
-
Barry Warsaw yazdı
type. The method documentation also includes a new brief discussion of `bound' vs. `unbound' and why setting an attr on a bound method is a TypeError. Includes Skip's suggested text.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
object. This fixes potential overflows in xrange()'s internal calculations on 64-bit platforms. The fix is complicated because the sq_length slot function can only return an int; we want to support xrange(sys.maxint), which is a 64-bit quantity on most 64-bit platforms (except Win64). The solution is hacky but the best possible: when the range is that long, we can use it in a for loop but we can't ask for its length (nor can we actually iterate beyond 2**31-1, because the sq_item slot function has the same restrictions on its arguments. Fixing those restrictions is a project for another day...
-
Guido van Rossum yazdı
dogfort). - Don't drop the data argument when calling open_https() from the authentication error handler.
-
Fredrik Lundh yazdı
uppercase strings also when the IGNORECASE flag is set (bug #128899) (also added test cases for recently fixed bugs to the regression suite -- or in other words, check in re_tests.py too...)
-
Guido van Rossum yazdı
Its base class ValueError can be raised too, so catch that.
-
Barry Warsaw yazdı
-
Barry Warsaw yazdı
of dbmmodule dynamically by default (otherwise it can pull in dependencies with libdb that croak pybsddb3). This change moves the Setup line for dbmmodule to Setup.config.in.
-
Guido van Rossum yazdı
should have been a NameError. I'm checking in a change that catches both, just to be sure -- I can't be bothered trying to understand this code any more. :-)
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
This is slightly controversial, but after reading the argumentation in the bug tracker for and against, I believe this is the right solution. Let me know if it breaks for you, and how.
-
Andrew M. Kuchling yazdı
to the Distutils-SIG and archived at http://mail.python.org/pipermail/distutils-sig/2000-November/001755.html
-
Jack Jansen yazdı
-
Guido van Rossum yazdı
"smallest patch ever".
-