summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Fix Issue9545 - Adding _collections to static build.Senthil Kumaran2010-08-091-0/+3
|
* Issue #8524: Add a forget() method to socket objects, so as to put theAntoine Pitrou2010-08-081-0/+17
| | | | | socket into the closed state without closing the underlying file descriptor.
* Issue #477863: Print a warning at shutdown if gc.garbage is not empty.Antoine Pitrou2010-08-081-9/+39
|
* Fix issue6869: refcount problem in the _ctypes extension.Thomas Heller2010-08-081-0/+6
|
* Fix issue5504: ctypes does now work with systems where mmap can't beThomas Heller2010-08-087-18/+31
| | | | PROT_WRITE and PROT_EXEC.
* remove dead code #9292Benjamin Peterson2010-08-081-23/+11
|
* Issue #9425: Create run_file() subfunctionVictor Stinner2010-08-071-24/+36
| | | | | | * Call Py_MakePendingCalls() before converting the filename from wchar_t* to char* * Use PyUnicode_AsUTF8String() instead of _PyUnicode_AsString()
* Issue #9425: Create run_command() subfunctionVictor Stinner2010-08-071-15/+23
| | | | Use PyUnicode_AsUTF8String() instead of _PyUnicode_AsString()
* Fix #9324: Add parameter validation to signal.signal on Windows in orderBrian Curtin2010-08-061-0/+15
| | | | to prevent crashes.
* Issue #9526: Remove outdated casts to int that were preventing the array ↵Mark Dickinson2010-08-061-2/+2
| | | | module from working correctly with arrays > 2GB.
* Issue #9079: Added _PyTime_gettimeofday(_PyTime_timeval *tp) to C APIAlexander Belopolsky2010-08-052-85/+7
| | | | | | exposed in Python.h. This function is similar to POSIX gettimeofday(struct timeval *tp), but available on platforms without gettimeofday().
* 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
|