Commit Graph

29045 Commits

Author SHA1 Message Date
Raymond Hettinger 23a0f4ed21 Small correction to example 2004-01-05 08:15:20 +00:00
Raymond Hettinger 97ef8de92d * Add various updates reflecting the last two weeks of checkins:
timeit, base64, MSVC++ 7.1 build, METH_COEXISTS, and optimizations.

* Put in a comment suggesting an improvement to the rsplit() example.
2004-01-05 00:29:57 +00:00
Hye-Shik Chang 75c00efcc7 [SF #866875] Add a specialized routine for one character
separaters on str.split() and str.rsplit().
2004-01-05 00:29:51 +00:00
Jack Jansen cb2117a83c Allow passing NULL pointers by passing None. This also works for the
factory functions, so you can call quicktime functions that are implemented
as methods on NULL too.

Still don't allow quicktime functions to return NULL pointers, though: I
think this always signals an error condition.
2004-01-04 22:33:33 +00:00
Raymond Hettinger c14149e6ef Show how to re-enable GC during timings. 2004-01-04 21:19:18 +00:00
Hye-Shik Chang 2b2c97356f FIx unicodefilename support of posix.uname(). This fixes test_unicode_file
failure on FreeBSD.
2004-01-04 13:54:25 +00:00
Raymond Hettinger d73ef06cd3 Exercise sorted() where possible 2004-01-04 11:14:51 +00:00
Raymond Hettinger b86269db45 Apply pre-sizing optimization to a broader class of objects.
Formerly, the length was only fetched from sequence objects.
Now, any object that reports its length can benefit from pre-sizing.
2004-01-04 11:00:08 +00:00
Martin v. Löwis 4618cc09ec Bump build number 2004-01-04 09:58:33 +00:00
Raymond Hettinger 77f3c87113 Apply map/zip pre-sizing optimization to a broader class of objects.
Formerly, the length was only fetched from sequence objects.
Now, any object that reports its length can benefit from pre-sizing.
2004-01-04 08:54:44 +00:00
Raymond Hettinger 7832cd6141 Apply tuple/list pre-sizing optimization to a broader class of objects.
Formerly, length data fetched from sequence objects.
Now, any object that reports its length can benefit from pre-sizing.

On one sample timing, it gave a threefold speedup for list(s) where s
was a set object.
2004-01-04 06:08:16 +00:00
Raymond Hettinger 674d56b82e Convert return value to boolean. 2004-01-04 04:00:13 +00:00
Raymond Hettinger 816ed1b0bd SF patch #868736: Disable GC for timeit
Make timings more consistent by temporarily disabling GC.
2004-01-04 03:47:51 +00:00
Raymond Hettinger 4cd5a08d8b Fix small factual error. 2004-01-04 03:11:45 +00:00
Tim Peters 71745802ec Update to record .pyd files removed for Python 2.4. 2004-01-04 03:00:51 +00:00
Tim Peters 12cfa6d662 That's it -- works as well under VC6 as it ever did now. 2004-01-04 02:51:36 +00:00
Tim Peters 055844ea80 The _tkinter subproject works with VC6 again. 2004-01-04 02:32:53 +00:00
Tim Peters 590de2c20c The bz2 subproject works with VC6 again. 2004-01-04 02:30:49 +00:00
Tim Peters f32b0271a9 The _ssl subproject may <heh> be working w/ VC6 again. 2004-01-04 02:27:33 +00:00
Tim Peters c844a03edf The _bsddb subproject works again under VC6. 2004-01-04 02:12:55 +00:00
Tim Peters caba60a752 Removed dead text about MS subprojects that no longer exist. 2004-01-04 02:04:35 +00:00
Tim Peters 28df74fc62 Getting closer (but not yet there) to being able to compile under VC6
again.  Removed the following subprojects and folded them into pythoncore,
to match what's being done under VC7.  We *can* build the core DLL
under VC6 again after this:

datetime.dsp
winreg.dsp
parser.dsp
_sre.dsp
_csv.dsp
mmap.dsp
_symtable.dsp
2004-01-04 02:00:47 +00:00
Barry Warsaw ad9aaeea6d Documentation for new RFC 3548 functions. 2004-01-04 01:14:01 +00:00
Barry Warsaw 30ff12ffc2 Add note about new base64.py module support for RFC 3548. 2004-01-04 01:13:43 +00:00
Barry Warsaw 4f019d3b47 More complete code coverage, including testing the new RFC 3548 support. 2004-01-04 01:13:02 +00:00
Barry Warsaw 4c904d1bf7 Added more complete RFC 3548 support for Base64, Base32, and Base16
encoding and decoding, including optional case folding and optional
alternative alphabets.
2004-01-04 01:12:26 +00:00
Hye-Shik Chang 1bc09b7c2a Cosmetic fix for wrongly indented tabs with ts=4. 2004-01-03 19:35:43 +00:00
Jack Jansen 007b8eb7c4 Added interfaces for most of the stuff in QuickTimeComponents.h. 2004-01-03 17:23:27 +00:00
Tim Peters ff8505dc89 Tons of changes to get this closer to being buildable from this directory;
still far away, but a lot closer than it was.
2004-01-03 05:45:59 +00:00
Jack Jansen 067782438e Added support for ImageCompression.h APIs. 2004-01-02 23:51:22 +00:00
Jack Jansen 59f7dc9b40 Updated for QuickTime 6.0, Universal Header 3.4.2. 2004-01-02 23:27:42 +00:00
Jeremy Hylton ecd9129c94 Add comment to mollify Tim. 2004-01-02 23:25:32 +00:00
Martin v. Löwis 203eec46c1 Move VC6 project files here. 2004-01-02 21:15:07 +00:00
Martin v. Löwis 48918f7109 Update build procedure to VC 7.1; make more modules builtin. 2004-01-02 21:14:37 +00:00
Martin v. Löwis 79ef96d68d Update build procedure to VC 7.1. 2004-01-02 21:13:59 +00:00
Martin v. Löwis b38b019807 Update build procedure to VC 7.1 and newer versions of several packages. 2004-01-02 21:13:28 +00:00
Alex Martelli b993b067d2 The script now takes an optional command-line argument to specify how many
loops to run (default remains 50,000 if no argument is specified).
2004-01-02 17:11:54 +00:00
Andrew M. Kuchling 6e4f7a82da [Bug #812325 ] tarfile.close() can write out more bytes to the output
than are specified by the buffer size.  The patch calls .__write()
   to ensure that any full blocks are written out.
2004-01-02 15:44:29 +00:00
Fred Drake b914ef0a33 list the Python Software Foundation on all the documents 2004-01-02 06:57:50 +00:00
Fred Drake d3530be729 PythonLabs --> Python Software Foundation 2004-01-02 06:52:06 +00:00
Kurt B. Kaiser e9802a301d - Print correct exception even if source file changed since shell was
restarted.  IDLEfork Patch 869012 Noam Raphael

Modified Files:
	NEWS.txt run.py
2004-01-02 04:04:04 +00:00
Andrew M. Kuchling 44a31e1dab Use 'input' as variable name, even though it shadows a built-in
Remove applications of rsplit() and random numbers
Typo fixes; minor tweaks
2004-01-01 18:33:34 +00:00
Fred Drake 6237ef1ddc in the section "The interpreter stack":
- rearranged a bit to avoid duplicated information
- provide more complete (and hopefully less confusing) descriptions of
  the return values for most of these functions
  (close SF bug #563298)
2004-01-01 07:21:14 +00:00
Raymond Hettinger 621c53ee9f Add sets to list of picklable objects. 2004-01-01 05:53:51 +00:00
Fred Drake 7a700b873b clean up indexing for None, NotImplemented
closes SF bug #820344
2004-01-01 05:43:53 +00:00
Fred Drake fcadf6bdaf fix reference to File Object documentation
closes SF bug #825810
2004-01-01 03:41:27 +00:00
Raymond Hettinger 74bb7f03b1 SF Patch 681780: Faster commonprefix (OS independent)
Improved based on discussions at:

http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/252177
http://groups.google.com/groups?th=fc7b54f11af6b24e&seekm=bss2so$om$00$1@news.t-online.com
2003-12-31 22:44:29 +00:00
Raymond Hettinger 9b4dab4da1 SF patch #859286: documentation bool change fix
(Contributed by George Yoshida.)
2003-12-31 18:37:28 +00:00
Raymond Hettinger a3b11e7fb3 * Simplify and speedup logic for tp_print.
* Speed-up intersection whenever PyDict_Next can be used.
2003-12-31 14:08:58 +00:00
Fred Drake a180581511 use conventional whitespace in interactive example 2003-12-31 07:41:52 +00:00