Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | I like tests. | Andrew Dalke | 2006-05-26 | 1 | -0/+32 |
| | | | | | | | The new split functions use a preallocated list. Added tests which exceed the preallocation size, to exercise list appends/resizes. Also added more edge case tests. | ||||
* | Whitespace normalization. | Tim Peters | 2006-05-26 | 1 | -2/+1 |
| | |||||
* | - Remove previous version of the binary distribution script for OSX | Ronald Oussoren | 2006-05-26 | 15 | -663/+87 |
| | | | | | | | - Some small bugfixes for the IDLE.app wrapper - Tweaks to build-installer to ensure that python gets build in the right way, including sqlite3. - Updated readme files | ||||
* | Support for buffer protocol for socket and struct. | Martin Blais | 2006-05-26 | 6 | -203/+533 |
| | | | | | | | | | | * Added socket.recv_buf() and socket.recvfrom_buf() methods, that use the buffer protocol (send and sendto already did). * Added struct.pack_to(), that is the corresponding buffer compatible method to unpack_from(). * Fixed minor typos in arraymodule. | ||||
* | Py_LOCAL shouldn't be used for data; it works for some .NET 2003 compilers, | Fredrik Lundh | 2006-05-26 | 1 | -1/+1 |
| | | | | but Trent's copy thinks that it's an anachronism... | ||||
* | Typo fixes | Andrew M. Kuchling | 2006-05-26 | 1 | -1/+1 |
| | |||||
* | needforspeed: added PY_LOCAL_AGGRESSIVE macro to enable "aggressive" | Fredrik Lundh | 2006-05-26 | 2 | -15/+31 |
| | | | | LOCAL inlining; also added some missing whitespace | ||||
* | Integrate installing a framework in the 'make install' | Ronald Oussoren | 2006-05-26 | 3 | -5/+25 |
| | | | | | | | target. Until now users had to use 'make frameworkinstall' to install python when it is configured with '--enable-framework'. This tends to confuse users that don't hunt for readme files hidden in platform specific directories :-) | ||||
* | - Search the sqlite specific search directories | Ronald Oussoren | 2006-05-26 | 1 | -1/+45 |
| | | | | | | | | | | | | | after the normal include directories when looking for the version of sqlite to use. - On OSX: * Extract additional include and link directories from the CFLAGS and LDFLAGS, if the user has bothered to specify them we might as wel use them. * Add '-Wl,-search_paths_first' to the extra_link_args for readline and sqlite. This makes it possible to use a static library to override the system provided dynamic library. | ||||
* | use Py_LOCAL also for string and unicode objects | Fredrik Lundh | 2006-05-26 | 3 | -37/+18 |
| | |||||
* | when generating python code prefer to generate valid python code | Jack Diederich | 2006-05-26 | 1 | -3/+3 |
| | |||||
* | needforspeed: added Py_LOCAL macro, based on the LOCAL macro used | Fredrik Lundh | 2006-05-26 | 2 | -53/+70 |
| | | | | | for SRE and others. applied Py_LOCAL to relevant portion of ceval, which gives a 1-2% speedup on my machine. ymmv. | ||||
* | Add "partition" to UserString. | Georg Brandl | 2006-05-26 | 1 | -0/+1 |
| | |||||
* | Fix buglet in postinstall script, it would generate an invalid .cshrc file. | Ronald Oussoren | 2006-05-26 | 1 | -1/+1 |
| | |||||
* | Added split whitespace checks for characters other than space. | Andrew Dalke | 2006-05-26 | 1 | -0/+1 |
| | |||||
* | use Py_ssize_t in places that may need it | Jack Diederich | 2006-05-26 | 1 | -25/+25 |
| | |||||
* | Added a few more test cases for whitespace split. These strings have ↵ | Andrew Dalke | 2006-05-26 | 1 | -0/+7 |
| | | | | leading whitespace. | ||||
* | needforspeed: use Py_ssize_t for the fastsearch counter and skip | Fredrik Lundh | 2006-05-26 | 2 | -2/+2 |
| | | | | | length (thanks, neal!). and yes, I've verified that this doesn't slow things down ;-) | ||||
* | needforspeed: use METH_O for argument handling, which made partition some | Fredrik Lundh | 2006-05-26 | 2 | -13/+4 |
| | | | | | ~15% faster for the current tests (which is noticable faster than a corre- sponding find call). thanks to neal-who-never-sleeps for the tip. | ||||
* | Clarify docs for str.partition(). | Georg Brandl | 2006-05-26 | 1 | -4/+5 |
| | |||||
* | needforspeed: partition implementation, part two. | Fredrik Lundh | 2006-05-26 | 5 | -78/+143 |
| | | | | feel free to improve the documentation and the docstrings. | ||||
* | Without this patch OSX users couldn't add new help sources because the code | Ronald Oussoren | 2006-05-26 | 1 | -0/+1 |
| | | | | tried to update one item in a tuple. | ||||
* | Add Soc student | Andrew M. Kuchling | 2006-05-26 | 1 | -4/+5 |
| | |||||
* | needforspeed: partition for 8-bit strings. for some simple tests, | Fredrik Lundh | 2006-05-25 | 1 | -5/+66 |
| | | | | | | | | this is on par with a corresponding find, and nearly twice as fast as split(sep, 1) full tests, a unicode version, and documentation will follow to- morrow. | ||||
* | Patch #1494387: SVN longobject.c compiler warnings | Tim Peters | 2006-05-25 | 1 | -1/+1 |
| | | | | | | | | | The SIGCHECK macro defined here has always been bizarre, but it apparently causes compiler warnings on "Sun Studio 11". I believe the warnings are bogus, but it doesn't hurt to make the macro definition saner. Bugfix candidate (but I'm not going to bother). | ||||
* | Repair idiot typo, and complete the job of trying to | Tim Peters | 2006-05-25 | 1 | -4/+4 |
| | | | | use the Windows time.clock() implementation on Win64. | ||||
* | Move over to use of METH_O and METH_NOARGS. | Brett Cannon | 2006-05-25 | 1 | -12/+24 |
| | |||||
* | Add missing files from x86 darwin ctypes patch | Bob Ippolito | 2006-05-25 | 3 | -0/+830 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2006-05-25 | 1 | -2/+2 |
| | |||||
* | Some Win64 pre-release in 2000 didn't support | Tim Peters | 2006-05-25 | 2 | -4/+7 |
| | | | | | | | | QueryPerformanceCounter(), but we believe Win64 does support it now. So use in time.clock(). It would be peachy if someone with a Win64 box tried this ;-) | ||||
* | Change test_values so that it compares the lowercasing of group names since ↵ | Brett Cannon | 2006-05-25 | 1 | -1/+4 |
| | | | | | | getgrall() can return all lowercase names while getgrgid() returns proper casing. Discovered on Ubuntu 5.04 (custom). | ||||
* | Fix minor typo in prep_cif.c | Ronald Oussoren | 2006-05-25 | 1 | -1/+1 |
| | |||||
* | Add a x-ref to newer calling APIs. | Georg Brandl | 2006-05-25 | 1 | -0/+4 |
| | |||||
* | fix test_float regression and 64-bit size mismatch issue | Bob Ippolito | 2006-05-25 | 1 | -2/+16 |
| | |||||
* | squelch gcc4 darwin/x86 compiler warnings | Bob Ippolito | 2006-05-25 | 1 | -1/+1 |
| | |||||
* | Swap out bare malloc()/free() use for PyMem_MALLOC()/PyMem_FREE() . | Brett Cannon | 2006-05-25 | 1 | -2/+2 |
| | |||||
* | Someone seems to just have copy-pasted the docs of | Georg Brandl | 2006-05-25 | 1 | -4/+4 |
| | | | | tp_compare to tp_richcompare ;) | ||||
* | enable darwin/x86 support for libffi and hence ctypes (doesn't yet support ↵ | Bob Ippolito | 2006-05-25 | 9 | -6/+120 |
| | | | | --enable-universalsdk) | ||||
* | Use faster struct pack/unpack functions for the endian table that matches ↵ | Bob Ippolito | 2006-05-25 | 1 | -3/+27 |
| | | | | the host's | ||||
* | Use LONG_MIN and LONG_MAX to check Python integer bounds instead of the ↵ | Bob Ippolito | 2006-05-25 | 1 | -10/+13 |
| | | | | incorrect INT_MIN and INT_MAX | ||||
* | needforspeed: use insert+reverse instead of append | Fredrik Lundh | 2006-05-25 | 1 | -16/+8 |
| | |||||
* | Replace PyObject_CallFunction calls with only object args | Georg Brandl | 2006-05-25 | 8 | -20/+17 |
| | | | | with PyObject_CallFunctionObjArgs, which is 30% faster. | ||||
* | fix a struct regression where long would be returned for short unsigned integers | Bob Ippolito | 2006-05-25 | 1 | -0/+6 |
| | |||||
* | Fix Cygwin compiler issue | Bob Ippolito | 2006-05-25 | 1 | -1/+5 |
| | |||||
* | * eliminate warning by reverting tmp_s type to 'const char*' | Jack Diederich | 2006-05-25 | 1 | -1/+1 |
| | |||||
* | Struct now unpacks to PY_LONG_LONG directly when possible, also include ↵ | Bob Ippolito | 2006-05-25 | 1 | -6/+88 |
| | | | | #ifdef'ed out code that will return int instead of long when in bounds (not active since it's an API and doc change) | ||||
* | needforspeed: use fastsearch also for find/index and contains. the | Fredrik Lundh | 2006-05-25 | 1 | -1/+25 |
| | | | | related tests are now about 10x faster. | ||||
* | Guard the _active.remove() call to avoid errors when there is no _active list. | Georg Brandl | 2006-05-25 | 1 | -2/+3 |
| | |||||
* | Faster path for PyLong_FromLongLong, using PyLong_FromLong algorithm | Bob Ippolito | 2006-05-25 | 1 | -10/+50 |
| | |||||
* | Added overflow test for adding two (very) large strings where the | Andrew Dalke | 2006-05-25 | 1 | -2/+7 |
| | | | | | new string is over max Py_ssize_t. I have no way to test it on my box or any box I have access to. At least it doesn't break anything. |