Raymond Hettinger
4e2f714031
Fix Issue 1045.
...
Factor-out common calling code by simplifying the length_hint API.
Speed-up the function by caching the PyObject_String for the attribute lookup.
2007-12-06 00:56:53 +00:00
Georg Brandl
923ad7a948
Add another GHOP student to ACKS.
2007-12-06 00:24:23 +00:00
Christian Heimes
18679948c4
The macros _WIN32, _WIN64 and _M_X64 are defined by the compiler. The VS 2008 IDE doesn't know about (some) of the macros and can display wrong information. In my case a section #ifdef _WIN64 was grayed out although the platform was x64. I've added the macros to pyproject.vsprops and x64.vsprops.
...
I've also added a paragraph about the property files to the readme and fixed the order of pyupdate > pyinstrument.
2007-12-05 21:57:25 +00:00
Georg Brandl
749fddc093
Add Ross Light, a GHOP student, to ACKs.
2007-12-05 21:52:40 +00:00
Christian Heimes
cbdb705c88
Fixed bug #1557 by using popen.communicate() before popen.wait()
2007-12-05 20:10:38 +00:00
Ronald Oussoren
ba687525c5
This "fixes" compilation issues for the Carbon._OSA module on OSX Leopard
...
by purging bindings to OSA's debug API's. Those APIs we're completely
unsupported on OSX 10.4 and are no longer available on OSX 10.5.
Note that this patches a generated file. This is somewhat acceptable because
regenerating the file is non-trivial and wouldn't use system headers anyway.
2007-12-05 20:07:36 +00:00
Georg Brandl
0b60a14f13
Another markup fix.
2007-12-05 20:03:57 +00:00
Christian Heimes
4c07cd9d0c
Updated documentation and build_tkinter.py script
2007-12-05 19:57:54 +00:00
Georg Brandl
45c088c2e7
Fix markup.
2007-12-05 19:49:21 +00:00
Georg Brandl
b8df156ab5
Add examples to re docs. Written for GHOP by Dan Finnie.
2007-12-05 18:30:48 +00:00
Raymond Hettinger
2e1af256d4
Error checking was too aggressive (reported by Chris Tismer)
2007-12-05 18:11:08 +00:00
Georg Brandl
722e1011c9
Add examples to csv, pprint and traceback docs.
...
Written by Ross for GHOP.
2007-12-05 17:56:50 +00:00
Andrew M. Kuchling
395fe44210
Spelling fix
2007-12-05 13:27:20 +00:00
Christian Heimes
7cc1c6f0af
Added msg to Misc/NEWS
2007-12-05 12:52:34 +00:00
Christian Heimes
fe4826f6ac
merge -r59315:59316 from py3k: Fix issue #1553 : An errornous __length_hint__ can make list() raise a SystemError
2007-12-05 12:49:14 +00:00
Christian Heimes
8f1fea5061
Fixed error in regrtest. I must have missed the spot.
2007-12-05 12:45:11 +00:00
Christian Heimes
76fa9c0e9d
Fixed quoting and paths in the sqlite project file
2007-12-05 12:31:44 +00:00
Georg Brandl
2d3953bd78
Fix typo.
2007-12-05 07:02:47 +00:00
Christian Heimes
0116158c7f
These optimizations create smaller and a bit faster code on my machine. I've also disabled an optimization that may be dangerous. Intrinsic functions conflict with errno.
2007-12-04 18:43:19 +00:00
Georg Brandl
c37f288ec6
Add tutorial and examples to logging docs, from GHOP student "oscar8thegrouch".
2007-12-04 17:46:27 +00:00
Georg Brandl
21c666501b
Fix duplicate label and a typo.
2007-12-04 16:50:28 +00:00
Christian Heimes
1206a227c9
Added warning that make install may overwrite or masquerade the default python binary. Use make altinstall instead.
...
A native English speaker may want to rephrase the paragraph. ;)
2007-12-04 16:36:20 +00:00
Facundo Batista
58f6f2e0c9
fma speedup by avoiding to create a Context. Thanks Mark Dickinson.
2007-12-04 16:31:53 +00:00
Georg Brandl
d95a1ee652
Add "Python on Unix" document, mostly written for GHOP
...
by Shriphani Palakodety.
2007-12-04 16:10:02 +00:00
Christian Heimes
19b1aaa45d
Added VS 2005 and VS 2008 to the search path for cabarc.exe
2007-12-04 15:52:14 +00:00
Christian Heimes
9acba0441e
Added self generated UUID for msvcr90.dll to msi.py
...
Readded a missing line.
2007-12-04 14:57:30 +00:00
Martin v. Löwis
69233e87c4
Move nt.access change into the right section.
2007-12-04 08:39:16 +00:00
Martin v. Löwis
a51d5c8c15
Fix chflags issue on Tru64, from #1490190 .
2007-12-04 08:37:59 +00:00
Martin v. Löwis
7b3cc06a9a
Forward-port r59310:
...
os.access now returns True on Windows for any existing directory.
2007-12-03 23:09:04 +00:00
Guido van Rossum
e227263a6c
Shut up a compiler warning.
2007-12-03 22:02:10 +00:00
Andrew M. Kuchling
6e751f4ffa
Grammar fix
2007-12-03 21:28:41 +00:00
Georg Brandl
0a0cf16de9
Add examples to the xmlrpclib docs.
...
Written for GHOP by Josip Dzolonga.
2007-12-03 20:03:46 +00:00
Christian Heimes
44eeaec173
Patch #1537 from Chad Austin
...
Change GeneratorExit's base class from Exception to BaseException
(This time I'm applying the patch to the correct sandbox.)
2007-12-03 20:01:02 +00:00
Georg Brandl
cbcfe4f3e4
#1548 : fix apostroph placement.
2007-12-03 19:57:02 +00:00
Facundo Batista
bd5b623257
Two small fixes. Issue 1547.
2007-12-03 19:49:54 +00:00
Martin v. Löwis
6b449f4f2b
Issue #1727780 : Support loading pickles of random.Random objects created
...
on 32-bit systems on 64-bit systems, and vice versa. As a consequence
of the change, Random pickles created by Python 2.6 cannot be loaded
in Python 2.5.
2007-12-03 19:20:02 +00:00
Facundo Batista
2ec7415db5
Faster _fix function, and some reordering for a more elegant
...
coding. Thanks Mark Dickinson.
2007-12-03 17:55:00 +00:00
Facundo Batista
62edb71556
Speedup and cleaning of __str__. Thanks Mark Dickinson.
2007-12-03 16:29:52 +00:00
Christian Heimes
0f6d4e6cd3
I followed MA Lemberg's suggestion and added comments to the late initialization of the type slots.
2007-12-03 14:28:04 +00:00
Christian Heimes
c654fc2cad
Added comment to Misc/NEWS for r59290
2007-12-03 13:55:16 +00:00
Christian Heimes
3305c52de7
Applied my patch #1455 with some extra fixes for VS 2005
...
The new msvc9compiler module supports VS 2005 and VS 2008. I've also fixed build_ext to support PCbuild8 and PCbuild9 and backported my fix for xxmodule.c from py3k. The old code msvccompiler is still in place in case somebody likes to build an extension with VS 2003 or earlier.
I've also updated the cygwin compiler module for VS 2005 and VS 2008. It works with VS 2005 but I'm unable to test it with VS 2008. We have to wait for a new version of cygwin.
2007-12-03 13:47:29 +00:00
Nick Coghlan
ef01d822aa
Implement PEP 366
2007-12-03 12:55:17 +00:00
Georg Brandl
f19b951126
Add documentation for PySys_* functions.
...
Written by Charlie Shepherd for GHOP. Also fixes #1245 .
2007-12-02 21:58:54 +00:00
Georg Brandl
968a3e570d
Fix a sentence I missed before. Do not merge to 3k.
2007-12-02 18:17:50 +00:00
Georg Brandl
584265b001
Add more entries to the glossary.
...
Written by Jeff Wheeler for GHOP.
2007-12-02 14:58:50 +00:00
Georg Brandl
b15a8df519
Convert bdb.rst line endings to Unix style.
2007-12-02 14:37:29 +00:00
Georg Brandl
fefcd4ec40
Add example to mmap docs.
...
Written for GHOP by Rafal Rawicki.
2007-12-02 14:34:34 +00:00
Georg Brandl
87983f24cf
Add "Using Python on Windows" document, by Robert Lehmann.
...
Written for GHOP.
2007-12-01 23:12:45 +00:00
Georg Brandl
39bd059e42
Add examples to the ElementTree documentation.
...
Written by h4wk.cz for GHOP.
2007-12-01 22:42:46 +00:00
Georg Brandl
e4317fade8
Add test suite for cmd module.
...
Written by Michael Schneider for GHOP.
2007-12-01 22:38:48 +00:00