summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Issue #1587: Added instancemethod wrapper for PyCFunctions. The Python C APIChristian Heimes2007-12-114-7/+312
| | | | | | has gained a new type *PyInstanceMethod_Type* and the functions *PyInstanceMethod_Check(o)*, *PyInstanceMethod_New(func)* and *PyInstanceMethod_Function(im)*.
* Added note about 1585 to Misc/NEWSChristian Heimes2007-12-111-0/+2
|
* Merged revisions 59450-59464 via svnmerge fromChristian Heimes2007-12-119-9/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r59455 | guido.van.rossum | 2007-12-10 21:42:53 +0100 (Mon, 10 Dec 2007) | 2 lines Remove a 2.2-ism. ........ r59459 | christian.heimes | 2007-12-10 23:28:56 +0100 (Mon, 10 Dec 2007) | 4 lines 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. ........ r59460 | guido.van.rossum | 2007-12-11 00:00:12 +0100 (Tue, 11 Dec 2007) | 4 lines 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. ........ r59463 | kurt.kaiser | 2007-12-11 01:04:57 +0100 (Tue, 11 Dec 2007) | 2 lines format_paragraph_event wasn't returning 'break' ........ r59464 | christian.heimes | 2007-12-11 01:54:34 +0100 (Tue, 11 Dec 2007) | 3 lines 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... ........
* Minor cleanup in the gc module.Amaury Forgeot d'Arc2007-12-103-33/+9
| | | | | | | | Removed gc.DEBUG_OBJECT: there is only one kind of objects. Now gc.DEBUG_COLLECTABLE or gc.DEBUG_UNCOLLECTABLE can be used alone to print the corresponding list of objects. Also removed a footnote about version 2.2, and a comment explaining some deleted code.
* Added missing fileChristian Heimes2007-12-101-0/+1021
|
* Issue #1580: New free format floating point representation based on ↵Christian Heimes2007-12-109-3/+743
| | | | | | "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.
* Two IDLE errors in Option->Configure menu.Amaury Forgeot d'Arc2007-12-101-3/+3
| | | | Reported by Mark Summerfield.
* Fixed doc xml rpc tests and serverChristian Heimes2007-12-102-9/+8
|
* Make Decimal a subclass of Real and Inexact.Guido van Rossum2007-12-103-29/+30
|
* Updated release notes (to match what's on python.org/download/releases/3.0/).Guido van Rossum2007-12-101-9/+30
|
* Fixed #1578: Problems in win_getpassChristian Heimes2007-12-102-4/+6
|
* Merged revisions 59441-59449 via svnmerge fromChristian Heimes2007-12-105-28/+258
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r59442 | georg.brandl | 2007-12-09 22:15:07 +0100 (Sun, 09 Dec 2007) | 5 lines Two fixes in DocXMLRPCServer: * remove parameter default that didn't make sense * properly escape values in output Thanks to Jeff Wheeler from GHOP! ........ r59444 | georg.brandl | 2007-12-09 23:38:26 +0100 (Sun, 09 Dec 2007) | 2 lines Add Jeff Wheeler. ........ r59445 | georg.brandl | 2007-12-09 23:39:12 +0100 (Sun, 09 Dec 2007) | 2 lines Add DocXMLRPCServer test from GHOP task #136, written by Jeff Wheeler. ........ r59447 | christian.heimes | 2007-12-10 16:12:41 +0100 (Mon, 10 Dec 2007) | 1 line 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. ........ r59448 | christian.heimes | 2007-12-10 16:39:09 +0100 (Mon, 10 Dec 2007) | 1 line Stupid save all didn't safe it all ... ........
* Fixed issue #1564: The set implementation should special-case PyUnicode ↵Christian Heimes2007-12-107-45/+85
| | | | | | instead of PyString I moved the unicode_eq to stringlib/eq.h to keep the function static and possible inline for setobject.c and dictobject.h. I also removed the unused _PyString_Eq method. If it's required in the future it can be added to eq.h
* typoSkip Montanaro2007-12-091-1/+1
|
* Issue #1573, second attempt:Amaury Forgeot d'Arc2007-12-093-13/+9
| | | | "def f(*, **kw)" now raises a SyntaxError.
* Merged revisions 59423-59440 via svnmerge fromChristian Heimes2007-12-092-3/+3
| | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r59427 | georg.brandl | 2007-12-08 18:56:07 +0100 (Sat, 08 Dec 2007) | 2 lines Adapt style. ........ r59435 | brett.cannon | 2007-12-09 06:09:37 +0100 (Sun, 09 Dec 2007) | 2 lines Use a versionchanged directive. ........ r59436 | georg.brandl | 2007-12-09 09:54:02 +0100 (Sun, 09 Dec 2007) | 2 lines #1575: the Mac readme is now one level up. ........ r59437 | georg.brandl | 2007-12-09 09:59:45 +0100 (Sun, 09 Dec 2007) | 2 lines Remove all tabs in that file. ........
* #1571: clarify removal of ``L`` suffix from long int repr.Georg Brandl2007-12-091-3/+5
|
* Added another test case for kwonly methodsChristian Heimes2007-12-082-8/+16
|
* Added two tests for f(*, **kw) syntaxChristian Heimes2007-12-082-0/+10
|
* Fixed #1573: Improper use of the keyword-only syntax makes the parser crashChristian Heimes2007-12-082-2/+22
| | | | | | | | >>> def f(*, **kw): ... pass ... python: Python/ast.c:652: handle_keywordonly_args: Assertion 'kwonlyargs != ((void *)0)' failed.
* Fix one more PyInt occurrence.Georg Brandl2007-12-081-3/+3
|
* Replace all remaining occurrences of PyInt_.Georg Brandl2007-12-082-21/+15
|
* Fixed two of the three failing xml rpc testsChristian Heimes2007-12-082-2/+2
|
* Fixed a bug found by Marcin KowalczykChristian Heimes2007-12-081-1/+1
| | | | 'Applying PyMethod_Type to 3 arguments crashes Python 3'
* Added descriptor for builtins.open.__doc__Christian Heimes2007-12-081-0/+10
| | | | Before the change help(open) didn't return anything helpful but the doc string of io.OpenWrapper. Now it shows the user the documentation of io.open.
* Merged revisions 59407-59422 via svnmerge fromChristian Heimes2007-12-0818-284/+568
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r59407 | armin.rigo | 2007-12-07 20:19:55 +0100 (Fri, 07 Dec 2007) | 2 lines This is probably what was meant here. ........ r59410 | guido.van.rossum | 2007-12-08 05:38:23 +0100 (Sat, 08 Dec 2007) | 2 lines Be (just a bit :) more specific about release date. ........ r59411 | alexandre.vassalotti | 2007-12-08 05:49:22 +0100 (Sat, 08 Dec 2007) | 3 lines Fix issue #1530. Return an error exit status if not all tests passes. ........ r59413 | georg.brandl | 2007-12-08 11:56:39 +0100 (Sat, 08 Dec 2007) | 2 lines Fix tpyo. ........ r59414 | georg.brandl | 2007-12-08 12:05:05 +0100 (Sat, 08 Dec 2007) | 2 lines Fix markup in whatsnew, use new directive in ACKS. ........ r59415 | georg.brandl | 2007-12-08 12:05:36 +0100 (Sat, 08 Dec 2007) | 2 lines Fix Eren's name. ........ r59416 | georg.brandl | 2007-12-08 12:23:13 +0100 (Sat, 08 Dec 2007) | 2 lines Add examples to the datetime documentation. Written for GHOP by "h4wk.cz". ........ r59417 | skip.montanaro | 2007-12-08 15:37:43 +0100 (Sat, 08 Dec 2007) | 2 lines Note that open() is the preferred way to open files (issue 1510). ........ r59418 | skip.montanaro | 2007-12-08 16:23:31 +0100 (Sat, 08 Dec 2007) | 1 line + "context manager" ........ r59419 | skip.montanaro | 2007-12-08 16:26:16 +0100 (Sat, 08 Dec 2007) | 1 line correct email address ........ r59420 | skip.montanaro | 2007-12-08 16:33:24 +0100 (Sat, 08 Dec 2007) | 3 lines When splitting, avoid making a copy of the string if the split doesn't find anything (issue 1538). ........
* Added stop_serving and a timeout to tearDown()Christian Heimes2007-12-081-2/+14
| | | | | It prevents the XML RPC tests from blocking until the end of the world. I think it's a backport candidate and other modules may benefit from the feature, too.
* Disabled test_404, see issue #1572Christian Heimes2007-12-081-3/+2
|
* Readded Lib/distutils/tests/test_sysconfig.pyChristian Heimes2007-12-081-0/+37
| | | | Somehow it went missing during the merge
* Merged revisions 59376-59406 via svnmerge fromChristian Heimes2007-12-0823-133/+260
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r59377 | georg.brandl | 2007-12-06 01:24:23 +0100 (Thu, 06 Dec 2007) | 2 lines Add another GHOP student to ACKS. ........ r59378 | raymond.hettinger | 2007-12-06 01:56:53 +0100 (Thu, 06 Dec 2007) | 5 lines 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. ........ r59380 | georg.brandl | 2007-12-06 02:52:24 +0100 (Thu, 06 Dec 2007) | 2 lines Diverse markup fixes. ........ r59383 | georg.brandl | 2007-12-06 10:45:39 +0100 (Thu, 06 Dec 2007) | 2 lines Better re.split examples. ........ r59386 | christian.heimes | 2007-12-06 14:15:13 +0100 (Thu, 06 Dec 2007) | 2 lines 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. ........ r59387 | christian.heimes | 2007-12-06 14:30:11 +0100 (Thu, 06 Dec 2007) | 1 line Silence more warnings, _CRT_NONSTDC_NO_DEPRECATE is already defined in pyconfig.h but several projects don't include it. ........ r59389 | christian.heimes | 2007-12-06 14:55:01 +0100 (Thu, 06 Dec 2007) | 1 line Disabled one test that is failing on Unix ........ r59399 | christian.heimes | 2007-12-06 22:13:06 +0100 (Thu, 06 Dec 2007) | 8 lines 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? ........ r59400 | raymond.hettinger | 2007-12-07 02:53:01 +0100 (Fri, 07 Dec 2007) | 4 lines Don't have the docs berate themselves. Keep a professional tone. If a todo is needed, put it in the tracker. ........ r59402 | georg.brandl | 2007-12-07 10:07:10 +0100 (Fri, 07 Dec 2007) | 3 lines Increase unit test coverage of SimpleXMLRPCServer. Written for GHOP by Turkay Eren. ........ r59406 | georg.brandl | 2007-12-07 16:16:57 +0100 (Fri, 07 Dec 2007) | 2 lines Update to windows doc from Robert. ........
* Added -b option to the list of command line optionsChristian Heimes2007-12-071-1/+7
|
* rename markupbase to _markupbaseFred Drake2007-12-073-7/+7
|
* No -Q flag anymore in Py3k.Georg Brandl2007-12-071-21/+1
|
* Tagging 3.0a2 for release. Fingers crossed.v3.0a2Guido van Rossum2007-12-061-0/+1
|
* Reverting revision 59394. We'll sort this out later.Guido van Rossum2007-12-062-64/+16
|
* Fix the leaks in test_ssl. Issue 1469. Patch by Christian Heimes:Guido van Rossum2007-12-062-16/+64
| | | | | | | (a) added GC support to the PySSL object (b) move the call to _real_close() from __del__ methods in Python to PySSL_dealloc(). (c) remove those __del__ methods -- this makes SSL and socket objects GC'able.
* Fix a last use of file() that should be open().Guido van Rossum2007-12-061-1/+2
|
* Some Windows notes by Christian.Guido van Rossum2007-12-061-0/+7
|
* Small set of updates (with Jeffrey's OK).Guido van Rossum2007-12-061-11/+33
|
* Silence more warnings, _CRT_NONSTDC_NO_DEPRECATE is already defined in ↵Christian Heimes2007-12-061-1/+1
| | | | pyconfig.h but several projects don't include it.
* Get ready for releasing 3.0a2.Guido van Rossum2007-12-064-6/+30
| | | | (Next: update the whatsnew docs.)
* Fix the rest of issue 1400, by introducing a proper implementation ofGuido van Rossum2007-12-064-36/+57
| | | | | line buffering. The TextIOWrapper class no longer calls isatty() on every write() call.
* Merged revisions 59371-59375 via svnmerge fromChristian Heimes2007-12-0511-22/+49
| | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r59374 | georg.brandl | 2007-12-05 22:52:40 +0100 (Wed, 05 Dec 2007) | 2 lines Add Ross Light, a GHOP student, to ACKs. ........ r59375 | christian.heimes | 2007-12-05 22:57:25 +0100 (Wed, 05 Dec 2007) | 2 lines 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. ........
* Merged revisions 59333-59370 via svnmerge fromChristian Heimes2007-12-0514-402/+508
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r59343 | georg.brandl | 2007-12-05 08:02:47 +0100 (Wed, 05 Dec 2007) | 2 lines Fix typo. ........ r59347 | christian.heimes | 2007-12-05 13:31:44 +0100 (Wed, 05 Dec 2007) | 1 line Fixed quoting and paths in the sqlite project file ........ r59348 | christian.heimes | 2007-12-05 13:45:11 +0100 (Wed, 05 Dec 2007) | 1 line Fixed error in regrtest. I must have missed the spot. ........ r59350 | christian.heimes | 2007-12-05 13:49:14 +0100 (Wed, 05 Dec 2007) | 1 line merge -r59315:59316 from py3k: Fix issue #1553: An errornous __length_hint__ can make list() raise a SystemError ........ r59352 | christian.heimes | 2007-12-05 13:52:34 +0100 (Wed, 05 Dec 2007) | 1 line Added msg to Misc/NEWS ........ r59354 | andrew.kuchling | 2007-12-05 14:27:20 +0100 (Wed, 05 Dec 2007) | 1 line Spelling fix ........ r59356 | georg.brandl | 2007-12-05 18:56:50 +0100 (Wed, 05 Dec 2007) | 3 lines Add examples to csv, pprint and traceback docs. Written by Ross for GHOP. ........ r59358 | raymond.hettinger | 2007-12-05 19:11:08 +0100 (Wed, 05 Dec 2007) | 1 line Error checking was too aggressive (reported by Chris Tismer) ........ r59359 | georg.brandl | 2007-12-05 19:30:48 +0100 (Wed, 05 Dec 2007) | 2 lines Add examples to re docs. Written for GHOP by Dan Finnie. ........ r59366 | georg.brandl | 2007-12-05 20:49:21 +0100 (Wed, 05 Dec 2007) | 2 lines Fix markup. ........ r59367 | christian.heimes | 2007-12-05 20:57:54 +0100 (Wed, 05 Dec 2007) | 1 line Updated documentation and build_tkinter.py script ........ r59368 | georg.brandl | 2007-12-05 21:03:57 +0100 (Wed, 05 Dec 2007) | 2 lines Another markup fix. ........ r59369 | ronald.oussoren | 2007-12-05 21:07:36 +0100 (Wed, 05 Dec 2007) | 7 lines 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. ........ r59370 | christian.heimes | 2007-12-05 21:10:38 +0100 (Wed, 05 Dec 2007) | 1 line Fixed bug #1557 by using popen.communicate() before popen.wait() ........
* Added 2to3 tools via svn:externals from ↵Christian Heimes2007-12-051-0/+3
| | | | http://svn.python.org/projects/sandbox/trunk/2to3/
* Update build instructions Tcl/Tk to use 8.4.12, and python9.mak.Martin v. Löwis2007-12-051-10/+10
|
* You are right, Guido. The newline argument is easier to use.Christian Heimes2007-12-051-4/+4
|
* Fixed line separator problem on WindowsChristian Heimes2007-12-051-2/+2
|
* Fixed two small problems in regrtest found by Amaury. This fixes issue ↵Christian Heimes2007-12-051-2/+3
| | | | #1539. Thanks Amaury!
* Reverted two commit accidentsChristian Heimes2007-12-052-7/+6
|