]> granicus.if.org Git - python/log
python
18 years agoEnd of Ch.3 is now about "with statement".
George Yoshida [Sat, 27 May 2006 16:51:43 +0000 (16:51 +0000)]
End of Ch.3 is now about "with statement".
Avoid obsolescence by directly referring to the section.

18 years agominor markup nits
George Yoshida [Sat, 27 May 2006 16:32:44 +0000 (16:32 +0000)]
minor markup nits

18 years agomove semicolons
Richard Jones [Sat, 27 May 2006 16:15:11 +0000 (16:15 +0000)]
move semicolons

18 years agodoc string additions and tweaks
Richard Jones [Sat, 27 May 2006 16:07:28 +0000 (16:07 +0000)]
doc string additions and tweaks

18 years agofix struct regression on 64-bit platforms
Bob Ippolito [Sat, 27 May 2006 15:53:49 +0000 (15:53 +0000)]
fix struct regression on 64-bit platforms

18 years agoneedforspeed: use PyObject_MALLOC instead of system malloc for small
Jack Diederich [Sat, 27 May 2006 15:44:34 +0000 (15:44 +0000)]
needforspeed: use PyObject_MALLOC instead of system malloc for small
allocations.  Use PyMem_MALLOC for larger (1k+) chunks.  1%-2% speedup.

18 years agoAdd a PCBuild8 build directory for building with Visual Studio .NET 2005. Contains...
Kristján Valur Jónsson [Sat, 27 May 2006 15:41:31 +0000 (15:41 +0000)]
Add a PCBuild8 build directory for building with Visual Studio .NET 2005.  Contains a special project to perform profile guided optimizations on the pythoncore.dll, by instrumenting and running pybench.py

18 years agoneedforspeed: stringlib refactoring: use find_slice for stringobject
Fredrik Lundh [Sat, 27 May 2006 15:26:19 +0000 (15:26 +0000)]
needforspeed: stringlib refactoring: use find_slice for stringobject

18 years agoneedforspeed: stringlib refactoring: changed find_obj to find_slice,
Fredrik Lundh [Sat, 27 May 2006 15:20:22 +0000 (15:20 +0000)]
needforspeed: stringlib refactoring: changed find_obj to find_slice,
to enable use from stringobject

18 years agoneedforspeed: replace improvements, changed to Py_LOCAL_INLINE
Fredrik Lundh [Sat, 27 May 2006 14:58:20 +0000 (14:58 +0000)]
needforspeed: replace improvements, changed to Py_LOCAL_INLINE
where appropriate

18 years agoRemove spurious semicolons after macro invocations.
Georg Brandl [Sat, 27 May 2006 14:41:55 +0000 (14:41 +0000)]
Remove spurious semicolons after macro invocations.

18 years agocleanup - removed trailing whitespace
Andrew Dalke [Sat, 27 May 2006 14:16:40 +0000 (14:16 +0000)]
cleanup - removed trailing whitespace

18 years agoThe cheery optimism of old age.
Tim Peters [Sat, 27 May 2006 14:13:13 +0000 (14:13 +0000)]
The cheery optimism of old age.

18 years agoAlways close BZ2Proxy object. Remove unnecessary struct usage.
Georg Brandl [Sat, 27 May 2006 14:02:03 +0000 (14:02 +0000)]
Always close BZ2Proxy object. Remove unnecessary struct usage.

18 years agocredit where credit is due
Richard Jones [Sat, 27 May 2006 13:50:42 +0000 (13:50 +0000)]
credit where credit is due

18 years agoMention new-style exceptions
Andrew M. Kuchling [Sat, 27 May 2006 13:44:37 +0000 (13:44 +0000)]
Mention new-style exceptions

18 years agoMore random thrashing trying to understand spurious
Tim Peters [Sat, 27 May 2006 12:36:53 +0000 (12:36 +0000)]
More random thrashing trying to understand spurious
Windows failures.  Who's keeping a bz2 file open?

18 years agoAdd news item for new-style exception class branch merge.
Georg Brandl [Sat, 27 May 2006 12:30:25 +0000 (12:30 +0000)]
Add news item for new-style exception class branch merge.

18 years agoConversion of exceptions over from faked-up classes to new-style C types.
Richard Jones [Sat, 27 May 2006 12:29:24 +0000 (12:29 +0000)]
Conversion of exceptions over from faked-up classes to new-style C types.

18 years agoFix up struct docstrings, add struct.pack_to function for symmetry
Bob Ippolito [Sat, 27 May 2006 12:11:36 +0000 (12:11 +0000)]
Fix up struct docstrings, add struct.pack_to function for symmetry

18 years agoRemove the range checking and int usage #defines from _struct and strip out the now...
Bob Ippolito [Sat, 27 May 2006 11:47:12 +0000 (11:47 +0000)]
Remove the range checking and int usage #defines from _struct and strip out the now-dead code

18 years agoAdd Py_LOCAL macros
Andrew M. Kuchling [Sat, 27 May 2006 11:26:33 +0000 (11:26 +0000)]
Add Py_LOCAL macros

18 years agoRevert bogus change committed in 46432 to this file.
Martin v. Löwis [Sat, 27 May 2006 11:07:49 +0000 (11:07 +0000)]
Revert bogus change committed in 46432 to this file.

18 years agofixed typo
Andrew Dalke [Sat, 27 May 2006 11:04:36 +0000 (11:04 +0000)]
fixed typo

18 years agoneedforspeed: backed out the Py_LOCAL-isation of ceval; the massive in-
Fredrik Lundh [Sat, 27 May 2006 10:39:48 +0000 (10:39 +0000)]
needforspeed: backed out the Py_LOCAL-isation of ceval; the massive in-
lining killed performance on certain Intel boxes, and the "aggressive"
macro itself gives most of the benefits on others.

18 years agoneedforspeed: more stringlib refactoring
Fredrik Lundh [Sat, 27 May 2006 10:05:10 +0000 (10:05 +0000)]
needforspeed: more stringlib refactoring

18 years agoExplain why 'consumed' is initialized.
Martin v. Löwis [Sat, 27 May 2006 08:54:29 +0000 (08:54 +0000)]
Explain why 'consumed' is initialized.

18 years agoPatch 1494554: Update numeric properties to Unicode 4.1.
Martin v. Löwis [Sat, 27 May 2006 08:36:52 +0000 (08:36 +0000)]
Patch 1494554: Update numeric properties to Unicode 4.1.

18 years agoFix Coverity warnings.
Neal Norwitz [Sat, 27 May 2006 05:21:30 +0000 (05:21 +0000)]
Fix Coverity warnings.
 - Check the correct variable (str_obj, not str) for NULL
 - sep_len was already verified it wasn't 0

18 years agoFix compiler warning (and whitespace) on Mac OS 10.4. (A lot of this code looked...
Neal Norwitz [Sat, 27 May 2006 05:18:57 +0000 (05:18 +0000)]
Fix compiler warning (and whitespace) on Mac OS 10.4.  (A lot of this code looked duplicated, I wonder if a utility function could help reduce the duplication here.)

18 years agoReinstate new-style object tests.
Steve Holden [Sat, 27 May 2006 00:51:52 +0000 (00:51 +0000)]
Reinstate new-style object tests.

18 years agoPatch 1145039.
Tim Peters [Fri, 26 May 2006 23:14:37 +0000 (23:14 +0000)]
Patch 1145039.

set_exc_info(), reset_exc_info():  By exploiting the
likely (who knows?) invariant that when an exception's
`type` is NULL, its `value` and `traceback` are also NULL,
save some cycles in heavily-executed code.

This is a "a kronar saved is a kronar earned" patch:  the
speedup isn't reliably measurable, but it obviously does
reduce the operation count in the normal (no exception
raised) path through PyEval_EvalFrameEx().

The tim-exc_sanity branch tries to push this harder, but
is still blowing up (at least in part due to pre-existing
subtle bugs that appear to have no other visible
consequences!).

Not a bugfix candidate.

18 years agoAdded description of why splitlines doesn't use the prealloc strategy
Andrew Dalke [Fri, 26 May 2006 22:49:03 +0000 (22:49 +0000)]
Added description of why splitlines doesn't use the prealloc strategy

18 years agoBlasted typos ...
Steve Holden [Fri, 26 May 2006 22:39:27 +0000 (22:39 +0000)]
Blasted typos ...

18 years agoUpdate help text and documentaition.
Steve Holden [Fri, 26 May 2006 22:33:20 +0000 (22:33 +0000)]
Update help text and documentaition.

18 years agoAdd Richard Tew to developers
Steve Holden [Fri, 26 May 2006 22:17:54 +0000 (22:17 +0000)]
Add Richard Tew to developers

18 years agoWhitespace normalization.
Tim Peters [Fri, 26 May 2006 21:51:13 +0000 (21:51 +0000)]
Whitespace normalization.

18 years agoRecord Iceland sprint attendees.
Tim Peters [Fri, 26 May 2006 20:56:56 +0000 (20:56 +0000)]
Record Iceland sprint attendees.

18 years agoenable all of the struct tests, use ssize_t, fix some whitespace
Bob Ippolito [Fri, 26 May 2006 20:25:23 +0000 (20:25 +0000)]
enable all of the struct tests, use ssize_t, fix some whitespace

18 years agoAdded limits to the replace code so it does not count all of the matching
Andrew Dalke [Fri, 26 May 2006 20:25:22 +0000 (20:25 +0000)]
Added limits to the replace code so it does not count all of the matching
patterns in a string, only the number needed by the max limit.

18 years agoSimplify calling.
Georg Brandl [Fri, 26 May 2006 20:22:50 +0000 (20:22 +0000)]
Simplify calling.

18 years agoPatch #1492218: document None being a constant.
Georg Brandl [Fri, 26 May 2006 20:14:47 +0000 (20:14 +0000)]
Patch #1492218: document None being a constant.

18 years agoReplace Py_BuildValue("OO") by PyTuple_Pack.
Georg Brandl [Fri, 26 May 2006 20:04:44 +0000 (20:04 +0000)]
Replace Py_BuildValue("OO") by PyTuple_Pack.

18 years agoComment typo
Andrew M. Kuchling [Fri, 26 May 2006 19:51:10 +0000 (19:51 +0000)]
Comment typo

18 years agoneedforspeed: stringlib refactoring: use stringlib/find for string find
Fredrik Lundh [Fri, 26 May 2006 19:48:07 +0000 (19:48 +0000)]
needforspeed: stringlib refactoring: use stringlib/find for string find

18 years agoWrite more docs.
Thomas Heller [Fri, 26 May 2006 19:43:45 +0000 (19:43 +0000)]
Write more docs.

18 years agoneedforspeed: use a macro to fix slice indexes
Fredrik Lundh [Fri, 26 May 2006 19:33:03 +0000 (19:33 +0000)]
needforspeed: use a macro to fix slice indexes

18 years agoneedforspeed: stringlib refactoring: use stringlib/find for unicode
Fredrik Lundh [Fri, 26 May 2006 19:29:05 +0000 (19:29 +0000)]
needforspeed: stringlib refactoring: use stringlib/find for unicode
find

18 years agoneedforspeed: stringlib refactoring, continued. added count and
Fredrik Lundh [Fri, 26 May 2006 19:24:53 +0000 (19:24 +0000)]
needforspeed: stringlib refactoring, continued.  added count and
find helpers; updated unicodeobject to use stringlib_count

18 years agoadded rpartition method to UserString class
Fredrik Lundh [Fri, 26 May 2006 19:23:21 +0000 (19:23 +0000)]
added rpartition method to UserString class

18 years agoException isn't the root of all exception classes anymore.
Georg Brandl [Fri, 26 May 2006 19:04:47 +0000 (19:04 +0000)]
Exception isn't the root of all exception classes anymore.

18 years agoChange C spacing to 4 spaces by default to match PEP 7 for new C files.
Brett Cannon [Fri, 26 May 2006 19:04:47 +0000 (19:04 +0000)]
Change C spacing to 4 spaces by default to match PEP 7 for new C files.

18 years agosubstring split now uses /F's fast string matching algorithm.
Andrew Dalke [Fri, 26 May 2006 19:02:09 +0000 (19:02 +0000)]
substring split now uses /F's fast string matching algorithm.
  (If compiled without FAST search support, changed the pre-memcmp test
   to check the last character as well as the first.  This gave a 25%
   speedup for my test case.)

Rewrote the split algorithms so they stop when maxsplit gets to 0.
Previously they did a string match first then checked if the maxsplit
was reached.  The new way prevents a needless string search.

18 years agoAdd rpartition() and path caching
Andrew M. Kuchling [Fri, 26 May 2006 18:41:18 +0000 (18:41 +0000)]
Add rpartition() and path caching

18 years agoRevert tests to MAL's original round sizes to retiain comparability
Steve Holden [Fri, 26 May 2006 18:26:21 +0000 (18:26 +0000)]
Revert tests to MAL's original round sizes to retiain comparability
from long ago and far away. Stop calling this pybench 1.4 because it
isn't. Remove the empty test, which was a bad idea.

18 years agoneedspeed: rpartition documentation, tests, and a bug fixes.
Fredrik Lundh [Fri, 26 May 2006 18:24:15 +0000 (18:24 +0000)]
needspeed: rpartition documentation, tests, and a bug fixes.

feel free to add more tests and improve the documentation.

18 years agoneedforspeed: added rpartition implementation
Fredrik Lundh [Fri, 26 May 2006 18:15:38 +0000 (18:15 +0000)]
needforspeed: added rpartition implementation

18 years agoremoved unnecessary include
Fredrik Lundh [Fri, 26 May 2006 18:05:34 +0000 (18:05 +0000)]
removed unnecessary include

18 years agoNeed for speed: Patch #921466 : sys.path_importer_cache is now used to cache valid and
Georg Brandl [Fri, 26 May 2006 18:03:31 +0000 (18:03 +0000)]
Need for speed: Patch #921466 : sys.path_importer_cache is now used to cache valid and
  invalid file paths for the built-in import machinery which leads to
  fewer open calls on startup.

  Also fix issue with PEP 302 style import hooks which lead to more open()
  calls than necessary.

18 years agoReordered, and wrote more docs.
Thomas Heller [Fri, 26 May 2006 17:47:40 +0000 (17:47 +0000)]
Reordered, and wrote more docs.

18 years agoUse minimum calibration time rather than avergae to avoid
Steve Holden [Fri, 26 May 2006 17:41:32 +0000 (17:41 +0000)]
Use minimum calibration time rather than avergae to avoid
the illusion of negative run times. Halt with an error if
run times go below 10 ms, indicating that results will be
unreliable.

18 years agoneedforspeed: remove remaining USE_FAST macros; if fastsearch was
Fredrik Lundh [Fri, 26 May 2006 17:31:41 +0000 (17:31 +0000)]
needforspeed: remove remaining USE_FAST macros; if fastsearch was
broken, someone would have noticed by now ;-)

18 years agoneedforspeed: cleanup
Fredrik Lundh [Fri, 26 May 2006 17:26:39 +0000 (17:26 +0000)]
needforspeed: cleanup

18 years agoneedforspeed: stringlib refactoring (in progress)
Fredrik Lundh [Fri, 26 May 2006 17:22:38 +0000 (17:22 +0000)]
needforspeed: stringlib refactoring (in progress)

18 years agoWrite some docs.
Thomas Heller [Fri, 26 May 2006 17:18:33 +0000 (17:18 +0000)]
Write some docs.

18 years agoneedforspeed: stringlib refactoring (in progress)
Fredrik Lundh [Fri, 26 May 2006 17:04:58 +0000 (17:04 +0000)]
needforspeed: stringlib refactoring (in progress)

18 years agoAdd missing svn:eol-style property to text files.
Tim Peters [Fri, 26 May 2006 16:53:04 +0000 (16:53 +0000)]
Add missing svn:eol-style property to text files.

18 years agoWhitespace normalization.
Tim Peters [Fri, 26 May 2006 16:52:04 +0000 (16:52 +0000)]
Whitespace normalization.

18 years agoRepair Windows compiler warnings about mixing
Tim Peters [Fri, 26 May 2006 16:49:28 +0000 (16:49 +0000)]
Repair Windows compiler warnings about mixing
signed and unsigned integral types in comparisons.

18 years agoFor now, I gave up with automatic conversion of reST to Python-latex,
Thomas Heller [Fri, 26 May 2006 16:42:44 +0000 (16:42 +0000)]
For now, I gave up with automatic conversion of reST to Python-latex,
so I'm writing this in latex now.

Skeleton for the ctypes reference.

18 years agoneedforspeed: use Py_LOCAL on a few more locals in stringobject.c
Fredrik Lundh [Fri, 26 May 2006 16:32:42 +0000 (16:32 +0000)]
needforspeed: use Py_LOCAL on a few more locals in stringobject.c

18 years agoAdd -t option to allow easy test selection.
Steve Holden [Fri, 26 May 2006 16:27:59 +0000 (16:27 +0000)]
Add -t option to allow easy test selection.
Action verbose option correctly.
Tweak operation counts. Add empty and new instances tests.
Enable comparisons across different warp factors. Change version.

18 years agofix signed/unsigned mismatch in struct
Bob Ippolito [Fri, 26 May 2006 16:23:28 +0000 (16:23 +0000)]
fix signed/unsigned mismatch in struct

18 years agoTest for more edge strip cases; leading and trailing separator gets removed
Andrew Dalke [Fri, 26 May 2006 16:22:52 +0000 (16:22 +0000)]
Test for more edge strip cases; leading and trailing separator gets removed
even with strip(..., 0)

18 years agoEeked out another 3% or so performance in split whitespace by cleaning up the algorithm.
Andrew Dalke [Fri, 26 May 2006 15:21:01 +0000 (15:21 +0000)]
Eeked out another 3% or so performance in split whitespace by cleaning up the algorithm.

18 years agoEnable PY_USE_INT_WHEN_POSSIBLE in struct
Bob Ippolito [Fri, 26 May 2006 14:29:35 +0000 (14:29 +0000)]
Enable PY_USE_INT_WHEN_POSSIBLE in struct

18 years agoFix _struct typo that broke some 64-bit platforms
Bob Ippolito [Fri, 26 May 2006 14:23:21 +0000 (14:23 +0000)]
Fix _struct typo that broke some 64-bit platforms

18 years agoFix distutils so that libffi will cross-compile between darwin/x86 and darwin/ppc
Bob Ippolito [Fri, 26 May 2006 14:07:23 +0000 (14:07 +0000)]
Fix distutils so that libffi will cross-compile between darwin/x86 and darwin/ppc

18 years agoTypo fix
Andrew M. Kuchling [Fri, 26 May 2006 14:04:19 +0000 (14:04 +0000)]
Typo fix

18 years agoAdd buffer support for struct, socket
Andrew M. Kuchling [Fri, 26 May 2006 14:03:41 +0000 (14:03 +0000)]
Add buffer support for struct, socket

18 years agoExplicitly close files. I'm trying to stop the frequent spurious test_tarfile
Tim Peters [Fri, 26 May 2006 14:02:05 +0000 (14:02 +0000)]
Explicitly close files.  I'm trying to stop the frequent spurious test_tarfile
failures on Windows buildbots, but it's hard to know how since the regrtest
failure output is useless here, and it never fails when a buildbot slave runs
test_tarfile the second time in verbose mode.

18 years agoChanges to string.split/rsplit on whitespace to preallocate space in the
Andrew Dalke [Fri, 26 May 2006 14:00:45 +0000 (14:00 +0000)]
Changes to string.split/rsplit on whitespace to preallocate space in the
results list.

Originally it allocated 0 items and used the list growth during append.  Now
it preallocates 12 items so the first few appends don't need list reallocs.

("Here are some words ."*2).split(None, 1) is 7% faster
("Here are some words ."*2).split() is is 15% faster

  (Your milage may vary, see dealership for details.)

File parsing like this

    for line in f:
        count += len(line.split())

is also about 15% faster.  There is a slowdown of about 3% for large
strings because of the additional overhead of checking if the append is
to a preallocated region of the list or not.  This will be the rare case.
It could be improved with special case code but we decided it was not
useful enough.

There is a cost of 12*sizeof(PyObject *) bytes per list.  For the normal
case of file parsing this is not a problem because of the lists have
a short lifetime.  We have not come up with cases where this is a problem
in real life.

I chose 12 because human text averages about 11 words per line in books,
one of my data sets averages 6.2 words with a final peak at 11 words per
line, and I work with a tab delimited data set with 8 tabs per line (or
9 words per line).  12 encompasses all of these.

Also changed the last rstrip code to append then reverse, rather than
doing insert(0).  The strip() and rstrip() times are now comparable.

18 years agoUse open() to open files (was using file()).
Tim Peters [Fri, 26 May 2006 13:39:17 +0000 (13:39 +0000)]
Use open() to open files (was using file()).

18 years agofix #1229380 No struct.pack exception for some out of range integers
Bob Ippolito [Fri, 26 May 2006 13:15:44 +0000 (13:15 +0000)]
fix #1229380 No struct.pack exception for some out of range integers

18 years agoAdded more rstrip tests, including for prealloc'ed arrays
Andrew Dalke [Fri, 26 May 2006 13:05:55 +0000 (13:05 +0000)]
Added more rstrip tests, including for prealloc'ed arrays

18 years agoquick hack to fix busted binhex test
Bob Ippolito [Fri, 26 May 2006 12:52:53 +0000 (12:52 +0000)]
quick hack to fix busted binhex test

18 years agoAdd str.partition()
Andrew M. Kuchling [Fri, 26 May 2006 12:39:48 +0000 (12:39 +0000)]
Add str.partition()

18 years agoWhitespace normalization.
Tim Peters [Fri, 26 May 2006 12:31:20 +0000 (12:31 +0000)]
Whitespace normalization.

18 years agoTest cases for off-by-one errors in string split with multicharacter pattern.
Andrew Dalke [Fri, 26 May 2006 12:31:00 +0000 (12:31 +0000)]
Test cases for off-by-one errors in string split with multicharacter pattern.

18 years agoI like tests.
Andrew Dalke [Fri, 26 May 2006 12:28:15 +0000 (12:28 +0000)]
I like tests.

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.

18 years agoWhitespace normalization.
Tim Peters [Fri, 26 May 2006 12:26:21 +0000 (12:26 +0000)]
Whitespace normalization.

18 years ago- Remove previous version of the binary distribution script for OSX
Ronald Oussoren [Fri, 26 May 2006 12:23:20 +0000 (12:23 +0000)]
- Remove previous version of the binary distribution script for OSX
- 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

18 years agoSupport for buffer protocol for socket and struct.
Martin Blais [Fri, 26 May 2006 12:03:27 +0000 (12:03 +0000)]
Support for buffer protocol for socket and struct.

* 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.

18 years agoPy_LOCAL shouldn't be used for data; it works for some .NET 2003 compilers,
Fredrik Lundh [Fri, 26 May 2006 12:01:49 +0000 (12:01 +0000)]
Py_LOCAL shouldn't be used for data; it works for some .NET 2003 compilers,
but Trent's copy thinks that it's an anachronism...

18 years agoTypo fixes
Andrew M. Kuchling [Fri, 26 May 2006 12:01:44 +0000 (12:01 +0000)]
Typo fixes

18 years agoneedforspeed: added PY_LOCAL_AGGRESSIVE macro to enable "aggressive"
Fredrik Lundh [Fri, 26 May 2006 11:54:04 +0000 (11:54 +0000)]
needforspeed: added PY_LOCAL_AGGRESSIVE macro to enable "aggressive"
LOCAL inlining; also added some missing whitespace

18 years agoIntegrate installing a framework in the 'make install'
Ronald Oussoren [Fri, 26 May 2006 11:43:26 +0000 (11:43 +0000)]
Integrate installing a framework in the 'make install'
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 :-)

18 years ago- Search the sqlite specific search directories
Ronald Oussoren [Fri, 26 May 2006 11:38:39 +0000 (11:38 +0000)]
- Search the sqlite specific search directories
  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.

18 years agouse Py_LOCAL also for string and unicode objects
Fredrik Lundh [Fri, 26 May 2006 11:38:15 +0000 (11:38 +0000)]
use Py_LOCAL also for string and unicode objects

18 years agowhen generating python code prefer to generate valid python code
Jack Diederich [Fri, 26 May 2006 11:37:20 +0000 (11:37 +0000)]
when generating python code prefer to generate valid python code