]>
granicus.if.org Git - python/log
Ned Deily [Mon, 24 Jun 2013 21:22:09 +0000 (14:22 -0700)]
Issue #18164: Clarify the embedding docs regarding link options.
Richard Oudkerk [Mon, 24 Jun 2013 19:38:46 +0000 (20:38 +0100)]
Fix typo.
Richard Oudkerk [Mon, 24 Jun 2013 17:12:57 +0000 (18:12 +0100)]
Clarify note and fix typo.
Richard Oudkerk [Mon, 24 Jun 2013 14:42:00 +0000 (15:42 +0100)]
Issue #15818: Typo in docs.
Richard Oudkerk [Mon, 24 Jun 2013 13:48:07 +0000 (14:48 +0100)]
Issue #18277: Document quirks of multiprocessing queue.
Christian Heimes [Mon, 24 Jun 2013 13:39:41 +0000 (15:39 +0200)]
Fix test for GCC 3.1+ but not strict ANSI C
Christian Heimes [Sun, 23 Jun 2013 21:51:44 +0000 (23:51 +0200)]
Check for correct macro, code uses S_ISDIR().
R David Murray [Sun, 23 Jun 2013 20:05:44 +0000 (16:05 -0400)]
#18179: reflow paragraphs.
R David Murray [Sun, 23 Jun 2013 19:47:50 +0000 (15:47 -0400)]
#18179: document the local_hostname parameter.
Original patch by Berker Peksag.
Serhiy Storchaka [Sun, 23 Jun 2013 17:25:40 +0000 (20:25 +0300)]
Merge heads
Serhiy Storchaka [Sun, 23 Jun 2013 17:12:14 +0000 (20:12 +0300)]
Issue #18184: PyUnicode_FromFormat() and PyUnicode_FromFormatV() now raise
OverflowError when an argument of %c format is out of range.
Łukasz Langa [Sun, 23 Jun 2013 17:10:25 +0000 (19:10 +0200)]
Fixed issue #18260: configparser TypeError on source name specified as bytes
Christian Heimes [Sun, 23 Jun 2013 14:10:29 +0000 (16:10 +0200)]
Solaris' /dev/null is a symlink. The device test now uses stat instead of lstat to compensate
for symlinks.
Victor Stinner [Sun, 23 Jun 2013 13:08:23 +0000 (15:08 +0200)]
Issue #18135: Fix a possible integer overflow in ssl.SSLSocket.write()
and in ssl.SSLContext.load_cert_chain() for strings and passwords longer
than 2 gigabytes.
Victor Stinner [Sun, 23 Jun 2013 12:58:43 +0000 (14:58 +0200)]
_ssl.c: strip trailing spaces
Victor Stinner [Sun, 23 Jun 2013 12:54:30 +0000 (14:54 +0200)]
Issue #18137: Detect integer overflow on precision in float.__format__() and
complex.__format__().
Andrew Kuchling [Sat, 22 Jun 2013 23:20:54 +0000 (19:20 -0400)]
Closes #18220: expand itertools.islice docstring to 2 lines
Andrew Kuchling [Sat, 22 Jun 2013 23:04:11 +0000 (19:04 -0400)]
Close #18285: add 'repeat' parameter to docstring for product
Terry Jan Reedy [Sat, 22 Jun 2013 22:26:51 +0000 (18:26 -0400)]
#18151, part 2: Silence debug build resource warning for each file opened by
'Find in files' by replacing 'open with implicit close' by 'with open' in
GrepDialog method grep_it. Streamline code with enumerate(), direct file
iteration, and output tweak. Add test for this method, including output format.
Andrew Kuchling [Sat, 22 Jun 2013 18:50:56 +0000 (14:50 -0400)]
#18113: avoid segfault if Py_XDECREF triggers code that calls set_panel_userptr again
Problem noted & original patch by Serhiy Storchaka; I tweaked the patch a bit.
Christian Heimes [Sat, 22 Jun 2013 12:48:32 +0000 (14:48 +0200)]
BSD: block devices are gone
http://www.freebsd.org/doc/en/books/arch-handbook/driverbasics-block.html
Brett Cannon [Fri, 21 Jun 2013 22:31:55 +0000 (18:31 -0400)]
Issue #18278: properly document how the loaders are called for FileFinder
Christian Heimes [Fri, 21 Jun 2013 16:53:13 +0000 (18:53 +0200)]
Fix test_stat on BSD, /dev/da0 and /dev/ad0 are links
Christian Heimes [Fri, 21 Jun 2013 16:25:56 +0000 (18:25 +0200)]
Add tests for untested features of the 'stat' module (part of issue #11016)
Andrew Kuchling [Fri, 21 Jun 2013 12:00:58 +0000 (08:00 -0400)]
Closes #18218: use correct variable name for starting point
Andrew Kuchling [Fri, 21 Jun 2013 11:58:35 +0000 (07:58 -0400)]
Closes #18239: correct description of count() in module docstring
Andrew Kuchling [Fri, 21 Jun 2013 01:33:05 +0000 (21:33 -0400)]
Closes #18267: use floor division in code example
Andrew Kuchling [Fri, 21 Jun 2013 01:17:41 +0000 (21:17 -0400)]
Closes #18272: use 'builtins' for 3.3 instead of __builtin__
Andrew Kuchling [Thu, 20 Jun 2013 13:29:09 +0000 (09:29 -0400)]
#4153: update Unicode howto for Python 3.3
* state that python3 source encoding is UTF-8, and give examples
* mention surrogateescape in the 'tips and tricks' section, and
backslashreplace in the "Python's Unicode Support" section.
* Describe Unicode support provided by the re module.
* link to Nick Coghlan's and Ned Batchelder's notes/presentations.
* default filesystem encoding is now UTF-8, not ascii.
* Describe StreamRecoder class.
* update acks section
* remove usage of "I think", "I'm not going to", etc.
* various edits
* remove revision history and original outline
Senthil Kumaran [Thu, 20 Jun 2013 03:19:46 +0000 (22:19 -0500)]
Add -b and -X options to python man page.
Patch contributed by Corey Brune.
R David Murray [Wed, 19 Jun 2013 20:58:26 +0000 (16:58 -0400)]
Tweak programming faq examples so that it (mostly) passes doctest.
The exception is the import related questions at the end, which
need to be rewritten anyway.
Benjamin Peterson [Wed, 19 Jun 2013 16:01:42 +0000 (09:01 -0700)]
fix libffi build on AIX (closes #18248)
Serhiy Storchaka [Wed, 19 Jun 2013 07:23:35 +0000 (10:23 +0300)]
Issue #18202: Fix minor bugs and cleanup test_coding.py.
Christian Heimes [Wed, 19 Jun 2013 00:40:38 +0000 (02:40 +0200)]
fixed libffi on PPC without __NO_FPRS__
ISO C90 forbids mixed declarations and code
Christian Heimes [Wed, 19 Jun 2013 00:09:00 +0000 (02:09 +0200)]
merge heads
Christian Heimes [Wed, 19 Jun 2013 00:06:29 +0000 (02:06 +0200)]
Issue #18259: Declare sethostname in socketmodule.c for AIX
Antoine Pitrou [Tue, 18 Jun 2013 20:17:48 +0000 (22:17 +0200)]
Issue #18256: Compilation fix for recent AIX releases. Patch by David Edelsohn.
Christian Heimes [Tue, 18 Jun 2013 11:22:17 +0000 (13:22 +0200)]
Fix for r84195: add HAVE_ALLOCA_H to configure and only include alloca.h if it's available
Victor Stinner [Mon, 17 Jun 2013 21:37:59 +0000 (23:37 +0200)]
test_faulthandler: use _sigsegv() instead of _read_null()
faulthandler._read_null() is not reliable: it does not crash on AIX.
Victor Stinner [Mon, 17 Jun 2013 20:01:53 +0000 (22:01 +0200)]
ctypes: AIX needs an explicit #include <alloca.h> to get alloca()
Victor Stinner [Mon, 17 Jun 2013 19:51:56 +0000 (21:51 +0200)]
Issue #18238: Skip test_signal.test_sigwaitinfo_interrupted() on AIX
sigwaitinfo() can be interrupted on Linux (raises InterruptedError), but not on
AIX.
Victor Stinner [Mon, 17 Jun 2013 18:35:08 +0000 (20:35 +0200)]
regrtest.py: Fix another typo in the usage of the faulthandler module
Victor Stinner [Mon, 17 Jun 2013 18:27:10 +0000 (20:27 +0200)]
regrtest.py: Fix typo in the usage of the faulthandler module
Serhiy Storchaka [Mon, 17 Jun 2013 13:34:41 +0000 (16:34 +0300)]
Issue #18167: cgi.FieldStorage no more fails to handle multipart/form-data
when \r\n appears at end of 65535 bytes without other newlines.
Serhiy Storchaka [Mon, 17 Jun 2013 12:38:50 +0000 (15:38 +0300)]
Issue #18223: Refactor test_tarfile.
* Use mixins for generating tests for different compression types.
* Make test_tarfile discoverable.
* Use more special tests (i.e. assertEqual, assertIs) instead of assertTrue.
* Add explicit test skips instead of reporting skipped tests as passed.
* Wrap long lines.
* Correct a comment for test_hardlink_extraction1.
* Add support.requires_gzip.
and some other minor enhancements.
Brett Cannon [Sun, 16 Jun 2013 23:07:16 +0000 (19:07 -0400)]
merge
Brett Cannon [Sun, 16 Jun 2013 23:06:55 +0000 (19:06 -0400)]
Fix a misnaming of a method and an argument
Andrew Kuchling [Sun, 16 Jun 2013 16:58:48 +0000 (12:58 -0400)]
Describe 'surrogateescape' in the documentation.
Also, improve some docstring descriptions of the 'errors' parameter.
Closes #14015.
Gregory P. Smith [Sun, 16 Jun 2013 01:05:17 +0000 (18:05 -0700)]
news entry for subprocess double close fix.
Gregory P. Smith [Sun, 16 Jun 2013 01:04:26 +0000 (18:04 -0700)]
Prevent a possible double close of parent pipe fds when the subprocess
exec runs into an error. Prevent a regular multi-close of the /dev/null
fd when any of stdin, stdout and stderr was set to DEVNULL.
Andrew Kuchling [Sat, 15 Jun 2013 18:04:04 +0000 (14:04 -0400)]
#18113: Objects associated to a curses.panel object with set_userptr() were leaked.
Reported by Atsuo Ishimoto.
Brett Cannon [Sat, 15 Jun 2013 17:37:12 +0000 (13:37 -0400)]
Drop some dead imports of imp
Christian Heimes [Fri, 14 Jun 2013 13:40:28 +0000 (15:40 +0200)]
Issue #15172: Document NASM 2.10+ as requirement for building OpenSSL 1.0.1 on Windows
Serhiy Storchaka [Wed, 12 Jun 2013 06:20:44 +0000 (09:20 +0300)]
Add tests for issue #18183.
Roger Serwy [Wed, 12 Jun 2013 03:25:14 +0000 (22:25 -0500)]
#18196: Avoid displaying spurious SystemExit tracebacks.
Roger Serwy [Wed, 12 Jun 2013 03:13:17 +0000 (22:13 -0500)]
#5492: Avoid traceback when exiting IDLE caused by a race condition.
Ned Deily [Tue, 11 Jun 2013 21:38:39 +0000 (14:38 -0700)]
Issue #18187: Fix broken link in venv documentation. Patch by Berker Peksag.
Roger Serwy [Tue, 11 Jun 2013 04:01:20 +0000 (23:01 -0500)]
#17511: Keep IDLE find dialog open after clicking "Find Next".
Original patch by Sarah K.
Benjamin Peterson [Mon, 10 Jun 2013 16:19:46 +0000 (09:19 -0700)]
remove MAX_MAXCHAR because it's unsafe for computing maximum codepoitn value (see #18183)
Richard Oudkerk [Mon, 10 Jun 2013 15:29:19 +0000 (16:29 +0100)]
Issue #18174: Fix fd leaks in tests.
Richard Oudkerk [Mon, 10 Jun 2013 14:38:54 +0000 (15:38 +0100)]
Issue #18180: Fix ref leak in _PyImport_GetDynLoadWindows().
Ronald Oussoren [Mon, 10 Jun 2013 08:36:28 +0000 (10:36 +0200)]
Ensure that the fix for #17269 also works on OSX 10.4
AI_NUMERICSERV isn't defined on OSX 10.4.
Serhiy Storchaka [Sun, 9 Jun 2013 18:08:05 +0000 (21:08 +0300)]
Issue #16102: Make uuid._netbios_getnode() work again on Python 3.
Serhiy Storchaka [Sun, 9 Jun 2013 14:08:00 +0000 (17:08 +0300)]
Issue #15239: Make mkstringprep.py work again on Python 3.
Serhiy Storchaka [Sun, 9 Jun 2013 13:51:52 +0000 (16:51 +0300)]
Issue #18038: SyntaxError raised during compilation sources with illegal
encoding now always contains an encoding name.
Ezio Melotti [Sat, 8 Jun 2013 22:04:21 +0000 (01:04 +0300)]
#18126: update NumPy links in the documentation. Patch by Yury V. Zaytsev.
Ezio Melotti [Sat, 8 Jun 2013 21:07:06 +0000 (00:07 +0300)]
#17691: test_univnewlines now works with unittest test discovery. Patch by Zachary Ware.
Terry Jan Reedy [Sat, 8 Jun 2013 04:22:45 +0000 (00:22 -0400)]
#18151, part 1: Backport idlelilb portion of Andrew Svetlov's 3.4 patch
changing IOError to OSError (#16715).
Brett Cannon [Fri, 7 Jun 2013 17:17:48 +0000 (13:17 -0400)]
Issue #18055: Move to importlib from imp for IDLE.
Terry Jan Reedy [Wed, 5 Jun 2013 18:36:33 +0000 (14:36 -0400)]
Issue 18130: delete extra spaces
Terry Jan Reedy [Wed, 5 Jun 2013 18:22:26 +0000 (14:22 -0400)]
Issue18130: Test class idlelib.configSectionNameDialog.GetCfgSectionNameDialog.
Fix bug in existing human test and add instructions; fix two bugs in tested
code; remove redundancies, add spaces, and change two internal method names.
Add mock_tk with mocks for tkinter.Variable subclasses and tkinter.messagebox.
Use mocks in test_config_name to unittest methods that are otherwise gui-free.
Victor Stinner [Mon, 3 Jun 2013 20:07:27 +0000 (22:07 +0200)]
Close #18109: os.uname() now decodes fields from the locale encoding, and
socket.gethostname() now decodes the hostname from the locale encoding, instead
of using the UTF-8 encoding in strict mode.
Senthil Kumaran [Sun, 2 Jun 2013 18:59:47 +0000 (11:59 -0700)]
Fix #17967 - Fix related to regression on Windows.
os.path.join(*self.dirs) produces an invalid path on windows.
ftp paths are always forward-slash seperated like this. /pub/dir.
Raymond Hettinger [Sun, 2 Jun 2013 17:03:05 +0000 (10:03 -0700)]
Clarify which dictionaries are updateable
by using the wording from the Py2.7 docs.
Senthil Kumaran [Sat, 1 Jun 2013 18:12:17 +0000 (11:12 -0700)]
Fix thishost helper funtion in urllib. Returns the ipaddress of localhost when
hostname is resolvable by socket.gethostname for local machine. This all fixes
certain freebsd builtbot failures.
Senthil Kumaran [Sat, 1 Jun 2013 15:27:06 +0000 (08:27 -0700)]
Fix #17967: For ftp urls CWD to target instead of hopping to each directory
towards target. This fixes a bug where target is accessible, but parent
directories are restricted.
Serhiy Storchaka [Fri, 31 May 2013 19:31:02 +0000 (22:31 +0300)]
Issue #18094: test_uuid no more reports skipped tests as passed.
Terry Jan Reedy [Fri, 31 May 2013 00:55:52 +0000 (20:55 -0400)]
Issue #15392: Finish news entry.
Stefan Krah [Wed, 29 May 2013 18:58:19 +0000 (20:58 +0200)]
Support multiarch build in tests.
Stefan Krah [Wed, 29 May 2013 17:14:17 +0000 (19:14 +0200)]
Stefan Krah [Wed, 29 May 2013 13:45:38 +0000 (15:45 +0200)]
Issue #17768: Support newline fill character in decimal.py and NUL fill
character in _decimal.c.
Senthil Kumaran [Wed, 29 May 2013 12:54:31 +0000 (05:54 -0700)]
#17403: urllib.parse.robotparser normalizes the urls before adding to ruleline.
This helps in handling certain types invalid urls in a conservative manner.
Terry Jan Reedy [Wed, 29 May 2013 02:21:53 +0000 (22:21 -0400)]
Issue #15392: Do not run tests if threading/_thread not available. Otherwise
touchup test_idle. Rename README.txt.
Ned Deily [Tue, 28 May 2013 23:35:30 +0000 (16:35 -0700)]
Issue #18080: When building a C extension module on OS X, if the compiler
is overriden with the CC environment variable, use the new compiler as
the default for linking if LDSHARED is not also overriden. This restores
Distutils behavior introduced in 3.2.3 and inadvertently dropped in 3.3.0.
Serhiy Storchaka [Tue, 28 May 2013 19:46:15 +0000 (22:46 +0300)]
Issue #18085: Fix PyObject_CallMethodObjArgs()'s entry in refcounts.dat.
Serhiy Storchaka [Tue, 28 May 2013 13:24:45 +0000 (16:24 +0300)]
Issue #18025: Fixed a segfault in io.BufferedIOBase.readinto() when raw
stream's read() returns more bytes than requested.
Serhiy Storchaka [Tue, 28 May 2013 12:50:15 +0000 (15:50 +0300)]
Issue #17746: Skip test_shutil.test_non_matching_mode when run as root or
on unsuitable platform/environment.
Serhiy Storchaka [Tue, 28 May 2013 12:27:29 +0000 (15:27 +0300)]
Issue #18011: base64.b32decode() now raises a binascii.Error if there are
non-alphabet characters present in the input string to conform a docstring.
Updated the module documentation.
Serhiy Storchaka [Tue, 28 May 2013 09:49:34 +0000 (12:49 +0300)]
Issue #18079: Fix a typo in the tutorial.
Jason R. Coombs [Tue, 28 May 2013 03:52:43 +0000 (23:52 -0400)]
Use simple call to os.symlink for broken link (intended for previous commit)
Jason R. Coombs [Tue, 28 May 2013 03:21:28 +0000 (23:21 -0400)]
Issue #13772: Restored directory detection of targets in `os.symlink` on Windows, which was temporarily removed in Python 3.2.3 due to an incomplete implementation. The implementation now works even if the symlink is created in a location other than the current directory.
Terry Jan Reedy [Tue, 28 May 2013 01:32:03 +0000 (21:32 -0400)]
Issue #15392: Create a unittest framework for IDLE.
Preliminary patch by Rajagopalasarma Jayakrishnan.
Ned Deily [Mon, 27 May 2013 01:53:39 +0000 (18:53 -0700)]
Fix typo in embedding doc and update examples to 3.3.
Antoine Pitrou [Sat, 25 May 2013 21:47:29 +0000 (23:47 +0200)]
Issue #18063: fix some struct specifications in the tests for sys.getsizeof().
Brett Cannon [Sat, 25 May 2013 15:32:50 +0000 (11:32 -0400)]
Mention __cached__ in the import ref.
Brett Cannon [Sat, 25 May 2013 15:28:20 +0000 (11:28 -0400)]
Add a missing parenthesis.
Brett Cannon [Sat, 25 May 2013 15:26:11 +0000 (11:26 -0400)]
Various tweaks to importlib docs.
Eli Bendersky [Sat, 25 May 2013 14:12:14 +0000 (07:12 -0700)]
Clean-up duplicated code in tests
Eli Bendersky [Sat, 25 May 2013 12:25:48 +0000 (05:25 -0700)]
Issue #13612: handle unknown encodings without a buffer overflow.
This affects pyexpat and _elementtree. PyExpat_CAPI now exposes a new
function - DefaultUnknownEncodingHandler.
Based on a patch by Serhiy Storchaka.
Antoine Pitrou [Sat, 25 May 2013 11:08:13 +0000 (13:08 +0200)]
Fix test_bad_address on Ubuntu 13.04