Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-36974: tp_print -> tp_vectorcall_offset and tp_reserved -> tp_as_async ↵ | Jeroen Demeyer | 2019-05-31 | 1 | -2/+2 |
| | | | | | | | | | (GH-13464) Automatically replace tp_print -> tp_vectorcall_offset tp_compare -> tp_as_async tp_reserved -> tp_as_async | ||||
* | bpo-36672: Fix a compiler warning in winreg.SetValue() (GH-12882) | Zackery Spytz | 2019-04-22 | 1 | -1/+1 |
| | |||||
* | bpo-9194: Fix the bounds checking in winreg.c's fixupMultiSZ() (GH-12687) | Zackery Spytz | 2019-04-22 | 1 | -1/+1 |
| | |||||
* | bpo-8677: use PY_DWORD_MAX instead of INT_MAX (GH-12469) | Inada Naoki | 2019-03-20 | 1 | -5/+3 |
| | |||||
* | bpo-8677: use PY_SSIZE_T_CLEAN in PC/winreg.c (GH-12466) | Inada Naoki | 2019-03-20 | 1 | -0/+6 |
| | |||||
* | bpo-33895: Relase GIL while calling functions that acquire Windows loader ↵ | Tony Roberts | 2019-02-02 | 1 | -0/+8 |
| | | | | | lock (GH-7789) LoadLibrary, GetProcAddress, FreeLibrary and GetModuleHandle acquire the system loader lock. Calling these while holding the GIL will cause a deadlock on the rare occasion that another thread is detaching and needs to destroy its thread state at the same time. | ||||
* | bpo-35489: Use "const Py_UNICODE *" for the Py_UNICODE converter in AC. ↵ | Serhiy Storchaka | 2018-12-14 | 1 | -36/+40 |
| | | | | (GH-11150) | ||||
* | bpo-35441: Remove dead and buggy code related to PyList_SetItem(). (GH-11033) | Zackery Spytz | 2018-12-08 | 1 | -3/+7 |
| | | | | | | | | | | In _localemodule.c and selectmodule.c, remove dead code that would cause double decrefs if run. In addition, replace PyList_SetItem() with PyList_SET_ITEM() in cases where a new list is populated and there is no possibility of an error. In addition, check if the list changed size in the loop in array_array_fromlist(). | ||||
* | bpo-35059: PyObject_INIT() casts to PyObject* (GH-10674) | Victor Stinner | 2018-11-23 | 1 | -1/+1 |
| | | | | | | PyObject_INIT() and PyObject_INIT_VAR() now cast their first argument to PyObject*, as done in Python 3.7. Revert partially commit b4435e20a92af474f117b78b98ddc6f515363af5. | ||||
* | Replace dead code with an assertion in winreg.c. (GH-10028) | Zackery Spytz | 2018-11-08 | 1 | -2/+1 |
| | |||||
* | bpo-35059: Convert PyObject_INIT() to function (GH-10077) | Victor Stinner | 2018-10-26 | 1 | -1/+1 |
| | | | | | * Convert PyObject_INIT() and PyObject_INIT_VAR() macros to static inline functions. * Fix usage of these functions: cast to PyObject* or PyVarObject*. | ||||
* | bpo-32747: Remove trailing spaces in docstrings. (GH-5491) | oldk | 2018-02-02 | 1 | -1/+1 |
| | |||||
* | Fix miscellaneous typos (#4275) | luzpaz | 2017-11-05 | 1 | -3/+3 |
| | |||||
* | bpo-9566: Fix some Windows x64 compiler warnings (#2492) | Segev Finer | 2017-07-26 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bpo-9566: Silence liblzma warnings * bpo-9566: Silence tcl warnings * bpo-9566: Silence tk warnings * bpo-9566: Silence tix warnings * bpo-9566: Fix some library warnings * bpo-9566: Fix msvcrtmodule.c warnings * bpo-9566: Silence _bz2 warnings * bpo-9566: Fixed some _ssl warnings * bpo-9566: Fix _msi warnings * bpo-9566: Silence _ctypes warnings * Revert "bpo-9566: Fixed some _ssl warnings" This reverts commit a639001c949ba53338a9ee047d2ec1efd2505e6f. * bpo-9566: Also consider NULL as a possible error in HANDLE_return_converter * bpo-9566: whitespace fixes | ||||
* | Issue #25778: winreg does not truncase string correctly (Patch by Eryk Sun) | Steve Dower | 2016-12-17 | 1 | -7/+6 |
| | |||||
* | - Issue #27332: Fixed the type of the first argument of module-level functions | Serhiy Storchaka | 2016-07-07 | 1 | -46/+46 |
|\ | | | | | | | 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 | -46/+46 |
| | | | | | | | | generated by Argument Clinic. Patch by Petr Viktorin. | ||||
* | | Regenerate Argument Clinic code for issue #23026. | Serhiy Storchaka | 2016-06-09 | 1 | -1/+1 |
| | | |||||
* | | Closes #23026: Documentation improvements and code formatting | Steve Dower | 2016-05-25 | 1 | -4/+4 |
| | | |||||
* | | Issue #23026: winreg.QueryValueEx() now return an integer for REG_QWORD ↵ | Steve Dower | 2016-05-24 | 1 | -2/+30 |
|/ | | | | type. (Patch by hakril) | ||||
* | Issue #26778: Fixed "a/an/and" typos in code comment and documentation. | Serhiy Storchaka | 2016-04-17 | 1 | -4/+4 |
| | |||||
* | Issue #20172: Update clinicizations to current clinic. | Zachary Ware | 2015-05-13 | 1 | -32/+42 |
| | |||||
* | Issue #20172: Convert the winreg module to Argument Clinic. | Zachary Ware | 2015-05-13 | 1 | -669/+722 |
| | |||||
* | Issue #23446: Use PyMem_New instead of PyMem_Malloc to avoid possible integer | Serhiy Storchaka | 2015-02-16 | 1 | -3/+3 |
| | | | | overflows. Added few missed PyErr_NoMemory(). | ||||
* | Issue #21151: Fixed a segfault in the winreg module. | Zachary Ware | 2014-07-03 | 1 | -1/+3 |
| | | | | | | | When ``None`` was passed as a ``REG_BINARY`` value to SetValueEx, PyMem_DEL was called on an uninitialized buffer. Patch by John Ehresman. (Also an incidental typo fix in a comment in test_winreg) | ||||
* | Issue #20908: PyMem_Malloc() must be used with PyMem_Free(), not with free() | Victor Stinner | 2014-03-13 | 1 | -2/+2 |
| | |||||
* | MERGE: Closes #20908: Memory leak in Reg2Py() | Jesus Cea | 2014-03-13 | 1 | -1/+4 |
|\ | |||||
| * | Closes #20908: Memory leak in Reg2Py() | Jesus Cea | 2014-03-13 | 1 | -1/+4 |
| | | |||||
* | | Issue #18783: Removed existing mentions of Python long type in docstrings, | Serhiy Storchaka | 2013-08-27 | 1 | -3/+2 |
|\ \ | |/ | | | | | error messages and comments. | ||||
| * | Issue #18783: Removed existing mentions of Python long type in docstrings, | Serhiy Storchaka | 2013-08-27 | 1 | -3/+2 |
| | | | | | | | | error messages and comments. | ||||
* | | Issue #18203: Replace malloc() with PyMem_Malloc() in Python modules | Victor Stinner | 2013-07-07 | 1 | -2/+2 |
| | | | | | | | | | | Replace malloc() with PyMem_Malloc() when the GIL is held, or with PyMem_RawMalloc() otherwise. | ||||
* | | Merge 3.3 | Brian Curtin | 2012-12-27 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | Merge 3.2 | Brian Curtin | 2012-12-27 | 1 | -2/+2 |
| |\ | |||||
| | * | Fix #16759. Convert DWORD registry values using PyLong_FromUnsignedLong. | Brian Curtin | 2012-12-27 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | When converting REG_DWORD registry values into Python ints, the conversion needs to be made from an *unsigned* long to match the DWORD type. | ||||
* | | | Merge 3.3 | Brian Curtin | 2012-12-27 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | Merge 3.2 | Brian Curtin | 2012-12-27 | 1 | -1/+1 |
| |\ \ | | |/ | |||||
| | * | Fix #14420. Use PyLong_AsUnsignedLong to support the full range of DWORD. | Brian Curtin | 2012-12-27 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | This fixes an OverflowError seen in winreg.SetValueEx when passed winreg.REG_DWORD values that should be supported by the underlying API. | ||||
* | | | Issue #16719: Get rid of WindowsError. Use OSError instead | Andrew Svetlov | 2012-12-19 | 1 | -2/+2 |
|/ / | | | | | | | Patch by Serhiy Storchaka. | ||||
* | | Issue #16197: Fix several small errors in winreg documentation. | Andrew Svetlov | 2012-10-31 | 1 | -8/+8 |
| | | | | | | | | Initial patch by Zachary Ware. | ||||
* | | Merge 3.2 | Brian Curtin | 2012-10-29 | 1 | -77/+109 |
|\ \ | |/ | |||||
| * | Fix #16197. Update docstrings and documentation to match winreg code. | Brian Curtin | 2012-10-29 | 1 | -77/+109 |
| | | | | | | | | Patch by Zachary Ware. | ||||
* | | Merge with 3.2 (Issue #14471) | Kristján Valur Jónsson | 2012-04-02 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #14471: Fix a possible buffer overrun in the winreg module. | Kristján Valur Jónsson | 2012-04-02 | 1 | -1/+1 |
| | | |||||
* | | Use GetModuleHandleW to avoid *A functions where possible. | Martin v. Löwis | 2012-01-14 | 1 | -4/+4 |
| | | |||||
* | | Use the new Unicode API | Victor Stinner | 2011-11-22 | 1 | -5/+5 |
| | | | | | | | | | | | | | | | | * Replace PyUnicode_FromUnicode(NULL, 0) by PyUnicode_New(0, 0) * Replce PyUnicode_FromUnicode(str, len) by PyUnicode_FromWideChar(str, len) * Replace Py_UNICODE by wchar_t * posix_putenv() uses PyUnicode_FromFormat() to create the string, instead of PyUnicode_FromUnicode() + _snwprintf() | ||||
* | | winreg module avoids the deprecated Unicode API | Victor Stinner | 2011-11-21 | 1 | -24/+36 |
| | | |||||
* | | Implement PEP 393. | Martin v. Löwis | 2011-09-28 | 1 | -4/+4 |
|/ | |||||
* | Follow up to #9778: fix regressions on 64-bit Windows builds | Antoine Pitrou | 2010-10-23 | 1 | -1/+1 |
| | |||||
* | Implement #8521. Added named argument handling to winreg's CreateKeyEx, | Brian Curtin | 2010-09-27 | 1 | -33/+43 |
| | | | | | | | | DeleteKeyEx, and OpenKeyEx. Note that CKE and DKE are new functions for 3.2 so I didn't give them a versionchanged because of the existing versionadded. OpenKeyEx already existed so it gets a versionchanged tag. | ||||
* | Properly downcast from size_t/Py_ssize_t in a few places. | Brian Curtin | 2010-08-17 | 1 | -4/+6 |
| |