summaryrefslogtreecommitdiff
path: root/Python/sysmodule.c
AgeCommit message (Expand)AuthorLines
2008-04-13Fix a bug in PySys_HasWarnOption() where it was not properly checking theBrett Cannon-1/+1
2008-04-12Re-implement the 'warnings' module in C. This allows for usage of theBrett Cannon-0/+8
2008-03-25Make Py3k warnings consistent w.r.t. punctuation; also respect theGeorg Brandl-2/+2
2008-03-24Added quick hack for bzrChristian Heimes-2/+2
2008-03-24Added quick hack for bzrChristian Heimes-1/+8
2008-03-21#2358: add py3k warning to sys.exc_clear().Georg Brandl-1/+9
2008-02-04Patch #1953Christian Heimes-13/+34
2008-01-30The previous change was causing a segfault after multiple calls to Py_Initial...Christian Heimes-3/+3
2008-01-30Fixed some references leaks in sys.Christian Heimes-21/+17
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