282 Commits (bdb1cf1ca56db25b33fb15dd91eef2cc32cd8973)

Author SHA1 Message Date
Tim Peters e5e065b669 New function sys.getcheckinterval(), to complement setcheckinterval(). 23 years ago
Martin v. Löwis 5467d4c0e3 Patch #612627: Add encoding attribute to file objects, and determine 23 years ago
Martin v. Löwis c16f3bd8a3 Patch #708495: Port more stuff to OpenVMS. 23 years ago
Guido van Rossum a12fe4e81f - New function sys.call_tracing() allows pdb to debug code 23 years ago
Martin v. Löwis 73d538b9c6 Always initialize Py_FileSystemDefaultEncoding on Unix in Py_Initialize, 23 years ago
Guido van Rossum 46d3dc37e4 - New function sys.exc_clear() clears the current exception. This is 23 years ago
Guido van Rossum 162e38c6a3 - sys.path[0] (the directory from which the script is loaded) is now 23 years ago
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. 23 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. 24 years ago
Tim Peters faad5ad590 mysnprintf.c: Massive rewrite of PyOS_snprintf and PyOS_vsnprintf, to 24 years ago
Tim Peters 080d5b3f0b mywrite(): The test for trouble in PyOS_vsnprintf was wrong on both 24 years ago
Jeremy Hylton 5d3d134d56 Use PyOS_vsnprintf() and check its return value. 24 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 25 years ago
Greg Stein ceb9b7c700 stdout is sometimes a macro; use "outf" instead. 25 years ago
Moshe Zadka f68f2fec7d Implementation of PEP-0217. 25 years ago
Guido van Rossum 23fff911a2 Add definitions for PySys_ResetWarnOptions() and 25 years ago
Barry Warsaw b6a54d2a2c _getframe(): New sys module function for getting at the stack frame. 25 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