Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Add PY_SSIZE_T_MIN/MAX to _testcapi. | Georg Brandl | 2006-04-13 | 1 | -0/+2 |
| | |||||
* | C++ compiler changes. casts, rename variables with reserved names. | Anthony Baxter | 2006-04-13 | 3 | -32/+32 |
| | |||||
* | Support NFD of very long strings. | Martin v. Löwis | 2006-04-13 | 1 | -3/+3 |
| | |||||
* | whoops. missed one in an auto-generated file. another extern "C" {} for C++ ↵ | Anthony Baxter | 2006-04-13 | 1 | -0/+10 |
| | | | | compiler compatibility | ||||
* | spread the extern "C" { } magic pixie dust around. Python itself builds now | Anthony Baxter | 2006-04-13 | 3 | -0/+29 |
| | | | | | using a C++ compiler. Still lots and lots of errors in the modules built by setup.py, and a bunch of warnings from g++ in the core. | ||||
* | Fix for a bug found by Armin Rigo, plus test. | Thomas Heller | 2006-04-12 | 1 | -1/+1 |
| | | | | https://sourceforge.net/tracker/?func=detail&atid=532154&aid=1467852&group_id=71702 | ||||
* | Off-by-one buffer overflow error. | Armin Rigo | 2006-04-12 | 1 | -1/+1 |
| | |||||
* | Update for new grammar | Neal Norwitz | 2006-04-12 | 1 | -4/+4 |
| | |||||
* | remove forward declarations. No constructors to move for these files. Makes | Anthony Baxter | 2006-04-12 | 2 | -6/+1 |
| | | | | code work with C++ compilers. | ||||
* | Move constructors, add some casts to make C++ compiler happy. Still a problem | Anthony Baxter | 2006-04-12 | 1 | -202/+201 |
| | | | | with the getstring() results in pattern_subx. Will come back to that. | ||||
* | remove forward declarations, move constructor functions. makes code C++ safe. | Anthony Baxter | 2006-04-12 | 1 | -43/+42 |
| | |||||
* | Some more changes to make code compile under a C++ compiler. | Anthony Baxter | 2006-04-11 | 4 | -9/+10 |
| | |||||
* | Clear errno before calling opendir() and readdir(). | Georg Brandl | 2006-04-11 | 1 | -0/+1 |
| | |||||
* | Bug #1467952: os.listdir() now correctly raises an error if readdir() | Georg Brandl | 2006-04-11 | 1 | -0/+6 |
| | | | | fails with an error condition. | ||||
* | SF Patch #1463867: Improved generator finalization to allow generators | Phillip J. Eby | 2006-04-10 | 1 | -1/+5 |
| | | | | | | | | that are suspended outside of any try/except/finally blocks to be garbage collected even if they are part of a cycle. Generators that suspend inside of an active try/except or try/finally block (including those created by a ``with`` statement) are still not GC-able if they are part of a cycle, however. | ||||
* | Fix warning about ptsname not being a prototype on Solaris. Is this ↵ | Neal Norwitz | 2006-04-10 | 1 | -1/+1 |
| | | | | prototype even necessary anymore? | ||||
* | Get rid of warnings about using chars as subscripts | Neal Norwitz | 2006-04-10 | 2 | -3/+3 |
| | | | | on Alpha (and possibly other platforms) by using Py_CHARMASK(). | ||||
* | Fix some warnings on HP-UX when using cc/aCC | Neal Norwitz | 2006-04-10 | 3 | -6/+4 |
| | |||||
* | Fix problem (not checking return result) reported by Coverity | Neal Norwitz | 2006-04-09 | 1 | -1/+4 |
| |