Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #18395, #22108: Update embedded Python examples to decode correctly | Victor Stinner | 2014-08-01 | 1 | -0/+15 |
| | | | | command line parameters: use Py_DecodeLocale() and PyUnicode_DecodeFSDefault(). | ||||
* | Issue #18395: Rename ``_Py_char2wchar()`` to :c:func:`Py_DecodeLocale`, rename | Victor Stinner | 2014-08-01 | 2 | -14/+75 |
| | | | | | ``_Py_wchar2char()`` to :c:func:`Py_EncodeLocale`, and document these functions. | ||||
* | Issue #22018: On Windows, signal.set_wakeup_fd() now also supports sockets. | Victor Stinner | 2014-07-29 | 1 | -3/+8 |
| | | | | A side effect is that Python depends to the WinSock library. | ||||
* | Backout 42ced0d023cd: oops, i didn't want to push this changeset :-/ | Victor Stinner | 2014-07-24 | 1 | -10/+3 |
| | |||||
* | tets | Victor Stinner | 2014-07-24 | 1 | -3/+10 |
| | |||||
* | merge 3.4 (#17210) | Benjamin Peterson | 2014-07-19 | 1 | -1/+1 |
|\ | |||||
| * | args doesn't need to be a tuple (closes #17210) | Benjamin Peterson | 2014-07-19 | 1 | -1/+1 |
| | | |||||
* | | Merge 3.4 | Andrew Svetlov | 2014-07-03 | 1 | -1/+3 |
|\ \ | |/ | |||||
| * | Update docs about tp_richcompare | Andrew Svetlov | 2014-07-03 | 1 | -1/+3 |
| | | |||||
* | | Merge 3.4. | Stefan Krah | 2014-06-29 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | Issue #21778: Clarify use of flags if PyBuffer_FillInfo() is used inside a | Stefan Krah | 2014-06-29 | 1 | -2/+2 |
| | | | | | | | | getbufferproc(). | ||||
* | | MERGE: Closes #21441: Reorder elements in documentation to match actual ↵ | Jesus Cea | 2014-06-25 | 1 | -10/+10 |
|\ \ | |/ | | | | | order in the code | ||||
| * | MERGE: Closes #21441: Reorder elements in documentation to match actual ↵ | Jesus Cea | 2014-06-25 | 1 | -10/+10 |
| |\ | | | | | | | | | | order in the code | ||||
| | * | Closes #21441: Reorder elements in documentation to match actual order in ↵ | Jesus Cea | 2014-06-25 | 1 | -10/+10 |
| | | | | | | | | | | | | the code | ||||
| | * | Fix note markup (#16805). | Éric Araujo | 2014-03-12 | 2 | -0/+2 |
| | | | | | | | | | | | | Patch by Tshepang Lekhonkhobe, reviewed by Georg Brandl. | ||||
| | * | Fix several C-API doc typos caught by tomo cocoa on docs@. | Zachary Ware | 2014-02-26 | 3 | -9/+8 |
| | | | | | | | | | | | | | | | The signature and description of PyException_SetCause now use "cause" rather than "ctx" to match the code. | ||||
* | | | Merge quote quashing. | Zachary Ware | 2014-06-06 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | Quash extraneous quote. | Zachary Ware | 2014-06-06 | 1 | -1/+1 |
| | | | |||||
* | | | Issue #21233: Rename the C structure "PyMemAllocator" to "PyMemAllocatorEx" to | Victor Stinner | 2014-06-02 | 1 | -4/+6 |
| | | | | | | | | | | | | | | | make sure that the code using it will be adapted for the new "calloc" field (instead of crashing). | ||||
* | | | Merge from 3.4 (for #21226). | Eric Snow | 2014-05-13 | 1 | -1/+7 |
|\ \ \ | |/ / | |||||
| * | | Issue #21226: Set all attrs in PyImport_ExecCodeModuleObject. | Eric Snow | 2014-05-12 | 1 | -1/+7 |
| | | | |||||
* | | | Issue #21233: Add new C functions: PyMem_RawCalloc(), PyMem_Calloc(), | Victor Stinner | 2014-05-02 | 1 | -4/+32 |
| | | | | | | | | | | | | | | | | | | PyObject_Calloc(), _PyObject_GC_Calloc(). bytes(int) and bytearray(int) are now using ``calloc()`` instead of ``malloc()`` for large objects which is faster and use less memory (until the bytearray buffer is filled with data). | ||||
* | | | Issue #9307: document the various Py_TPFLAGS_*_SUBCLASS flags. Patch by ↵ | Antoine Pitrou | 2014-04-28 | 1 | -0/+18 |
|\ \ \ | |/ / | | | | | | | Yury V. Zaytsev. | ||||
| * | | Issue #9307: document the various Py_TPFLAGS_*_SUBCLASS flags. Patch by ↵ | Antoine Pitrou | 2014-04-28 | 1 | -0/+18 |
| | | | | | | | | | | | | Yury V. Zaytsev. | ||||
* | | | PEP 465: a dedicated infix operator for matrix multiplication (closes #21176) | Benjamin Peterson | 2014-04-10 | 2 | -0/+20 |
|/ / | |||||
* | | PySequence_Fast generally returns a list not a tuple (closes #16395) | Benjamin Peterson | 2014-04-08 | 1 | -4/+4 |
| | | |||||
* | | the name of the slot of nb_multiply not nb_mul | Benjamin Peterson | 2014-04-08 | 1 | -1/+2 |
| | | |||||
* | | Issue #20942: PyImport_ImportFrozenModuleObject() no longer sets | Brett Cannon | 2014-04-04 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | __file__. This causes _frozen_importlib to no longer have __file__ set as well as any frozen module imported using imp.init_frozen() (which is deprecated). | ||||
* | | Get rid of deprecated IOError in the doc | Andrew Svetlov | 2014-03-31 | 1 | -2/+2 |
| | | |||||
* | | Closes #18456: Doc fix: PyDict_Update only works with dict-like objects, not ↵ | Georg Brandl | 2014-03-25 | 1 | -2/+5 |
| | | | | | | | | key-value sequences. Patch by priyapappachan. | ||||
* | | Fix a few scoping issues with versionadded/versionchanged directives. | Georg Brandl | 2014-03-24 | 2 | -4/+5 |
| | | |||||
* | | Merge in all documentation changes since branching 3.4.0rc1. | Larry Hastings | 2014-03-16 | 7 | -11/+20 |
| | | |||||
* | | Issue #20517: Removed unnecessary new (short-lived) functions from PyErr. | Larry Hastings | 2014-02-10 | 1 | -25/+0 |
| | | |||||
* | | Issue #20517: Functions in the os module that accept two filenames | Larry Hastings | 2014-02-10 | 1 | -7/+43 |
| | | | | | | | | | | | | now register both filenames in the exception on failure. This required adding new C API functions allowing OSError exceptions to reference two filenames instead of one. | ||||
* | | Issue #20500: Note other public APIs with the new assertion | Nick Coghlan | 2014-02-09 | 2 | -2/+9 |
| | | |||||
* | | Note the new debug assertion in PyObject_Str | Nick Coghlan | 2014-02-09 | 1 | -0/+4 |
| | | |||||
* | | Tweaks to What's New and some referenced docs | Nick Coghlan | 2014-02-09 | 1 | -1/+1 |
| | | |||||
* | | Issue #17162: Add PyType_GetSlot. | Martin v. Löwis | 2014-02-04 | 1 | -0/+10 |
| | | |||||
* | | Issue #20460: Merge with 3.3 | Zachary Ware | 2014-01-31 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #20460: Render 'bytes' as a class, not a function. | Zachary Ware | 2014-01-31 | 1 | -1/+1 |
| | | | | | | | | Patch by OSAMU NAKAMURA. | ||||
* | | Close #20105: set __traceback__ when chaining exceptions in C | Nick Coghlan | 2014-01-26 | 1 | -0/+10 |
| | | |||||
* | | Issue #20226: Major improvements to Argument Clinic. | Larry Hastings | 2014-01-16 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * You may now specify an expression as the default value for a parameter! Example: "sys.maxsize - 1". This support is intentionally quite limited; you may only use values that can be represented as static C values. * Removed "doc_default", simplified support for "c_default" and "py_default". (I'm not sure we still even need "py_default", but I'm leaving it in for now in case a use presents itself.) * Parameter lines support a trailing '\\' as a line continuation character, allowing you to break up long lines. * The argument parsing code generated when supporting optional groups now uses PyTuple_GET_SIZE instead of PyTuple_GetSize, leading to a 850% speedup in parsing. (Just kidding, this is an unmeasurable difference.) * A bugfix for the recent regression where the generated prototype from pydoc for builtins would be littered with unreadable "=<object ...>"" default values for parameters that had no default value. * Converted some asserts into proper failure messages. * Many doc improvements and fixes. | ||||
* | | C API doc: try to group concrete objects | Victor Stinner | 2013-11-07 | 1 | -7/+15 |
| | | |||||
* | | Issue #1772673: The type of `char*` arguments now changed to `const char*`. | Serhiy Storchaka | 2013-10-19 | 6 | -11/+11 |
| | | |||||
* | | Issue #16129: Py_SetStandardStreamEncoding cleanups | Nick Coghlan | 2013-10-18 | 1 | -5/+8 |
| | | | | | | | | | | | | | | | | | | - don't call PyErr_NoMemory with interpreter is not initialised - note that it's OK to call _PyMem_RawStrDup here - don't include this in the limited API - capitalise "IO" - be explicit that a non-zero return indicates an error - include versionadded marker in docs | ||||
* | | Issue #16129: Add `Py_SetStandardStreamEncoding` | Nick Coghlan | 2013-10-17 | 1 | -0/+27 |
| | | | | | | | | | | | | | | | | | | | | | | This new pre-initialization API allows embedding applications like Blender to force a particular encoding and error handler for the standard IO streams. Also refactors Modules/_testembed.c to let us start testing multiple embedding scenarios. (Initial patch by Bastien Montagne) | ||||
* | | merge with 3.3 | Georg Brandl | 2013-10-12 | 2 | -30/+27 |
|\ \ | |/ | |||||
| * | Introduce support for documenting which C API elements are not part of the ↵ | Georg Brandl | 2013-10-12 | 2 | -30/+27 |
| | | | | | | | | stable/limited API. | ||||
* | | merge with 3.3 | Georg Brandl | 2013-10-12 | 1 | -0/+100 |
|\ \ | |/ | |||||
| * | Closes #13833: document PyStructSequence C-API functions. | Georg Brandl | 2013-10-12 | 1 | -0/+100 |
| | |