Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Bug #1473625: stop cPickle making float dumps locale dependent in protocol 0. | Georg Brandl | 2006-04-30 | 1 | -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, and | Martin v. Löwis | 2006-04-29 | 1 | -0/+19 |
| | | | | add expat_config.h. | ||||
* | Bug #1478429: make datetime.datetime.fromtimestamp accept every float, | Georg Brandl | 2006-04-28 | 1 | -0/+7 |
| | | | | possibly "rounding up" to the next whole second. | ||||
* | Fix some warnings on Mac OS X 10.4 | Neal Norwitz | 2006-04-28 | 1 | -0/+4 |
| | |||||
* | Fix build on MIPS for libffi. I haven't tested this yet because I | Hye-Shik Chang | 2006-04-26 | 3 | -2/+13 |
| | | | | don't have an access on MIPS machines. Will be tested by buildbot. :) | ||||
* | Patch from Aldo Cortesi (OpenBSD buildbot owner). | Neal Norwitz | 2006-04-26 | 1 | -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 Heller | 2006-04-25 | 1 | -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 uses | Thomas Wouters | 2006-04-25 | 1 | -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 and | Thomas Wouters | 2006-04-25 | 1 | -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 terminated | Thomas Wouters | 2006-04-25 | 1 | -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äring | 2006-04-23 | 15 | -262/+229 |
| | |||||
* | Patch 1471761 - test for broken poll at runtime | Ronald Oussoren | 2006-04-23 | 1 | -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 OSX | Ronald Oussoren | 2006-04-23 | 3 | -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öwis | 2006-04-22 | 2 | -4/+4 |
| | |||||
* | Fix more ssize_t problems. | Martin v. Löwis | 2006-04-22 | 3 | -8/+16 |
| | |||||
* | Fix comment typo | Andrew M. Kuchling | 2006-04-22 | 1 | -1/+1 |
| | |||||
* | Merge in changes from ctypes 0.9.9.6 upstream version. | Thomas Heller | 2006-04-21 | 9 | -99/+297 |
| | |||||
* | Backport p3yk r45619: | Hye-Shik Chang | 2006-04-21 | 1 | -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 Montanaro | 2006-04-21 | 1 | -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 Norwitz | 2006-04-20 | 1 | -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 indentation | Neal Norwitz | 2006-04-20 | 1 | -2/+1 |
| | |||||
* | Correct implementation and documentation of os.confstr. Add a simple test | Skip Montanaro | 2006-04-20 | 1 | -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 special | Armin Rigo | 2006-04-19 | 1 | -6/+31 |
| | | | | abstract namespace that is now fully supported. | ||||
* | Rename remaining StgDictObject's ffi_type fields to ffi_type_pointer. | Thomas Heller | 2006-04-18 | 1 | -3/+3 |
| | |||||
* | C++ compiler cleanup: the typical few casts, and ... C++ didn't like that | Skip Montanaro | 2006-04-18 | 6 | -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 Montanaro | 2006-04-18 | 1 | -3/+4 |
| | | | | under C++ though... | ||||
* | C++ compiler cleanup: "typename" is a C++ keyword | Skip Montanaro | 2006-04-18 | 1 | -11/+11 |
| | |||||
* | Fix refcounting. | Thomas Heller | 2006-04-18 | 1 | -0/+2 |
| | | | | This makes 'import ctypes; reload(ctypes)' no longer leak reference counts. | ||||
* | C++ compiler cleanup: proper casts | Skip Montanaro | 2006-04-18 | 1 | -2/+2 |
| | |||||
* | correct function signature | Skip Montanaro | 2006-04-18 | 1 | -1/+1 |
| | |||||
* | reset errno before calling confstr - use confstr() doc to simplify checks ↵ | Skip Montanaro | 2006-04-18 | 1 | -7/+9 |
| | | | | afterwards | ||||
* | Remove unused field | Neal Norwitz | 2006-04-17 | 1 | -1/+0 |
| | |||||
* | No reason to export get_decomp_record, make static | Neal Norwitz | 2006-04-17 | 1 | -1/+1 |
| | |||||
* | Initialize structseq types only once. | Martin v. Löwis | 2006-04-16 | 7 | -17/+48 |
| | |||||
* | Fix valgrind problem with invalid memory read | Neal Norwitz | 2006-04-16 | 1 | -2/+1 |
| | |||||
* | Fix memory leak | Neal Norwitz | 2006-04-16 | 1 | -1/+5 |
| | |||||
* | err is no longer used | Neal Norwitz | 2006-04-16 | 1 | -1/+1 |
| | |||||
* | Add missing PyObject_GC_Track call, causing *some* itertools.tee objects to | Thomas Wouters | 2006-04-15 | 1 | -0/+1 |
| | | | | | | | | | not be tracked by GC. This fixes 254 of test_generators' refleaks on my machine, but I'm sure something else will make them come back :> Not adding a separate test for this kind of cycle, since the existing fib/m235 already test them in more extensive ways than any 'minimal' test has been able to manage. | ||||
* | Use Py_VISIT in all tp_traverse methods, instead of traversing manually or | Thomas Wouters | 2006-04-15 | 6 | -74/+38 |
| | | | | | | | | using a custom, nearly-identical macro. This probably changes how some of these functions are compiled, which may result in fractionally slower (or faster) execution. Considering the nature of traversal, visiting much of the address space in unpredictable patterns, I'd argue the code readability and maintainability is well worth it ;P | ||||
* | Fix for FreeBSD. Fixes http://python.org/sf/1470353. | Thomas Heller | 2006-04-15 | 1 | -2/+2 |
| | | | | Looks like a libffi bug. | ||||
* | Remove partial change (don't edit, commit and think at the same time :P) | Thomas Wouters | 2006-04-15 | 1 | -1/+0 |
| | |||||
* | Re-instate backward compatibility by defining Py_CLEAR if it isn't | Thomas Wouters | 2006-04-15 | 1 | -0/+14 |
| | | | | available. | ||||
* | Use Py_CLEAR instead of in-place DECREF/XDECREF or custom macros, for | Thomas Wouters | 2006-04-15 | 4 | -37/+24 |
| | | | | tp_clear methods. | ||||
* | Patch #1191065: Fix preprocessor problems on systems where recvfrom | Martin v. Löwis | 2006-04-15 | 1 | -6/+8 |
| | | | | is a macro. | ||||
* | Coverity-found bug: datetime_strptime() failed to check for NULL return from | Thomas Wouters | 2006-04-14 | 1 | -0/+4 |
| | | | | | | PySequence_GetItem of the time.strptime() result. Not a high probability bug, but not inconceivable either, considering people can provide their own 'time' module. | ||||
* | Patch #1470300: Port _hotshot to QNX4.25 port. | Martin v. Löwis | 2006-04-14 | 1 | -2/+2 |
| | |||||
* | Patch #1324762: Change --with-cxx to --with-cxx-main. | Martin v. Löwis | 2006-04-14 | 1 | -11/+0 |
| | |||||
* | Add a test for Py_ssize_t. Correct typo in getargs.c. | Georg Brandl | 2006-04-13 | 1 | -11/+21 |
| | |||||
* | Replace INT_MAX with PY_SSIZE_T_MAX. | Martin v. Löwis | 2006-04-13 | 1 | -1/+1 |
| | |||||
* | Replace INT_MAX with PY_SSIZE_T_MAX. | Martin v. Löwis | 2006-04-13 | 1 | -3/+3 |
| |