summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Issue #18468: The re.split, re.findall, and re.sub functions and the group()Serhiy Storchaka2013-10-161-51/+59
| | | | | and groups() methods of match object now always return a string or a bytes object.
* Re #18521: remove assignments of variables that are immediately reassigned.Georg Brandl2013-10-141-1/+1
|
* Re #18521: fix not-quite-C syntax that works only because the PyXXX_Check ↵Georg Brandl2013-10-142-2/+2
| | | | are macros defined with () around them.
* Back out accidentally pushed changeset b51218966201.Georg Brandl2013-10-132-87/+34
|
* Add re.fullmatch() function and regex.fullmatch() method, which anchor theGeorg Brandl2013-10-132-34/+87
| | | | | | | pattern at both ends of the string to match. Patch by Matthew Barnett. Closes #16203.
* Issue #18458: merge comments from 3.3Ned Deily2013-10-121-3/+3
|\
| * Issue #18458: Prevent crashes with newer versions of libedit. Its readlineNed Deily2013-10-121-15/+25
| | | | | | | | | | emulation has changed from 0-based indexing to 1-based like gnu readline. Original patch by Ronald Oussoren.
* | Issue #18582: Add 'pbkdf2_hmac' to the hashlib module.Christian Heimes2013-10-121-0/+136
| |
* | Issue #19209: Remove import of copyreg from the os module to speed upChristian Heimes2013-10-111-2/+2
| | | | | | | | | | | | interpreter startup. stat_result and statvfs_result are now hard-coded to reside in the os module. The patch is based on Victor Stinner's patch.
* | Issue #9548: Add a minimal "_bootlocale" module that is imported by the _io ↵Antoine Pitrou2013-10-111-1/+1
| | | | | | | | module instead of the full locale module.
* | merge 3.3Benjamin Peterson2013-10-111-1/+1
|\ \ | |/
| * replace hardcoded versionBenjamin Peterson2013-10-111-1/+1
| |
* | merge 3.3Benjamin Peterson2013-10-111-1/+1
|\ \ | |/
| * make sure the docstring is never out of date wrt unicode data versionBenjamin Peterson2013-10-111-1/+1
| |
* | merge 3.3 (#19220)Benjamin Peterson2013-10-101-3/+1
|\ \ | |/
| * remove url from docstring (closes #19220)Benjamin Peterson2013-10-101-2/+1
| |
* | upgrade unicode db to 6.3.0 (closes #19221)Benjamin Peterson2013-10-103-17138/+17180
| |
* | Close #16742: Fix misuse of memory allocations in PyOS_Readline()Victor Stinner2013-10-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The GIL must be held to call PyMem_Malloc(), whereas PyOS_Readline() releases the GIL to read input. The result of the C callback PyOS_ReadlineFunctionPointer must now be a string allocated by PyMem_RawMalloc() or PyMem_RawRealloc() (or NULL if an error occurred), instead of a string allocated by PyMem_Malloc() or PyMem_Realloc(). Fixing this issue was required to setup a hook on PyMem_Malloc(), for example using the tracemalloc module. PyOS_Readline() copies the result of PyOS_ReadlineFunctionPointer() into a new buffer allocated by PyMem_Malloc(). So the public API of PyOS_Readline() does not change.
* | mergeRaymond Hettinger2013-10-041-14/+15
|\ \ | |/
| * Issue #18594: Make the C code more closely match the pure python code.Raymond Hettinger2013-10-041-14/+15
| |
* | Issue #19147: merge from 3.3Ned Deily2013-10-021-1/+1
|\ \ | |/
| * Issue #19147: Fix docstring for fcntl.flock to refer to correct man section.Ned Deily2013-10-021-1/+1
| |
* | mergeRaymond Hettinger2013-10-021-18/+23
|\ \ | |/
| * Issue #18594: Fix the fallback path in collections.Counter().Raymond Hettinger2013-10-021-18/+23
| |
* | mergeRaymond Hettinger2013-10-011-1/+15
|\ \ | |/
| * Issue #18594: Fix the fast path for collections.Counter().Raymond Hettinger2013-10-011-1/+15
| | | | | | | | The path wasn't being taken due to an over-restrictive type check.
* | Properly initialize all fields of a SSL object after allocation.Antoine Pitrou2013-09-291-0/+1
|\ \ | |/
| * Properly initialize all fields of a SSL object after allocation.Antoine Pitrou2013-09-291-0/+1
| |
| * Issue #19028: Fixed tkinter.Tkapp.merge() for non-string arguments.Serhiy Storchaka2013-09-231-12/+3
| |
* | Issue #19095: SSLSocket.getpeercert() now raises ValueError when the SSL ↵Antoine Pitrou2013-09-291-1/+9
| | | | | | | | handshake hasn't been done.
* | Issue #19034: repr() for tkinter.Tcl_Obj now exposes string reperesentation.Serhiy Storchaka2013-09-231-2/+7
| |
* | Merge headsSerhiy Storchaka2013-09-201-4/+1
|\ \
| * \ Issue #3015: Fixed tkinter with wantobject=False. Any Tcl command callSerhiy Storchaka2013-09-201-4/+1
| |\ \ | | |/ | | | | | | returned empty string.
| | * Issue #3015: Fixed tkinter with wantobject=False. Any Tcl command callSerhiy Storchaka2013-09-201-4/+1
| | | | | | | | | | | | returned empty string.
* | | Add a comment making it explicit that itertools.tee() is already 64bit-safe ↵Antoine Pitrou2013-09-201-2/+2
|/ / | | | | | | (issue #19049)
* | - followup for issue #18997, make _clear_joined_ptr static.doko@ubuntu.com2013-09-181-1/+1
|\ \ | |/
| * - followup for issue #18997, make _clear_joined_ptr static.doko@ubuntu.com2013-09-181-1/+1
| |
* | Issue #16201: socket: Use inet_pton()/inet_addr() instead of ad-hoc parsing forCharles-François Natali2013-09-131-17/+52
| | | | | | | | numeric IP addresses.
* | Merge for Issue #18997: Issue #18997: fix ElementTree crash with using ↵Eli Bendersky2013-09-131-26/+24
|\ \ | |/ | | | | pickle and __getstate__.
| * Issue #18997: fix ElementTree crash with using pickle and __getstate__.Eli Bendersky2013-09-131-26/+24
| | | | | | | | Based on report and initial patch from Germán M. Bravo
| * Issue 18752: Make chain.from_iterable() more visible in the documentation.Raymond Hettinger2013-09-091-1/+2
| |
* | Issue 18752: Make chain.from_iterable() more visible in the documentation.Raymond Hettinger2013-09-091-1/+2
| |
* | Close #18957: The PYTHONFAULTHANDLER environment variable now only enables theVictor Stinner2013-09-081-1/+4
| | | | | | | | | | faulthandler module if the variable is non-empty. Same behaviour than other variables like PYTHONDONTWRITEBYTECODE.
* | Issue #18808: Thread.join() now waits for the underlying thread state to be ↵Antoine Pitrou2013-09-071-0/+62
| | | | | | | | | | | | destroyed before returning. This prevents unpredictable aborts in Py_EndInterpreter() when some non-daemon threads are still running.
* | Fix conversion from Py_ssize_t to int.Richard Oudkerk2013-09-071-2/+4
| |
* | Issue #18458: Prevent crashes with newer versions of libedit. Its readlineNed Deily2013-09-061-12/+22
| | | | | | | | | | emulation has changed from 0-based indexing to 1-based like gnu readline. Original patch by Ronald Oussoren.
* | Issue #18672: Fixed format specifiers for Py_ssize_t in debugging output inSerhiy Storchaka2013-09-051-14/+23
|\ \ | |/ | | | | the _sre moduel.
| * Issue #18672: Fixed format specifiers for Py_ssize_t in debugging output inSerhiy Storchaka2013-09-051-14/+23
| | | | | | | | the _sre moduel.
* | Issue #18709: GCC 4.6 complains that 'v' may be used uninitialized in ↵Christian Heimes2013-09-051-1/+1
|\ \ | |/ | | | | GEN_EMAIL/GEN_URI/GEN_DNS case
| * Issue #18709: GCC 4.6 complains that 'v' may be used uninitialized in ↵Christian Heimes2013-09-051-1/+1
| | | | | | | | GEN_EMAIL/GEN_URI/GEN_DNS case