summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Patch #1492356: Port to Windows CE (patch set 1).Martin v. Löwis2006-05-224-110/+115
|
* Patch #1490224: set time.altzone correctly on Cygwin.Georg Brandl2006-05-171-1/+1
|
* Fix typo in os.utime docstring (patch #1490189)Georg Brandl2006-05-171-1/+1
|
* PyZlib_copy(), PyZlib_uncopy(): Repair leaks on the normal-case path.Tim Peters2006-05-171-5/+9
|
* Patch #1435422: zlib's compress and decompress objects now have aGeorg Brandl2006-05-161-0/+102
| | | | copy() method.
* - Test for sys/statvfs.h before including it, as statvfs is presentMartin v. Löwis2006-05-161-5/+5
| | | | | on some OSX installation, but its header file is not. Will backport to 2.4
* Fix memory leak.Martin v. Löwis2006-05-151-0/+1
|
* Remove lie in new comment.Tim Peters2006-05-131-3/+1
|
* Teach PyString_FromFormat, PyErr_Format, and PyString_FromFormatVTim Peters2006-05-131-4/+43
| | | | | | | | | | | | about "%u", "%lu" and "%zu" formats. Since PyString_FromFormat and PyErr_Format have exactly the same rules (both inherited from PyString_FromFormatV), it would be good if someone with more LaTeX Fu changed one of them to just point to the other. Their docs were way out of synch before this patch, and I just did a mass copy+paste to repair that. Not a backport candidate (this is a new feature).
* Fix alignment error on Itanium.Martin v. Löwis2006-05-121-3/+6
|
* Dynamically allocate path name buffer for UnicodeMartin v. Löwis2006-05-121-17/+28
| | | | | | path name in listdir. Fixes #1431582. Stop overallocating MAX_PATH characters for ANSI path names. Stop assigning to errno.
* Don't mask a no memory error with a less meaningful one as discussed on ↵Neal Norwitz2006-05-111-3/+1
| | | | python-checkins
* Fix problems found by Coverity.Neal Norwitz2006-05-103-4/+8
| | | | | | | | | | | | | longobject.c: also fix an ssize_t problem <a> could have been NULL, so hoist the size calc to not use <a>. _ssl.c: under fail: self is DECREF'd, but it would have been NULL. _elementtree.c: delete self if there was an error. _csv.c: I'm not sure if lineterminator could have been anything other than a string. However, other string method calls are checked, so check this one too.
* Add missing PyMem_Free.Martin v. Löwis2006-05-081-0/+1
|
* Port access, chmod, parts of getcwdu, mkdir, and utime to direct Win32 API.Martin v. Löwis2006-05-061-52/+193
|
* Clean up.Thomas Heller2006-05-051-6/+1
|
* Export the 'free' standard C function for use in the test suite.Thomas Heller2006-05-051-0/+5
|
* Drop now-unnecessary arguments to posix_2str.Martin v. Löwis2006-05-041-3/+3
|
* Implement os.{chdir,rename,rmdir,remove} using Win32 directly.Martin v. Löwis2006-05-041-93/+156
|
* Get rid of __context__, per the latest changes to PEP 343 and python-devGuido van Rossum2006-05-021-9/+0
| | | | | | | | discussion. There are two places of documentation that still mention __context__: Doc/lib/libstdtypes.tex -- I wasn't quite sure how to rewrite that without spending a whole lot of time thinking about it; and whatsnew, which Andrew usually likes to change himself.
* Fix breakage from patch 1471883 (r45800 & r45808) on OSF/1.Neal Norwitz2006-05-023-8/+8
| | | | | | The problem was that pyconfig.h was being included before some system headers which caused redefinitions and other breakage. This moves system headers after expat_config.h which includes pyconfig.h.
* Work around deadlock risk. Will backport.Martin v. Löwis2006-05-011-3/+15
|
* Bug #1473625: stop cPickle making float dumps locale dependent in protocol 0.Georg Brandl2006-04-301-1/+3
| | | | | On the way, add a decorator to test_support to facilitate running single test functions in different locales with automatic cleanup.
* Further changes for #1471883: Edit Misc/NEWS, andMartin v. Löwis2006-04-291-0/+19
| | | | add expat_config.h.
* Bug #1478429: make datetime.datetime.fromtimestamp accept every float,Georg Brandl2006-04-281-0/+7
| | | | possibly "rounding up" to the next whole second.
* Fix some warnings on Mac OS X 10.4Neal Norwitz2006-04-281-0/+4
|
* Fix build on MIPS for libffi. I haven't tested this yet because IHye-Shik Chang2006-04-263-2/+13
| | | | don't have an access on MIPS machines. Will be tested by buildbot. :)
* Patch from Aldo Cortesi (OpenBSD buildbot owner).Neal Norwitz2006-04-261-7/+14
| | | | | | | | | | After the patch (45590) to add extra debug stats to the gc module, Python was crashing on OpenBSD due to: Fatal Python error: Interpreter not initialized (version mismatch?) This seems to occur due to calling collect() when initialized (in pythonrun.c) is set to 0. Now, the import will occur in the init function which shouldn't suffer this problem.
* Fix compiler warnings on Darwin.Thomas Heller2006-04-251-5/+5
| | | | | Patch by Brett Canon, see https://sourceforge.net/tracker/?func=detail&atid=532156&aid=1475959&group_id=71702
* Define MAXPATHLEN to be at least PATH_MAX, if that's defined. Python usesThomas Wouters2006-04-251-0/+4
| | | | | | | | | MAXPATHLEN-sized buffers for various output-buffers (like to realpath()), and that's correct on BSD platforms, but not Linux (which uses PATH_MAX, and does not define MAXPATHLEN.) Cursory googling suggests Linux is following a newer standard than BSD, but in cases like this, who knows. Using the greater of PATH_MAX and 1024 as a fallback for MAXPATHLEN seems to be the most portable solution.
* Fix SF bug #1476111: SystemError in socket sendto. The AF_INET6 andThomas Wouters2006-04-251-0/+16
| | | | | | AF_PACKET cases in getsockaddrarg were missing their own checks for tuple-ness of the address argument, which means a confusing SystemError was raised by PyArg_ParseTuple instead.
* SF bug/patch #1433877: string parameter to ioctl not null terminatedThomas Wouters2006-04-251-5/+10
| | | | | | | The new char-array used in ioctl calls wasn't explicitly NUL-terminated; quite probably the cause for the test_pty failures on Solaris that we circumvented earlier. (I wasn't able to reproduce it with this patch, but it has been somewhat elusive to start with.)
* Updated the sqlite3 module to the external pysqlite 2.2.2 version.Gerhard Häring2006-04-2315-262/+229
|
* Patch 1471761 - test for broken poll at runtimeRonald Oussoren2006-04-231-17/+66
| | | | | This patch checks if poll is broken when the select module is loaded instead of doing so at configure-time. This functionality is only active on Mac OS X.
* Patch 1471925 - Weak linking support for OSXRonald Oussoren2006-04-233-2/+98
| | | | | | This patch causes several symbols in the socket and posix module to be weakly linked on OSX and disables usage of ftime on OSX. These changes make it possible to use a binary build on OSX 10.4 on a 10.3 system.
* Fix more ssize_t issues.Martin v. Löwis2006-04-222-4/+4
|
* Fix more ssize_t problems.Martin v. Löwis2006-04-223-8/+16
|
* Fix comment typoAndrew M. Kuchling2006-04-221-1/+1
|
* Merge in changes from ctypes 0.9.9.6 upstream version.Thomas Heller2006-04-219-99/+297
|
* Backport p3yk r45619:Hye-Shik Chang2006-04-211-4/+28
| | | | | | Add empty __init__ methods for stateful multibytecodec instances. This resolves a problem found by Thomas Wouters: http://mail.python.org/pipermail/python-dev/2006-April/064051.html
* This is a long-ago patch I submitted to SF (1100924) to time the gc passes.Skip Montanaro2006-04-211-0/+29
| | | | | Barry approved it awhile ago. Been sitting in my sandbox for awhile as well.
* Address issues brought up by MvL on python-checkins.Neal Norwitz2006-04-201-4/+4
| | | | | | | | | I tested this with valgrind on amd64. The man pages I found for diff architectures are inconsistent on this. I'm not entirely sure this change is correct for all architectures either. Perhaps we should just over-allocate and not worry about it?
* Whitespace, fix indentationNeal Norwitz2006-04-201-2/+1
|
* Correct implementation and documentation of os.confstr. Add a simple testSkip Montanaro2006-04-201-6/+9
| | | | case. I've yet to figure out how to provoke a None return I can test.
* SF Patch #1062014: AF_UNIX sockets under Linux have a specialArmin Rigo2006-04-191-6/+31
| | | | abstract namespace that is now fully supported.
* Rename remaining StgDictObject's ffi_type fields to ffi_type_pointer.Thomas Heller2006-04-181-3/+3
|
* C++ compiler cleanup: the typical few casts, and ... C++ didn't like thatSkip Montanaro2006-04-186-37/+42
| | | | | | the StgDictObject's ffi_type member had the same name as its type. I changed that to ffi_type_pointer. Feel free to change it to something else more meaningful, just not ffi_type.
* C++ compiler cleanup: a cast here, a cast there... still does not compile ↵Skip Montanaro2006-04-181-3/+4
| | | | under C++ though...
* C++ compiler cleanup: "typename" is a C++ keywordSkip Montanaro2006-04-181-11/+11
|
* Fix refcounting.Thomas Heller2006-04-181-0/+2
| | | | This makes 'import ctypes; reload(ctypes)' no longer leak reference counts.