summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Issue #18315: Improve fileinput docs by adding 'bufsize' where missing andTerry Jan Reedy2013-06-281-7/+5
| | | | | replacing redundant signature in input() docstring with one-line summary. Original patch by Terrel Shumway.
* #14360: make encoders.encode_quopri work.R David Murray2013-06-272-2/+35
| | | | | | | | | There were no tests for the encoders module. encode_base64 worked because it is the default and so got tested implicitly elsewhere, and we use encode_7or8bit internally, so that worked, too. I previously fixed encode_noop, so this fix means that everythign in the encoders module now works, hopefully correctly. Also added an explicit test for encode_base64.
* #18179: reflow paragraphs.R David Murray2013-06-231-22/+23
|
* #18179: document the local_hostname parameter.R David Murray2013-06-231-4/+7
| | | | Original patch by Berker Peksag.
* Merge headsSerhiy Storchaka2013-06-232-13/+65
|\
| * Fixed issue #18260: configparser TypeError on source name specified as bytesŁukasz Langa2013-06-232-13/+65
| |
* | Issue #18184: PyUnicode_FromFormat() and PyUnicode_FromFormatV() now raiseSerhiy Storchaka2013-06-231-0/+2
|/ | | | OverflowError when an argument of %c format is out of range.
* Solaris' /dev/null is a symlink. The device test now uses stat instead of ↵Christian Heimes2013-06-231-4/+7
| | | | | | lstat to compensate for symlinks.
* Issue #18137: Detect integer overflow on precision in float.__format__() andVictor Stinner2013-06-231-0/+17
| | | | complex.__format__().
* #18151, part 2: Silence debug build resource warning for each file opened byTerry Jan Reedy2013-06-222-24/+99
| | | | | | '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.
* #18113: avoid segfault if Py_XDECREF triggers code that calls ↵Andrew Kuchling2013-06-221-0/+9
| | | | | | set_panel_userptr again Problem noted & original patch by Serhiy Storchaka; I tweaked the patch a bit.
* BSD: block devices are goneChristian Heimes2013-06-221-1/+1
| | | | http://www.freebsd.org/doc/en/books/arch-handbook/driverbasics-block.html
* Fix test_stat on BSD, /dev/da0 and /dev/ad0 are linksChristian Heimes2013-06-211-1/+2
|
* Add tests for untested features of the 'stat' module (part of issue #11016)Christian Heimes2013-06-211-13/+132
|
* Issue #18202: Fix minor bugs and cleanup test_coding.py.Serhiy Storchaka2013-06-191-17/+15
|
* test_faulthandler: use _sigsegv() instead of _read_null()Victor Stinner2013-06-171-5/+5
| | | | faulthandler._read_null() is not reliable: it does not crash on AIX.
* Issue #18238: Skip test_signal.test_sigwaitinfo_interrupted() on AIXVictor Stinner2013-06-171-0/+4
| | | | | sigwaitinfo() can be interrupted on Linux (raises InterruptedError), but not on AIX.
* regrtest.py: Fix another typo in the usage of the faulthandler moduleVictor Stinner2013-06-171-1/+1
|
* regrtest.py: Fix typo in the usage of the faulthandler moduleVictor Stinner2013-06-171-3/+3
|
* Issue #18167: cgi.FieldStorage no more fails to handle multipart/form-dataSerhiy Storchaka2013-06-172-0/+32
| | | | when \r\n appears at end of 65535 bytes without other newlines.
* Issue #18223: Refactor test_tarfile.Serhiy Storchaka2013-06-172-381/+345
| | | | | | | | | | | | * 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.
* mergeBrett Cannon2013-06-163-18/+39
|\
| * Describe 'surrogateescape' in the documentation.Andrew Kuchling2013-06-161-0/+1
| | | | | | | | | | | | Also, improve some docstring descriptions of the 'errors' parameter. Closes #14015.
| * Prevent a possible double close of parent pipe fds when the subprocessGregory P. Smith2013-06-161-18/+25
| | | | | | | | | | 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.
| * #18113: Objects associated to a curses.panel object with set_userptr() were ↵Andrew Kuchling2013-06-151-0/+13
| | | | | | | | | | | | leaked. Reported by Atsuo Ishimoto.
* | Fix a misnaming of a method and an argumentBrett Cannon2013-06-161-2/+2
|/
* Drop some dead imports of impBrett Cannon2013-06-152-2/+0
|
* Add tests for issue #18183.Serhiy Storchaka2013-06-121-3/+15
|
* #18196: Avoid displaying spurious SystemExit tracebacks.Roger Serwy2013-06-121-0/+4
|
* #5492: Avoid traceback when exiting IDLE caused by a race condition.Roger Serwy2013-06-121-6/+5
|
* #17511: Keep IDLE find dialog open after clicking "Find Next".Roger Serwy2013-06-111-3/+2
| | | | Original patch by Sarah K.
* remove MAX_MAXCHAR because it's unsafe for computing maximum codepoitn value ↵Benjamin Peterson2013-06-101-0/+3
| | | | (see #18183)
* Issue #18174: Fix fd leaks in tests.Richard Oudkerk2013-06-103-1/+5
|
* Ensure that the fix for #17269 also works on OSX 10.4Ronald Oussoren2013-06-101-1/+2
| | | | AI_NUMERICSERV isn't defined on OSX 10.4.
* Issue #16102: Make uuid._netbios_getnode() work again on Python 3.Serhiy Storchaka2013-06-091-1/+1
|
* Issue #18038: SyntaxError raised during compilation sources with illegalSerhiy Storchaka2013-06-091-0/+18
| | | | encoding now always contains an encoding name.
* #17691: test_univnewlines now works with unittest test discovery. Patch by ↵Ezio Melotti2013-06-081-21/+16
| | | | Zachary Ware.
* #18151, part 1: Backport idlelilb portion of Andrew Svetlov's 3.4 patchTerry Jan Reedy2013-06-088-22/+18
| | | | changing IOError to OSError (#16715).
* Issue #18055: Move to importlib from imp for IDLE.Brett Cannon2013-06-071-38/+19
|
* Issue 18130: delete extra spacesTerry Jan Reedy2013-06-052-6/+6
|
* Issue18130: Test class idlelib.configSectionNameDialog.GetCfgSectionNameDialog.Terry Jan Reedy2013-06-053-51/+198
| | | | | | | 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.
* Fix #17967 - Fix related to regression on Windows.Senthil Kumaran2013-06-021-1/+2
| | | | | os.path.join(*self.dirs) produces an invalid path on windows. ftp paths are always forward-slash seperated like this. /pub/dir.
* Fix thishost helper funtion in urllib. Returns the ipaddress of localhost whenSenthil Kumaran2013-06-011-1/+4
| | | | | hostname is resolvable by socket.gethostname for local machine. This all fixes certain freebsd builtbot failures.
* Fix #17967: For ftp urls CWD to target instead of hopping to each directorySenthil Kumaran2013-06-011-2/+1
| | | | | towards target. This fixes a bug where target is accessible, but parent directories are restricted.
* Issue #18094: test_uuid no more reports skipped tests as passed.Serhiy Storchaka2013-05-311-51/+27
|
* Backport bff16086f03b and bcaaaa00425b.Stefan Krah2013-05-291-0/+13
|
* Issue #17768: Support newline fill character in decimal.py and NUL fillStefan Krah2013-05-292-1/+5
| | | | character in _decimal.c.
* #17403: urllib.parse.robotparser normalizes the urls before adding to ruleline.Senthil Kumaran2013-05-292-0/+13
| | | | This helps in handling certain types invalid urls in a conservative manner.
* Issue #15392: Do not run tests if threading/_thread not available. OtherwiseTerry Jan Reedy2013-05-292-8/+8
| | | | touchup test_idle. Rename README.txt.
* Issue #18080: When building a C extension module on OS X, if the compilerNed Deily2013-05-282-4/+42
| | | | | | 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.