summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Fix memory leak in ssl module.Mark Dickinson2010-08-031-0/+1
|
* Issue #8065: Fix another memory leak in readline module, from failure to freeMark Dickinson2010-08-031-19/+26
| | | | the result of a call to history_get_history_state.
* Issue #9450: Fix memory leaks in readline.remove/replace_history_entry.Mark Dickinson2010-08-031-12/+34
|
* #6867: epoll.register() returns None.Georg Brandl2010-08-021-3/+2
|
* #9087: update json docstrings -- unicode and long do not exist anymore.Georg Brandl2010-08-021-3/+3
|
* Issue 9445: Fix undefined symbols on VS8.0 build.Raymond Hettinger2010-08-011-0/+9
|
* Issue #8397: Raise an error when attempting to mix iteration and regularAntoine Pitrou2010-08-011-0/+28
| | | | reads on a BZ2File object, rather than returning incorrect results.
* Issue #9448: Fix a leak of OS resources (mutexes or semaphores) whenAntoine Pitrou2010-08-011-0/+2
| | | | re-initializing a buffered IO object by calling its `__init__` method.
* Fix #8105. Add validation to mmap.mmap so invalid file descriptorsBrian Curtin2010-08-011-0/+5
| | | | don't cause a crash on Windows.
* #8046: add context manager protocol support to mmap objects. Also add ↵Georg Brandl2010-08-011-1/+34
| | | | closed property.
* Copy Sun-specific inclusion of <alloca.h> from 2.7 maint to trunk; it seems ↵Georg Brandl2010-07-311-0/+4
| | | | to not have been merged to py3k.
* - Issue #7567: PyCurses_setupterm: Don't call `setupterm' twice.Matthias Klose2010-07-301-1/+1
|
* Import files from zlib 1.2.5.Martin v. Löwis2010-07-3030-1519/+3139
|
* Issue #9422: Fix memory leak when re-initializing a struct.Struct object.Mark Dickinson2010-07-291-0/+3
|
* Issue #8966: ctypes: Remove implicit bytes-unicode conversionVictor Stinner2010-07-283-108/+7
|
* Issue #4770: Restrict binascii module to accept only bytes (as specified).Florent Xicluna2010-07-271-4/+4
| | | | And fix the email package to encode to ASCII instead of ``raw-unicode-escape`` before ASCII-to-binary decoding.
* Issue #7989: Added pure python implementation of the datetime module.Alexander Belopolsky2010-07-232-4/+4
|
* Ensure that sys.prefix can reliably be foundRonald Oussoren2010-07-231-1/+1
| | | | | | | | | | | | | on OSX. This fixes a small issue that was exposed by running test_subprocess through regrtest (and hence in a subdirectory). Without this patch running python.exe from the build tree will fail when these tree conditions are true: 1) the CWD is not the root of build tree 2) python.exe is found through $PATH 3) the framework is not yet installed
* Rename some macros in the sha1 module to no longer conflict with termios.h.Brett Cannon2010-07-231-28/+28
|
* This fixes issue7900 by adding code that dealsRonald Oussoren2010-07-231-7/+42
| | | | | | | | | with the fact that getgroups(2) might return more that MAX_GROUPS on OSX. See the issue (and python-dev archives) for the gory details. Summarized: OSX behaves rather oddly and Apple says this is intentional.
* Issue #6095: Make directory argument to os.listdir optional.Martin v. Löwis2010-07-231-9/+21
| | | | Patch by Virgil Dupras.
* Apply patch from Ray Allen for issue 9296Doug Hellmann2010-07-211-1/+1
|
* Fix #9316. if/is grammar corrections.Brian Curtin2010-07-211-3/+3
|
* Issue #9277: Struct module: standard bool packing was incorrect ifMark Dickinson2010-07-181-2/+2
| | | | char is unsigned. Thanks Stefan Krah for the patch.
* Issue #5180: Fixed a bug that prevented loading 2.x pickles in 3.xAlexander Belopolsky2010-07-171-24/+14
| | | | python when they contain instances of old-style classes.
* Improve docstrings for isnan, isinf and isfinite.Mark Dickinson2010-07-111-3/+3
|
* Issue #9165: Add math.isfinite and cmath.isfinite.Mark Dickinson2010-07-112-0/+28
|
* #9184: fix default value for "buffering" param of open().Georg Brandl2010-07-111-1/+1
|
* Issue #9189: Allow users to set $CFLAGS, $CPPFLAGS, and $LDFLAGS when runningJeffrey Yasskin2010-07-091-1/+1
| | | | | | | | | | | | | configure to append to Python's default values for those variables, and similarly allow users to set $XXFLAGS on the make command line to append to the values set by configure. In the makefile, this renames the variables that used to be $XXFLAGS to $PY_XXFLAGS, and renames the old $PY_CFLAGS to $PY_CORE_CFLAGS. To compensate, sysconfig now aliases $XXFLAGS=$PY_XXFLAGS so that scripts using it keep working. I see that as the right interface, not a backward-compatibility hack, since these are logically the $XXFLAGS variables; we just use a different name in the makefile to deal with make's semantics.
* Re-flow several long lines from #1578269.Brian Curtin2010-07-091-11/+23
|
* Implement #1578269. Patch by Jason R. Coombs.Brian Curtin2010-07-081-20/+526
| | | | | | | | | | | | | | | | Added Windows support for os.symlink when run on Windows 6.0 or greater, aka Vista. Previous Windows versions will raise NotImplementedError when trying to symlink. Includes numerous test updates and additions to test_os, including a symlink_support module because of the fact that privilege escalation is required in order to run the tests to ensure that the user is able to create symlinks. By default, accounts do not have the required privilege, so the escalation code will have to be exposed later (or documented on how to do so). I'll be following up with that work next. Note that the tests use ctypes, which was agreed on during the PyCon language summit.
* Fix typo in a comment in mathmodule.c.Ezio Melotti2010-07-081-1/+1
|
* Issue #5288: Eliminated round-trips between timdelta and int offsetsAlexander Belopolsky2010-07-071-475/+398
|
* don't ignore exceptions from PyObject_IsTrueBenjamin Peterson2010-07-071-2/+8
|
* Issue #9186: log1p(-1.0) should raise ValueError, not OverflowError.Mark Dickinson2010-07-071-1/+1
|
* Minor refactoring in lgamma code, for clarity.Mark Dickinson2010-07-071-14/+10
|
* Issue #9000: datetime.timezone objects now have eval-friendly repr.Alexander Belopolsky2010-07-061-2/+22
|
* Indentation and PEP 7 fixes.Mark Dickinson2010-07-061-20/+23
|
* Post-detabification cleanup.Mark Dickinson2010-07-051-8/+8
|
* Issue #9130: Validate ellipsis tokens in relative imports.Mark Dickinson2010-07-041-6/+6
|
* Issue #9130: Fix validation of relative imports in parser module.Mark Dickinson2010-07-041-3/+4
|
* Issue #9128: Fix validation of class decorators in parser module.Mark Dickinson2010-07-041-8/+9
|
* Issue #9152: Removed dead code in datetime moduleAlexander Belopolsky2010-07-041-5/+0
|
* Fix refleak in Modules/audioop.c.Mark Dickinson2010-07-041-2/+7
|
* Merged revisions 82492 via svnmerge fromVictor Stinner2010-07-031-73/+71
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82492 | victor.stinner | 2010-07-03 15:36:19 +0200 (sam., 03 juil. 2010) | 3 lines Issue #7673: Fix security vulnerability (CVE-2010-2089) in the audioop module, ensure that the input string length is a multiple of the frame size ........
* Merged revisions 82466 via svnmerge fromAlexander Belopolsky2010-07-031-2/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82466 | alexander.belopolsky | 2010-07-02 23:27:12 -0400 (Fri, 02 Jul 2010) | 1 line Revert r81681 (issue 8810). ........
* Style/consistency nit: make math_floor and math_ceil code look the same.Mark Dickinson2010-07-021-6/+4
|
* fix lookup of __ceil__Benjamin Peterson2010-07-021-9/+9
|
* account for different ref counting semantics of _PyObject_LookupSpecialBenjamin Peterson2010-07-021-4/+8
|
* correctly lookup __trunc__ and __floor__Benjamin Peterson2010-07-011-20/+11
|