summaryrefslogtreecommitdiff
path: root/Python/sysmodule.c
AgeCommit message (Expand)AuthorLines
2008-01-27Added clear cache methods to clear the internal type lookup cache for ref lea...Christian Heimes-0/+13
2008-01-20#1648: add sys.gettrace() and sys.getprofile().Georg Brandl-0/+42
2008-01-15Typo fixesAndrew M. Kuchling-2/+2
2008-01-14Applied patch #1816: sys.flags patchChristian Heimes-3/+94
2008-01-07Patch #602345 by Neal Norwitz and me: add -B option and PYTHONDONTWRITEBYTECO...Georg Brandl-0/+3
2007-12-01Feature #1534Christian Heimes-0/+2
2007-11-27Expose Py_Py3kWarningFlag as sys.py3kwarning as discussed in #1504Christian Heimes-0/+2
2007-04-16SF #1701207, Fix bogus assertion (and test it!)Neal Norwitz-2/+2
2007-01-23SF patch #1630975: Fix crash when replacing sys.stdout in sitecustomizeThomas Wouters-3/+3
2006-10-28Add some asserts. In sysmodule, I think these were to try to silenceNeal Norwitz-0/+4
2006-10-04Forward-port of r52136,52138: a review of overflow-detecting code.Armin Rigo-1/+1
2006-07-21Handle allocation failures gracefully. Found with failmalloc.Neal Norwitz-39/+34
2006-07-10After approval from Anthony, merge the tim-current_framesTim Peters-0/+17
2006-06-06_PySys_Init(): It's rarely a good idea to size a buffer to theTim Peters-1/+1
2006-06-05Add 3 more bytes to a buffer to cover constants in string and null byte on to...Brett Cannon-1/+1
2006-05-29Make use of METH_O and METH_NOARGS where possible.Georg Brandl-2/+2
2006-04-18C++ compiler cleanup: extern "C" a couple declarations, cast int to size_tSkip Montanaro-1/+9
2006-04-12Ignore the references to the dummy objects used as deleted keysArmin Rigo-3/+2
2006-04-03Bug #1421664: Set sys.stderr.encodingMartin v. Löwis-0/+5
2006-03-09Try to be a bit more consistent on all platforms:Neal Norwitz-1/+4
2006-03-07Change int to Py_ssize_t in several places.Martin v. Löwis-1/+1
2006-03-04Use Py_ssize_t for _Py_RefTotal.Neal Norwitz-1/+1
2006-03-02Fix minor docstring typo.Brett Cannon-1/+1
2006-02-16Use Py_ssize_t to count theMartin v. Löwis-1/+2
2006-02-15Merge ssize_t branch.Martin v. Löwis-1/+1
2006-01-19Check return result from Py_InitModule*(). This API can fail.Neal Norwitz-0/+2
2006-01-06svnversion_init(): Use standard layout for function defn.Tim Peters-1/+2
2006-01-06Trimmed trailing whitespace.Tim Peters-20/+20
2006-01-05Drop sys.build_number. Add sys.subversion.Martin v. Löwis-2/+84
2005-12-18Expose Subversion revision number (calculated via "svnversion .") to Python.Barry Warsaw-0/+3
2005-10-20Merge ast-branch to headJeremy Hylton-1/+1
2005-10-03SF bug #887946, segfault if redirecting directoryNeal Norwitz-0/+9
2005-09-15patch [ 1119423 ] python -c readlink()s and stat()s '-c'Georg Brandl-3/+3
2005-01-27Partially revert #1074011; don't try to fflush stdin.Martin v. Löwis-1/+10
2005-01-23Flush std{in,out,err} before closing it. Fixes #1074011.Martin v. Löwis-3/+10
2004-08-12This is my patch:Michael W. Hudson-1/+1
2004-06-13Remove compiler warningNeal Norwitz-1/+1
2004-06-08Patch #510695: Add TSC profiling for the VM.Martin v. Löwis-0/+30
2004-03-24Changed random calls to PyThreadState_Get() to use the macroNicholas Bastin-8/+8
2004-03-24Enable the profiling of C functions (builtins and extensions)Nicholas Bastin-3/+4
2003-08-09Move initialization of sys.std{in,out}.encoding to Py_Initialize.Martin v. Löwis-18/+0
2003-07-06New function sys.getcheckinterval(), to complement setcheckinterval().Tim Peters-0/+12
2003-05-10Patch #612627: Add encoding attribute to file objects, and determineMartin v. Löwis-0/+43
2003-05-03Patch #708495: Port more stuff to OpenVMS.Martin v. Löwis-0/+19
2003-04-09- New function sys.call_tracing() allows pdb to debug codeGuido van Rossum-0/+19
2003-03-05Always initialize Py_FileSystemDefaultEncoding on Unix in Py_Initialize,Martin v. Löwis-0/+20
2003-03-01- New function sys.exc_clear() clears the current exception. This isGuido van Rossum-4/+37
2003-02-19- sys.path[0] (the directory from which the script is loaded) is nowGuido van Rossum-2/+10
2003-02-05Small function call optimization and special build option for call stats.Jeremy Hylton-2/+26
2003-01-08Patch #664376: sys.path[0] should contain absolute pathname.Thomas Heller-0/+12