summaryrefslogtreecommitdiff
path: root/Modules/config.c.in
Commit message (Collapse)AuthorAgeFilesLines
* Merged revisions 81602 via svnmerge fromMark Dickinson2010-05-291-18/+17
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81602 | mark.dickinson | 2010-05-29 22:00:52 +0100 (Sat, 29 May 2010) | 1 line Untabify Modules/config.c.in. ........
* tabifyBenjamin Peterson2008-09-181-2/+2
|
* Re-implement the 'warnings' module in C. This allows for usage of theBrett Cannon2008-04-121-0/+4
| | | | | | | | | 'warnings' code in places where it was previously not possible (e.g., the parser). It could also potentially lead to a speed-up in interpreter start-up if the C version of the code (_warnings) is imported over the use of the Python version in key places. Closes issue #1631171.
* Issue 2408: remove the _types moduleAmaury Forgeot d'Arc2008-04-081-4/+0
| | | | | | | | | It was only used as a helper in types.py to access types (GetSetDescriptorType and MemberDescriptorType), when they can easily be obtained with python code. These expressions even work with Jython. I don't know what the future of the types module is; (cf. discussion in http://bugs.python.org/issue1605 ) at least this change makes it simpler.
* Fix misleading comment reported in issue #1917.Guido van Rossum2008-01-231-1/+1
|
* Patch #1520294: Support for getset and member descriptors in types.py,Barry Warsaw2006-07-271-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | inspect.py, and pydoc.py. Specifically, this allows for querying the type of an object against these built-in C types and more importantly, for getting their docstrings printed in the interactive interpreter's help() function. This patch includes a new built-in module called _types which provides definitions of getset and member descriptors for use by the types.py module. These types are exposed as types.GetSetDescriptorType and types.MemberDescriptorType. Query functions are provided as inspect.isgetsetdescriptor() and inspect.ismemberdescriptor(). The implementations of these are robust enough to work with Python implementations other than CPython, which may not have these fundamental types. The patch also includes documentation and test suite updates. I commit these changes now under these guiding principles: 1. Silence is assent. The release manager has not said "no", and of the few people that cared enough to respond to the thread, the worst vote was "0". 2. It's easier to ask for forgiveness than permission. 3. It's so dang easy to revert stuff in svn, that you could view this as a forcing function. :) Windows build patches will follow.
* whoops. missed one in an auto-generated file. another extern "C" {} for C++ ↵Anthony Baxter2006-04-131-0/+10
| | | | compiler compatibility
* Create _ast module.Martin v. Löwis2006-02-271-0/+4
| | | | Cleanup Python-ast.c generation.
* Removed WITH_CYCLE_GC #ifdef-ery. Holes:Tim Peters2002-07-071-2/+0
| | | | | | + I'm not sure what to do about configure.in. Left it alone. + Ditto pyexpat.c. Fred or Martin will know what to do.
* gcmodule is now enabled hereNeil Schemenauer2001-08-301-0/+6
|
* Merge of descr-branch back into trunk.Tim Peters2001-08-021-1/+1
|
* _PyImport_Inittab: define the exceptions module's init function.Barry Warsaw2001-01-231-1/+1
| | | | Fixes bug #121706.
* Clarify two commentsAndrew M. Kuchling2000-11-301-2/+2
|
* Fix prototypes generated by makesetup, so they include '(void)' rather thanThomas Wouters2000-07-231-2/+2
| | | | empty argumentlists.
* Add "exceptions" to list of built-in modules for the sake ofGuido van Rossum2000-07-121-0/+1
| | | | sys.builtin_module_names. (Noticed by Toby Dickenson.)
* Change copyright notice - 2nd try.Guido van Rossum2000-06-301-6/+0
|
* Change copyright notice.Guido van Rossum2000-06-301-22/+7
|
* Renamed inittab.Guido van Rossum1997-04-291-1/+1
|
* New permission notice, includes CNRI.Guido van Rossum1996-10-251-10/+17
|
* Use struct _inittab def from import.hGuido van Rossum1996-05-231-4/+1
|
* split config.c in 1000 parts; new main; new unfinished objective-C moduleGuido van Rossum1995-08-041-224/+7
|
* added getpalatform()Guido van Rossum1995-07-071-1/+11
|
* move decl of realmain() out of #ifdefGuido van Rossum1995-03-301-1/+2
|
* 1995 copyrightGuido van Rossum1995-03-141-1/+1
|
* remove bogus ## in front of gcc __VERSION__Guido van Rossum1995-02-171-1/+1
|
* tack compiler name/version to version string if knownGuido van Rossum1995-02-131-3/+31
|
* changes for C++ (Tim MacKenzie)Guido van Rossum1995-01-101-0/+21
|
* Added 1995 to copyright message.Guido van Rossum1995-01-041-6/+6
| | | | | Setup.in: clarified Tk comments somewhat. structmodule.c: use memcpy() instead of double precision assignment.
* Another bulky set of minor changes.Guido van Rossum1995-01-021-0/+4
| | | | | Note addition of gethostbyaddr() and improved repr() for sockets, renaming of md5.md5() to md5.new(), and fixing of leaks in threads.
* Fix getpythonpath() fix; never #include frozen.c.Guido van Rossum1994-10-051-4/+3
|
* Save static pointer to malloc'ed bufferGuido van Rossum1994-10-051-8/+8
|
* Makefile.pre.in: add $(OPT) to link commandGuido van Rossum1994-08-291-0/+17
| | | | | | | audioop.c: fix for MPW config.c.in: save original argc/argv for Lance rotormodule.c: new coding conventions timemodule.c: add casts for Lance
* * Modules/config.c.in: change mac specific thingsGuido van Rossum1994-08-231-4/+6
|
* Move all code from version.c into config.cGuido van Rossum1994-08-191-0/+34
|
* Merge alpha100 branch back to main trunkGuido van Rossum1994-08-011-400/+54
|
* rgbimgmodule.c, Makefile, config.c: new module to read RGB image files.Sjoerd Mullender1993-12-211-0/+7
| | | | | | Does not need any SGI-specific libraries. cgen.py, cstubs, Makefile: Generate glmodule.c differently so that it can be compiled using an ANSI compiler.
* * parsermodule.c, Makefile, config.c: rudimentary interface to the PythonGuido van Rossum1993-11-101-0/+7
| | | | | | parser. * mappingobject.c (lookmapping): 'freeslot' was never used due to a bug in the code.
* * nismodule.c: database keys and values can contain null bytes. be moreGuido van Rossum1993-11-031-2/+2
| | | | | | | | | | careful about these. * arraymodule.c: added 8 byte swap; added 'i' format character; added reverse() method; rename read/write to fromfile/tofile. * config.c: Set version to 0.9.9++. * rotormodule.c (r_rand): declare k1..k5 as unsigned longs so the shifts will have a well-defined effect independent of word size. * bltinmodule.c: renamed bagof() to filter().
* * stdwinmodule.c (stdwin_done): interface to shutdown stdwin (now this isGuido van Rossum1993-10-181-17/+0
| | | | | | | | | no longer done by config.c). * stdwinmodule.c (initstdwin), config.c (initall): get command line arguments from sys.argv instead of special-casing stdwin in config.c * import.c (get_module): fix core dump when foomodule.o does not define initfoo(). * ChangeLog: documented changes by Sjoerd.
* * Extended X interface: pixmap objects, colormap objects visual objects,Sjoerd Mullender1993-10-111-0/+7
| | | | | | | | image objects, and lots of new methods. * Added counting of allocations and deallocations of builtin types if COUNT_ALLOCS is defined. Had to move calls to NEWREF down in some files. * Bug fix in sorting lists.
* Final touch before release.Guido van Rossum1993-07-291-3/+3
|
* * Added support for X11 modules.Guido van Rossum1993-07-281-0/+35
| | | | | | | * Makefile: change location of FORMS library. * posixmodule.c: turn #if 0 into #ifdef MSDOS (stuff in unistd.h or not) * Almost all .h files: added CPP magic to avoid duplicate inclusions and to support inclusion from C++.
* * config.c: different default PYTHONPATH for MS-DOSGuido van Rossum1993-07-091-1/+1
| | | | | | | * timemodule.c: change #ifdef TURBO_C into #ifdef MSDOS * posixmodule.c: MSDOS changes by Marcel van der Peijl (Digicash) * stropmodule.c: use C isspace(c) to test for whitespace; add whitespace, lowercase and uppercase variables to the module.
* Support for frozen scripts; added -i option.Guido van Rossum1993-04-011-1/+19
|
* * Changed all copyright messages to include 1993.Guido van Rossum1993-03-291-2/+2
| | | | | | | | | | | | | | | | | * Stubs for faster implementation of local variables (not yet finished) * Added function name to code object. Print it for code and function objects. THIS MAKES THE .PYC FILE FORMAT INCOMPATIBLE (the version number has changed accordingly) * Print address of self for built-in methods * New internal functions getattro and setattro (getattr/setattr with string object arg) * Replaced "dictobject" with more powerful "mappingobject" * New per-type functio tp_hash to implement arbitrary object hashing, and hashobject() to interface to it * Added built-in functions hash(v) and hasattr(v, 'name') * classobject: made some functions static that accidentally weren't; added __hash__ special instance method to implement hash() * Added proper comparison for built-in methods and functions
* Added new module "array" (for now optional) defining array objects.Guido van Rossum1993-02-191-0/+7
|
* * Added Fixcprt.py: script to fix copyright message.Guido van Rossum1993-01-261-6/+28
| | | | | | | | | | | * 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
* Added separate main program for the Mac: macmain.cGuido van Rossum1993-01-211-20/+56
| | | | | | | | | | | | | | | | | | | | | stdwinmodule.c: wsetfont can now return an error Makefile: add CL_USE and CL_LIB*S; config.c: move CL part around New things in imgfile; also in Makefile. longobject.c: fix comparison of negative long ints... [REAL BUG!] marshal.c: add dumps() and loads() to read/write strings timemodule.c: make sure there's always a floatsleep() posixmodule.c: rationalize struct returned by times() Makefile: add test target, disable imgfile by default thread.c: Improved coexistance with dl module (sjoerd) stdwinmodule.c: Change include stdwin.h if macintosh rotormodule.c: added missing last argument to RTR_?_region calls confic.c: merged with configmac.c, added 1993 to copyright message fileobject.c: int compared to NULL in writestring(); change fopenRF ifdef timemodule.c: simplify times() using mkvalue; include myselect.h earlier (for sequent). posixmodule: for sequent, include unistd.h instead of explicit extern definitions and don't define rename() Makefile: change misleading/wrong MD5 comments
* Checking in last-minute changes that are already part of release 0.9.8Guido van Rossum1993-01-101-3/+3
|
* * Configure.py: use #!/usr/local/bin/pythonGuido van Rossum1993-01-041-1/+1
| | | | | | | | | | | * 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.