Skip to content

Conversation

@prudvinit
Copy link

@prudvinit prudvinit commented Aug 29, 2018

miss-islington and others added 30 commits June 18, 2018 14:37
…ythonGH-7754)

(cherry picked from commit b36b0a3)

Co-authored-by: ValeriyaSinevich <valeriya.sinevich@phystech.edu>
with debuglevel=1 only the header keys got printed. With
this change the header values get printed as well and the single
header entries get '\n' as a separator.
(cherry picked from commit 936f03e)

Co-authored-by: Marco Strigl <mstrigl@suse.com>
Fix test_dbm_gnu.test_reorganize() on macOS with gdbm 1.15: add a
larger value to make sure that the file size changes.
Part 3 of 3, continuing PR pythonGH-7689. This covers 14 idlelib modules and their tests,
rpc to zoomheight except for run (already done) and tooltip (being done separately).
(cherry picked from commit 4d92158)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Improve consistency and appearance. Module idlelib.calltips is now calltip.
Class idlelib.calltip_w.CallTip is now Calltip.
(cherry picked from commit 06e2029)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Fix-up class name duplication in PR pythonGH-7807. Combined effect is that
module calltips and its class CallTips are now calltip and Calltip.
In module calltip_w class CallTip is now CalltipWindow.
(cherry picked from commit 9af1836)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
…thonGH-7799)

Only make sure that the result is in unittest.signals._results, don't
check the full content of unittest.signals._results.

support._run_suite() uses TextTestRunner in verbose mode, but
TextTestRunner.run() calls registerResult(result) which made the test
fail with "odd object in result set".

Call also removeResult() to restore unittest.signals._results to
avoid test side effect.
(cherry picked from commit fd8fbce)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
…ythonGH-7811)

(cherry picked from commit 9bb9223)

Co-authored-by: Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) <srinivasreddy@users.noreply.github.com>
)

The revised file compiles, runs, and tests OK. idle_test/README.txt
explains how to use it to create new IDLE test files.
(cherry picked from commit 87a9273)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Match Window on the main menu and remove last plural module name.
Change imports, test, and attribute references to match new name.
(cherry picked from commit a361e89)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
…ythonGH-7836)

Every other menudef key is the lowercase version of the
corresponding main menu entry (in this case, 'Window').
(cherry picked from commit 33c7420)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
…H-7841)

(cherry picked from commit 940ae60)

Co-authored-by: Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) <srinivasreddy@users.noreply.github.com>
Increases coverage by 44%.
(cherry picked from commit bcd3a1a)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Add -g to LDFLAGS when compiling with LTO to get debug symbols.
(cherry picked from commit 06fe77a)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
Calling Py_Initialize() twice does nothing, instead of failing with a
fatal error: restore the Python 3.6 behaviour.
(cherry picked from commit 209abf7)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
(cherry picked from commit c45cb47)

Co-authored-by: Andrés Delfino <adelfino@gmail.com>
…ythonGH-7744)

The statement is true for Windows (and macOS) also.
(cherry picked from commit c9d43c7)

Co-authored-by: Andrés Delfino <adelfino@gmail.com>
bz2, lzma: When Decompressor.__init__() is called twice, free the old
lock to not leak memory.
(cherry picked from commit 9b7cf75)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
)

(cherry picked from commit 3d70f7a)

Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
(cherry picked from commit 38cf49b)

Co-authored-by: Andrés Delfino <adelfino@gmail.com>
In configdialog, the custom tabbedpages widget was replaced
by ttk.notebook several months ago.
(cherry picked from commit 5ae70f6)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
…-7884)

Directly executed pyc files were being kept open longer than necessary.
(cherry picked from commit ea73775)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
(cherry picked from commit 3f197f9)

Co-authored-by: Zachary Ware <zachary.ware@gmail.com>
…thonGH-7892)

This avoids a failure in at least one case when running only a single
test method rather than all tests in the module.

The issue came up when testing the following on Windows 10 Pro 64-bit:
HighPageTest.test_highlight_target_text_mouse
(cherry picked from commit 2af9f5d)

Co-authored-by: Tal Einat <taleinat+github@gmail.com>
…GH-7858) (pythonGH-7900)

Adds references to info about file modes, `time.strftime()`, string formatting
syntaxes, and logging levels.

(cherry picked from commit a8ddf85)

Co-authored-by: Andrés Delfino <adelfino@gmail.com>
…honGH-7903)

(cherry picked from commit 4a6e746)

Co-authored-by: Andrés Delfino <adelfino@gmail.com>
…honGH-7920)

These should have been included in PR 7836.
(cherry picked from commit 4239773)

Co-authored-by: Mark Roseman <mark@markroseman.com>
(cherry picked from commit 866c168)

Co-authored-by: Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) <srinivasreddy@users.noreply.github.com>
miss-islington and others added 12 commits August 17, 2018 06:02
The http_response() and https_response() methods of the HTTPErrorProcessor
class have two required parameters, 'request' and 'response'.
(cherry picked from commit c53aaec)

Co-authored-by: Sebastian Rittau <srittau@rittau.org>
…-8797)

(cherry picked from commit cae8ff9)

Co-authored-by: Michael Osipov <1983-01-06@gmx.net>
… about locales (pythonGH-8808) (pythonGH-8809)

(cherry picked from commit 93b5655)

Co-authored-by: Andrés Delfino <adelfino@gmail.com>
If a globals dictionary without a '__builtins__' key is passed to
eval(), a '__builtins__' key will be inserted to the dictionary:

    >>> eval("print('__builtins__' in globals())", {})
    True

(As a result of this behavior, we can use the builtins
print() and globals() even if we passed a dictionary without a
'__builtins__' key to eval().)
(cherry picked from commit 225b055)

Co-authored-by: Berker Peksag <berker.peksag@gmail.com>
…-8823)

Reported by Svace static analyzer.
(cherry picked from commit 74a307d)

Co-authored-by: Alexey Izbyshev <izbyshev@users.noreply.github.com>
… below 1.8.5. (pythonGH-8744)

(cherry picked from commit 4c85557)

Co-authored-by: Xiang Zhang <angwerzx@126.com>
…subclasses__ (pythonGH-8835)

The missing NULL check was reported by Svace static analyzer.
(cherry picked from commit cdbf50c)

Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru>
(cherry picked from commit 3e26e42)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
…-8851)

Reported by Svace static analyzer.
(cherry picked from commit f8c06b0)

Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru>
…ame(). (pythonGH-8852)

Reported by Svace static analyzer.
(cherry picked from commit 28853a2)

Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.