12cf60c7fa8f49997ce4d20be3bd814d736feeca |
|
20-May-2016 |
Serhiy Storchaka <storchaka@gmail.com> |
Issue #26168: Fixed possible refleaks in failing Py_BuildValue() with the "N" format unit.
/external/python/cpython2/Python/modsupport.c
|
64a1e7cab1fe8f0b0b42b93bbd40e73fc983c138 |
|
15-Dec-2010 |
R. David Murray <rdmurray@bitdance.com> |
Merged revisions 87251 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87251 | r.david.murray | 2010-12-14 18:06:25 -0500 (Tue, 14 Dec 2010) | 4 lines #4236: avoid possible Fatal Error when import is called from __del__ Patch by Simon Cross, crasher test code by Martin von Löwis. ........
/external/python/cpython2/Python/modsupport.c
|
c83ea137d7e717f764e2f31fc2544f522de7d857 |
|
09-May-2010 |
Antoine Pitrou <solipsis@pitrou.net> |
Untabify C files. Will watch buildbots.
/external/python/cpython2/Python/modsupport.c
|
dd96db63f689e2f0d8ae5a1436b3b3395eec7de5 |
|
09-Jun-2008 |
Gregory P. Smith <greg@mad-scientist.com> |
This reverts r63675 based on the discussion in this thread: http://mail.python.org/pipermail/python-dev/2008-June/079988.html Python 2.6 should stick with PyString_* in its codebase. The PyBytes_* names in the spirit of 3.0 are available via a #define only. See the email thread.
/external/python/cpython2/Python/modsupport.c
|
593daf545bd9b7e7bcb27b498ecc6f36db9ae395 |
|
26-May-2008 |
Christian Heimes <christian@cheimes.de> |
Renamed PyString to PyBytes
/external/python/cpython2/Python/modsupport.c
|
c211a0a00b286188b8a4182e924511bdcbb85cda |
|
19-Jan-2008 |
Georg Brandl <georg@python.org> |
#1782: don't leak in error case in PyModule_AddXxxConstant. Patch by Hrvoje Nikšić.
/external/python/cpython2/Python/modsupport.c
|
7ccbca93a27e22f0b06316b0d9760fbf7b19cbda |
|
04-Oct-2006 |
Armin Rigo <arigo@tunes.org> |
Forward-port of r52136,52138: a review of overflow-detecting code. * unified the way intobject, longobject and mystrtoul handle values around -sys.maxint-1. * in general, trying to entierely avoid overflows in any computation involving signed ints or longs is extremely involved. Fixed a few simple cases where a compiler might be too clever (but that's all guesswork). * more overflow checks against bad data in marshal.c. * 2.5 specific: fixed a number of places that were still confusing int and Py_ssize_t. Some of them could potentially have caused "real-world" breakage. * list.pop(x): fixing overflow issues on x was messy. I just reverted to PyArg_ParseTuple("n"), which does the right thing. (An obscure test was trying to give a Decimal to list.pop()... doesn't make sense any more IMHO) * trying to write a few tests...
/external/python/cpython2/Python/modsupport.c
|
7ff54e7706032f0e2559e12c7217b528714eef0f |
|
18-Apr-2006 |
Skip Montanaro <skip@pobox.com> |
C++ compiler cleanup: migrate to modsupport.h
/external/python/cpython2/Python/modsupport.c
|
5cb6936672a1410f5502d754570bc548064f9dc4 |
|
14-Apr-2006 |
Martin v. Löwis <martin@v.loewis.de> |
Make Py_BuildValue, PyObject_CallFunction and PyObject_CallMethod aware of PY_SSIZE_T_CLEAN.
/external/python/cpython2/Python/modsupport.c
|
b1ed7fac12fe51080c06e518a9fcaa21f0734744 |
|
13-Apr-2006 |
Martin v. Löwis <martin@v.loewis.de> |
Replace INT_MAX with PY_SSIZE_T_MAX.
/external/python/cpython2/Python/modsupport.c
|
4fe4ed2525602b03b787b013366184631926c530 |
|
16-Mar-2006 |
Neal Norwitz <nnorwitz@gmail.com> |
Make mktuple consistent with mklist to get rid of Coverity warnings. Also use macro version of SetItem since we know everything is setup.
/external/python/cpython2/Python/modsupport.c
|
3e90fa5940f7086f8617038524fe108bd58d627a |
|
07-Mar-2006 |
Neal Norwitz <nnorwitz@gmail.com> |
Try to cleanup the error handling a bit so there aren't false positives from static analysis. v was already checked for NULL above, so we don't need a second check.
/external/python/cpython2/Python/modsupport.c
|
0b300be8957557b64e7d4a630ca5197b9224ac76 |
|
01-Mar-2006 |
Martin v. Löwis <martin@v.loewis.de> |
Fix more memory leaks. Will backport to 2.4.
/external/python/cpython2/Python/modsupport.c
|
d96ee909934f3855135589e0e8d6ece1912c1f22 |
|
16-Feb-2006 |
Martin v. Löwis <martin@v.loewis.de> |
Use Py_ssize_t to count the
/external/python/cpython2/Python/modsupport.c
|
18e165558b24d29e7e0ca501842b9236589b012a |
|
15-Feb-2006 |
Martin v. Löwis <martin@v.loewis.de> |
Merge ssize_t branch.
/external/python/cpython2/Python/modsupport.c
|
35c3f4f249409a99295764d77fdc043920a26827 |
|
24-Dec-2005 |
Tim Peters <tim.peters@gmail.com> |
do_mkvalue(), 'I' and 'k' cases: squash legitimate compiler warnings about mixing signed and unsigned types in comparisons.
/external/python/cpython2/Python/modsupport.c
|
af68c874a6803b4e90b616077a602c0593719a1d |
|
10-Dec-2005 |
Jeremy Hylton <jeremy@alum.mit.edu> |
Add const to several API functions that take char *. In C++, it's an error to pass a string literal to a char* function without a const_cast(). Rather than require every C++ extension module to put a cast around string literals, fix the API to state the const-ness. I focused on parts of the API where people usually pass literals: PyArg_ParseTuple() and friends, Py_BuildValue(), PyMethodDef, the type slots, etc. Predictably, there were a large set of functions that needed to be fixed as a result of these changes. The most pervasive change was to make the keyword args list passed to PyArg_ParseTupleAndKewords() to be a const char *kwlist[]. One cast was required as a result of the changes: A type object mallocs the memory for its tp_doc slot and later frees it. PyTypeObject says that tp_doc is const char *; but if the type was created by type_new(), we know it is safe to cast to char *.
/external/python/cpython2/Python/modsupport.c
|
f06e30af4a0b556d2144b6fd473afeddbc21bb2f |
|
24-Nov-2005 |
Georg Brandl <georg@python.org> |
bug #1281408: make Py_BuildValue work with unsigned longs and long longs
/external/python/cpython2/Python/modsupport.c
|
7bcabc60a36eb5910bd162d54ece449f5249bbcd |
|
21-Nov-2005 |
Neal Norwitz <nnorwitz@gmail.com> |
Fix a few more memory leaks Document more info about the benefits of configuring without pymalloc when running valgrind
/external/python/cpython2/Python/modsupport.c
|
c849e63eb080274f0c9ade654a7f1ffc7ecc3cf3 |
|
14-Jul-2004 |
Michael W. Hudson <mwh@python.net> |
This is Pete Shinners' patch from his bug report [ 984722 ] Py_BuildValue loses reference counts on error I'm ever-so-slightly uneasy at the amount of work this can do with an exception pending, but I don't think that this can result in anything more serious than a strange error message.
/external/python/cpython2/Python/modsupport.c
|
fb2765666f23434061e5def1aa8392797edf1f43 |
|
19-Nov-2003 |
Jack Jansen <jack.jansen@cwi.nl> |
Getting rid of support for the ancient Apple MPW compiler.
/external/python/cpython2/Python/modsupport.c
|
f8d59d28e0867c82b647d94c0aecd9e1c3accd9e |
|
24-Oct-2003 |
Martin v. Löwis <martin@v.loewis.de> |
Patch #828384: Don't discard nested exception in AddObject.
/external/python/cpython2/Python/modsupport.c
|
c44dbc46fec84ad9cbd958badc1cd325b5d498f0 |
|
21-Jun-2003 |
Jeremy Hylton <jeremy@alum.mit.edu> |
Better error message
/external/python/cpython2/Python/modsupport.c
|
dbd6503e97264938c8fb4ce099c64da7a475e12e |
|
18-Apr-2003 |
Jack Jansen <jack.jansen@cwi.nl> |
dded missing k and K format specifiers to Py_BuildValue and friends.
/external/python/cpython2/Python/modsupport.c
|
b9a0f9121876cbc728cbef88f16bb32b92712d2d |
|
29-Mar-2003 |
Martin v. Löwis <martin@v.loewis.de> |
Rename LONG_LONG to PY_LONG_LONG. Fixes #710285.
/external/python/cpython2/Python/modsupport.c
|
4f0dcc9a9a4629607d4fff79912e8d0c86cd3914 |
|
31-Jan-2003 |
Jeremy Hylton <jeremy@alum.mit.edu> |
Provide __module__ attributes for functions defined in C and Python. __module__ is the string name of the module the function was defined in, just like __module__ of classes. In some cases, particularly for C functions, the __module__ may be None. Change PyCFunction_New() from a function to a macro, but keep an unused copy of the function around so that we don't change the binary API. Change pickle's save_global() to use whichmodule() if __module__ is None, but add the __module__ logic to whichmodule() since it might be used outside of pickle.
/external/python/cpython2/Python/modsupport.c
|
ceead6d9571673200848a3bc9e4e046832166e20 |
|
30-Jan-2003 |
Fred Drake <fdrake@acm.org> |
Style consistency, so "grep ^function ..." works as expected.
/external/python/cpython2/Python/modsupport.c
|
bbfd859521073e1e399f91b78016d621a78e60d1 |
|
15-Dec-2002 |
Just van Rossum <just@letterror.com> |
Fixed potential crash: v can be NULL here, so use Py_XDECREF rather than Py_DECREF
/external/python/cpython2/Python/modsupport.c
|
233cc5987b6659d0fcd033a420ad8b5390ffa772 |
|
14-Aug-2002 |
Fred Drake <fdrake@acm.org> |
Py_InitModule4(): Accept NULL for the 'methods' argument. This makes sense now that extension types can support __init__ directly rather than requiring function constructors.
/external/python/cpython2/Python/modsupport.c
|
75d2d94e0f049162c6ef353a89c5703eb78eaaf6 |
|
28-Jul-2002 |
Martin v. Löwis <martin@v.loewis.de> |
Patch #554716: Use __va_copy where available.
/external/python/cpython2/Python/modsupport.c
|
8311518a5868acef791d5d04853a6d047d20e8ac |
|
17-Jun-2002 |
Fred Drake <fdrake@acm.org> |
PyModule_AddObject(): Added missing exceptions. Closes SF bug #523473.
/external/python/cpython2/Python/modsupport.c
|
7bf9715a8b794cb743fdac97a9014102985a3dd3 |
|
28-Mar-2002 |
Fred Drake <fdrake@acm.org> |
Introduce two new flag bits that can be set in a PyMethodDef method descriptor, as used for the tp_methods slot of a type. These new flag bits are both optional, and mutually exclusive. Most methods will not use either. These flags are used to create special method types which exist in the same namespace as normal methods without having to use tedious construction code to insert the new special method objects in the type's tp_dict after PyType_Ready() has been called. If METH_CLASS is specified, the method will represent a class method like that returned by the classmethod() built-in. If METH_STATIC is specified, the method will represent a static method like that returned by the staticmethod() built-in. These flags may not be used in the PyMethodDef table for modules since these special method types are not meaningful in that case; a ValueError will be raised if these flags are found in that context.
/external/python/cpython2/Python/modsupport.c
|
339d0f720e86dc34837547c90d3003a4a68d7d46 |
|
17-Aug-2001 |
Martin v. Löwis <martin@v.loewis.de> |
Patch #445762: Support --disable-unicode - Do not compile unicodeobject, unicodectype, and unicodedata if Unicode is disabled - check for Py_USING_UNICODE in all places that use Unicode functions - disables unicode literals, and the builtin functions - add the types.StringTypes list - remove Unicode literals from most tests.
/external/python/cpython2/Python/modsupport.c
|
289898cdbb1d4526ce45e600ed2843a14d1feb0d |
|
04-Aug-2001 |
Fred Drake <fdrake@acm.org> |
Plug a memory leak in Py_InitModule4(): when PyDict_SetItemString() failed, the object being inserted was not being DECREFed. This closes SF bug #444486.
/external/python/cpython2/Python/modsupport.c
|
e5006ebc9d0618bc500afebfa1e21b6aae2a22e3 |
|
31-Jul-2001 |
Marc-André Lemburg <mal@egenix.com> |
This patch turns the Python API mismatch notice into a standard Python warning which can be catched by means of the Python warning framework. It also adds two new APIs which hopefully make it easier for Python to switch to buffer overflow safe [v]snprintf() APIs for error reporting et al. The two new APIs are PyOS_snprintf() and PyOS_vsnprintf() and work just like the standard ones in many C libs. On platforms which have snprintf(), the native APIs are used, on all other an emulation with snprintf() tries to do its best.
/external/python/cpython2/Python/modsupport.c
|
aec79247b145e6cd5b7a769fd85ab71748d8b247 |
|
12-Mar-2001 |
Fred Drake <fdrake@acm.org> |
Py_BuildValue(): Add "D" conversion to create a Python complex value from a Py_complex C value. Patch by Walter Dörwald. This partially closes SF patch #407148.
/external/python/cpython2/Python/modsupport.c
|
d5fadf75e4d18df61db41205ace0cda28d98eeaa |
|
26-Sep-2000 |
Fred Drake <fdrake@acm.org> |
Rationalize use of limits.h, moving the inclusion to Python.h. 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.
/external/python/cpython2/Python/modsupport.c
|
9e2851566c0dd1d27d29ead8988f4cc3ae295ca1 |
|
23-Sep-2000 |
Fred Drake <fdrake@acm.org> |
Andrew Kuchling <akuchlin@mems-exchange.org>: Add three new convenience functions to the PyModule_*() family: PyModule_AddObject(), PyModule_AddIntConstant(), PyModule_AddStringConstant(). This closes SourceForge patch #101233.
/external/python/cpython2/Python/modsupport.c
|
b763b9d9d572e3794fc78a93ffa7c904510c15f7 |
|
15-Sep-2000 |
Jack Jansen <jack.jansen@cwi.nl> |
Cast UCHAR_MAX to int before doing the comparison for overflow of the B format char.
/external/python/cpython2/Python/modsupport.c
|
8586991099e4ace18ee94163a96b8ea1bed77ebe |
|
02-Sep-2000 |
Guido van Rossum <guido@python.org> |
REMOVED all CWI, CNRI and BeOpen copyright markings. This should match the situation in the 1.6b1 tree.
/external/python/cpython2/Python/modsupport.c
|
413407f103b59568b7fc0ef6036805521cfddbff |
|
04-Aug-2000 |
Guido van Rossum <guido@python.org> |
Add a test that Py_IsInitialized() in Py_InitModule4(). See python-dev discussion. This should catch future version incompatibilities on Windows. Alas, this doesn't help for 1.5 vs. 1.6; but it will help for 1.6 vs. 2.0.
/external/python/cpython2/Python/modsupport.c
|
f70ef4f8606f99744252a804229d53a4d97601c1 |
|
22-Jul-2000 |
Thomas Wouters <thomas@python.org> |
Mass ANSIfication of function definitions. Doesn't cover all 'extern' declarations yet, those come later.
/external/python/cpython2/Python/modsupport.c
|
dbd9ba6a6c19c3d06f5684b3384a934f740038db |
|
09-Jul-2000 |
Tim Peters <tim.peters@gmail.com> |
Nuke all remaining occurrences of Py_PROTO and Py_FPROTO.
/external/python/cpython2/Python/modsupport.c
|
d50338fbd9928527f6d53ade8974619591982b2e |
|
06-Jul-2000 |
Jack Jansen <jack.jansen@cwi.nl> |
Added support for H (unsigned short) specifier in PyArg_ParseTuple and Py_BuildValue.
/external/python/cpython2/Python/modsupport.c
|
41aa8e523d1f81dc4b4d529dd01c59aef350eada |
|
03-Jul-2000 |
Jack Jansen <jack.jansen@cwi.nl> |
Include limits.h if we have it.
/external/python/cpython2/Python/modsupport.c
|
ffcc3813d82e6b96db79f518f4e67b940a13ce64 |
|
01-Jul-2000 |
Guido van Rossum <guido@python.org> |
Change copyright notice - 2nd try.
/external/python/cpython2/Python/modsupport.c
|
fd71b9e9d496caa510dec56a9b69966558d6ba5d |
|
01-Jul-2000 |
Guido van Rossum <guido@python.org> |
Change copyright notice.
/external/python/cpython2/Python/modsupport.c
|
582acece2e0db447904b3f8f8f1d2acf36834158 |
|
29-Jun-2000 |
Guido van Rossum <guido@python.org> |
Trent Mick's Win64 changes: size_t vs. int or long; also some overflow tests.
/external/python/cpython2/Python/modsupport.c
|
25d34473c3c2429f0bf5c27e147fe57c6a718e99 |
|
28-Apr-2000 |
Fred Drake <fdrake@acm.org> |
Brian Hooper <brian_takashi@hotmail.com>: Here's a patch which changes modsupport to add 'u' and 'u#', to support building Unicode objects from a null-terminated Py_UNICODE *, and a Py_UNICODE * with length, respectively. [Conversion from 'U' to 'u' by Fred, based on python-dev comments.] Note that the use of None for NULL values of the Py_UNICODE* value is still in; I'm not sure of the conclusion on that issue.
/external/python/cpython2/Python/modsupport.c
|
3dbba6ec3a065a573216bc79b5e4d655ee0cd899 |
|
25-Jan-1999 |
Guido van Rossum <guido@python.org> |
Change rare occurrences of #if HAVE_LONG_LONG to #ifdef.
/external/python/cpython2/Python/modsupport.c
|
c38e7d4c4b4d53da5692100d69cec639853b25f0 |
|
23-Dec-1998 |
Guido van Rossum <guido@python.org> |
Oops, forgot a pair of {}'s. (Greg Couch)
/external/python/cpython2/Python/modsupport.c
|
d341500d8f61633aefe90f3c8d4cc154360812ae |
|
23-Dec-1998 |
Guido van Rossum <guido@python.org> |
Add 'N' format character to Py_BuildValue -- like 'O' but doesn't INCREF. Patch and suggestion by Greg Couch.
/external/python/cpython2/Python/modsupport.c
|
3293b07df58a875afaf3fc82c1e499af59bc99e4 |
|
25-Aug-1998 |
Guido van Rossum <guido@python.org> |
Patch by Mark Hammond to support 64-bit ints on MS platforms. The MS compiler doesn't call it 'long long', it uses __int64, so a new #define, LONG_LONG, has been added and all occurrences of 'long long' are replaced with it.
/external/python/cpython2/Python/modsupport.c
|
c4099e6b3ceab5a33bff3d0b0ba432df2b3ebaec |
|
08-Aug-1998 |
Guido van Rossum <guido@python.org> |
# Fix strange type (methonname instead of methodname).
/external/python/cpython2/Python/modsupport.c
|
1a8791e0b875df8e9428c2d9969f64e5967ac0b4 |
|
05-Aug-1998 |
Guido van Rossum <guido@python.org> |
Changes for BeOS, QNX and long long, by Chris Herborth.
/external/python/cpython2/Python/modsupport.c
|
233f4b54d3f5b25249caa7c19e87dcb74cabf1e6 |
|
08-Jul-1998 |
Guido van Rossum <guido@python.org> |
Two error messages still used the old name of the functio mkvalue() -- which is now Py_BuildValue().
/external/python/cpython2/Python/modsupport.c
|
db847bd9ea6df19ca4a81558f4cc6d3622aecf24 |
|
20-Nov-1997 |
Guido van Rossum <guido@python.org> |
Plug memory leak in Py_BuildValue when using {...} to construct dictionaries.
/external/python/cpython2/Python/modsupport.c
|
2e58ff3ef56c3bf0a7080743ec77e95ca1758b97 |
|
19-Nov-1997 |
Guido van Rossum <guido@python.org> |
Fix importing of shared libraries from inside packages. This is a bit of a hack: when the shared library is loaded, the module name is "package.module", but the module calls Py_InitModule*() with just "module" for the name. The shared library loader squirrels away the true name of the module in _Py_PackageContext, and Py_InitModule*() will substitute this (if the name actually matches).
/external/python/cpython2/Python/modsupport.c
|
40b33c648a2d777636603356c12b644dd4c92876 |
|
02-Aug-1997 |
Guido van Rossum <guido@python.org> |
Removed fatal errors from Py_Initmodule4() (and thus from Py_Initmodule(), which is a macro wrapper around it). The return value is now a NULL pointer if the initialization failed. This may make old modules fail with a SEGFAULT, since they don't expect this kind of failure. That's OK, since (a) it "never" happens, and (b) they would fail with a fatal error otherwise, anyway. Tons of extension modules should now check the return value of Py_Initmodule*() -- that's on my TODO list.
/external/python/cpython2/Python/modsupport.c
|
79f25d9a7b853a9f491a0cfe4b81eeb9e2d19569 |
|
29-Apr-1997 |
Guido van Rossum <guido@python.org> |
Quickly renamed the remaining files -- this directory is done.
/external/python/cpython2/Python/modsupport.c
|
d266eb460e20ded087d01a29da0a230e235afc40 |
|
25-Oct-1996 |
Guido van Rossum <guido@python.org> |
New permission notice, includes CNRI.
/external/python/cpython2/Python/modsupport.c
|
996e6dc95919b19f628ac69e3e8a0483e18ef3fe |
|
23-Jan-1996 |
Sjoerd Mullender <sjoerd@acm.org> |
Corrected format string in api_version_warning.
/external/python/cpython2/Python/modsupport.c
|
59461c70523ccd283ed297a1c9ebbee01afd2740 |
|
09-Mar-1995 |
Guido van Rossum <guido@python.org> |
use PROTO macro around fn prototype
/external/python/cpython2/Python/modsupport.c
|
d1b9393ba5e6dc24d147235c3a78f54bf5ef4a52 |
|
20-Jan-1995 |
Guido van Rossum <guido@python.org> |
support "O&" taking an object constructor a void*
/external/python/cpython2/Python/modsupport.c
|
2ac3bc2c053f8996075ec02b2e6d12d9a171eed5 |
|
17-Jan-1995 |
Guido van Rossum <guido@python.org> |
rename method arg because of typedef conflict
/external/python/cpython2/Python/modsupport.c
|
970a0a20b881962a950946cbc43e1941827a1e87 |
|
09-Jan-1995 |
Guido van Rossum <guido@python.org> |
api version checking
/external/python/cpython2/Python/modsupport.c
|
50620fa9b8cbebb2ac085ea19fca3e14f48e7944 |
|
07-Jan-1995 |
Guido van Rossum <guido@python.org> |
New newmethodobject() interface takes struct methodlist pointer instead of individual components; initmodule3() now has doc string argument as well
/external/python/cpython2/Python/modsupport.c
|
6d023c98b06e8b4558f3558335433f371a89cc9b |
|
04-Jan-1995 |
Guido van Rossum <guido@python.org> |
Added 1995 to copyright message. bltinmodule.c: fixed coerce() nightmare in ternary pow(). modsupport.c (initmodule2): pass METH_FREENAME flag to newmethodobject(). pythonrun.c: move flushline() into and around print_error().
/external/python/cpython2/Python/modsupport.c
|
1ae940a5870df2f706fa884afd533847f6b0b1a8 |
|
02-Jan-1995 |
Guido van Rossum <guido@python.org> |
Lots of changes, most minor (fatal() instead of abort(), use of err_fetch/err_restore and so on). But... NOTE: import.c has been rewritten and all the DL stuff is now in the new file importdl.c.
/external/python/cpython2/Python/modsupport.c
|
fe3f1a256bc4f0c359ab843d5de517946916218f |
|
29-Sep-1994 |
Guido van Rossum <guido@python.org> |
* Python/{modsupport.c,getargs.c,Makefile.in}, Include/modsupport.h: moved getargs() to its own file and re-implemented it entirely to support optional arguments, multiple arguments without surrounding parentheses (when called as newgetargs()), and better error messages
/external/python/cpython2/Python/modsupport.c
|
1d5735e84621a7fe68d361fa0e289fa2c3310836 |
|
30-Aug-1994 |
Guido van Rossum <guido@python.org> |
Merge back to main trunk
/external/python/cpython2/Python/modsupport.c
|
f1dc56632881fe4e5beed047580bf927679f3669 |
|
05-Jul-1993 |
Guido van Rossum <guido@python.org> |
* Makefile: added all: and default: targets. * many files: made some functions static; removed "extern int errno;". * frozenmain.c: fixed bugs introduced on 24 June... * flmodule.c: remove 1.5 bw compat hacks, add new functions in 2.2a (and some old functions that were omitted). * timemodule.c: added MSDOS floatsleep version . * pgenmain.c: changed exit() to goaway() and added defn of goaway(). * intrcheck.c: add hack (to UNIX only) so interrupting 3 times will exit from a hanging program. The second interrupt prints a message explaining this to the user.
/external/python/cpython2/Python/modsupport.c
|
e537240c252ff678d49451ee6f80fa934653a724 |
|
16-Mar-1993 |
Guido van Rossum <guido@python.org> |
* Changed many files to use mkvalue() instead of newtupleobject(). * Fixcprt.py: added [-y file] option, do only files younger than file. * modsupport.[ch]: added vmkvalue(). * intobject.c: use mkvalue(). * stringobject.c: added "formatstring"; renamed string* to string_*; ceval.c: call formatstring for string % value. * longobject.c: close memory leak in divmod. * parsetok.c: set result node to NULL when returning an error.
/external/python/cpython2/Python/modsupport.c
|
bf80e5407ffa0fc983eb1da50ffa9330b9eada6e |
|
08-Feb-1993 |
Guido van Rossum <guido@python.org> |
* stdwinmodule.c: various new commands: setwin{pos,size}, listfontnames, bitmap ops. * listobject.c: use mkvalue() when possible; avoid weird error when calling append() without args. * modsupport.c: new feature in getargs(): if the format string contains a semicolor the string after that is used as the error message instead of "bad argument list (format %s)" when there's an error.
/external/python/cpython2/Python/modsupport.c
|
34679b7661873ec65e5157ddd1ea2be8269632d0 |
|
26-Jan-1993 |
Guido van Rossum <guido@python.org> |
* Added Fixcprt.py: script to fix copyright message. * various modules: added 1993 to copyright. * thread.c: added copyright notice. * ceval.c: minor change to error message for "+" * stdwinmodule.c: check for error from wfetchcolor * config.c: MS-DOS fixes (define PYTHONPATH, use DELIM, use osdefs.h) * Add declaration of inittab to import.h * sysmodule.c: added sys.builtin_module_names * xxmodule.c, xxobject.c: fix minor errors
/external/python/cpython2/Python/modsupport.c
|
a2b7f40513ba5d75a2063c3fabe47377cd8c0416 |
|
04-Jan-1993 |
Guido van Rossum <guido@python.org> |
* Configure.py: use #!/usr/local/bin/python * posixmodule.c: move extern function declarations to top * listobject.c: cmp() arguments must be void* if __STDC__ * Makefile, allobjects.h, panelmodule.c, modsupport.c: get rid of strdup() -- it is a portability risk * Makefile: enclosed ranlib command in parentheses for Sequent Make which aborts if the command is not found even if '-' is present * timemodule.c: time() returns a floating point number, in microsecond precision if BSD_TIME is defined.
/external/python/cpython2/Python/modsupport.c
|
a93265a66689729a293aac07d3984203142ff90f |
|
27-Aug-1992 |
Guido van Rossum <guido@python.org> |
suppress unnecessary error message if too many arguments are passed
/external/python/cpython2/Python/modsupport.c
|
96caaee8360762683629c4e6c440a2854f89983c |
|
14-Aug-1992 |
Guido van Rossum <guido@python.org> |
check for embedded \0 in strings for z and s formats
/external/python/cpython2/Python/modsupport.c
|
899dcf36a04a401381fbfdcc3e355010543dc3c3 |
|
15-May-1992 |
Guido van Rossum <guido@python.org> |
Added parameter decls to do_mkvalue for non-template machines
/external/python/cpython2/Python/modsupport.c
|
fc61adb5f1b562935557a79c9e024fa1eb6e8db1 |
|
13-Apr-1992 |
Guido van Rossum <guido@python.org> |
Merged with Steve Miale's version
/external/python/cpython2/Python/modsupport.c
|
3cfe6faffeaddd64355d16c358894a31b72e5450 |
|
13-Apr-1992 |
Guido van Rossum <guido@python.org> |
Added mkvalue() function
/external/python/cpython2/Python/modsupport.c
|
bab9d0385585fcddf6ee96a4ca38dd18e3517f54 |
|
05-Apr-1992 |
Guido van Rossum <guido@python.org> |
Copyright for 1992 added
/external/python/cpython2/Python/modsupport.c
|
292bb8ea33cc1b297a77c0705b33e34bb0f013e3 |
|
27-Mar-1992 |
Guido van Rossum <guido@python.org> |
Shut up lint
/external/python/cpython2/Python/modsupport.c
|
922cfad5a3b4720bc06b40b7856c3902f4b4c3e1 |
|
27-Jan-1992 |
Guido van Rossum <guido@python.org> |
New getargs() function: a single varargs function, guided by a format string, makes all get*arg() functions unnecessary.
/external/python/cpython2/Python/modsupport.c
|
c06022966f58b7130e0a8b7150d1955865c84dc8 |
|
16-Dec-1991 |
Guido van Rossum <guido@python.org> |
Add "varargs" attribute.
/external/python/cpython2/Python/modsupport.c
|
c5da35031084ef05a9f0d2fa402586a9ff531f06 |
|
10-Sep-1991 |
Guido van Rossum <guido@python.org> |
getlonglongargs --> getlonglongarg Added getlongobjectarg.
/external/python/cpython2/Python/modsupport.c
|
139e57b2a46cada3b7911bd59816b97bb4326552 |
|
27-Jul-1991 |
Guido van Rossum <guido@python.org> |
Support for long integers
/external/python/cpython2/Python/modsupport.c
|
ef0068ff9d0f9c9a8f90f66a253f2dee0de5d0e0 |
|
01-Jul-1991 |
Guido van Rossum <guido@python.org> |
Added getintintintarg() (3 int args)
/external/python/cpython2/Python/modsupport.c
|
7a904edcbf114924df0b15eb871d738834805bd5 |
|
03-Apr-1991 |
Guido van Rossum <guido@python.org> |
Moved get*doublearg() routines here from mathmodule.c
/external/python/cpython2/Python/modsupport.c
|
f70e43a073b36c6f6e9894c01025243a77a452d4 |
|
19-Feb-1991 |
Guido van Rossum <guido@python.org> |
Added copyright notice.
/external/python/cpython2/Python/modsupport.c
|
3f5da24ea304e674a9abbdcffc4d671e32aa70f1 |
|
20-Dec-1990 |
Guido van Rossum <guido@python.org> |
"Compiling" version
/external/python/cpython2/Python/modsupport.c
|
68c35d01d6cba688c32ee6f639c83867ab1d8aa4 |
|
14-Oct-1990 |
Guido van Rossum <guido@python.org> |
Move err_badarg() and err_nomme() to errors.c.
/external/python/cpython2/Python/modsupport.c
|
85a5fbbdfea617f6cc8fae82c9e8c2b5c424436d |
|
14-Oct-1990 |
Guido van Rossum <guido@python.org> |
Initial revision
/external/python/cpython2/Python/modsupport.c
|