Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SF patch 1044089: New C API function PyEval_ThreadsInitialized(), by Nick | Tim Peters | 2004-10-11 | 1 | -4/+12 |
| | | | | | Coghlan, for determining whether PyEval_InitThreads() has been called. Also purged the undocumented+unused _PyThread_Started int. | ||||
* | Fix typo in PyDict_Items doc | Nicholas Bastin | 2004-09-29 | 1 | -1/+1 |
| | |||||
* | SF patch #998993: The UTF-8 and the UTF-16 stateful decoders now support | Walter Dörwald | 2004-09-07 | 1 | -0/+25 |
| | | | | | | | | | | | decoding incomplete input (when the input stream is temporarily exhausted). codecs.StreamReader now implements buffering, which enables proper readline support for the UTF-16 decoders. codecs.StreamReader.read() has a new argument chars which specifies the number of characters to return. codecs.StreamReader.readline() and codecs.StreamReader.readlines() have a new argument keepends. Trailing "\n"s will be stripped from the lines if keepends is false. Added C APIs PyUnicode_DecodeUTF8Stateful and PyUnicode_DecodeUTF16Stateful. | ||||
* | Patch #900727: Add Py_InitializeEx to allow embedding without signals. | Martin v. Löwis | 2004-08-19 | 1 | -0/+7 |
| | |||||
* | Spelling fix | Andrew M. Kuchling | 2004-08-10 | 1 | -1/+1 |
| | |||||
* | [Patch #1003861 from Dima Dorfman] Fix markup in concrete.tex: | Andrew M. Kuchling | 2004-08-07 | 1 | -10/+5 |
| | | | | | | | PyObject* o -> PyObject *o to be consistent with the rest of the file - Correct markup for Py_True - Remove duplicate description of PyBool_Check | ||||
* | Use LaTeX markup | Andrew M. Kuchling | 2004-08-07 | 1 | -1/+1 |
| | |||||
* | [Bug #991883] Document calling condition | Andrew M. Kuchling | 2004-08-07 | 1 | -1/+2 |
| | |||||
* | SF #989185: Drop unicode.iswide() and unicode.width() and add | Hye-Shik Chang | 2004-08-04 | 1 | -9/+0 |
| | | | | | | | | | | | | unicodedata.east_asian_width(). You can still implement your own simple width() function using it like this: def width(u): w = 0 for c in unicodedata.normalize('NFC', u): cwidth = unicodedata.east_asian_width(c) if cwidth in ('W', 'F'): w += 2 else: w += 1 return w | ||||
* | let's avoid the extra nesting where reasonable | Fred Drake | 2004-08-03 | 1 | -1/+1 |
| | |||||
* | Fix typo though | Neal Norwitz | 2004-08-02 | 1 | -2/+2 |
| | |||||
* | Fix doubled word. | Raymond Hettinger | 2004-08-02 | 1 | -1/+1 |
| | |||||
* | Typo repair. | Tim Peters | 2004-08-02 | 1 | -1/+1 |
| | |||||
* | Completed a sentence I left dangling. | Tim Peters | 2004-08-02 | 1 | -1/+2 |
| | |||||
* | PyImport_ImportModule, PyImport_ImportModuleEx, PyImport_ExecCodeModule: | Tim Peters | 2004-08-02 | 1 | -10/+28 |
| | | | | | in failure cases, incompletely initalized module objects are no longer left behind in sys.modules. | ||||
* | Add missing doc for Py_True/Py_False. Use the correct macro to define | Skip Montanaro | 2004-07-29 | 1 | -6/+16 |
| | | | | Py_RETURN_FALSE and Py_RETURN_TRUE. | ||||
* | A little boolean music if you please, maestro... (Not sure I have the | Skip Montanaro | 2004-07-28 | 1 | -0/+34 |
| | | | | versionadded{} args quite right). | ||||
* | Two typo fixes | Andrew M. Kuchling | 2004-07-26 | 1 | -2/+2 |
| | |||||
* | Fix an uncorrect function prototype. | Thomas Heller | 2004-07-23 | 1 | -1/+1 |
| | | | | | | Will backport to release23-maint. BTW: Shouldn't it read PY_LONG_LONG instead of 'long long' ? | ||||
* | Supply missing word in new datetime docs, aggravated by copy-paste-edit. | Tim Peters | 2004-07-17 | 1 | -3/+3 |
| | |||||
* | Formalize that the Py_VISIT macro requires that the tp_traverse | Tim Peters | 2004-07-15 | 1 | -5/+6 |
| | | | | implementation it's used in must give its arguments specific names. | ||||
* | Documented the new Py_VISIT macro to simplify implementation of | Jim Fulton | 2004-07-14 | 1 | -0/+23 |
| | | | | tp_traverse handlers. (Tim made me do it. ;) | ||||
* | Implemented a new Py_CLEAR macro. This macro should be used when | Jim Fulton | 2004-07-14 | 1 | -0/+16 |
| | | | | | decrementing the refcount of variables that might be accessed as a result of calling Python | ||||
* | Claifications: visit procs are supplied by the core, users aren't | Tim Peters | 2004-07-13 | 1 | -3/+6 |
| | | | | | | | expected to write their own. A NULL "object" must not be passed to the visit callback. A non-zero return from a visit proc isn't necessarily an error return (and it doesn't matter to the tp_traverse code *what* it might signify, their only job is to return it). | ||||
* | SF patch 986010: add missing doc for datetime C API, from | Tim Peters | 2004-07-11 | 1 | -15/+85 |
| | | | | | | | | | | Anthony Tuininga. This is a derived patch, taking the opportunity to add some organization to the now-large pile of datetime-related macros, and to factor out tedious repeated text. Also improved some clumsy wording in NEWS. | ||||
* | Add PyArg_VaParseTupleAndKeywords(). Document this function and | Brett Cannon | 2004-07-10 | 1 | -1/+14 |
| | | | | | | PyArg_VaParse(). Closes patch #550732. Thanks Greg Chapman. | ||||
* | Remove a few elderly sentences | Andrew M. Kuchling | 2004-07-10 | 1 | -9/+2 |
| | |||||
* | Replace example with simpler alternative using PyGILState_{Ensure,Require). ↵ | Andrew M. Kuchling | 2004-07-10 | 1 | -13/+5 |
| | | | | Can someone please confirm this change is OK? | ||||
* | [Bug #987835] Add documentation from PEP 311. (Untested TeX code.) | Andrew M. Kuchling | 2004-07-10 | 1 | -0/+36 |
| | |||||
* | [Bug #984017] Incorrect prototype, fixed by Timothy Stranex | Andrew M. Kuchling | 2004-07-07 | 1 | -2/+2 |
| | |||||
* | Change signatures for arguments to "s" and friends to be the proper ``const | Brett Cannon | 2004-07-01 | 1 | -6/+6 |
| | | | | | | | | char *`` instead of just ``char *``. Also added the mentioning of "const" in some places where it was left out even when the signature already stated the fact. Closes bug #980925. | ||||
* | [Bug #948970] Add PyExc_* symbols to index. | Andrew M. Kuchling | 2004-06-29 | 1 | -28/+28 |
| | | | | | (I ran this through texcheck, but don't have LaTeX installed on this machine and therefore haven't verified that the changes are accepted by LaTeX.) | ||||
* | Patch #923098: Share interned strings in marshal. | Martin v. Löwis | 2004-06-27 | 1 | -3/+14 |
| | |||||
* | SF patch 876130: add C API to datetime module, from Anthony Tuininga. | Tim Peters | 2004-06-20 | 1 | -36/+157 |
| | | | | | | The LaTeX is untested (well, so is the new API, for that matter). Note that I also changed NULL to get spelled consistently in concrete.tex. If that was a wrong thing to do, Fred should yell at me. | ||||
* | Note that memory returned by PyBuffer_New is not specifically aligned. | Neil Schemenauer | 2004-06-08 | 1 | -1/+3 |
| | | | | Closes SF bug #472568. | ||||
* | [Bug #936837] Add missing word | Andrew M. Kuchling | 2004-06-05 | 1 | -1/+1 |
| | |||||
* | Drop claims that Unicode always means UCS-2. Fixes #881861. | Martin v. Löwis | 2004-06-03 | 2 | -9/+10 |
| | |||||
* | - SF #962502: Add two more methods for unicode type; width() and | Hye-Shik Chang | 2004-06-02 | 1 | -0/+9 |
| | | | | | | | iswide() for east asian width manipulation. (Inspired by David Goodger, Reviewed by Martin v. Loewis) - Move _PyUnicode_TypeRecord.flags to the end of the struct so that no padding is added for UCS-4 builds. (Suggested by Martin v. Loewis) | ||||
* | Document PyModule_AddIntConstant to take a long. Fixes #962471. | Martin v. Löwis | 2004-06-02 | 1 | -1/+1 |
| | | | | Will backport to 2.3. | ||||
* | Patch #957398: Add public API for Generator Object/Type. | Martin v. Löwis | 2004-06-01 | 1 | -0/+31 |
| | |||||
* | minor wording cleanup | Fred Drake | 2004-05-12 | 1 | -1/+1 |
| | |||||
* | Removed 'U' from the documentation for Py_BuildValue to bring it in line | Nicholas Bastin | 2004-05-04 | 1 | -3/+0 |
| | | | | | with the elimination of 'U' in modsupport.c on 2000/04/28 (replaced with 'u' and 'u#' per fdrake's comments). | ||||
* | Two new public API functions, Py_IncRef and Py_DecRef. Useful for | Thomas Heller | 2004-04-22 | 1 | -0/+5 |
| | | | | dynamic embedders of Python. | ||||
* | SF bug #936827: PyNumber_And() 's description | Raymond Hettinger | 2004-04-17 | 1 | -1/+1 |
| | | | | Fix typo. | ||||
* | Emphasize the requirement that Python.h be included first more strongly. | Fred Drake | 2004-03-31 | 1 | -3/+6 |
| | | | | Closes SF bug #837228; backporting for Python 2.3.4. | ||||
* | improve the very-high-level API docs (contributed by Jeff Epler) | Fred Drake | 2004-03-25 | 1 | -34/+180 |
| | | | | Closes SF patch #798638. | ||||
* | Remove note that PyErr_SetInterrupt() is obsolete; add comment about the | Fred Drake | 2004-03-25 | 1 | -1/+3 |
| | | | | | fact that it was marked obsolete but is still needed. Closes SF bug #919299. Someone else should backport this to Python 2.3. | ||||
* | SF bug: #921927: Fixed a typo/thinko spelling "parameter" as "paramter" | Raymond Hettinger | 2004-03-25 | 1 | -2/+2 |
| | |||||
* | Enable the profiling of C functions (builtins and extensions) | Nicholas Bastin | 2004-03-24 | 1 | -4/+24 |
| | |||||
* | Minor grammatical fixes. | Brett Cannon | 2004-03-18 | 1 | -3/+3 |
| |