214 Commits (a6bdfd1fa93ef07f4217fe4048c7a03d405f577e)

Author SHA1 Message Date
Christian Heimes 908caac52e Added clear cache methods to clear the internal type lookup cache for ref leak test runs. 18 years ago
Georg Brandl 56112895d6 #1648: add sys.gettrace() and sys.getprofile(). 18 years ago
Andrew M. Kuchling 7ce9b18460 Typo fixes 18 years ago
Christian Heimes f31b69f9db Applied patch #1816: sys.flags patch 18 years ago
Georg Brandl 2da0fceba7 Patch #602345 by Neal Norwitz and me: add -B option and PYTHONDONTWRITEBYTECODE envvar to skip writing bytecode. 18 years ago
Christian Heimes dfdfaab1c5 Feature #1534 19 years ago
Christian Heimes 28104c58d2 Expose Py_Py3kWarningFlag as sys.py3kwarning as discussed in #1504 19 years ago
Neal Norwitz 68cdf8a6da SF #1701207, Fix bogus assertion (and test it!) 19 years ago
Neal Norwitz 16b7b53ad0 SF #1701207: svnversion_init assertion failed 19 years ago
Thomas Wouters e471317a08 Backport trunk revision 53527: 19 years ago
Thomas Wouters afea529088 SF patch #1630975: Fix crash when replacing sys.stdout in sitecustomize 19 years ago
Neal Norwitz b5fdf0da21 Backport 52501: 20 years ago
Neal Norwitz 837ce9389e Add some asserts. In sysmodule, I think these were to try to silence 20 years ago
Armin Rigo 7ccbca93a2 Forward-port of r52136,52138: a review of overflow-detecting code. 20 years ago
Armin Rigo 4b63c21d6f Forward-port of r52136: a review of overflow-detecting code. 20 years ago
Neal Norwitz e1fdb32ff2 Handle allocation failures gracefully. Found with failmalloc. 20 years ago
Tim Peters 32a8361f2d After approval from Anthony, merge the tim-current_frames 20 years ago
Tim Peters 02f1d0dc78 _PySys_Init(): It's rarely a good idea to size a buffer to the 20 years ago
Brett Cannon 4f7a7220c1 Add 3 more bytes to a buffer to cover constants in string and null byte on top of 10 possible digits for an int. 20 years ago
Georg Brandl 96a8c3954c Make use of METH_O and METH_NOARGS where possible. 20 years ago
Skip Montanaro 53a6d1de83 C++ compiler cleanup: extern "C" a couple declarations, cast int to size_t 20 years ago
Armin Rigo e170937af6 Ignore the references to the dummy objects used as deleted keys 20 years ago
Martin v. Löwis ea62d2535f Bug #1421664: Set sys.stderr.encoding 20 years ago
Neal Norwitz 72c2c062d7 Try to be a bit more consistent on all platforms: 20 years ago
Martin v. Löwis 725507b52e Change int to Py_ssize_t in several places. 20 years ago
Neal Norwitz 4281cef205 Use Py_ssize_t for _Py_RefTotal. 20 years ago
Brett Cannon 5118517c16 Fix minor docstring typo. 20 years ago
Martin v. Löwis d96ee90993 Use Py_ssize_t to count the 20 years ago
Martin v. Löwis 18e165558b Merge ssize_t branch. 20 years ago
Neal Norwitz 1ac754fa10 Check return result from Py_InitModule*(). This API can fail. 20 years ago
Tim Peters e86e7a5b62 svnversion_init(): Use standard layout for function defn. 20 years ago
Tim Peters 216b78bdaa Trimmed trailing whitespace. 20 years ago
Martin v. Löwis 43b57805fb Drop sys.build_number. Add sys.subversion. 20 years ago
Barry Warsaw 2a38a86c1c Expose Subversion revision number (calculated via "svnversion .") to Python. 21 years ago
Jeremy Hylton 3e0055f8c6 Merge ast-branch to head 21 years ago
Neal Norwitz 11bd119226 SF bug #887946, segfault if redirecting directory 21 years ago
Georg Brandl 6953772d90 patch [ 1119423 ] python -c readlink()s and stat()s '-c' 21 years ago
Martin v. Löwis 13a1fde4da Partially revert #1074011; don't try to fflush stdin. 21 years ago
Martin v. Löwis 8e3ca8af26 Flush std{in,out,err} before closing it. Fixes #1074011. 21 years ago
Michael W. Hudson 800ba2375a This is my patch: 22 years ago
Neal Norwitz 0f5aed4e41 Remove compiler warning 22 years ago
Martin v. Löwis f30d60edbc Patch #510695: Add TSC profiling for the VM. 22 years ago
Nicholas Bastin e5662aedef Changed random calls to PyThreadState_Get() to use the macro 22 years ago
Nicholas Bastin c69ebe8d50 Enable the profiling of C functions (builtins and extensions) 22 years ago
Martin v. Löwis a2c17c5820 Move initialization of sys.std{in,out}.encoding to Py_Initialize. 23 years ago
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