Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-45434: pyport.h no longer includes <stdlib.h> (GH-28914) | Victor Stinner | 2021-10-13 | 1 | -0/+1 |
| | | | | | Include <stdlib.h> explicitly in C files. Python.h includes <wchar.h>. | ||||
* | bpo-42519: Replace PyObject_MALLOC() with PyObject_Malloc() (GH-23587) | Victor Stinner | 2020-12-01 | 1 | -2/+2 |
| | | | | | | | | | No longer use deprecated aliases to functions: * Replace PyObject_MALLOC() with PyObject_Malloc() * Replace PyObject_REALLOC() with PyObject_Realloc() * Replace PyObject_FREE() with PyObject_Free() * Replace PyObject_Del() with PyObject_Free() * Replace PyObject_DEL() with PyObject_Free() | ||||
* | bpo-40268: Remove unused structmember.h includes (GH-19530) | Victor Stinner | 2020-04-15 | 1 | -1/+1 |
| | | | | | | If only offsetof() is needed: include stddef.h instead. When structmember.h is used, add a comment explaining that PyMemberDef is used. | ||||
* | bpo-39582: ossaudiodev module update helpers signature for ioctl calls. ↵ | David CARLIER | 2020-03-14 | 1 | -3/+3 |
| | | | | (GH-18412) | ||||
* | Remove a dead comment from ossaudiodev.c (#15346) | Brett Cannon | 2019-08-20 | 1 | -2/+0 |
| | |||||
* | bpo-37337: Add _PyObject_CallMethodNoArgs() (GH-14267) | Jeroen Demeyer | 2019-07-08 | 1 | -1/+1 |
| | |||||
* | bpo-36974: tp_print -> tp_vectorcall_offset and tp_reserved -> tp_as_async ↵ | Jeroen Demeyer | 2019-05-30 | 1 | -4/+4 |
| | | | | | | | | | (GH-13464) Automatically replace tp_print -> tp_vectorcall_offset tp_compare -> tp_as_async tp_reserved -> tp_as_async | ||||
* | bpo-34740: Get rid of tp_getattro in ossaudiodev.oss_audio_device. (GH-9421) | Serhiy Storchaka | 2018-10-04 | 1 | -35/+34 |
| | | | Use tp_members and tp_getset instead. | ||||
* | Fix misleading mentions of tp_size in comments (GH-9093) | Peter Eisentraut | 2018-09-10 | 1 | -2/+2 |
| | | | | Many type object initializations labeled a field "tp_size" in the comment, but the name of that field is tp_basicsize. | ||||
* | Add the const qualifier to "char *" variables that refer to literal strings. ↵ | Serhiy Storchaka | 2017-11-11 | 1 | -4/+4 |
| | | | | (#4370) | ||||
* | bpo-30022: Get rid of using EnvironmentError and IOError (except test… (#1051) | Serhiy Storchaka | 2017-04-16 | 1 | -20/+20 |
| | |||||
* | Issue #28999: Use Py_RETURN_NONE, Py_RETURN_TRUE and Py_RETURN_FALSE wherever | Serhiy Storchaka | 2017-01-23 | 1 | -10/+5 |
| | | | | possible. Patch is writen with Coccinelle. | ||||
* | Issue #28715: Added error checks for PyUnicode_AsUTF8(). | Serhiy Storchaka | 2016-11-20 | 1 | -3/+6 |
|\ | |||||
| * | Issue #28715: Added error checks for PyUnicode_AsUTF8(). | Serhiy Storchaka | 2016-11-20 | 1 | -3/+6 |
| | | |||||
* | | more linux -> __linux__ | Benjamin Peterson | 2016-09-07 | 1 | -1/+1 |
| | | |||||
* | | Issue #26854: Android has a different include path for soundcard.h. | Stefan Krah | 2016-04-26 | 1 | -0/+4 |
|/ | |||||
* | Issue #23709, #23001: ossaudiodev now uses Py_ssize_t for sizes instead of int | Victor Stinner | 2015-03-20 | 1 | -6/+7 |
| | | | | | The module is now also "SSIZE_T clean" (for PyArg_Parse...() functions) since it switched to Py_buffer ("y*" argument format). | ||||
* | Issue #23001: Fix typo | Victor Stinner | 2015-03-20 | 1 | -1/+1 |
| | |||||
* | Issue #23001: Few functions in modules mmap, ossaudiodev, socket, ssl, and | Serhiy Storchaka | 2015-03-20 | 1 | -9/+19 |
| | | | | | codecs, that accepted only read-only bytes-like object now accept writable bytes-like object too. | ||||
* | Issue #23709: The ossaudiodev module now retries read/write when interrupted by | Victor Stinner | 2015-03-20 | 1 | -28/+22 |
| | | | | | | a signal (PEP 475). Use he new _Py_read() and _Py_write() functions. | ||||
* | Issue #23694: Enhance _Py_open(), it now raises exceptions | Victor Stinner | 2015-03-18 | 1 | -7/+2 |
| | | | | | | | | * _Py_open() now raises exceptions on error. If open() fails, it raises an OSError with the filename. * _Py_open() now releases the GIL while calling open() * Add _Py_open_noraise() when _Py_open() cannot be used because the GIL is not held | ||||
* | Issue #22369: Change "context manager protocol" to "context management ↵ | Serhiy Storchaka | 2014-09-10 | 1 | -2/+2 |
| | | | | protocol". | ||||
* | Issue #16404: Add checks for return value of PyLong_FromLong() in | Serhiy Storchaka | 2013-12-17 | 1 | -8/+1 |
|\ | | | | | | | | | sys.getwindowsversion() and ossaudiodev.setparameters(). Reported by Ned Batchelder. | ||||
| * | Issue #16404: Add checks for return value of PyLong_FromLong() in | Serhiy Storchaka | 2013-12-17 | 1 | -8/+1 |
| | | | | | | | | | | sys.getwindowsversion() and ossaudiodev.setparameters(). Reported by Ned Batchelder. | ||||
* | | Issue #18571: Implementation of the PEP 446: file descriptors and file handles | Victor Stinner | 2013-08-28 | 1 | -2/+5 |
| | | | | | | | | | | are now created non-inheritable; add functions os.get/set_inheritable(), os.get/set_handle_inheritable() and socket.socket.get/set_inheritable(). | ||||
* | | Use strncat() instead of strcat() to silence some warnings. | Christian Heimes | 2013-07-20 | 1 | -3/+3 |
|/ | | | | CID 486616, CID 486617, CID 486615 | ||||
* | Merge 3.2, Issue #17047: remove doubled words found in 2.7 to 3.4 | Terry Jan Reedy | 2013-03-11 | 1 | -1/+1 |
|\ | | | | | | | Modules/*, as reported by Serhiy Storchaka and Matthew Barnett. | ||||
| * | Issue #17047: remove doubled words found in 2.7 to 3.4 Modules/*, | Terry Jan Reedy | 2013-03-11 | 1 | -1/+1 |
| | | | | | | | | as reported by Serhiy Storchaka and Matthew Barnett. | ||||
* | | Rename _Py_identifier to _Py_IDENTIFIER. | Martin v. Löwis | 2011-10-14 | 1 | -1/+1 |
| | | |||||
* | | Add API for static strings, primarily good for identifiers. | Martin v. Löwis | 2011-10-09 | 1 | -1/+3 |
| | | | | | | | | Thanks to Konrad Schöbel and Jasper Schulz for helping with the mass-editing. | ||||
* | | Issue #13058: ossaudiodev: fix a file descriptor leak on error. Patch by Thomas | Charles-François Natali | 2011-09-29 | 1 | -0/+1 |
|\ \ | |/ | | | | | Jarosch. | ||||
| * | Issue #13058: ossaudiodev: fix a file descriptor leak on error. Patch by Thomas | Charles-François Natali | 2011-09-29 | 1 | -0/+1 |
| | | | | | | | | Jarosch. | ||||
* | | Use the new Py_ARRAY_LENGTH macro | Victor Stinner | 2011-09-29 | 1 | -3/+3 |
| | | |||||
* | | Issue #12287: Fix a stack corruption in ossaudiodev module when the FD is | Charles-François Natali | 2011-08-28 | 1 | -0/+5 |
|\ \ | |/ | | | | | greater than FD_SETSIZE. | ||||
| * | Issue #12287: Fix a stack corruption in ossaudiodev module when the FD is | Charles-François Natali | 2011-08-28 | 1 | -0/+5 |
| | | | | | | | | greater than FD_SETSIZE. | ||||
* | | Issue #12287: In ossaudiodev, check that the device isn't closed in several | Charles-François Natali | 2011-06-11 | 1 | -0/+91 |
|/ | | | | methods. | ||||
* | These are true PyCFunctions, after adding the second argument to oss_self, ↵ | Georg Brandl | 2010-10-24 | 1 | -5/+5 |
| | | | | no need to cast. | ||||
* | Add casts (one needed, one for consistency). | Georg Brandl | 2010-10-24 | 1 | -4/+4 |
| | |||||
* | #6518: enable context manager protocol for ossaudiodev types. | Georg Brandl | 2010-10-23 | 1 | -0/+25 |
| | |||||
* | Recorded merge of revisions 81029 via svnmerge from | Antoine Pitrou | 2010-05-09 | 1 | -13/+13 |
| | | | | | | | | | | 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 #8139: ossaudiodev didn't initialize its types properly, therefore | Antoine Pitrou | 2010-03-23 | 1 | -1/+7 |
| | | | | | some methods (such as oss_mixer_device.fileno()) were not available. Initial patch by Bertrand Janin. | ||||
* | Issue #1717: rename tp_compare to tp_reserved. I'll change the | Mark Dickinson | 2009-02-02 | 1 | -2/+2 |
| | | | | | type of tp_compare in a separate commit, for ease of reversion should things go wrong. | ||||
* | fixes deferred/release blocker issue #3797: Fixed the dbm, marshal, mmap, | Gregory P. Smith | 2008-09-06 | 1 | -3/+3 |
| | | | | | ossaudiodev, & winreg modules to return bytes objects instead of bytearray objects. | ||||
* | Rename PyUnicode_AsString -> _PyUnicode_AsString and | Marc-André Lemburg | 2008-08-07 | 1 | -1/+1 |
| | | | | | | | | | PyUnicode_AsStringAndSize -> _PyUnicode_AsStringAndSize to mark them for interpreter internal use only. We'll have to rework these APIs or create new ones for the purpose of accessing the UTF-8 representation of Unicode objects for 3.1. | ||||
* | #3247: get rid of Py_FindMethod | Amaury Forgeot d'Arc | 2008-07-02 | 1 | -10/+45 |
| | | | | 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 | -6/+19 |
| | |||||
* | Renamed PyBytes to PyByteArray | Christian Heimes | 2008-05-26 | 1 | -3/+3 |
| | |||||
* | Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases ↵ | Christian Heimes | 2007-12-02 | 1 | -12/+12 |
| | | | | in intobject.h | ||||
* | Use unicode | Neal Norwitz | 2007-08-26 | 1 | -11/+11 |
| | |||||
* | Merged revisions 56467-56482 via svnmerge from | Martin v. Löwis | 2007-07-21 | 1 | -4/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/p3yk ................ r56477 | martin.v.loewis | 2007-07-21 09:04:38 +0200 (Sa, 21 Jul 2007) | 11 lines Merged revisions 56466-56476 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r56476 | martin.v.loewis | 2007-07-21 08:55:02 +0200 (Sa, 21 Jul 2007) | 4 lines PEP 3123: Provide forward compatibility with Python 3.0, while keeping backwards compatibility. Add Py_Refcnt, Py_Type, Py_Size, and PyVarObject_HEAD_INIT. ........ ................ r56478 | martin.v.loewis | 2007-07-21 09:47:23 +0200 (Sa, 21 Jul 2007) | 2 lines PEP 3123: Use proper C inheritance for PyObject. ................ r56479 | martin.v.loewis | 2007-07-21 10:06:55 +0200 (Sa, 21 Jul 2007) | 3 lines Add longintrepr.h to Python.h, so that the compiler can see that PyFalse is really some kind of PyObject*. ................ r56480 | martin.v.loewis | 2007-07-21 10:47:18 +0200 (Sa, 21 Jul 2007) | 2 lines Qualify SHIFT, MASK, BASE. ................ r56482 | martin.v.loewis | 2007-07-21 19:10:57 +0200 (Sa, 21 Jul 2007) | 2 lines Correctly refer to _ob_next. ................ |