]> granicus.if.org Git - python/log
python
17 years agoRevert dummy commit now that the build slave is building.
Georg Brandl [Sun, 16 Dec 2007 11:21:48 +0000 (11:21 +0000)]
Revert dummy commit now that the build slave is building.

17 years agoDummy commit to investigate #1617.
Georg Brandl [Sun, 16 Dec 2007 11:06:09 +0000 (11:06 +0000)]
Dummy commit to investigate #1617.

17 years agoArgh, wrong version.
Georg Brandl [Sat, 15 Dec 2007 09:36:37 +0000 (09:36 +0000)]
Argh, wrong version.

17 years agoAdd note about future import needed for with statement.
Georg Brandl [Sat, 15 Dec 2007 09:34:59 +0000 (09:34 +0000)]
Add note about future import needed for with statement.

17 years agoFixed #1624: Remove output comparison for test_pep277
Christian Heimes [Sat, 15 Dec 2007 05:38:35 +0000 (05:38 +0000)]
Fixed #1624: Remove output comparison for test_pep277
I had to modify Brett's patch slightly.

17 years agoOptimize PyList_AsTuple(). Improve cache performance by doing the
Raymond Hettinger [Sat, 15 Dec 2007 00:07:25 +0000 (00:07 +0000)]
Optimize PyList_AsTuple(). Improve cache performance by doing the
pointer copy and object increment in one pass.  For small lists,
save the overhead of the call to memcpy() -- this comes up in
calls like f(*listcomp).

17 years agoFixed bug #1628
Christian Heimes [Fri, 14 Dec 2007 23:42:36 +0000 (23:42 +0000)]
Fixed bug #1628
The detection now works on Unix with Makefile, Makefile with VPATH and on Windows.

17 years agoBump the version number, and make a few small edits
Andrew M. Kuchling [Fri, 14 Dec 2007 22:52:36 +0000 (22:52 +0000)]
Bump the version number, and make a few small edits

17 years agoRemove warning about URL
Andrew M. Kuchling [Fri, 14 Dec 2007 22:41:18 +0000 (22:41 +0000)]
Remove warning about URL

17 years agoAdd usage note
Raymond Hettinger [Fri, 14 Dec 2007 21:51:50 +0000 (21:51 +0000)]
Add usage note

17 years agoFaster and simpler _replace() method
Raymond Hettinger [Fri, 14 Dec 2007 19:19:59 +0000 (19:19 +0000)]
Faster and simpler _replace() method

17 years agoAdd a section about nested listcomps to the tutorial.
Georg Brandl [Fri, 14 Dec 2007 19:03:36 +0000 (19:03 +0000)]
Add a section about nested listcomps to the tutorial.
Thanks to Ian Bruntlett and Robert Lehmann.

17 years agoUpdate method names for named tuples.
Raymond Hettinger [Fri, 14 Dec 2007 18:12:21 +0000 (18:12 +0000)]
Update method names for named tuples.

17 years agoAdd line spacing for readability
Raymond Hettinger [Fri, 14 Dec 2007 18:08:20 +0000 (18:08 +0000)]
Add line spacing for readability

17 years agoFixed warning in ssl module
Christian Heimes [Fri, 14 Dec 2007 04:38:13 +0000 (04:38 +0000)]
Fixed warning in ssl module

17 years agoFixed a warning in _codecs_iso2022.c and some non C89 conform // comments.
Christian Heimes [Fri, 14 Dec 2007 03:02:34 +0000 (03:02 +0000)]
Fixed a warning in _codecs_iso2022.c and some non C89 conform // comments.

17 years agoCleaner method naming convention
Raymond Hettinger [Fri, 14 Dec 2007 02:49:47 +0000 (02:49 +0000)]
Cleaner method naming convention

17 years agoFixed bug #1620: New @spam.getter property syntax modifies the property in place.
Christian Heimes [Fri, 14 Dec 2007 02:35:23 +0000 (02:35 +0000)]
Fixed bug #1620: New @spam.getter property syntax modifies the property in place.
I added also the feature that a @prop.getter decorator does not overwrite the doc string of the property if it was given as an argument to property().

17 years agoSilence a warning about an unsed variable in debug builds
Christian Heimes [Fri, 14 Dec 2007 02:33:57 +0000 (02:33 +0000)]
Silence a warning about an unsed variable in debug builds

17 years agoSmall speedup
Raymond Hettinger [Thu, 13 Dec 2007 23:52:59 +0000 (23:52 +0000)]
Small speedup

17 years agoSimplify implementation of __replace__()
Raymond Hettinger [Thu, 13 Dec 2007 22:55:52 +0000 (22:55 +0000)]
Simplify implementation of __replace__()

17 years agoRan autoconf.
Thomas Heller [Thu, 13 Dec 2007 21:20:29 +0000 (21:20 +0000)]
Ran autoconf.

17 years agoPatch #1608. Someone with access to autoconf 2.61 or higher needs to
Guido van Rossum [Thu, 13 Dec 2007 20:50:10 +0000 (20:50 +0000)]
Patch #1608.  Someone with access to autoconf 2.61 or higher needs to
run it and check in the resulting configure file.

17 years agoFixed bug #1613: Makefile's VPATH feature is broken
Christian Heimes [Thu, 13 Dec 2007 19:23:16 +0000 (19:23 +0000)]
Fixed bug #1613: Makefile's VPATH feature is broken

17 years agoFix issue #1313119: urlparse "caches" parses regardless of encoding
Alexandre Vassalotti [Thu, 13 Dec 2007 17:58:23 +0000 (17:58 +0000)]
Fix issue #1313119: urlparse "caches" parses regardless of encoding

17 years agoFix bug 1604. deque.__init__() did not clear existing contents like list.__init__...
Raymond Hettinger [Thu, 13 Dec 2007 00:08:37 +0000 (00:08 +0000)]
Fix bug 1604. deque.__init__() did not clear existing contents like list.__init__. Not a backport candidate.

17 years agoFixed a nasty problem in the xxmodule.c
Christian Heimes [Wed, 12 Dec 2007 18:09:06 +0000 (18:09 +0000)]
Fixed a nasty problem in the xxmodule.c

17 years agoForward-port of commit 59184.
Gerhard Häring [Tue, 11 Dec 2007 21:07:40 +0000 (21:07 +0000)]
Forward-port of commit 59184.

- Backported a workaround for a bug in SQLite 3.2.x/3.3.x versions where a
  statement recompilation with no bound parameters lead to a segfault
- Backported a fix necessary because of an SQLite API change in version
  3.5.
  This prevents segfaults when executing empty queries, like our test suite
  does

17 years agoIDLE_tabbedpages.071101.patch Tal Einat
Kurt B. Kaiser [Tue, 11 Dec 2007 19:35:12 +0000 (19:35 +0000)]
IDLE_tabbedpages.071101.patch Tal Einat
Cosmetic changes, one bug.  Remove tabpage.py, replaced by tabbedpages.py

17 years agoAdd another GHOP contributor.
Georg Brandl [Tue, 11 Dec 2007 16:32:49 +0000 (16:32 +0000)]
Add another GHOP contributor.

17 years agoThe new float repr causes too much trouble and pain. I'm disabling the feature until...
Christian Heimes [Tue, 11 Dec 2007 00:54:34 +0000 (00:54 +0000)]
The new float repr causes too much trouble and pain. I'm disabling the feature until we have sorted out the issues on all machines. 64bit machines seem to have issues and Guido has reported even worse.
Guido: It's pretty bad actually -- repr(1e5) comes out as '1.0'... Ditto for
repr(1eN) for most N... Both in 2.6 and in 3.0...

17 years agoformat_paragraph_event wasn't returning 'break'
Kurt B. Kaiser [Tue, 11 Dec 2007 00:04:57 +0000 (00:04 +0000)]
format_paragraph_event wasn't returning 'break'

17 years agoPatch #1643738 by Ulisses Furquim -- make the is_tripped variable
Guido van Rossum [Mon, 10 Dec 2007 23:00:12 +0000 (23:00 +0000)]
Patch #1643738 by Ulisses Furquim -- make the is_tripped variable
in signalmodule.c more robust.  Includes Martin von Loewis's suggestion
to set is_tripped after .tripped.

17 years agoBackport of r59456:59458 from py3k to trunk
Christian Heimes [Mon, 10 Dec 2007 22:28:56 +0000 (22:28 +0000)]
Backport of r59456:59458 from py3k to trunk
Issue #1580: New free format floating point representation based on "Floating-Point Printer Sample Code", by Robert G. Burger. For example repr(11./5) now returns '2.2' instead of '2.2000000000000002'.

Thanks to noam for the patch! I had to modify doubledigits.c slightly to support X64 and IA64 machines on Windows. I also added the new file to the three project files.

17 years agoRemove a 2.2-ism.
Guido van Rossum [Mon, 10 Dec 2007 20:42:53 +0000 (20:42 +0000)]
Remove a 2.2-ism.

17 years agoStupid save all didn't safe it all ...
Christian Heimes [Mon, 10 Dec 2007 15:39:09 +0000 (15:39 +0000)]
Stupid save all didn't safe it all ...

17 years agoAdded wide char api variants of getch and putch to msvcrt module. The wide char metho...
Christian Heimes [Mon, 10 Dec 2007 15:12:41 +0000 (15:12 +0000)]
Added wide char api variants of getch and putch to msvcrt module. The wide char methods are required to fix #1578 in py3k. I figured out that they might be useful in 2.6, too.

17 years agoAdd DocXMLRPCServer test from GHOP task #136, written by Jeff Wheeler.
Georg Brandl [Sun, 9 Dec 2007 22:39:12 +0000 (22:39 +0000)]
Add DocXMLRPCServer test from GHOP task #136, written by Jeff Wheeler.

17 years agoAdd Jeff Wheeler.
Georg Brandl [Sun, 9 Dec 2007 22:38:26 +0000 (22:38 +0000)]
Add Jeff Wheeler.

17 years agoTwo fixes in DocXMLRPCServer:
Georg Brandl [Sun, 9 Dec 2007 21:15:07 +0000 (21:15 +0000)]
Two fixes in DocXMLRPCServer:
* remove parameter default that didn't make sense
* properly escape values in output
Thanks to Jeff Wheeler from GHOP!

17 years agoRemove all tabs in that file.
Georg Brandl [Sun, 9 Dec 2007 08:59:45 +0000 (08:59 +0000)]
Remove all tabs in that file.

17 years ago#1575: the Mac readme is now one level up.
Georg Brandl [Sun, 9 Dec 2007 08:54:02 +0000 (08:54 +0000)]
#1575: the Mac readme is now one level up.

17 years agoUse a versionchanged directive.
Brett Cannon [Sun, 9 Dec 2007 05:09:37 +0000 (05:09 +0000)]
Use a versionchanged directive.

17 years agoAdapt style.
Georg Brandl [Sat, 8 Dec 2007 17:56:07 +0000 (17:56 +0000)]
Adapt style.

17 years agoWhen splitting, avoid making a copy of the string if the split doesn't find
Skip Montanaro [Sat, 8 Dec 2007 15:33:24 +0000 (15:33 +0000)]
When splitting, avoid making a copy of the string if the split doesn't find
anything (issue 1538).

17 years agocorrect email address
Skip Montanaro [Sat, 8 Dec 2007 15:26:16 +0000 (15:26 +0000)]
correct email address

17 years ago+ "context manager"
Skip Montanaro [Sat, 8 Dec 2007 15:23:31 +0000 (15:23 +0000)]
+ "context manager"

17 years agoNote that open() is the preferred way to open files (issue 1510).
Skip Montanaro [Sat, 8 Dec 2007 14:37:43 +0000 (14:37 +0000)]
Note that open() is the preferred way to open files (issue 1510).

17 years agoAdd examples to the datetime documentation. Written for GHOP by "h4wk.cz".
Georg Brandl [Sat, 8 Dec 2007 11:23:13 +0000 (11:23 +0000)]
Add examples to the datetime documentation. Written for GHOP by "h4wk.cz".

17 years agoFix Eren's name.
Georg Brandl [Sat, 8 Dec 2007 11:05:36 +0000 (11:05 +0000)]
Fix Eren's name.

17 years agoFix markup in whatsnew, use new directive in ACKS.
Georg Brandl [Sat, 8 Dec 2007 11:05:05 +0000 (11:05 +0000)]
Fix markup in whatsnew, use new directive in ACKS.

17 years agoFix tpyo.
Georg Brandl [Sat, 8 Dec 2007 10:56:39 +0000 (10:56 +0000)]
Fix tpyo.

17 years agoFix issue #1530.
Alexandre Vassalotti [Sat, 8 Dec 2007 04:49:22 +0000 (04:49 +0000)]
Fix issue #1530.
Return an error exit status if not all tests passes.

17 years agoBe (just a bit :) more specific about release date.
Guido van Rossum [Sat, 8 Dec 2007 04:38:23 +0000 (04:38 +0000)]
Be (just a bit :) more specific about release date.

17 years agoThis is probably what was meant here.
Armin Rigo [Fri, 7 Dec 2007 19:19:55 +0000 (19:19 +0000)]
This is probably what was meant here.

17 years agoUpdate to windows doc from Robert.
Georg Brandl [Fri, 7 Dec 2007 15:16:57 +0000 (15:16 +0000)]
Update to windows doc from Robert.

17 years agoIncrease unit test coverage of SimpleXMLRPCServer.
Georg Brandl [Fri, 7 Dec 2007 09:07:10 +0000 (09:07 +0000)]
Increase unit test coverage of SimpleXMLRPCServer.
Written for GHOP by Turkay Eren.

17 years agoDon't have the docs berate themselves. Keep a professional tone.
Raymond Hettinger [Fri, 7 Dec 2007 01:53:01 +0000 (01:53 +0000)]
Don't have the docs berate themselves.  Keep a professional tone.
If a todo is needed, put it in the tracker.

17 years agoSeveral Windows related cleanups:
Christian Heimes [Thu, 6 Dec 2007 21:13:06 +0000 (21:13 +0000)]
Several Windows related cleanups:
* Removed a #define from pyconfig.h. The macro was already defined a few lines higher.
* Fixed path to tix in the build_tkinter.py script
* Changed make_buildinfo.c to use versions of unlink and strcat which are considered safe by Windows (as suggested by MvL).
* Removed two defines from pyproject.vsprops that are no longer required. Both are defined in pyconfig.h and make_buildinfo.c doesn't use the unsafe versions any more (as suggested by MvL).
* Added some more information about PGO and the property files to PCbuild9/readme.txt.

Are you fine with the changes, Martin?

17 years agoDisabled one test that is failing on Unix
Christian Heimes [Thu, 6 Dec 2007 13:55:01 +0000 (13:55 +0000)]
Disabled one test that is failing on Unix

17 years agoSilence more warnings, _CRT_NONSTDC_NO_DEPRECATE is already defined in pyconfig.h...
Christian Heimes [Thu, 6 Dec 2007 13:30:11 +0000 (13:30 +0000)]
Silence more warnings, _CRT_NONSTDC_NO_DEPRECATE is already defined in pyconfig.h but several projects don't include it.

17 years agoFixed get_config_h_filename for Windows. Without the patch it can't find the pyconfig...
Christian Heimes [Thu, 6 Dec 2007 13:15:13 +0000 (13:15 +0000)]
Fixed get_config_h_filename for Windows. Without the patch it can't find the pyconfig.h file inside a build tree.
Added several small unit tests for sysconfig.

17 years agoBetter re.split examples.
Georg Brandl [Thu, 6 Dec 2007 09:45:39 +0000 (09:45 +0000)]
Better re.split examples.

17 years agoDiverse markup fixes.
Georg Brandl [Thu, 6 Dec 2007 01:52:24 +0000 (01:52 +0000)]
Diverse markup fixes.

17 years agoFix Issue 1045.
Raymond Hettinger [Thu, 6 Dec 2007 00:56:53 +0000 (00:56 +0000)]
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.

17 years agoAdd another GHOP student to ACKS.
Georg Brandl [Thu, 6 Dec 2007 00:24:23 +0000 (00:24 +0000)]
Add another GHOP student to ACKS.

17 years agoThe macros _WIN32, _WIN64 and _M_X64 are defined by the compiler. The VS 2008 IDE...
Christian Heimes [Wed, 5 Dec 2007 21:57:25 +0000 (21:57 +0000)]
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.

17 years agoAdd Ross Light, a GHOP student, to ACKs.
Georg Brandl [Wed, 5 Dec 2007 21:52:40 +0000 (21:52 +0000)]
Add Ross Light, a GHOP student, to ACKs.

17 years agoFixed bug #1557 by using popen.communicate() before popen.wait()
Christian Heimes [Wed, 5 Dec 2007 20:10:38 +0000 (20:10 +0000)]
Fixed bug #1557 by using popen.communicate() before popen.wait()

17 years agoThis "fixes" compilation issues for the Carbon._OSA module on OSX Leopard
Ronald Oussoren [Wed, 5 Dec 2007 20:07:36 +0000 (20:07 +0000)]
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.

17 years agoAnother markup fix.
Georg Brandl [Wed, 5 Dec 2007 20:03:57 +0000 (20:03 +0000)]
Another markup fix.

17 years agoUpdated documentation and build_tkinter.py script
Christian Heimes [Wed, 5 Dec 2007 19:57:54 +0000 (19:57 +0000)]
Updated documentation and build_tkinter.py script

17 years agoFix markup.
Georg Brandl [Wed, 5 Dec 2007 19:49:21 +0000 (19:49 +0000)]
Fix markup.

17 years agoAdd examples to re docs. Written for GHOP by Dan Finnie.
Georg Brandl [Wed, 5 Dec 2007 18:30:48 +0000 (18:30 +0000)]
Add examples to re docs. Written for GHOP by Dan Finnie.

17 years agoError checking was too aggressive (reported by Chris Tismer)
Raymond Hettinger [Wed, 5 Dec 2007 18:11:08 +0000 (18:11 +0000)]
Error checking was too aggressive (reported by Chris Tismer)

17 years agoAdd examples to csv, pprint and traceback docs.
Georg Brandl [Wed, 5 Dec 2007 17:56:50 +0000 (17:56 +0000)]
Add examples to csv, pprint and traceback docs.
Written by Ross for GHOP.

17 years agoSpelling fix
Andrew M. Kuchling [Wed, 5 Dec 2007 13:27:20 +0000 (13:27 +0000)]
Spelling fix

17 years agoAdded msg to Misc/NEWS
Christian Heimes [Wed, 5 Dec 2007 12:52:34 +0000 (12:52 +0000)]
Added msg to Misc/NEWS

17 years agomerge -r59315:59316 from py3k: Fix issue #1553: An errornous __length_hint__ can...
Christian Heimes [Wed, 5 Dec 2007 12:49:14 +0000 (12:49 +0000)]
merge -r59315:59316 from py3k: Fix issue #1553: An errornous __length_hint__ can make list() raise a SystemError

17 years agoFixed error in regrtest. I must have missed the spot.
Christian Heimes [Wed, 5 Dec 2007 12:45:11 +0000 (12:45 +0000)]
Fixed error in regrtest. I must have missed the spot.

17 years agoFixed quoting and paths in the sqlite project file
Christian Heimes [Wed, 5 Dec 2007 12:31:44 +0000 (12:31 +0000)]
Fixed quoting and paths in the sqlite project file

17 years agoFix typo.
Georg Brandl [Wed, 5 Dec 2007 07:02:47 +0000 (07:02 +0000)]
Fix typo.

17 years agoThese optimizations create smaller and a bit faster code on my machine. I've also...
Christian Heimes [Tue, 4 Dec 2007 18:43:19 +0000 (18:43 +0000)]
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.

17 years agoAdd tutorial and examples to logging docs, from GHOP student "oscar8thegrouch".
Georg Brandl [Tue, 4 Dec 2007 17:46:27 +0000 (17:46 +0000)]
Add tutorial and examples to logging docs, from GHOP student "oscar8thegrouch".

17 years agoFix duplicate label and a typo.
Georg Brandl [Tue, 4 Dec 2007 16:50:28 +0000 (16:50 +0000)]
Fix duplicate label and a typo.

17 years agoAdded warning that make install may overwrite or masquerade the default python binary...
Christian Heimes [Tue, 4 Dec 2007 16:36:20 +0000 (16:36 +0000)]
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. ;)

17 years agofma speedup by avoiding to create a Context. Thanks Mark Dickinson.
Facundo Batista [Tue, 4 Dec 2007 16:31:53 +0000 (16:31 +0000)]
fma speedup by avoiding to create a Context. Thanks Mark Dickinson.

17 years agoAdd "Python on Unix" document, mostly written for GHOP
Georg Brandl [Tue, 4 Dec 2007 16:10:02 +0000 (16:10 +0000)]
Add "Python on Unix" document, mostly written for GHOP
by Shriphani Palakodety.

17 years agoAdded VS 2005 and VS 2008 to the search path for cabarc.exe
Christian Heimes [Tue, 4 Dec 2007 15:52:14 +0000 (15:52 +0000)]
Added VS 2005 and VS 2008 to the search path for cabarc.exe

17 years agoAdded self generated UUID for msvcr90.dll to msi.py
Christian Heimes [Tue, 4 Dec 2007 14:57:30 +0000 (14:57 +0000)]
Added self generated UUID for msvcr90.dll to msi.py
Readded a missing line.

17 years agoMove nt.access change into the right section.
Martin v. Löwis [Tue, 4 Dec 2007 08:39:16 +0000 (08:39 +0000)]
Move nt.access change into the right section.

17 years agoFix chflags issue on Tru64, from #1490190.
Martin v. Löwis [Tue, 4 Dec 2007 08:37:59 +0000 (08:37 +0000)]
Fix chflags issue on Tru64, from #1490190.

17 years agoForward-port r59310:
Martin v. Löwis [Mon, 3 Dec 2007 23:09:04 +0000 (23:09 +0000)]
Forward-port r59310:
os.access now returns True on Windows for any existing directory.

17 years agoShut up a compiler warning.
Guido van Rossum [Mon, 3 Dec 2007 22:02:10 +0000 (22:02 +0000)]
Shut up a compiler warning.

17 years agoGrammar fix
Andrew M. Kuchling [Mon, 3 Dec 2007 21:28:41 +0000 (21:28 +0000)]
Grammar fix

17 years agoAdd examples to the xmlrpclib docs.
Georg Brandl [Mon, 3 Dec 2007 20:03:46 +0000 (20:03 +0000)]
Add examples to the xmlrpclib docs.
Written for GHOP by Josip Dzolonga.

17 years agoPatch #1537 from Chad Austin
Christian Heimes [Mon, 3 Dec 2007 20:01:02 +0000 (20:01 +0000)]
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.)

17 years ago#1548: fix apostroph placement.
Georg Brandl [Mon, 3 Dec 2007 19:57:02 +0000 (19:57 +0000)]
#1548: fix apostroph placement.

17 years agoTwo small fixes. Issue 1547.
Facundo Batista [Mon, 3 Dec 2007 19:49:54 +0000 (19:49 +0000)]
Two small fixes. Issue 1547.

17 years agoIssue #1727780: Support loading pickles of random.Random objects created
Martin v. Löwis [Mon, 3 Dec 2007 19:20:02 +0000 (19:20 +0000)]
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.