summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* I like tests.Andrew Dalke2006-05-261-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 Peters2006-05-261-2/+1
|
* - Remove previous version of the binary distribution script for OSXRonald Oussoren2006-05-2615-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 Blais2006-05-266-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 Lundh2006-05-261-1/+1
| | | | but Trent's copy thinks that it's an anachronism...
* Typo fixesAndrew M. Kuchling2006-05-261-1/+1
|
* needforspeed: added PY_LOCAL_AGGRESSIVE macro to enable "aggressive"Fredrik Lundh2006-05-262-15/+31
| | | | LOCAL inlining; also added some missing whitespace
* Integrate installing a framework in the 'make install'Ronald Oussoren2006-05-263-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 directoriesRonald Oussoren2006-05-261-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 objectsFredrik Lundh2006-05-263-37/+18
|
* when generating python code prefer to generate valid python codeJack Diederich2006-05-261-3/+3
|
* needforspeed: added Py_LOCAL macro, based on the LOCAL macro usedFredrik Lundh2006-05-262-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 Brandl2006-05-261-0/+1
|
* Fix buglet in postinstall script, it would generate an invalid .cshrc file.Ronald Oussoren2006-05-261-1/+1
|
* Added split whitespace checks for characters other than space.Andrew Dalke2006-05-261-0/+1
|
* use Py_ssize_t in places that may need itJack Diederich2006-05-261-25/+25
|
* Added a few more test cases for whitespace split. These strings have ↵Andrew Dalke2006-05-261-0/+7
| | | | leading whitespace.
* needforspeed: use Py_ssize_t for the fastsearch counter and skipFredrik Lundh2006-05-262-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 someFredrik Lundh2006-05-262-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 Brandl2006-05-261-4/+5
|
* needforspeed: partition implementation, part two.Fredrik Lundh2006-05-265-78/+143
| | | | feel free to improve the documentation and the docstrings.
* Without this patch OSX users couldn't add new help sources because the codeRonald Oussoren2006-05-261-0/+1
| | | | tried to update one item in a tuple.
* Add Soc studentAndrew M. Kuchling2006-05-261-4/+5
|
* needforspeed: partition for 8-bit strings. for some simple tests,Fredrik Lundh2006-05-251-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 warningsTim Peters2006-05-251-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 toTim Peters2006-05-251-4/+4
| | | | use the Windows time.clock() implementation on Win64.
* Move over to use of METH_O and METH_NOARGS.Brett Cannon2006-05-251-12/+24
|
* Add missing files from x86 darwin ctypes patchBob Ippolito2006-05-253-0/+830
|
* Whitespace normalization.Tim Peters2006-05-251-2/+2
|
* Some Win64 pre-release in 2000 didn't supportTim Peters2006-05-252-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 Cannon2006-05-251-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.cRonald Oussoren2006-05-251-1/+1
|
* Add a x-ref to newer calling APIs.Georg Brandl2006-05-251-0/+4
|
* fix test_float regression and 64-bit size mismatch issueBob Ippolito2006-05-251-2/+16
|
* squelch gcc4 darwin/x86 compiler warningsBob Ippolito2006-05-251-1/+1
|
* Swap out bare malloc()/free() use for PyMem_MALLOC()/PyMem_FREE() .Brett Cannon2006-05-251-2/+2
|
* Someone seems to just have copy-pasted the docs ofGeorg Brandl2006-05-251-4/+4
| | | | tp_compare to tp_richcompare ;)
* enable darwin/x86 support for libffi and hence ctypes (doesn't yet support ↵Bob Ippolito2006-05-259-6/+120
| | | | --enable-universalsdk)
* Use faster struct pack/unpack functions for the endian table that matches ↵Bob Ippolito2006-05-251-3/+27
| | | | the host's
* Use LONG_MIN and LONG_MAX to check Python integer bounds instead of the ↵Bob Ippolito2006-05-251-10/+13
| | | | incorrect INT_MIN and INT_MAX
* needforspeed: use insert+reverse instead of appendFredrik Lundh2006-05-251-16/+8
|
* Replace PyObject_CallFunction calls with only object argsGeorg Brandl2006-05-258-20/+17
| | | | with PyObject_CallFunctionObjArgs, which is 30% faster.
* fix a struct regression where long would be returned for short unsigned integersBob Ippolito2006-05-251-0/+6
|
* Fix Cygwin compiler issueBob Ippolito2006-05-251-1/+5
|
* * eliminate warning by reverting tmp_s type to 'const char*'Jack Diederich2006-05-251-1/+1
|
* Struct now unpacks to PY_LONG_LONG directly when possible, also include ↵Bob Ippolito2006-05-251-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. theFredrik Lundh2006-05-251-1/+25
| | | | related tests are now about 10x faster.
* Guard the _active.remove() call to avoid errors when there is no _active list.Georg Brandl2006-05-251-2/+3
|
* Faster path for PyLong_FromLongLong, using PyLong_FromLong algorithmBob Ippolito2006-05-251-10/+50
|
* Added overflow test for adding two (very) large strings where theAndrew Dalke2006-05-251-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.