Commit Graph

42414 Commits

Author SHA1 Message Date
Raymond Hettinger 87be88c2e9 Add example of how to do key lookups with bisect(). 2009-06-11 22:04:00 +00:00
Benjamin Peterson 3bca523a8c use multi-with syntax 2009-06-11 17:51:17 +00:00
Benjamin Peterson b266481ed8 revert r73361 2009-06-11 17:49:38 +00:00
Benjamin Peterson e5fa5fe8fc remove duplicate check 2009-06-11 16:25:52 +00:00
Tarek Ziadé ff1081874a pep8-fied cygwinccompiler module 2009-06-11 09:55:09 +00:00
Vinay Sajip 91290b5f53 Issue #5262: Improved fix. 2009-06-11 09:53:35 +00:00
Vinay Sajip 83da034c9a Issue #5262: Fixed bug in next roll over time computation in TimedRotatingFileHandler. 2009-06-11 09:23:41 +00:00
Tarek Ziadé c7498f5aab #6263 fixed syntax error in distutils.cygwinccompiler 2009-06-11 09:13:36 +00:00
Tarek Ziadé 2d36afd15e removed the last string.split() call 2009-06-11 08:43:26 +00:00
Tarek Ziadé 25d2bae1c9 Fixed #5201: now distutils.sysconfig.parse_makefile() understands '53264' in Makefiles 2009-06-11 08:12:20 +00:00
Amaury Forgeot d'Arc d81333c540 Fix a typo spotted by Nick Coghlan. 2009-06-10 20:30:19 +00:00
Tarek Ziadé 7ca57aa9fa Distutils: started code cleanup and test coverage for cygwinccompiler 2009-06-10 18:49:50 +00:00
Raymond Hettinger 1672dc60ec Fix signed/unsigned compiler warning. 2009-06-10 16:15:40 +00:00
Raymond Hettinger 1917ad587f Issue 6256: Fix stacklevel in warning message. 2009-06-10 16:15:02 +00:00
Benjamin Peterson d3a4d2951f fix spelling 2009-06-10 13:45:31 +00:00
Amaury Forgeot d'Arc 5217c0848a Missing import in test_curses, uncovered by some buildbots.
(There are still a few test files that don't use the standard layout)
2009-06-09 23:37:11 +00:00
Amaury Forgeot d'Arc d708c8703e Both kind of types are concerned. 2009-06-09 23:18:50 +00:00
Amaury Forgeot d'Arc 901f200c81 #6201: Fix test_winreg on Windows:
since the introduction of the SETUP_WITH opcode,
__enter__ and __exit__ methods must belong to the type,
and are not retrieved at the instance level (__dict__ or __getattr__).

Add a note in whatsnew about this incompatibility;
old style classes are not affected.
2009-06-09 23:08:13 +00:00
Amaury Forgeot d'Arc 03dcc73c11 Avoid invoking the parser/compiler just to test the presence of a function. 2009-06-09 22:53:16 +00:00
Benjamin Peterson 6a098d20e4 update symbol.py from with statement changes 2009-06-09 21:13:43 +00:00
Benjamin Peterson 654924626e explain why keyword names are not just NAME 2009-06-09 17:29:51 +00:00
Benjamin Peterson 80ce61c053 make ast.c depend on the grammar 2009-06-09 17:24:26 +00:00
Eric Smith 9eeeee9d71 Restored a test that was erroneously removed. See issue 6198. 2009-06-09 12:38:08 +00:00
R. David Murray ccb9d4b21c Issue 2947: document how return code handling translates from
os.popen to subprocess.  Also fixes reference link in the
os.spawn documentation.
2009-06-09 00:44:22 +00:00
Benjamin Peterson a5a5728cf0 remove error checks already done in set_context() 2009-06-08 23:44:13 +00:00
Benjamin Peterson 8ea4ded9a6 remove useless assertion 2009-06-08 22:18:32 +00:00
Ronald Oussoren 450d561028 This is a fix for Issue5809: you shouldn't specify both --enable-framework and
--enable-shared
2009-06-08 21:12:41 +00:00
Ronald Oussoren 8e631258ad This checkin adds a symlink to the lib directory of a framework install
of Python (on OSX), and the end result of that is that the combination of
``python-config --ldflags`` and ``python-config --libs`` refers to an actually
existing location.

I've done this in preference to changing python-config to specify
'-framework Python' for linking because that doesn't work when you have multiple
versions of python installed (because '-framework Python' will always link to
the 'Current' version of the framework, without a possibility to specify a
specific version).
2009-06-08 20:54:59 +00:00
Georg Brandl 0c6d166479 Typo fix. 2009-06-08 18:41:36 +00:00
Georg Brandl 2cc39ad242 #6238: add fillchar to string.just function family. 2009-06-08 16:03:41 +00:00
Georg Brandl e590d57d06 #6194: O_SHLOCK/O_EXLOCK are not really more platform independent than lockf(). 2009-06-08 13:34:52 +00:00
Georg Brandl 42a826408b Remove period from end of headings. 2009-06-08 07:57:35 +00:00
Benjamin Peterson 64092a56ec backport r73273 2009-06-07 23:12:44 +00:00
Benjamin Peterson b4347a259c remove has_key 2009-06-07 22:55:36 +00:00
Benjamin Peterson 5c33d86b4b use booleans for flags 2009-06-07 22:54:35 +00:00
Benjamin Peterson dea29d0c11 always inherit from an appropiate base class 2009-06-07 22:35:00 +00:00
Benjamin Peterson bd9508a7df inherit from object 2009-06-07 22:33:11 +00:00
Georg Brandl 1e44447014 Add Ezio. 2009-06-07 20:37:52 +00:00
Kristján Valur Jónsson afefcfd4bf http://bugs.python.org/issue6192
Add a feature to disable the Nagle algorithm on sockets in TCPServer
2009-06-07 16:43:23 +00:00
Benjamin Peterson e021c9cb27 backport r73268 2009-06-07 16:24:48 +00:00
Georg Brandl 18187e2167 #6224: s/JPython/Jython/, and remove one link to a module nine years old. 2009-06-06 18:21:58 +00:00
Georg Brandl e3b9b5e4ed #6204: use a real reference instead of "see later". 2009-06-06 17:51:31 +00:00
Georg Brandl 4c324b9801 #6211: elaborate a bit on ways to call the function. 2009-06-06 17:50:05 +00:00
Georg Brandl 9be5998760 #6206: fix test__locale. 2009-06-06 05:54:34 +00:00
Benjamin Peterson a663a373b2 only test for named pipe when os.stat doesn't raise #6209 2009-06-05 19:09:28 +00:00
Michael Foord d53d085ada Fix unittest discovery tests for Windows. Issue 6199 2009-06-05 14:14:34 +00:00
Tarek Ziadé 3b5d5fb123 reverting r72823 : Python trunk has to use latin-1 encoding 2009-06-05 13:37:29 +00:00
Eric Smith 7c58b09b64 Removed tests so that test_float pass on Windows. See issue 6198. 2009-06-05 12:33:26 +00:00
Hirokazu Yamamoto fbf63a7dfa Fix test__locale on windows (Backport of r72365) 2009-06-05 05:15:58 +00:00
Georg Brandl 4da2fa5517 Add test for #3684. 2009-06-04 18:59:58 +00:00