Notice: While JavaScript is not essential for this website, your interaction with the content will be limited. Please turn JavaScript on for the full experience.
...definition, and try to fathom ``the type of the base class is callable.'' (Types are not classes, by the way. See questions 4.2, 4.19 and in particular 6.22 in the Python FAQ for more on this topic.) The base class is B; this one's easy. Since B is a class, its type is ``class''; so the type of the base class is the type ``class''. This is also known as types.ClassType, assuming the standard module types has been imported. Now is the type ``class'' callable? No, beca...
...definitions were missing on FreeBSD 5.x unless the __BSD_VISIBLE symbol was defined. configure now defines it as needed. C API Unicode objects now support mbcs as a built-in encoding, so the C API can use it without deferring to the encodings package. Windows The Windows implementation of PyThread_start_new_thread() never checked error returns from Windows functions correctly. As a result, it could claim to start a new thread even when the Microsoft _beginthread() function failed (due ...
...definition with a platform- specific spelling in that platform's pyconfig.h. You can also override pyport.h's default Py_IS_INFINITY definition now. C API SF patch 1044089: New function PyEval_ThreadsInitialized() returns non-zero if PyEval_InitThreads() has been called. The undocumented and unused extern int _PyThread_Started was removed. The C API calls PyInterpreterState_New() and PyThreadState_New() are two of the very few advertised as being safe to call without holding the GIL. Howe...
...Definition, as established by the Open Source Initiative (see http://www.opensource.org/). Add the following paragraph to the end of the mission statement (after "Encourages and facilitates Python-related research in the public interest."): "Open source" is defined as: freely available technology licensed under terms compatible with Version 1.9 (or later) of the Open Source Definition, as established by the Open Source Initiative (see http://www.opensource.org/). Appro...
If you didn't find what you need, try your search in the Python language documentation.