Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Fix compilation warning on Windows | Amaury Forgeot d'Arc | 2010-08-16 | 1 | -2/+2 |
| | |||||
* | Fix a compile warning missed during porting (wchar_t/char) and move a | Brian Curtin | 2010-06-08 | 1 | -4/+4 |
| | | | | variable declaration outside of a loop. #2810 was when this first went in. | ||||
* | Fix #2810 - handle the case where some registry calls return | Brian Curtin | 2010-05-26 | 1 | -28/+91 |
| | | | | | | ERROR_MORE_DATA, requiring another call to get the remaining data. Patch by Daniel Stutzbach | ||||
* | Recorded merge of revisions 81029 via svnmerge from | Antoine Pitrou | 2010-05-09 | 1 | -1025/+1025 |
| | | | | | | | | | | 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. ........ | ||||
* | Port #7347 to py3k. | Brian Curtin | 2010-04-21 | 1 | -12/+107 |
| | | | | Add CreateKeyEx and DeleteKeyEx, along with test improvements. | ||||
* | 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. | ||||
* | Issue #1717, stage 2: remove uses of tp_compare in Modules and most | Mark Dickinson | 2009-02-01 | 1 | -2/+2 |
| | | | | Objects. | ||||
* | Issue #4910, patch 3/3: rename nb_long to nb_reserved | Mark Dickinson | 2009-01-17 | 1 | -1/+1 |
| | |||||
* | Issue 4910, patch 2 of (probably) 3: pave the way for renaming of | Mark Dickinson | 2009-01-15 | 1 | -1/+1 |
| | | | | | | | | | nb_long: remove last remaining use of nb_long (in the struct module) from the core, set nb_long slots on all builtin and extension types to 0, and remove uses of __long__ in test_complex and test_binop. Reviewed by Benjamin Peterson. | ||||
* | fixes deferred/release blocker issue #3797: Fixed the dbm, marshal, mmap, | Gregory P. Smith | 2008-09-06 | 1 | -1/+1 |
| | | | | | ossaudiodev, & winreg modules to return bytes objects instead of bytearray objects. | ||||
* | Merged revisions 65654 via svnmerge from | Martin v. Löwis | 2008-08-13 | 1 | -2/+2 |
| | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r65654 | martin.v.loewis | 2008-08-12 16:49:50 +0200 (Tue, 12 Aug 2008) | 6 lines Issue #3139: Make buffer-interface thread-safe wrt. PyArg_ParseTuple, by denying s# to parse objects that have a releasebuffer procedure, and introducing s*. More module might need to get converted to use s*. ........ | ||||
* | #3247 Get rid of Py_FindMethod; use tp_members instead. | Amaury Forgeot d'Arc | 2008-07-02 | 1 | -36/+28 |
| | | | | | | | Otherwise dir(_sre.SRE_Match) returns an empty list. First step: handle most occurrences, remove tp_getattr and fill the tp_methods and tp_members slots. Add some test about attribute access. | ||||
* | Remove nb_reserved (nb_coerce), nb_hex, and nb_oct from PyNumberMethods | Benjamin Peterson | 2008-06-11 | 1 | -3/+0 |
| | |||||
* | Implement PEP 3121: new module initialization and finalization API. | Martin v. Löwis | 2008-06-11 | 1 | -5/+19 |
| |