Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-30022: Get rid of using EnvironmentError and IOError (except test… (#1051) | Serhiy Storchaka | 2017-04-16 | 1 | -1/+1 |
| | |||||
* | Issue #28999: Use Py_RETURN_NONE, Py_RETURN_TRUE and Py_RETURN_FALSE wherever | Serhiy Storchaka | 2017-01-23 | 1 | -2/+1 |
| | | | | possible. Patch is writen with Coccinelle. | ||||
* | Issue #28769: The result of PyUnicode_AsUTF8AndSize() and PyUnicode_AsUTF8() | Serhiy Storchaka | 2017-01-22 | 1 | -1/+1 |
| | | | | is now of type "const char *" rather of "char *". | ||||
* | - Issue #27332: Fixed the type of the first argument of module-level functions | Serhiy Storchaka | 2016-07-07 | 1 | -2/+2 |
|\ | | | | | | | generated by Argument Clinic. Patch by Petr Viktorin. | ||||
| * | Issue #27332: Fixed the type of the first argument of module-level functions | Serhiy Storchaka | 2016-07-07 | 1 | -2/+2 |
| | | | | | | | | generated by Argument Clinic. Patch by Petr Viktorin. | ||||
* | | Issue #25923: Added the const qualifier to static constant arrays. | Serhiy Storchaka | 2015-12-25 | 1 | -4/+4 |
|/ | |||||
* | Issue #24000: Improved Argument Clinic's mapping of converters to legacy | Larry Hastings | 2015-05-08 | 1 | -4/+5 |
| | | | | "format units". Updated the documentation to match. | ||||
* | Issue #24001: Argument Clinic converters now use accept={type} | Larry Hastings | 2015-05-04 | 1 | -4/+4 |
| | | | | instead of types={'type'} to specify the types the converter accepts. | ||||
* | Issue #20184: Converted _dbm and _gdbm modules to Argument Clinic. | Serhiy Storchaka | 2015-04-17 | 1 | -61/+67 |
| | |||||
* | Issue #23935: Argument Clinic's understanding of format units | Larry Hastings | 2015-04-16 | 1 | -2/+2 |
| | | | | | accepting bytes, bytearrays, and buffers is now consistent with both the documentation and the implementation. | ||||
* | Issue #23944: Argument Clinic now wraps long impl prototypes at column 78. | Larry Hastings | 2015-04-14 | 1 | -4/+6 |
| | |||||
* | Issue #23501: Argumen Clinic now generates code into separate files by default. | Serhiy Storchaka | 2015-04-03 | 1 | -70/+4 |
| | |||||
* | Issue #20530: Argument Clinic's signature format has been revised again. | Larry Hastings | 2014-02-09 | 1 | -4/+8 |
| | | | | | | | The new syntax is highly human readable while still preventing false positives. The syntax also extends Python syntax to denote "self" and positional-only parameters, allowing inspect.Signature objects to be totally accurate for all supported builtins in Python 3.4. | ||||
* | #Issue 20456: Several improvements and bugfixes for Argument Clinic, | Larry Hastings | 2014-02-01 | 1 | -29/+15 |
| | | | | | including correctly generating code for Clinic blocks inside C preprocessor conditional blocks. | ||||
* | Issue #20326: Argument Clinic now uses a simple, unique signature to | Larry Hastings | 2014-01-28 | 1 | -5/+5 |
| | | | | | | | | | | annotate text signatures in docstrings, resulting in fewer false positives. "self" parameters are also explicitly marked, allowing inspect.Signature() to authoritatively detect (and skip) said parameters. Issue #20326: Argument Clinic now generates separate checksums for the input and output sections of the block, allowing external tools to verify that the input has not changed (and thus the output is not out-of-date). | ||||
* | Issue #20390: Small fixes and improvements for Argument Clinic. | Larry Hastings | 2014-01-26 | 1 | -1/+1 |
| | |||||
* | Issue #20189: Four additional builtin types (PyTypeObject, | Larry Hastings | 2014-01-24 | 1 | -6/+6 |
| | | | | | | PyMethodDescr_Type, _PyMethodWrapper_Type, and PyWrapperDescr_Type) have been modified to provide introspection information for builtins. Also: many additional Lib, test suite, and Argument Clinic fixes. | ||||
* | Two minor Argument Clinic bugfixes: use the name of the class in the | Larry Hastings | 2014-01-22 | 1 | -4/+5 |
| | | | | | docstring for __new__ and __init__, and always use "goto exit" instead of returning "NULL" for failure to parse (as _new__ and __init__ return ints). | ||||
* | Issue #20226: Major improvements to Argument Clinic. | Larry Hastings | 2014-01-16 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | * 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. | ||||
* | Issue #19273: The marker comments Argument Clinic uses have been changed | Larry Hastings | 2014-01-07 | 1 | -12/+12 |
| | | | | to improve readability. | ||||
* | Issue #19296: Silence compiler warning in dbm_open. | Christian Heimes | 2013-12-05 | 1 | -1/+2 |
| | | | | Some dbm header files declare the first argument as char * instead of a const char *. | ||||
* | Issue #19674: inspect.signature() now produces a correct signature | Larry Hastings | 2013-11-23 | 1 | -12/+11 |
| | | | | for some builtins. | ||||
* | Issue #19730: Argument Clinic now supports all the existing PyArg | Larry Hastings | 2013-11-23 | 1 | -23/+84 |
| | | | | | "format units" as legacy converters, as well as two new features: "self converters" and the "version" directive. | ||||
* | Argument Clinic: rename "self" to "module" for module-level functions. | Larry Hastings | 2013-11-18 | 1 | -5/+5 |
| | |||||
* | Close #19282: Native context management in dbm | Nick Coghlan | 2013-11-17 | 1 | -0/+17 |
| | |||||
* | Issue #19287: Fixed the "in" operator of dbm.ndbm databases for string | Serhiy Storchaka | 2013-10-24 | 1 | -2/+2 |
|\ | | | | | | | argument. Original patch by Arfrever Frehtes Taifersar Arahesis. | ||||
| * | Issue #19287: Fixed the "in" operator of dbm.ndbm databases for string | Serhiy Storchaka | 2013-10-24 | 1 | -2/+2 |
| | | | | | | | | argument. Original patch by Arfrever Frehtes Taifersar Arahesis. | ||||
* | | Issue #16612: Add "Argument Clinic", a compile-time preprocessor | Larry Hastings | 2013-10-19 | 1 | -10/+61 |
| | | | | | | | | for C files to generate argument parsing code. (See PEP 436.) | ||||
* | | Issue #18722: Remove uses of the "register" keyword in C code. | Antoine Pitrou | 2013-08-13 | 1 | -7/+7 |
| | | |||||
* | | #16135: Removal of OS/2 support (Modules/*) | Jesus Cea | 2012-10-05 | 1 | -4/+0 |
|/ | |||||
* | Implement PEP 393. | Martin v. Löwis | 2011-09-28 | 1 | -4/+8 |
| | |||||
* | Remove useless argument of _PyUnicode_AsDefaultEncodedString() | Victor Stinner | 2011-03-02 | 1 | -1/+1 |
| | |||||
* | Recorded merge of revisions 81029 via svnmerge from | Antoine Pitrou | 2010-05-09 | 1 | -309/+309 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines Untabify C files. Will watch buildbots. ........ | ||||
* | Issue #1717: rename tp_compare to tp_reserved. I'll change the | Mark Dickinson | 2009-02-02 | 1 | -1/+1 |
| | | | | | type of tp_compare in a separate commit, for ease of reversion should things go wrong. | ||||
* | Define PY_SSIZE_T_CLEAN at the top of the dbm module. This should fix the | Mark Dickinson | 2009-01-16 | 1 | -0/+1 |
| | | | | segfaults on the PPC64/Debian buildbots. | ||||
* | issue 4483 - _dbm build failures on systems with gdbm_compat lib. | Skip Montanaro | 2008-12-06 | 1 | -0/+3 |
| | |||||
* | dbm.gnu and dbm.ndbm accept both strings and bytes as keys and values. For the | Brett Cannon | 2008-11-25 | 1 | -2/+2 |
| | | | | | | former they are converted to bytes before being written to the DB. Closes issue 3799. Reviewed by Skip Montanaro. | ||||
* | fixes deferred/release blocker issue #3797: Fixed the dbm, marshal, mmap, | Gregory P. Smith | 2008-09-06 | 1 | -5/+5 |
| | | | | | ossaudiodev, & winreg modules to return bytes objects instead of bytearray objects. | ||||
* | #3247: get rid of Py_FindMethod | Amaury Forgeot d'Arc | 2008-07-02 | 1 | -8/+10 |
| | | | | Third step: unix-only modules. Really remove the function this time. | ||||
* | Implement PEP 3121: new module initialization and finalization API. | Martin v. Löwis | 2008-06-11 | 1 | -4/+22 |
| | |||||
* | Make db modules' error classes inherit IOError. | Georg Brandl | 2008-05-28 | 1 | -1/+2 |
| | | | | Stop dbm from importing every dbm module when imported. | ||||
* | Renamed PyString to PyBytes | Christian Heimes | 2008-05-26 | 1 | -3/+3 |
| | |||||
* | Renamed PyBytes to PyByteArray | Christian Heimes | 2008-05-26 | 1 | -5/+5 |
| | |||||
* | Create the dbm package from PEP 3108. #2881. | Georg Brandl | 2008-05-26 | 1 | -0/+412 |