Commit Graph

40980 Commits

Author SHA1 Message Date
Mark Dickinson 58a5cbde5e Merged revisions 69816 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69816 | mark.dickinson | 2009-02-20 20:42:53 +0000 (Fri, 20 Feb 2009) | 2 lines

  Issue #5295: Typos in turtle.py
........
2009-02-20 20:46:30 +00:00
Eric Smith 1718b47328 Merged revisions 69806 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69806 | eric.smith | 2009-02-20 09:02:36 -0500 (Fri, 20 Feb 2009) | 1 line

  Issue #5247: Improve error message when unknown format codes are used when using str.format() with str, unicode, long, int, and float arguments.
........
2009-02-20 14:07:55 +00:00
Raymond Hettinger b2d412117c Add links to helpful external resources. 2009-02-19 06:57:23 +00:00
Raymond Hettinger 7f48c1055e Add an example for math.fsum() and elaborate on the accurary note. 2009-02-19 05:53:22 +00:00
Raymond Hettinger 5894c2b548 Add some cross-references to the docs. Simplify the python code equivalent for izip(). Supply an optional argument for the nth() recipe. 2009-02-19 05:38:53 +00:00
Benjamin Peterson 3e96e231fb Merged revisions 69348 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69348 | benjamin.peterson | 2009-02-05 19:47:31 -0600 (Thu, 05 Feb 2009) | 1 line

  fix download link
........
2009-02-19 02:05:06 +00:00
Raymond Hettinger 32596523ed Py3k warnings now automatically include -Qwarn for division. 2009-02-18 23:12:48 +00:00
Raymond Hettinger bb94fd8290 Generalize itertools.tee() recipe. 2009-02-18 21:04:16 +00:00
Hirokazu Yamamoto 978bacdd30 Merged revisions 69714,69718 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69714 | hirokazu.yamamoto | 2009-02-17 19:12:10 +0900 | 1 line

  Issue #5292: Fixed mmap crash on its boundary access m[len(m)].
........
  r69718 | hirokazu.yamamoto | 2009-02-17 22:17:26 +0900 | 3 lines

  Issue #5282: Fixed mmap resize on 32bit windows and unix. When offset > 0,
  The file was resized to wrong size.
........
2009-02-18 15:11:55 +00:00
Tarek Ziadé 2190ed9d98 Blocked revisions 69724 via svnmerge
........
  r69724 | tarek.ziade | 2009-02-18 00:06:51 +0100 (Wed, 18 Feb 2009) | 1 line

  fixed the data_files inclusion behavior
........
2009-02-17 23:09:17 +00:00
Vinay Sajip 8347042093 #5287: Add exception handling around findCaller() call to help out IronPython. 2009-02-17 17:47:15 +00:00
Tarek Ziadé 62ba5af074 Blocked revisions 69710 via svnmerge
........
  r69710 | tarek.ziade | 2009-02-17 10:42:44 +0100 (Tue, 17 Feb 2009) | 1 line

  #2279 added the plain path case for data_files
........
2009-02-17 09:45:56 +00:00
Tarek Ziadé 5b14f41f91 Blocked revisions 69700 via svnmerge
........
  r69700 | tarek.ziade | 2009-02-16 23:38:43 +0100 (Mon, 16 Feb 2009) | 1 line

  note about #2279
........
2009-02-16 22:39:49 +00:00
Tarek Ziadé 40bbf7d272 Blocked revisions 69693 via svnmerge
........
  r69693 | tarek.ziade | 2009-02-16 22:41:54 +0100 (Mon, 16 Feb 2009) | 1 line

  #2279: use os.sep so the MANIFEST file test work on win32
........
2009-02-16 21:44:25 +00:00
Tarek Ziadé 4aadf13d07 Blocked revisions 69692 via svnmerge
........
  r69692 | tarek.ziade | 2009-02-16 22:38:01 +0100 (Mon, 16 Feb 2009) | 1 line

  Fixed #2279: distutils.sdist.add_defaults now add files listed in package_data and data_files
........
2009-02-16 21:43:32 +00:00
Eric Smith 65b4a53f15 Blocked revisions 69666 via svnmerge
........
  r69666 | eric.smith | 2009-02-16 04:56:39 -0500 (Mon, 16 Feb 2009) | 1 line

  Added Ross Light to ACKS, for bug 4285 (r69331).
........
2009-02-16 12:39:57 +00:00
Georg Brandl 78162daff6 Merged revisions 69620 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69620 | georg.brandl | 2009-02-14 18:01:36 +0100 (Sa, 14 Feb 2009) | 1 line

  #5179: don't leak PIPE fds when child execution fails.
........
2009-02-14 17:04:26 +00:00
Tarek Ziadé 02bdf93b85 Blocked revisions 69610 via svnmerge
........
  r69610 | tarek.ziade | 2009-02-14 15:12:30 +0100 (Sat, 14 Feb 2009) | 1 line

  Replace variable
........
2009-02-14 14:14:10 +00:00
Tarek Ziadé 57b23ee37d Blocked revisions 69609 via svnmerge
........
  r69609 | tarek.ziade | 2009-02-14 15:10:23 +0100 (Sat, 14 Feb 2009) | 1 line

  Fix for #5257: refactored all tests in distutils, so they use a temporary directory.
........
2009-02-14 14:13:50 +00:00
Tarek Ziadé 19fe0c8cec Merged revisions 69598 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69598 | tarek.ziade | 2009-02-14 00:00:43 +0100 (Sat, 14 Feb 2009) | 1 line

  Fixed #4524: distutils build_script command failed with --with-suffix=3
........
2009-02-13 23:02:44 +00:00
Tarek Ziadé b71b711b31 Blocked revisions 69594 via svnmerge
........
  r69594 | tarek.ziade | 2009-02-13 23:22:03 +0100 (Fri, 13 Feb 2009) | 1 line

  Issue #2461: added tests for distutils.util
........
2009-02-13 22:22:58 +00:00
Tarek Ziadé 0e9bc48d8a Merged revisions 69585 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69585 | tarek.ziade | 2009-02-13 17:13:16 +0100 (Fri, 13 Feb 2009) | 1 line

  reverted leak fix, to use the one done in py3k branch (r67382)
........
2009-02-13 16:20:24 +00:00
Tarek Ziadé 21306ad174 Blocked revisions 69566 via svnmerge
........
  r69566 | tarek.ziade | 2009-02-13 10:12:33 +0100 (Fri, 13 Feb 2009) | 1 line

  #5158: added documentation on the depends option in distutils extensions
........
2009-02-13 09:13:24 +00:00
Georg Brandl ddb273e718 Fix. 2009-02-13 09:11:25 +00:00
Georg Brandl a95262ccee Merged revisions 69562 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69562 | georg.brandl | 2009-02-13 10:08:34 +0100 (Fr, 13 Feb 2009) | 2 lines

  Add links to the other versions we have in stock.
........
2009-02-13 09:09:58 +00:00
Tarek Ziadé 0a026ffd86 Merged revisions 69551 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69551 | tarek.ziade | 2009-02-12 21:56:21 +0100 (Thu, 12 Feb 2009) | 1 line

  fixing the leak introduced in r69304
........
2009-02-12 21:00:18 +00:00
Mark Dickinson a84f265c36 Merged revisions 68813,69546 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68813 | raymond.hettinger | 2009-01-20 20:34:19 +0000 (Tue, 20 Jan 2009) | 3 lines

  Issue 4998:  __slots__ on Fractions was useless.
........
  r69546 | mark.dickinson | 2009-02-12 17:55:42 +0000 (Thu, 12 Feb 2009) | 2 lines

  Typo fix.
........
2009-02-12 18:05:07 +00:00
Guilherme Polo 293afb8cc9 Blocked revisions 69460,69470 via svnmerge
........
  r69460 | guilherme.polo | 2009-02-09 14:09:17 -0200 (Mon, 09 Feb 2009) | 1 line

  Turned setup_master public
........
  r69470 | guilherme.polo | 2009-02-09 17:57:04 -0200 (Mon, 09 Feb 2009) | 1 line

  Checking for tk availability before continuing (basically the same that is done in test_ttk_guionly)
........
2009-02-12 11:05:02 +00:00
Raymond Hettinger b6b3879a01 Clean-up named tuple docs. 2009-02-11 00:12:07 +00:00
Thomas Heller 07750565c9 Merged revisions 69505 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69505 | thomas.heller | 2009-02-10 19:43:01 +0100 (Di, 10 Feb 2009) | 3 lines

  Issue#5203: ctypes segfaults when passing a unicode string to a
  function without argtypes, if HAVE_USABLE_WCHAR_T is false.
........
2009-02-10 18:46:11 +00:00
Mark Dickinson 5e050d857e Merged revisions 69500 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69500 | mark.dickinson | 2009-02-10 16:17:16 +0000 (Tue, 10 Feb 2009) | 4 lines

  _testcapi depends on testcapi_long.h

  Thanks Lisandro Dalcin.
........
2009-02-10 16:23:27 +00:00
Hirokazu Yamamoto 7810f94445 Merged revisions 69494 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69494 | hirokazu.yamamoto | 2009-02-10 22:31:28 +0900 | 1 line

  Fixed svn:eol-style.
........
2009-02-10 14:18:28 +00:00
Martin v. Löwis a2a21eed02 Merged revisions 69489-69490 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69489 | martin.v.loewis | 2009-02-10 14:09:19 +0100 (Di, 10 Feb 2009) | 1 line

  Issue #5134: Silence compiler warnings when compiling sqlite with VC++.
........
  r69490 | martin.v.loewis | 2009-02-10 14:12:12 +0100 (Di, 10 Feb 2009) | 1 line

  Set eol-style to native
........
2009-02-10 13:17:53 +00:00
Tarek Ziadé 436eb08ca7 Merged revisions 69485 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69485 | tarek.ziade | 2009-02-10 13:31:09 +0100 (Tue, 10 Feb 2009) | 1 line

  Fixed #3386: the optional prefix argument was ignored under OS2 and NT in distutils.sysconfig.get_python_lib
........
2009-02-10 12:33:42 +00:00
Guilherme Polo a0c8eb5f75 Blocked revisions 69474 via svnmerge
........
  r69474 | guilherme.polo | 2009-02-09 18:57:45 -0200 (Mon, 09 Feb 2009) | 1 line

  Enforcing Tk 8.3.1 requirement.
........
2009-02-09 22:36:39 +00:00
Guilherme Polo 4f41c586ed Blocked revisions 69467 via svnmerge
........
  r69467 | guilherme.polo | 2009-02-09 17:21:21 -0200 (Mon, 09 Feb 2009) | 2 lines

  Some tests for Tkinter.Text.search
........
2009-02-09 19:28:31 +00:00
Guilherme Polo 4bf471f494 Merged revisions 69461 via svnmerge from
svn+ssh://pythondev/python/trunk

........
  r69461 | guilherme.polo | 2009-02-09 14:41:09 -0200 (Mon, 09 Feb 2009) | 3 lines

  Fixed issue #4890: Handle empty text search pattern in
  Tkinter.Text.search
........
2009-02-09 16:43:02 +00:00
Vinay Sajip 4db70f3580 Fixed missing import. 2009-02-08 19:16:37 +00:00
Vinay Sajip 9c78658670 Issue #5170: Fixed Unicode output bug in logging and added test case. This is a regression which did not occur in 2.5. 2009-02-08 19:14:41 +00:00
Mark Dickinson dd0989e7df Merged revisions 69433,69436 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69433 | mark.dickinson | 2009-02-08 13:58:10 +0000 (Sun, 08 Feb 2009) | 2 lines

  Remove redundant assignment in _PyObject_LengthHint
........
  r69436 | mark.dickinson | 2009-02-08 14:42:28 +0000 (Sun, 08 Feb 2009) | 10 lines

  Issue #789290: make sure that hash(2**63) == hash(2.**63) on 64-bit
  platforms.  The previous code was fragile, depending on the twin
  accidents that:

    (1) in C, casting the double value 2.**63 to long returns the integer
        value -2**63, and
    (2) in Python, hash(-2**63) == hash(2**63).

  There's already a test for this in test_hash.
........
2009-02-08 14:56:08 +00:00
Nick Coghlan 1e2ea82926 Blocked revisions 69425 via svnmerge
........
  r69425 | nick.coghlan | 2009-02-08 13:17:00 +1000 (Sun, 08 Feb 2009) | 1 line

  Issue #4512 closeout: Make ZipImport.get_filename() a public method
........
2009-02-08 03:41:39 +00:00
Nick Coghlan b18984a7d8 Blocked revisions 69419-69420 via svnmerge
........
  r69419 | nick.coghlan | 2009-02-08 11:26:34 +1000 (Sun, 08 Feb 2009) | 1 line

  Issue 4195: Restore the ability to execute packages with the -m switch (but this time in a way that leaves the import machinery in a valid state). (Original patch by Andi Vajda)
........
  r69420 | nick.coghlan | 2009-02-08 11:46:01 +1000 (Sun, 08 Feb 2009) | 1 line

  Mention patch submitter in NEWS entry for r69419
........
2009-02-08 02:03:18 +00:00
Guilherme Polo f1a2ebfeaa Blocked revisions 69404 via svnmerge
........
  r69404 | guilherme.polo | 2009-02-07 00:20:29 -0200 (Sat, 07 Feb 2009) | 2 lines

  Eliminated the need to use ttk.__loadtk__ and the problems related it.
........
2009-02-07 02:21:24 +00:00
Guilherme Polo b1aae9f310 Blocked revisions 69377 via svnmerge
........
  r69377 | guilherme.polo | 2009-02-06 20:48:07 -0200 (Fri, 06 Feb 2009) | 5 lines

  Issue #1731706: Call Tcl_ConditionFinalize for Tcl_Conditions that will
  not be used again (this requires Tcl/Tk 8.3.1), also fix a memory
  leak in Tkapp_Call when calling from a thread different than the one that
  created the Tcl interpreter.
........
2009-02-07 00:14:28 +00:00
Tarek Ziadé 6c207f992b Blocked revisions 69385 via svnmerge
........
  r69385 | tarek.ziade | 2009-02-07 01:05:39 +0100 (Sat, 07 Feb 2009) | 1 line

  #3986 replacing string and types call (like in the Py3k branch), and put exec_msg call at the right place
........
2009-02-07 00:07:09 +00:00
Guilherme Polo 5132d8138a Blocked revisions 69050,69060-69061,69169,69195,69211-69212 via svnmerge
........
  r69050 | guilherme.polo | 2009-01-28 11:09:03 -0200 (Wed, 28 Jan 2009) | 2 lines

  Added the ttk module. See issue #2983: Ttk support for Tkinter.
........
  r69060 | guilherme.polo | 2009-01-28 17:23:28 -0200 (Wed, 28 Jan 2009) | 2 lines

  Added support for collecting tests only from specific packages.
........
  r69061 | guilherme.polo | 2009-01-28 17:28:04 -0200 (Wed, 28 Jan 2009) | 4 lines

  * Renaming test_tk_* to test_ttk_* since that is what they are testing.
  * Added ttk tests to the expected skips mapping just like where test_tcl
  was expected to be skipped too.
........
  r69169 | guilherme.polo | 2009-02-01 00:56:16 -0200 (Sun, 01 Feb 2009) | 3 lines

  Restore Tkinter.Tk._loadtk so this test doesn't fail for problems
  related to ttk.
........
  r69195 | guilherme.polo | 2009-02-01 22:38:54 -0200 (Sun, 01 Feb 2009) | 3 lines

  Use a single Tcl interpreter through all these tests, this may help some
  failing buildbots.
........
  r69211 | guilherme.polo | 2009-02-02 18:23:29 -0200 (Mon, 02 Feb 2009) | 1 line

  Restore the previous geometry before leaving the test
........
  r69212 | guilherme.polo | 2009-02-02 18:28:59 -0200 (Mon, 02 Feb 2009) | 1 line

  Moving to importlib
........
2009-02-06 23:48:14 +00:00
Guilherme Polo c8a20daa12 Merged revisions 69376 via svnmerge from
svn+ssh://pythondev/python/trunk

........
  r69376 | guilherme.polo | 2009-02-06 20:26:22 -0200 (Fri, 06 Feb 2009) | 3 lines

  Partial fix to issue #1731706: memory leak in Tkapp_Call when calling
  from a thread different than the one that created the Tcl interpreter.
........
2009-02-06 22:52:31 +00:00
Tarek Ziadé 5ef3fdc067 Blocked revisions 69366 via svnmerge
........
  r69366 | tarek.ziade | 2009-02-06 14:27:38 +0100 (Fri, 06 Feb 2009) | 1 line

  Fixed #5167: test_customize_compiler does not apply under non unix compilers
........
2009-02-06 13:32:43 +00:00
Tarek Ziadé b4aefe9974 Blocked revisions 69360 via svnmerge
........
  r69360 | tarek.ziade | 2009-02-06 09:55:23 +0100 (Fri, 06 Feb 2009) | 1 line

  removed types usage and added test coverage (work for #3986)
........
2009-02-06 08:56:45 +00:00
Tarek Ziadé 588809e096 Blocked revisions 69356 via svnmerge
........
  r69356 | tarek.ziade | 2009-02-06 09:20:15 +0100 (Fri, 06 Feb 2009) | 1 line

  Fixed #3987 : removed unused import
........
2009-02-06 08:21:23 +00:00