]>
granicus.if.org Git - python/log
Martin v. Löwis [Sat, 28 Aug 2010 13:40:10 +0000 (13:40 +0000)]
Stop packaging versioncheck.
Martin v. Löwis [Sat, 28 Aug 2010 13:39:09 +0000 (13:39 +0000)]
Replace cabarc with FCICreate.
Martin v. Löwis [Sat, 28 Aug 2010 13:06:43 +0000 (13:06 +0000)]
Fix various build problems.
Martin v. Löwis [Sat, 28 Aug 2010 07:42:21 +0000 (07:42 +0000)]
Add file needed to make distclean.
Martin v. Löwis [Sat, 28 Aug 2010 07:37:05 +0000 (07:37 +0000)]
Issue #9704: Add zlib files necessary to run configure
and make.
Brett Cannon [Thu, 26 Aug 2010 21:07:13 +0000 (21:07 +0000)]
OSError is the exception raised when one tries to create a directory that
already exists, not IOError.
Part of the continuing saga of issue #9572.
Georg Brandl [Thu, 26 Aug 2010 14:30:56 +0000 (14:30 +0000)]
#9681: typo.
Georg Brandl [Thu, 26 Aug 2010 14:30:15 +0000 (14:30 +0000)]
#9689: add links from overview to in-depth class API descriptions.
Senthil Kumaran [Thu, 26 Aug 2010 06:16:22 +0000 (06:16 +0000)]
Fix Issue8797 - Reset the basic auth retry count when response code is not 401.
Benjamin Peterson [Wed, 25 Aug 2010 23:13:17 +0000 (23:13 +0000)]
basicsize and itemsize are Py_ssize_t #9688
Martin v. Löwis [Wed, 25 Aug 2010 22:15:18 +0000 (22:15 +0000)]
Disable deletion of openssl again.
Daniel Stutzbach [Wed, 25 Aug 2010 19:18:59 +0000 (19:18 +0000)]
Issue 8781: Define SIZEOF_WCHAR_T on Windows
Benjamin Peterson [Wed, 25 Aug 2010 17:57:04 +0000 (17:57 +0000)]
apparently this test should be gated, too
Benjamin Peterson [Wed, 25 Aug 2010 17:02:22 +0000 (17:02 +0000)]
this test is only valid when sizeof(wchar) == Py_UNICODE_SIZE
Victor Stinner [Wed, 25 Aug 2010 08:33:34 +0000 (08:33 +0000)]
Fix test_sys: set LC_ALL instead of LANG
LC_ALL is read before LANG to choose the locale encoding (LC_ALL, LANG and then
LC_CTYPE: use the first non empty variable).
Martin v. Löwis [Wed, 25 Aug 2010 07:38:15 +0000 (07:38 +0000)]
Issue #
1027206 : getnameinfo is now restricted to numeric addresses as input.
R. David Murray [Wed, 25 Aug 2010 00:45:55 +0000 (00:45 +0000)]
#
1194222 : make parsedate always return RFC2822 four character years.
Two character years are now converted to four character years using
the Posix standard rule (<68 == 2000, >=68==1900). This makes the
parsed date RFC2822 compliant even if the input is not.
Patch and test by Jeffrey Finkelstein.
Victor Stinner [Wed, 25 Aug 2010 00:20:27 +0000 (00:20 +0000)]
Disable test_undecodable_code() of test_sys on Windows
This test is irrevelant on Windows
Victor Stinner [Tue, 24 Aug 2010 23:05:51 +0000 (23:05 +0000)]
Fix test_sys for FreeBSD, Solaris and Mac OS X
_Py_char2wchar() (mbctowcs) decodes b'\xff' to '\xff' on FreeBSD, Solaris and
Mac OS X, even if the locale is C (and the locale encoding is ASCII). Patch
test_undecodable_code() to support this output and document the two different
kinds of outputs.
Daniel Stutzbach [Tue, 24 Aug 2010 21:57:33 +0000 (21:57 +0000)]
Issue 8781: On systems a signed 4-byte wchar_t and a 4-byte Py_UNICODE, use memcpy to convert between the two (as already done when wchar_t is unsigned)
Benjamin Peterson [Tue, 24 Aug 2010 21:30:14 +0000 (21:30 +0000)]
remove parens
Brett Cannon [Tue, 24 Aug 2010 21:04:05 +0000 (21:04 +0000)]
Fix a bug where an attribute was lacking an object to work off of.
Related to the fix for issue #9572. Thanks to Łukasz Czuja for catching the
bug.
Benjamin Peterson [Tue, 24 Aug 2010 21:03:37 +0000 (21:03 +0000)]
further clarify
Daniel Stutzbach [Tue, 24 Aug 2010 20:49:57 +0000 (20:49 +0000)]
Issue 8750: Fixed MutableSet's methods to correctly handle reflexive operations, namely x -= x and x ^= x
Benjamin Peterson [Tue, 24 Aug 2010 18:08:22 +0000 (18:08 +0000)]
tabbing no longer applicable
Brian Curtin [Tue, 24 Aug 2010 05:20:30 +0000 (05:20 +0000)]
Fix #7579. Add docstrings to msvcrt and adjust some wording for bytes.
Benjamin Peterson [Tue, 24 Aug 2010 03:26:23 +0000 (03:26 +0000)]
only catch AttributeError in hasattr() #9666
Giampaolo Rodolà [Mon, 23 Aug 2010 22:28:13 +0000 (22:28 +0000)]
fix issue 9129: adds proper error handling on accept() when smtpd accepts new incoming connections.
Giampaolo Rodolà [Mon, 23 Aug 2010 22:10:32 +0000 (22:10 +0000)]
fix issue 9601: ftplib now provides a workaround for invalid response code returned on MKD and PWD by non-compliant FTPserver implementations such as ISS shipped with Windows server 2003
Benjamin Peterson [Mon, 23 Aug 2010 21:58:59 +0000 (21:58 +0000)]
cleanup imports
Giampaolo Rodolà [Mon, 23 Aug 2010 21:53:41 +0000 (21:53 +0000)]
fix issue 658749: correctly interprets asyncore's windows errors on connect()
Benjamin Peterson [Mon, 23 Aug 2010 19:35:39 +0000 (19:35 +0000)]
reorder and save a comparison
Vinay Sajip [Mon, 23 Aug 2010 17:50:30 +0000 (17:50 +0000)]
Issue #9501: Fixed logging regressions in cleanup code.
Benjamin Peterson [Mon, 23 Aug 2010 17:47:43 +0000 (17:47 +0000)]
news note for last change
Benjamin Peterson [Mon, 23 Aug 2010 17:40:33 +0000 (17:40 +0000)]
run total_ordering() tests, and fix the function (default comparisons shouldn't be considered)
Matthias Klose [Mon, 23 Aug 2010 16:47:09 +0000 (16:47 +0000)]
Fix builds with builddir != srcdir, introduced in r83988.
os.path.dirname(__file__) points to the scrdir, not the builddir.
Use os.getcwd() instead.
Martin v. Löwis [Mon, 23 Aug 2010 15:27:26 +0000 (15:27 +0000)]
Explicitly pass socket type and family for getaddrinfo,
to make test work on Solaris.
Disable gethostbyaddr IDNA test for now as there is no
reverse DNS entry for the IPv6 address of the test name.
Brett Cannon [Sun, 22 Aug 2010 22:19:11 +0000 (22:19 +0000)]
One of the joys of having test_multiprocessing occasionally execute after
test_importlib is that it discovers special little race conditions. For
instance, it turns out that importlib would throw an exception if two different
Python processes both tried to create the __pycache__ directory as one process
would succeed, causing the other process to fail as it didn't expect to get any
"help". So now importlib simply stays calm and just accepts someone else did
the work of creating the __pycache__ directory for it, moving on with life.
Closes issue #9572.
Brett Cannon [Sun, 22 Aug 2010 22:11:06 +0000 (22:11 +0000)]
Make sure that no __pycache__ directory is needlessly left behind when testing
imports with an empty string in sys.path.
Antoine Pitrou [Sun, 22 Aug 2010 20:43:26 +0000 (20:43 +0000)]
Add an import lock test for multithreaded circular imports.
(part of #9657)
Brett Cannon [Sun, 22 Aug 2010 20:38:47 +0000 (20:38 +0000)]
While not strictly necessary thanks to the odd ABC inheritance done through
importlib._bootstrap, add the optional methods for importlib.abc.SourceLoader
for completeness.
Brett Cannon [Sun, 22 Aug 2010 20:36:25 +0000 (20:36 +0000)]
Under OS X, history_get from readline returns a const char *, but the local
variable the return value is assigned to is char *. Since the assigned-to
variable is never changed, simply make that a const char * and cast all calls
to get_history to const char * to silence the compiler warning (found with
LLVM).
Georg Brandl [Sun, 22 Aug 2010 20:23:38 +0000 (20:23 +0000)]
#9649: fix default value description.
Daniel Stutzbach [Sun, 22 Aug 2010 19:41:04 +0000 (19:41 +0000)]
Added myself to Misc/maintainers.rst for topics on which I'd like to be added to the nosy list
Martin v. Löwis [Sun, 22 Aug 2010 19:38:04 +0000 (19:38 +0000)]
Mention that gethostbyaddr now also supports IDNA.
Martin v. Löwis [Sun, 22 Aug 2010 19:33:47 +0000 (19:33 +0000)]
Issue #
1027206 : Support IDNA in gethostbyname, gethostbyname_ex and
getaddrinfo. Patch by David Watson.
Vinay Sajip [Sun, 22 Aug 2010 18:41:24 +0000 (18:41 +0000)]
Updated maintainers.rst to reflect correct Roundup name.
Vinay Sajip [Sun, 22 Aug 2010 18:11:02 +0000 (18:11 +0000)]
Issue #9512: Made comment more informative.
Antoine Pitrou [Sun, 22 Aug 2010 10:18:36 +0000 (10:18 +0000)]
Test that calls to path hooks and meta_path entries are serialized by the import lock.
(part of issue #9251)
Martin v. Löwis [Sun, 22 Aug 2010 08:46:19 +0000 (08:46 +0000)]
Add Daniel Stutzbach.
Raymond Hettinger [Sun, 22 Aug 2010 08:39:49 +0000 (08:39 +0000)]
Issue 8403: Don't mask KeyboardInterrupt during peephole operation.
Raymond Hettinger [Sun, 22 Aug 2010 07:44:24 +0000 (07:44 +0000)]
Issue #9214: Fix set operations on KeysView and ItemsView.
Georg Brandl [Sat, 21 Aug 2010 23:20:01 +0000 (23:20 +0000)]
Remove usage of rexec in tkinter demo.
Benjamin Peterson [Sat, 21 Aug 2010 21:23:28 +0000 (21:23 +0000)]
fix old markup
Giampaolo Rodolà [Sat, 21 Aug 2010 20:34:37 +0000 (20:34 +0000)]
remove obsolete 'import SOCKS' statement
Benjamin Peterson [Sat, 21 Aug 2010 20:08:36 +0000 (20:08 +0000)]
provide sample implementations for attrgetter and methodcaller
Benjamin Peterson [Sat, 21 Aug 2010 20:03:15 +0000 (20:03 +0000)]
fix more indentation
Benjamin Peterson [Sat, 21 Aug 2010 20:01:28 +0000 (20:01 +0000)]
indent properly
Antoine Pitrou [Sat, 21 Aug 2010 19:09:32 +0000 (19:09 +0000)]
Issue #9617: Signals received during a low-level write operation aren't
ignored by the buffered IO layer anymore.
Giampaolo Rodolà [Sat, 21 Aug 2010 18:58:21 +0000 (18:58 +0000)]
fix smtpd.py I accidentally broke in my previous commit
Giampaolo Rodolà [Sat, 21 Aug 2010 18:47:59 +0000 (18:47 +0000)]
revert changes made in r84236 committed by accident
Giampaolo Rodolà [Sat, 21 Aug 2010 18:35:05 +0000 (18:35 +0000)]
fix issue #9129: added proper error handling when accepting new connections in SMTPServer.handle_accept
Senthil Kumaran [Sat, 21 Aug 2010 16:08:32 +0000 (16:08 +0000)]
Add info about HTTP/1.1 and Connection:Close header.
Marc-André Lemburg [Sat, 21 Aug 2010 10:58:31 +0000 (10:58 +0000)]
Fix a typo in the alias target name for 'macintosh'.
Benjamin Peterson [Sat, 21 Aug 2010 02:54:44 +0000 (02:54 +0000)]
alias macintosh to mac_roman #843590
Benjamin Peterson [Sat, 21 Aug 2010 02:45:15 +0000 (02:45 +0000)]
speed hack can be implemented more cleanly by directly calling __new__
Benjamin Peterson [Sat, 21 Aug 2010 02:43:31 +0000 (02:43 +0000)]
use blank object instead
Benjamin Peterson [Sat, 21 Aug 2010 02:41:33 +0000 (02:41 +0000)]
remove outdated comment
Victor Stinner [Fri, 20 Aug 2010 16:52:14 +0000 (16:52 +0000)]
Workaround issue #8611 in test_undecodable_code() of test_sys
Write test.support.workaroundIssue8611() function so it will be easier to
remove this workaround from all tests.
Victor Stinner [Fri, 20 Aug 2010 16:38:14 +0000 (16:38 +0000)]
test_undecodable_code(): set locale to C
The test is still failing on "x86 FreeBSD 7.2 3.x" and "sparc solaris10 gcc
3.x" buildbots. It looks like the locale encoding is able to decode b'\xff'. I
suppose that it is an encoding like 'iso-8859-1'.
Use C locale to set, I hope, the locale encoding to 'ascii'. Display also the
encoding so if the test fails, at least I will learn the locale encoding
choosen for the C locale.
Victor Stinner [Fri, 20 Aug 2010 11:08:18 +0000 (11:08 +0000)]
test_main_invalid_unicode() of test_sys: print string as ascii
There are buildbot failures on "x86 FreeBSD 3.x" and "sparc solaris10 gcc 3.x".
I suppose that _Py_char2wchar() doesn't fail even if the locale encoding is
unable to decode the byte string, because _Py_char2wchar() has a special mode
for platform without mbrtowc() (ISO C99) function.
Let's check my theory by avoid error on the Python print() instruction.
Vinay Sajip [Fri, 20 Aug 2010 08:43:22 +0000 (08:43 +0000)]
Issue #7077: Fixed bug in previous fix.
Tim Golden [Fri, 20 Aug 2010 08:31:26 +0000 (08:31 +0000)]
Remove long-redundant plat-win from sys.path on Windows
Vinay Sajip [Thu, 19 Aug 2010 22:20:22 +0000 (22:20 +0000)]
Issue #7077: Fixed SysLogHandler implementation of Unicode handling.
Amaury Forgeot d'Arc [Thu, 19 Aug 2010 21:32:38 +0000 (21:32 +0000)]
Add tests for r84209 (crashes in the Ast builder)
Also remove one tab, and move a check closer to the possible failure.
Vinay Sajip [Thu, 19 Aug 2010 19:17:41 +0000 (19:17 +0000)]
Issue #9606: Updated documentation for Filter objects.
Senthil Kumaran [Thu, 19 Aug 2010 17:50:31 +0000 (17:50 +0000)]
Fix Issue9639 - reset the retry count on successful auth.
Amaury Forgeot d'Arc [Thu, 19 Aug 2010 17:43:15 +0000 (17:43 +0000)]
Check the return values for all functions returning an ast node.
Failure to do it may result in strange error messages or even crashes,
in admittedly convoluted cases that are normally syntax errors, like:
def f(*xx, __debug__): pass
Victor Stinner [Thu, 19 Aug 2010 17:35:00 +0000 (17:35 +0000)]
test_pep277: display the filename as ascii on failure
Victor Stinner [Thu, 19 Aug 2010 17:22:57 +0000 (17:22 +0000)]
Skip test_encodings() of test_os on Windows and Mac OS X
Victor Stinner [Thu, 19 Aug 2010 17:18:12 +0000 (17:18 +0000)]
test_main_invalid_unicode() of test_sys displays stderr on failure
Victor Stinner [Thu, 19 Aug 2010 17:10:18 +0000 (17:10 +0000)]
Fix os.get_exec_path() (code and tests) for python -bb
Catch BytesWarning exceptions.
Victor Stinner [Thu, 19 Aug 2010 11:36:43 +0000 (11:36 +0000)]
PYTHONFSENCODING is not available on Windows or Mac OS X
Victor Stinner [Thu, 19 Aug 2010 11:30:09 +0000 (11:30 +0000)]
Ooops, finish test_sys fix: use expected variable
Victor Stinner [Thu, 19 Aug 2010 11:23:47 +0000 (11:23 +0000)]
Fix test_sys about fs encoding for Windows and Mac OS X
* Check fs encoding value on Windows
* Ignore LANG= test on Windows and Mac OS X (fs encoding is hardcoded on these
platforms)
Victor Stinner [Thu, 19 Aug 2010 11:17:12 +0000 (11:17 +0000)]
Fix test_os: workaround #8611 bug
Martin v. Löwis [Thu, 19 Aug 2010 09:11:51 +0000 (09:11 +0000)]
Decode NIS data to fs encoding, using the surrogate error handler.
Senthil Kumaran [Thu, 19 Aug 2010 07:02:20 +0000 (07:02 +0000)]
Fix Issue9638 - remove dead code from py3k imaplib
Victor Stinner [Thu, 19 Aug 2010 01:05:19 +0000 (01:05 +0000)]
Create os.fsdecode(): decode from the filesystem encoding with surrogateescape
error handler, or strict error handler on Windows.
* Rewrite os.fsencode() documentation
* Improve os.fsencode and os.fsdecode() tests using the new PYTHONFSENCODING
environment variable
Victor Stinner [Wed, 18 Aug 2010 23:41:33 +0000 (23:41 +0000)]
what's new 3.2: use :mod:
Victor Stinner [Wed, 18 Aug 2010 22:44:15 +0000 (22:44 +0000)]
test_sys: move tests at the right place
filesystem encoding is not related to sys.sizeof()
Éric Araujo [Wed, 18 Aug 2010 22:35:23 +0000 (22:35 +0000)]
Fix typo
Andrew M. Kuchling [Wed, 18 Aug 2010 22:30:34 +0000 (22:30 +0000)]
#7647: add ST_RDONLY, ST_NOSUID constants to os module.
(Also fix a name ordering in the ACKS file.)
Éric Araujo [Wed, 18 Aug 2010 22:29:54 +0000 (22:29 +0000)]
Fix indentation level
Victor Stinner [Wed, 18 Aug 2010 22:26:50 +0000 (22:26 +0000)]
Fix PyUnicode_EncodeFSDefault() indentation
Victor Stinner [Wed, 18 Aug 2010 22:23:22 +0000 (22:23 +0000)]
Improve error message if the command is not decodable
Amaury Forgeot d'Arc [Wed, 18 Aug 2010 22:07:15 +0000 (22:07 +0000)]
Add more tests to unicodedata with large code points
(the other functions where not affected by the recent change)
Victor Stinner [Wed, 18 Aug 2010 21:59:12 +0000 (21:59 +0000)]
Fix reindent-rst.py: it works on binary files
Victor Stinner [Wed, 18 Aug 2010 21:23:25 +0000 (21:23 +0000)]
Issue #8622: Add PYTHONFSENCODING environment variable to override the
filesystem encoding.
initfsencoding() displays also a better error message if get_codeset() failed.
Amaury Forgeot d'Arc [Wed, 18 Aug 2010 21:12:52 +0000 (21:12 +0000)]
Fix stupid typo in test.