Commit Graph

42650 Commits

Author SHA1 Message Date
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
Eric Smith e7dbebbadf Minor documentation fixes for logging. 2009-06-04 17:58:15 +00:00
Georg Brandl 5000b3b8a7 #6175: document that inet_aton supports alternate input formats with less than three dots. 2009-06-04 10:27:21 +00:00
Georg Brandl 4a20b1ad51 #6176: fix man page section for flock(2). 2009-06-04 10:22:31 +00:00
Georg Brandl 3a5971c237 #5967: note that the C slicing APIs do not support negative indices. 2009-06-04 10:15:57 +00:00
Georg Brandl 46121e79ce Better name for "Ctor". 2009-06-04 10:10:41 +00:00
Georg Brandl eb56aa169a #3584: ignore trailing newlines when placing the caret for a SyntaxError location. 2009-06-04 09:15:12 +00:00
Georg Brandl e6632b47bb #5767: remove sgmlop support from xmlrpclib; the sgmlop parser does not do much validation and is no longer much faster than e.g. the cElementTree XMLParser. 2009-06-04 08:58:32 +00:00
Tarek Ziadé e616c53aec improved test coverage for distutils.command.install and cleaned it up 2009-06-04 07:31:52 +00:00
Benjamin Peterson 064a381a14 use the offical api 2009-06-04 01:40:29 +00:00
Georg Brandl 19e79f79ce Avoid PendingDeprecationWarnings emitted by deprecated unittest methods. 2009-06-03 23:23:45 +00:00
Georg Brandl 0eca77c40c #6174: fix indentation in code example. 2009-06-03 21:21:09 +00:00
Josiah Carlson 96b79c851a Fix for line wrap ugly. 2009-06-03 19:51:52 +00:00
Josiah Carlson a810bc736c This fixes bug 5798 on OS X.
This should also fix disconnect behavior cross-platform.
2009-06-03 19:46:21 +00:00
Tarek Ziadé 8df921b46b assertion message was dropped 2009-06-03 11:20:44 +00:00