204 Commits (ddd40312d502257adbcad4e9bdcecd237900f95a)

Author SHA1 Message Date
Jeremy Hylton 985eba53f5 Small function call optimization and special build option for call stats. 23 years ago
Thomas Heller 27bb71e963 Patch #664376: sys.path[0] should contain absolute pathname. 24 years ago
Mark Hammond 8696ebcd28 Add os.path.supports_unicode_filenames for all platforms, 24 years ago
Skip Montanaro d581d7792b replace thread state objects' ticker and checkinterval fields with two 24 years ago
Skip Montanaro 8e790e7007 expose PYTHON_API_VERSION macro as sys.api_version. Closes patch # 601456. 24 years ago
Tim Peters 4be93d0e84 Rearranged and added comments to object.h, to clarify many things 24 years ago
Martin v. Löwis 6238d2b024 Patch #569753: Remove support for WIN16. 24 years ago
Jack Jansen e739a0dbe9 Got rid of an extraneous semicolon. 24 years ago
Fred Drake ba3ff1ba7b Fix the docstring for sys.getrefcount(). 24 years ago
Martin v. Löwis a3fb4f7816 Patch #505375: Make doc strings optional. 24 years ago
Neal Norwitz 0c766a0bb6 Change sys_exit to use METH_VARARGS. 24 years ago
Neil Schemenauer 0f2103fb16 Fix wording of sys.exit docstring. Close SF bug 534113. 24 years ago
Neal Norwitz 290d31e2fc SF #506611, fix sys.setprofile(), sys.settrace() core dumps 24 years ago
Neal Norwitz 2a47c0fa23 Fix spelling mistakes. Bugfix candidates. 24 years ago
Martin v. Löwis cdc4451222 Include <unistd.h> in Python.h. Fixes #500924. 25 years ago
Tim Peters faad5ad590 mysnprintf.c: Massive rewrite of PyOS_snprintf and PyOS_vsnprintf, to 25 years ago
Tim Peters 080d5b3f0b mywrite(): The test for trouble in PyOS_vsnprintf was wrong on both 25 years ago
Jeremy Hylton 5d3d134d56 Use PyOS_vsnprintf() and check its return value. 25 years ago
Martin v. Löwis 107b7daf5a Include sys_getdefaultencoding in #ifdef Py_USING_UNICODE. Fixes #479571. 25 years ago
Fred Drake a768882b00 Convert getrefcount() to METH_O, and sys_excepthook() to use 25 years ago
Fred Drake 8f51f54319 Rationalize the events passed to the profiler (no changes for the tracer). 25 years ago
Martin v. Löwis 339d0f720e Patch #445762: Support --disable-unicode 25 years ago
Martin v. Löwis e3eb1f2b23 Patch #427190: Implement and use METH_NOARGS and METH_O. 25 years ago
Moshe Zadka 03897ea1f7 Patch number #422106 by Greg Ball, to fix segmentation 25 years ago
Martin v. Löwis f0473d511b Patch #412229: Add functions sys.getdlopenflags and sys.setdlopenflags. 25 years ago
Fred Drake 5755ce693d Revise the interface to the profiling and tracing support for the 25 years ago
Martin v. Löwis ce9b5a55e1 Encode surrogates in UTF-8 even for a wide Py_UNICODE. 25 years ago
Fred Drake d083839fb4 Instead of initializing & interning the strings passed to the profile 25 years ago
Guido van Rossum bceccf5f43 Updated version of RISCOS support. SF patch 411213 by Dietmar Schwertberger 25 years ago
Ka-Ping Yee b5c5132d1a Add sys.excepthook. 25 years ago
Guido van Rossum 03df3b3bc1 Neil discovered a bad DECREF on warnoptions, that caused repeated 26 years ago
Greg Stein ceb9b7c700 stdout is sometimes a macro; use "outf" instead. 26 years ago
Moshe Zadka f68f2fec7d Implementation of PEP-0217. 26 years ago
Guido van Rossum 23fff911a2 Add definitions for PySys_ResetWarnOptions() and 26 years ago
Barry Warsaw b6a54d2a2c _getframe(): New sys module function for getting at the stack frame. 26 years ago
Guido van Rossum 8586991099 REMOVED all CWI, CNRI and BeOpen copyright markings. 26 years ago
Jeremy Hylton ee5adfbae6 add user-modifiable recursion_limit 26 years ago
Fred Drake 592f2d6c85 _PySys_Init(): When setting up sys.version_info, use #if/#elif.../#endif 26 years ago
Barry Warsaw f2581c97f2 _PySys_Init(): Fix another Insure discovered memory leak; the PyString 26 years ago
Fred Drake a2b6ad6e27 Guido pointed out that all names in the sys module have no underscore, 26 years ago
Fred Drake ccede59889 The attempt to protect against MS_WIN16 compilers that do not support long 26 years ago
Fred Drake 099325e01b Add a byte_order value to the sys module. The value is "big" for 26 years ago
Thomas Wouters 1e0c2f4bee Create a new section of pyport.h to hold all external function declarations 26 years ago
Thomas Wouters f70ef4f860 Mass ANSIfication of function definitions. Doesn't cover all 'extern' 26 years ago
Tim Peters dbd9ba6a6c Nuke all remaining occurrences of Py_PROTO and Py_FPROTO. 26 years ago
Guido van Rossum ffcc3813d8 Change copyright notice - 2nd try. 26 years ago
Guido van Rossum fd71b9e9d4 Change copyright notice. 26 years ago
Guido van Rossum 582acece2e Trent Mick's Win64 changes: size_t vs. int or long; also some overflow 26 years ago
Mark Hammond 440d898230 Added a new debug method sys.gettotalrefcount(), which returns the total number of references on all Python objects. This is only enabled when Py_TRACE_REFS is defined (which includes default debug builds under Windows). 26 years ago
Marc-André Lemburg 99964b86b2 Marc-Andre Lemburg <mal@lemburg.com>: 26 years ago