History log of /external/python/cpython3/Include/sysmodule.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
9fab79bcb5b83dc0247ce4cd60486341c73e7fd5 11-Sep-2016 Serhiy Storchaka <storchaka@gmail.com> Issue #26900: Excluded underscored names and other private API from limited API.
/external/python/cpython3/Include/sysmodule.h
030e92d1a51c2caef0c23a74e65f0aaff002158f 15-Nov-2014 Serhiy Storchaka <storchaka@gmail.com> Issue #22193: Fixed integer overflow error in sys.getsizeof().
Fixed an error in _PySys_GetSizeOf declaration.
/external/python/cpython3/Include/sysmodule.h
547d3bc3a6aea38668a385afd6bbb1e32f25ac65 14-Aug-2014 Serhiy Storchaka <storchaka@gmail.com> Issue #22193: Added private function _PySys_GetSizeOf() needed to implement
some __sizeof__() methods.
/external/python/cpython3/Include/sysmodule.h
1c0689c613b61c8944456e78c5b592e3aaa40aba 03-Jan-2014 Martin v. Löwis <martin@v.loewis.de> Issue #19526: Exclude all new API from the stable ABI.
/external/python/cpython3/Include/sysmodule.h
d67bd45537856a097d807e2b781fcaf60c68b89f 06-Nov-2013 Victor Stinner <victor.stinner@gmail.com> Issue #19512: Add _PySys_GetObjectId() and _PySys_SetObjectId() functions
/external/python/cpython3/Include/sysmodule.h
04d86c7c87e1f983e8cb01297f3ad71e79738710 01-Feb-2013 Serhiy Storchaka <storchaka@gmail.com> Issue #1783: Remove declarations of nonexistent private variables.
/external/python/cpython3/Include/sysmodule.h
4d0d471a8031de90a2b1ce99c4ac4780e60b3bc9 03-Dec-2010 Martin v. Löwis <martin@v.loewis.de> Merge branches/pep-0384.
/external/python/cpython3/Include/sysmodule.h
9583cac6337f9a5f2670fbe5e1f2e85aaad04522 21-Oct-2010 Antoine Pitrou <solipsis@pitrou.net> Issue #10089: Add support for arbitrary -X options on the command-line.
They can be retrieved through a new attribute `sys._xoptions`.
/external/python/cpython3/Include/sysmodule.h
79766636b6fbc7e01af160008df9cd31112716d6 16-Aug-2010 Victor Stinner <victor.stinner@haypocalc.com> Issue #9599: Create PySys_FormatStdout() and PySys_FormatStderr()

Write a message formatted by PyUnicode_FromFormatV() to sys.stdout and
sys.stderr.
/external/python/cpython3/Include/sysmodule.h
f978facc0e81bed85c990612401a63954542aebc 21-May-2010 Antoine Pitrou <solipsis@pitrou.net> Merged revisions 81398 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
r81398 | antoine.pitrou | 2010-05-21 19:12:38 +0200 (ven., 21 mai 2010) | 6 lines

Issue #5753: A new C API function, :cfunc:`PySys_SetArgvEx`, allows
embedders of the interpreter to set sys.argv without also modifying
sys.path. This helps fix `CVE-2008-5983
<http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-5983>`_.
........
/external/python/cpython3/Include/sysmodule.h
9ca9c25bcd9d4b771be6fee34a105546d1c8d666 19-May-2010 Victor Stinner <victor.stinner@haypocalc.com> Issue #8589: Decode PYTHONWARNINGS environment variable with the file system
encoding and surrogateespace error handler instead of the locale encoding to be
consistent with os.environ. Add PySys_AddWarnOptionUnicode() function.
/external/python/cpython3/Include/sysmodule.h
074e5ed974be65fbcfe75a4c0529dbc53f13446f 10-Nov-2009 Antoine Pitrou <solipsis@pitrou.net> Merge in the new GIL.
/external/python/cpython3/Include/sysmodule.h
33fe8093df5c13e41d7dba764279c71c142a4a7d 13-Apr-2008 Christian Heimes <christian@cheimes.de> Merged revisions 62260-62261,62266,62271,62277-62279,62289-62290,62293-62298,62302-62306,62308,62311,62313-62315,62319-62321 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
r62260 | gregory.p.smith | 2008-04-10 01:11:56 +0200 (Thu, 10 Apr 2008) | 2 lines

better diagnostics
........
r62261 | gregory.p.smith | 2008-04-10 01:16:37 +0200 (Thu, 10 Apr 2008) | 3 lines

Raise SystemError when size < 0 is passed into PyString_FromStringAndSize,
PyBytes_FromStringAndSize or PyUnicode_FromStringAndSize. [issue2587]
........
r62266 | neal.norwitz | 2008-04-10 07:46:39 +0200 (Thu, 10 Apr 2008) | 5 lines

Remove the test file before writing it in case there is no write permission.
This might help fix some of the failures on Windows box(es). It doesn't hurt
either way and ensure the tests are a little more self contained (ie have
less assumptions).
........
r62271 | gregory.p.smith | 2008-04-10 21:50:36 +0200 (Thu, 10 Apr 2008) | 2 lines

get rid of assert (size >= 0) now that an explicit if (size < 0) is in the code.
........
r62277 | andrew.kuchling | 2008-04-10 23:27:10 +0200 (Thu, 10 Apr 2008) | 1 line

Remove forward-looking statement
........
r62278 | andrew.kuchling | 2008-04-10 23:28:51 +0200 (Thu, 10 Apr 2008) | 1 line

Add punctuation
........
r62279 | andrew.kuchling | 2008-04-10 23:29:01 +0200 (Thu, 10 Apr 2008) | 1 line

Use issue directive
........
r62289 | thomas.heller | 2008-04-11 15:05:38 +0200 (Fri, 11 Apr 2008) | 3 lines

Move backwards compatibility macro to the correct place;
PyIndex_Check() was introduced in Python 2.5.
........
r62290 | thomas.heller | 2008-04-11 16:20:26 +0200 (Fri, 11 Apr 2008) | 2 lines

Performance improvements.
........
r62293 | christian.heimes | 2008-04-12 15:03:03 +0200 (Sat, 12 Apr 2008) | 2 lines

Applied patch #2617 from Frank Wierzbicki wit some extras from me
-J and -X are now reserved for Jython and non-standard arguments (e.g. IronPython). I've added some extra comments to make sure the reservation don't get missed in the future.
........
r62294 | georg.brandl | 2008-04-12 20:11:18 +0200 (Sat, 12 Apr 2008) | 2 lines

Use absolute path in sys.path.
........
r62295 | georg.brandl | 2008-04-12 20:36:09 +0200 (Sat, 12 Apr 2008) | 2 lines

#2615: small consistency update by Jeroen Ruigrok van der Werven.
........
r62296 | georg.brandl | 2008-04-12 21:00:20 +0200 (Sat, 12 Apr 2008) | 2 lines

Add Jeroen.
........
r62297 | georg.brandl | 2008-04-12 21:05:37 +0200 (Sat, 12 Apr 2008) | 2 lines

Don't offend snake lovers.
........
r62298 | gregory.p.smith | 2008-04-12 22:37:48 +0200 (Sat, 12 Apr 2008) | 2 lines

fix compiler warnings
........
r62302 | gregory.p.smith | 2008-04-13 00:24:04 +0200 (Sun, 13 Apr 2008) | 3 lines

socket.error inherits from IOError, it no longer needs listing in
the all_errors tuple.
........
r62303 | brett.cannon | 2008-04-13 01:44:07 +0200 (Sun, 13 Apr 2008) | 8 lines

Re-implement the 'warnings' module in C. This allows for usage of the
'warnings' code in places where it was previously not possible (e.g., the
parser). It could also potentially lead to a speed-up in interpreter start-up
if the C version of the code (_warnings) is imported over the use of the
Python version in key places.

Closes issue #1631171.
........
r62304 | gregory.p.smith | 2008-04-13 02:03:25 +0200 (Sun, 13 Apr 2008) | 3 lines

Adds a profile-opt target for easy compilation of a python binary using
gcc's profile guided optimization.
........
r62305 | brett.cannon | 2008-04-13 02:18:44 +0200 (Sun, 13 Apr 2008) | 3 lines

Fix a bug in PySys_HasWarnOption() where it was not properly checking the
length of the list storing the warning options.
........
r62306 | brett.cannon | 2008-04-13 02:25:15 +0200 (Sun, 13 Apr 2008) | 2 lines

Fix an accidental bug of an non-existent init function.
........
r62308 | andrew.kuchling | 2008-04-13 03:05:59 +0200 (Sun, 13 Apr 2008) | 1 line

Mention -J, -X
........
r62311 | benjamin.peterson | 2008-04-13 04:20:05 +0200 (Sun, 13 Apr 2008) | 2 lines

Give the "Interactive Interpreter Changes" section in 2.6 whatsnew a unique link name
........
r62313 | brett.cannon | 2008-04-13 04:42:36 +0200 (Sun, 13 Apr 2008) | 3 lines

Fix test_warnings by making the state of things more consistent for each test
when it is run.
........
r62314 | skip.montanaro | 2008-04-13 05:17:30 +0200 (Sun, 13 Apr 2008) | 2 lines

spelling
........
r62315 | georg.brandl | 2008-04-13 09:07:44 +0200 (Sun, 13 Apr 2008) | 2 lines

Fix markup.
........
r62319 | christian.heimes | 2008-04-13 11:30:17 +0200 (Sun, 13 Apr 2008) | 1 line

Fix compiler warning Include/warnings.h:19:28: warning: no newline at end of file
........
r62320 | christian.heimes | 2008-04-13 11:33:24 +0200 (Sun, 13 Apr 2008) | 1 line

Use PyString_InternFromString instead of PyString_FromString for static vars
........
r62321 | christian.heimes | 2008-04-13 11:37:05 +0200 (Sun, 13 Apr 2008) | 1 line

Added new files to the pcbuild files
........
/external/python/cpython3/Include/sysmodule.h
790465fd90e8a72590386465f518db9e67ab843f 05-Apr-2008 Martin v. Löwis <martin@v.loewis.de> Change command line processing API to use wchar_t.
Fixes #2128.
/external/python/cpython3/Include/sysmodule.h
f308132cc29eea9b7fe899deb575d29d607a48f4 25-Aug-2007 Neal Norwitz <nnorwitz@gmail.com> Add const to input string parameters
/external/python/cpython3/Include/sysmodule.h
da5b8f2d28f2f7ce47be5d88244eaefc66f7de3e 13-Jun-2007 Guido van Rossum <guido@python.org> Rip out the file object's implementation.
Fixed test_import.py while I was at it.

However, there's still a problem in import.c -- get_file() can leak a
FILE struct (not a file descriptor though). I'm not sure how to fix
this; closing the FILE* closes the file descriptor, and that's the
wrong thing to do when there's still a Python file object keeping the
file descriptor open. I also would rather not mess with dup(), as it
won't port to Windows.
/external/python/cpython3/Include/sysmodule.h
96aa0acef021f77d6e5b861201ccd952aa6f6469 15-Sep-2002 Neil Schemenauer <nascheme@enme.ucalgary.ca> Use Py_GCC_ATTRIBUTE instead of __attribute__. Compilers other than GCC
might use __attribute__ in other ways (e.g. CodeWarrior).
/external/python/cpython3/Include/sysmodule.h
91a681debf9ffec155d0aff8a0bb5f965f592e16 12-Aug-2002 Mark Hammond <mhammond@skippinet.com.au> Excise DL_EXPORT from Include.

Thanks to Skip Montanaro and Kalle Svensson for the patches.
/external/python/cpython3/Include/sysmodule.h
90b689076a6dcb55dcac6c5efbc9e4aa793e6c72 23-Oct-2001 Neil Schemenauer <nascheme@enme.ucalgary.ca> Add function attributes that allow GCC to check the arguments of printf-like
functions.
/external/python/cpython3/Include/sysmodule.h
429b41e5ae0f4a20b55328f87daf1f2817f6a068 15-Dec-2000 Guido van Rossum <guido@python.org> Add declarations for PySys_ResetWarnOptions() and
PySys_AddWarnOption().
/external/python/cpython3/Include/sysmodule.h
8586991099e4ace18ee94163a96b8ea1bed77ebe 02-Sep-2000 Guido van Rossum <guido@python.org> REMOVED all CWI, CNRI and BeOpen copyright markings.
This should match the situation in the 1.6b1 tree.
/external/python/cpython3/Include/sysmodule.h
5f37591a164672ec25c389e646a763d40403cd79 23-Jul-2000 Thomas Wouters <thomas@python.org> ANSIfications: fix empty arglists, and remove the checks for
'HAVE_STDARG_PROTOTYPES' (consider it true, remove false branch)
/external/python/cpython3/Include/sysmodule.h
3cf4d2b3ea93eee40d34b1ae4845497d0cd3fcec 09-Jul-2000 Fred Drake <fdrake@acm.org> ANSI-fication and Py_PROTO extermination.
/external/python/cpython3/Include/sysmodule.h
ffcc3813d82e6b96db79f518f4e67b940a13ce64 01-Jul-2000 Guido van Rossum <guido@python.org> Change copyright notice - 2nd try.
/external/python/cpython3/Include/sysmodule.h
fd71b9e9d496caa510dec56a9b69966558d6ba5d 01-Jul-2000 Guido van Rossum <guido@python.org> Change copyright notice.
/external/python/cpython3/Include/sysmodule.h
43466ec7b07de6bcad016bec60839cd6079c5a9c 04-Dec-1998 Guido van Rossum <guido@python.org> Add DL_IMPORT(returntype) for all officially exported functions.
/external/python/cpython3/Include/sysmodule.h
bf6a9b165a07f0ab4604458b3977bd9b05f3ad94 12-May-1998 Guido van Rossum <guido@python.org> Add
PySys_WriteStdout(format, ...)
PySys_WriteStderr(format, ...)
/external/python/cpython3/Include/sysmodule.h
29e46a9a12592b89d81f87245b903486c589695a 02-Aug-1997 Guido van Rossum <guido@python.org> Mass checkin (more to follow for other directories).

Introduce truly separate (sub)interpreter objects. For now, these
must be used by separate threads, created from C. See Demo/pysvr for
an example of how to use this. This also rationalizes Python's
initialization and finalization behavior:

Py_Initialize() -- initialize the whole interpreter
Py_Finalize() -- finalize the whole interpreter

tstate = Py_NewInterpreter() -- create a new (sub)interpreter
Py_EndInterpreter(tstate) -- delete a new (sub)interpreter

There are also new interfaces relating to threads and the interpreter
lock, which can be used to create new threads, and sometimes have to
be used to manipulate the interpreter lock when creating or deleting
sub-interpreters. These are only defined when WITH_THREAD is defined:

PyEval_AcquireLock() -- acquire the interpreter lock
PyEval_ReleaseLock() -- release the interpreter lock

PyEval_AcquireThread(tstate) -- acquire the lock and make the thread current
PyEval_ReleaseThread(tstate) -- release the lock and make NULL current

Other administrative changes:

- The header file bltinmodule.h is deleted.

- The init functions for Import, Sys and Builtin are now internal and
declared in pythonrun.h.

- Py_Setup() and Py_Cleanup() are no longer declared.

- The interpreter state and thread state structures are now linked
together in a chain (the chain of interpreters is a static variable
in pythonrun.c).

- Some members of the interpreter and thread structures have new,
shorter, more consistent, names.

- Added declarations for _PyImport_{Find,Fixup}Extension() to import.h.
/external/python/cpython3/Include/sysmodule.h
d266eb460e20ded087d01a29da0a230e235afc40 25-Oct-1996 Guido van Rossum <guido@python.org> New permission notice, includes CNRI.
/external/python/cpython3/Include/sysmodule.h
4b0538c47239865d2e0542812fe365ec13a56e29 22-May-1996 Guido van Rossum <guido@python.org> Added PySys_SetPath.
/external/python/cpython3/Include/sysmodule.h
b89f32e86938b9741d63e8c1d97e8426262f7c39 22-Jan-1996 Jack Jansen <jack.jansen@cwi.nl> Added prototype for PySys_SetArgv
/external/python/cpython3/Include/sysmodule.h
051ab123b465685e714668099c0a6dd86de5673b 27-Feb-1995 Guido van Rossum <guido@python.org> make the type a parameter of the DL_IMPORT macro, for Borland C
/external/python/cpython3/Include/sysmodule.h
caa63808861d4e92d4dc1005fc01de0f2e4a8fd0 12-Jan-1995 Guido van Rossum <guido@python.org> The great renaming, phase two: all header files have been updated to
use the new names exclusively, and the linker will see the new names.
Files that import "Python.h" also only see the new names. Files that
import "allobjects.h" will continue to be able to use the old names,
due to the inclusion (in allobjects.h) of "rename2.h".
/external/python/cpython3/Include/sysmodule.h
a0d7a233981ce56c74d3fd6a4fb0cadac08a7654 09-Jan-1995 Guido van Rossum <guido@python.org> sys.check_interval=x -> sys.setcheckinterval(x)
/external/python/cpython3/Include/sysmodule.h
5799b520086129ed8aaadeb3b941b3000a42576a 04-Jan-1995 Guido van Rossum <guido@python.org> Added 1995 copyright.
object.h: made sizes and refcnts signed ints.
stringobject.h: make getstrsize() signed int.
methodobject.h: add METH_VARARGS and METH_FREENAME flag bit definitions.
/external/python/cpython3/Include/sysmodule.h
e89bc75048d0142859379b2b92e77d984fdbef6e 18-Aug-1994 Guido van Rossum <guido@python.org> Changes for dynamic linking under NT
/external/python/cpython3/Include/sysmodule.h
b6775db241f5fe5e3dc2ca09fc6c9e6164d4b2af 01-Aug-1994 Guido van Rossum <guido@python.org> Merge alpha100 branch back to main trunk
/external/python/cpython3/Include/sysmodule.h
a3309960a50dbadfd854299e7420223eb8718a56 28-Jul-1993 Guido van Rossum <guido@python.org> * Added support for X11 modules.
* Makefile: change location of FORMS library.
* posixmodule.c: turn #if 0 into #ifdef MSDOS (stuff in unistd.h or not)
* Almost all .h files: added CPP magic to avoid duplicate inclusions and
to support inclusion from C++.
/external/python/cpython3/Include/sysmodule.h
9bfef44d97d1ae24e03717e3d59024b44626a9de 29-Mar-1993 Guido van Rossum <guido@python.org> * Changed all copyright messages to include 1993.
* Stubs for faster implementation of local variables (not yet finished)
* Added function name to code object. Print it for code and function
objects. THIS MAKES THE .PYC FILE FORMAT INCOMPATIBLE (the version
number has changed accordingly)
* Print address of self for built-in methods
* New internal functions getattro and setattro (getattr/setattr with
string object arg)
* Replaced "dictobject" with more powerful "mappingobject"
* New per-type functio tp_hash to implement arbitrary object hashing,
and hashobject() to interface to it
* Added built-in functions hash(v) and hasattr(v, 'name')
* classobject: made some functions static that accidentally weren't;
added __hash__ special instance method to implement hash()
* Added proper comparison for built-in methods and functions
/external/python/cpython3/Include/sysmodule.h
5113f5fd346c32c98ac46d374e0b5c3dced289a6 05-Apr-1992 Guido van Rossum <guido@python.org> Copyright for 1992 added
/external/python/cpython3/Include/sysmodule.h
d510c786b8e99e03b3d9a8067c90a248a54b1256 23-Mar-1992 Guido van Rossum <guido@python.org> Added definitions of sys_trace and sys_profile
/external/python/cpython3/Include/sysmodule.h
f70e43a073b36c6f6e9894c01025243a77a452d4 19-Feb-1991 Guido van Rossum <guido@python.org> Added copyright notice.
/external/python/cpython3/Include/sysmodule.h
3f5da24ea304e674a9abbdcffc4d671e32aa70f1 20-Dec-1990 Guido van Rossum <guido@python.org> "Compiling" version
/external/python/cpython3/Include/sysmodule.h
85a5fbbdfea617f6cc8fae82c9e8c2b5c424436d 14-Oct-1990 Guido van Rossum <guido@python.org> Initial revision
/external/python/cpython3/Include/sysmodule.h