- 23 Ock, 2001 1 kayıt (commit)
-
-
Guido van Rossum yazdı
PyThreadState_Delete() and PyEval_ReleaseLock(). It is only defined if WITH_THREAD is defined.
-
- 22 Ock, 2001 1 kayıt (commit)
-
-
Thomas Wouters yazdı
-
- 21 Ock, 2001 1 kayıt (commit)
-
-
Thomas Wouters yazdı
supposed to be declared in system include files (with a proper prototype.) Should be moved to a platform-specific block if anyone finds out which broken platforms need it :-)
-
- 20 Ock, 2001 1 kayıt (commit)
-
-
Neil Schemenauer yazdı
-
- 19 Ock, 2001 1 kayıt (commit)
-
-
Fredrik Lundh yazdı
implementation details inside the ucnhash module. also cleaned up the unicode copyright blurb a little; Secret Labs' internal revision history isn't that interesting...
-
- 18 Ock, 2001 1 kayıt (commit)
-
-
Tim Peters yazdı
-
- 17 Ock, 2001 5 kayıt (commit)
-
-
Guido van Rossum yazdı
-
Marc-André Lemburg yazdı
except that it always returns Unicode objects. A new C API PyObject_Unicode() is also provided. This closes patch #101664. Written by Marc-Andre Lemburg. Copyright assigned to Guido van Rossum.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
- Removed the nb_add slot from the PyNumberMethods struct. - Renamed Py_TPFLAGS_NEWSTYLENUMBER to Py_TPFLAGS_CHECKTYPES. - Added typedef richcmpfunc. - Added tp_richcompare slot to PyTypeObject (replacing spare tp_xxx7). - Added APIs PyObject_RichCompare() and PyObject_RichCompareBool(). - Added rich comparison operators Py_LT through Py_GE.
-
Guido van Rossum yazdı
-
- 15 Ock, 2001 1 kayıt (commit)
-
-
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.
-
- 12 Ock, 2001 1 kayıt (commit)
-
-
Andrew M. Kuchling yazdı
a glibc, not a gcc, problem.
-
- 04 Ock, 2001 2 kayıt (commit)
-
-
Neil Schemenauer yazdı
- Define type flag for new style numbers. - Add Py_NotImplemented.
-
Neil Schemenauer yazdı
-
- 22 Ara, 2000 1 kayıt (commit)
-
-
Andrew M. Kuchling yazdı
-
- 15 Ara, 2000 2 kayıt (commit)
-
-
Guido van Rossum yazdı
PySys_AddWarnOption().
-
Guido van Rossum yazdı
etc.) and the PyErr_Warn() function.
-
- 03 Kas, 2000 1 kayıt (commit)
-
-
Thomas Wouters yazdı
regardless of whether the system getopt() does what we want. This avoids the hassle with prototypes and externs, and the check to see if the system getopt() does what we want. Prefix optind, optarg and opterr with _PyOS_ to avoid name clashes. Add new include file to define the right symbols. Fix Demo/pyserv/pyserv.c to include getopt.h itself, instead of relying on Python to provide it.
-
- 13 Eki, 2000 1 kayıt (commit)
-
-
Jeremy Hylton yazdı
-
- 11 Eki, 2000 1 kayıt (commit)
-
-
Trent Mick yazdı
on Win64. This closes bug http://sourceforge.net/bugs/?func=detailbug&group_id=5470&bug_id=116516
-
- 09 Eki, 2000 1 kayıt (commit)
-
-
Jeremy Hylton yazdı
-
- 05 Eki, 2000 2 kayıt (commit)
-
-
Marc-André Lemburg yazdı
This should not be used for new code, but will probably make porting old extensions to 2.0 a lot easier. Also see Bug #116011.
-
Tim Peters yazdı
#define'd to an unreasonable value (several recent gcc systems have misdefined it, causing bogus overflows in integer multiplication). Nuke CHAR_BIT entirely.
-
- 26 Eyl, 2000 2 kayıt (commit)
-
-
Fred Drake yazdı
Add definitions of INT_MAX and LONG_MAX to pyport.h. Remove includes of limits.h and conditional definitions of INT_MAX and LONG_MAX elsewhere. This closes SourceForge patch #101659 and bug #115323.
-
Guido van Rossum yazdı
Python 2.0b2! (Note: Jeremy will finish the release on Sept. 26; I have to go on an unexpected business trip.)
-
- 23 Eyl, 2000 1 kayıt (commit)
-
-
Fred Drake yazdı
Add three new convenience functions to the PyModule_*() family: PyModule_AddObject(), PyModule_AddIntConstant(), PyModule_AddStringConstant(). This closes SourceForge patch #101233.
-
- 21 Eyl, 2000 1 kayıt (commit)
-
-
Tim Peters yazdı
Note a curious extension to the std C rules: x, X and o formatting can never produce a sign character in C, so the '+' and ' ' flags are meaningless for them. But unbounded ints *can* produce a sign character under these conversions (no fixed- width bitstring is wide enough to hold all negative values in 2's-comp form). So these flags become meaningful in Python when formatting a Python long which is too big to fit in a C long. This required shuffling around existing code, which hacked x and X conversions to death when both the '#' and '0' flags were specified: the hacks weren't strong enough to deal with the simultaneous possibility of the ' ' or '+' flags too, since signs were always meaningless before for x and X conversions. Isomorphic shuffling was required in unicodeobject.c. Also added dozens of non-trivial new unbounded-int test cases to test_format.py.
-
- 19 Eyl, 2000 2 kayıt (commit)
-
-
Marc-André Lemburg yazdı
which implements the automatic conversion from Unicode to a string object using the default encoding. The new API is then put to use to have eval() and exec accept Unicode objects as code parameter. This closes bugs #110924 and #113890. As side-effect, the traditional C APIs PyString_Size() and PyString_AsString() will also accept Unicode objects as parameters.
-
Guido van Rossum yazdı
I can't test this, so I'm just checking it in with blind faith in Andy. I've tested that it doesn't broeak a non-Pth build on Linux. Changes include: - There's a --with-pth configure option. - Instead of _GNU_PTH, we test for HAVE_PTH. - Better signal handling. - (The config.h.in file is regenerated in a slightly different order.)
-
- 16 Eyl, 2000 1 kayıt (commit)
-
-
Guido van Rossum yazdı
PyOS_setsig().
-
- 15 Eyl, 2000 1 kayıt (commit)
-
-
Skip Montanaro yazdı
-
- 10 Eyl, 2000 1 kayıt (commit)
-
-
Tim Peters yazdı
It's hard to sort out what the bug was, exactly. So, Big Hammer: 1. Python shouldn't be in the business of #define'ing NULL, period. 2. Users of the Python C API shouldn't be in the business of not including Python.h, period. Hence: 1. Removed all #define's of NULL in Python source code (pyport.h and object.h). 2. Since we're *relying* on stdio.h defining NULL, put an #error in Python.h after its #include of stdio.h if NULL isn't defined then.
-
- 08 Eyl, 2000 2 kayıt (commit)
-
-
Tim Peters yazdı
-
Vladimir Marangozov yazdı
(sources) which may still use it and now fail to compile. Reported by M-A Lemburg. Closes [ Bug #113576 ].
-
- 01 Eyl, 2000 3 kayıt (commit)
-
-
Guido van Rossum yazdı
This should match the situation in the 1.6b1 tree.
-
Jeremy Hylton yazdı
add sanity check to gc: if an exception occurs during GC, call PyErr_WriteUnraisable and then call Py_FatalEror.
-
Tim Peters yazdı
un-analize Get's definition ("void" is needed only in declarations, not defns, & is generally considered bad style in the latter).
-
- 31 Agu, 2000 1 kayıt (commit)
-
-
Fred Drake yazdı
in Parser/grammar.c.
-
- 27 Agu, 2000 1 kayıt (commit)
-
-
Tim Peters yazdı
-