Victor Stinner
eb063011ab
Issue #22636 : Avoid using a shell in the ctypes.util module
...
Replace os.popen() with subprocess.Popen.
If the "gcc", "cc" or "objdump" command is not available, the code was
supposed to raise an OSError exception. But there was a bug in the code. The
shell code returns the exit code 10 if the required command is missing, and the
code tries to check for the status 10. The problem is that os.popen() doesn't
return the exit code directly, but a status which should be processed by
os.WIFEXITED() and os.WEXITSTATUS(). In practice, the exception was never
raised. The OSError exception was not documented and ctypes.util.find_library()
is expected to return None if the library is not found.
Based on patch by Victor Stinner.
2014-10-16 09:42:45 +02:00
Serhiy Storchaka
f46d3afc51
ctypes: the type of b_size is Py_ssize_t.
2016-06-17 11:11:07 +03:00
Serhiy Storchaka
ef012cc7f7
Issue #27330 : Fixed possible leaks in the ctypes module.
2016-06-16 22:08:11 +03:00
Zachary Ware
c59a92b6f9
Issue #26930 : Update Windows build to OpenSSL 1.0.2h
2016-06-15 17:12:38 -05:00
Serhiy Storchaka
34cb3f026b
Issue #27301 : Fixed incorrect return code for error in compile.c.
2016-06-15 20:06:29 +03:00
Georg Brandl
b311eeefb8
Docs: add html-stable autobuild variant
2016-06-15 08:57:32 +02:00
Martin Panter
0e212331ea
Issue #12855 : Document what exactly unicode.splitlines() splits on
...
Also synchronize with Python 3 examples. Based on patches by Matthew Boehm
and Alexander Schrijver.
2016-06-01 09:39:46 +00:00
Serhiy Storchaka
77ccaaf946
Issue #27238 : Got rid of bare excepts in the turtle module. Original patch
...
by Jelle Zijlstra.
2016-06-14 22:52:13 +03:00
Serhiy Storchaka
d8b5942f7c
Issue #26386 : Fixed ttk.TreeView selection operations with item id's
...
containing spaces.
2016-06-14 12:46:14 +03:00
Martin Panter
fc0a55fed9
Issue #16182 : Backport documentation of set_pre_input_hook() availability
2016-06-14 08:45:43 +00:00
Terry Jan Reedy
92390ab932
Issue #27245 : IDLE: Cleanly delete custom themes and key bindings.
...
Previously, when IDLE was started from a console or by import, a cascade
of warnings was emitted. Patch by Serhiy Storchaka.
2016-06-14 00:53:18 -04:00
Ned Deily
53e9f83486
Issue #27310 : remove vestigial import in IDLE.app
2016-06-13 20:21:57 -04:00
Berker Peksag
0d8657721e
Issue #15657 : Delete incorrect statement from PyMethodDef documentation
2016-06-12 16:37:57 +03:00
Serhiy Storchaka
50c7e05659
Issue #25455 : Clean up reference loops created in tests for recursive
...
functools.partial objects.
2016-06-12 15:45:14 +03:00
Serhiy Storchaka
59f711472b
Rename class attribute "thetype" to "partial" in functools.partial tests
...
for consistency with Python 3.
2016-06-12 15:43:57 +03:00
Serhiy Storchaka
1e09006c3c
Issue #25455 : Backported tests for pickling recursive functools.partial objects.
2016-06-12 15:08:57 +03:00
Serhiy Storchaka
1f7586eeb9
Issue #25455 : Fixed a crash in repr of cElementTree.Element with recursive tag.
2016-06-12 10:06:32 +03:00
Martin Panter
056cbfdc51
Fix typo in documentation
2016-06-12 06:14:03 +00:00
Martin Panter
93f815a50c
Fix buggy RE “\parrot_example.py”, uncovered by Issue #27030
2016-06-12 06:07:35 +00:00
Martin Panter
e52140caf1
#16484 : Change PYTHONDOCS to "https:", and fix links to use lowercase
...
Implementation by Sean Rodman; test by Kaushik Nadikuditi.
2016-06-12 05:25:16 +00:00
Martin Panter
be2bb472b0
Issue #16484 : PYTHONDOCS still uses “http:” in Python 2
2016-06-12 04:38:34 +00:00
Benjamin Peterson
6f3a8431cf
off to 2.7.13
2016-06-11 15:12:35 -07:00
Matthias Klose
9aabaccb76
Issue #7356 : ctypes.util: Make parsing of ldconfig output locale independent.
...
Previous fix was only made to dead and removed code.
2010-03-15 13:46:04 +00:00
Martin Panter
d6cecd30af
Issue #8491 : Add link to Gnu Readline configuration documentation
2016-06-10 00:27:46 +00:00
Tommy Beadle
24b9e1a00d
[Issue 15476] Make "code object" its own entry in the index
2016-06-02 19:26:51 -04:00