[issue24841] Some test_ssl network tests fail if svn.python.org is not accessible.

2015-09-30 Thread Vinson Lee

Vinson Lee added the comment:

I tested the attached patch on latest cpython master and it works for me.

test_ciphers (test.test_ssl.NetworkedTests) ... skipped "Resource 
'svn.python.org' is not available"
test_connect (test.test_ssl.NetworkedTests) ... skipped "Resource 
'svn.python.org' is not available"
test_connect_cadata (test.test_ssl.NetworkedTests) ... skipped "Resource 
'svn.python.org' is not available"
test_connect_capath (test.test_ssl.NetworkedTests) ... skipped "Resource 
'svn.python.org' is not available"
test_connect_ex (test.test_ssl.NetworkedTests) ... skipped 'svn.python.org 
cannot be reached: Connection refused'
test_connect_with_context (test.test_ssl.NetworkedTests) ... skipped "Resource 
'svn.python.org' is not available"
test_context_setget (test.test_ssl.NetworkedTests) ... skipped "Resource 
'svn.python.org' is not available"
test_get_ca_certs_capath (test.test_ssl.NetworkedTests) ... skipped "Resource 
'svn.python.org' is not available"
test_get_server_certificate (test.test_ssl.NetworkedTests) ... skipped 
"Resource 'svn.python.org' is not available"
test_makefile_close (test.test_ssl.NetworkedTests) ... skipped "Resource 
'svn.python.org' is not available"
test_non_blocking_connect_ex (test.test_ssl.NetworkedTests) ... skipped 
"Resource 'svn.python.org' is not available"
test_non_blocking_handshake (test.test_ssl.NetworkedTests) ... skipped 
"Resource 'svn.python.org' is not available"
test_timeout_connect_ex (test.test_ssl.NetworkedTests) ... skipped 
'svn.python.org cannot be reached: Connection refused'
test_handshake (test.test_ssl.NetworkedBIOTests) ... skipped "Resource 
'svn.python.org' is not available"
test_read_write_data (test.test_ssl.NetworkedBIOTests) ... skipped "Resource 
'svn.python.org' is not available"

Tested-by: Vinson Lee <v...@twitter.com>

--

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue24841>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24841] Some test_ssl network tests fail if svn.python.org is not accessible.

2015-08-10 Thread Vinson Lee

New submission from Vinson Lee:

'make test' runs all the network tests.

Some of the tests in test_ssl fail instead of skip if svn.python.org is not 
accessible.

$ ./python -m test -v -u all test_ssl

==
ERROR: test_non_blocking_connect_ex (test.test_ssl.NetworkedTests)
--
Traceback (most recent call last):
  File /home/vinson/workspace/cpython-master/Lib/test/test_ssl.py, line 1404, 
in test_non_blocking_connect_ex
s.do_handshake()
  File Lib/ssl.py, line 978, in do_handshake
self._check_connected()
  File Lib/ssl.py, line 776, in _check_connected
self.getpeername()
OSError: [Errno 107] Transport endpoint is not connected

==
FAIL: test_connect_ex (test.test_ssl.NetworkedTests)
--
Traceback (most recent call last):
  File Lib/test/test_ssl.py, line 1381, in test_connect_ex
self.assertEqual(0, s.connect_ex((svn.python.org, 443)))
AssertionError: 0 != 111

==
FAIL: test_timeout_connect_ex (test.test_ssl.NetworkedTests)
--
Traceback (most recent call last):
  File Lib/test/test_ssl.py, line 1428, in test_timeout_connect_ex
self.assertIn(rc, (errno.EAGAIN, errno.EWOULDBLOCK))
AssertionError: 111 not found in (11, 11)

--
Ran 117 tests in 3.123s

FAILED (failures=2, errors=1, skipped=20)
test test_ssl failed
1 test failed:
test_ssl

--
components: Tests
messages: 248382
nosy: vlee
priority: normal
severity: normal
status: open
title: Some test_ssl network tests fail if svn.python.org is not accessible.
versions: Python 3.6

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24841
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24841] Some test_ssl network tests fail if svn.python.org is not accessible.

2015-08-10 Thread Vinson Lee

Changes by Vinson Lee v...@freedesktop.org:


--
versions: +Python 3.3, Python 3.4, Python 3.5

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24841
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23404] 'make touch' does not work with git clones of the source repository

2015-02-06 Thread Vinson Lee

Vinson Lee added the comment:

With the supplied patch on CentOS 6 , make passes and make test passes with 
the exception of test_readline that is Issue19884.

372 tests OK.
1 test failed:
test_readline
7 tests altered the execution environment:
test_calendar test_distutils test_float test_locale test_strptime
test_types test_warnings
11 tests skipped:
test_devpoll test_gdb test_kqueue test_msilib test_ossaudiodev
test_startfile test_tk test_ttk_guionly test_winreg test_winsound
test_zipfile64
Re-running failed tests in verbose mode
Re-running test 'test_readline' in verbose mode
testHistoryUpdates (test.test_readline.TestHistoryManipulation) ... ok
test_write_read_append (test.test_readline.TestHistoryManipulation) ... ok
test_init (test.test_readline.TestReadline) ... FAIL

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23404
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23404] 'make touch' does not work with git clones of the source repository

2015-02-06 Thread Vinson Lee

Vinson Lee added the comment:

I tried a hg copy of the repository. make touch worked for me.

./configure
make touch
make

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23404
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23404] Python 3.5 does not build with Python 2.6.

2015-02-06 Thread Vinson Lee

Vinson Lee added the comment:

I am building from a git copy of the source repository. make touch before 
make does not work for me.

$ make touch
cd .; \
hg --config extensions.touch=Tools/hg/hgtouch.py touch -v
abort: There is no Mercurial repository here (.hg not found)!

I've attached a patch that addresses the Python 3.5 build issue for me. The 
patch contains two syntax construct changes to Parser/asdl.py. Please consider 
applying this patch upstream.

--
keywords: +patch
status: closed - open
Added file: 
http://bugs.python.org/file38033/0001-Issue-23404-Do-not-use-Python-2.7-constructs-in-Pars.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23404
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23404] Python 3.5 does not build with Python 2.6.

2015-02-06 Thread Vinson Lee

New submission from Vinson Lee:

Is there a minimum Python requirement to build Python?

Python 3.5 does not build with Python 2.6. Python 3.4, Python 3.3, and Python 
2.7 build with Python 2.6 so this is recent change in build requirements.

For example, this build failure occurs on CentOS 6.

python ./Parser/asdl_c.py -h Include ./Parser/Python.asdl
Traceback (most recent call last):
  File ./Parser/asdl_c.py, line 6, in module
import asdl
  File Parser/asdl.py, line 36
builtin_types = {'identifier', 'string', 'bytes', 'int', 'object', 
'singleton'}
 ^
SyntaxError: invalid syntax

--
components: Build
messages: 235505
nosy: vlee
priority: normal
severity: normal
status: open
title: Python 3.5 does not build with Python 2.6.
type: compile error
versions: Python 3.5

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23404
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19884] Importing readline produces erroneous output

2015-02-05 Thread Vinson Lee

Changes by Vinson Lee v...@freedesktop.org:


--
nosy: +vlee

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19884
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23381] Python 2.7.9+ test_gdb regression on Ubuntu 10.04

2015-02-05 Thread Vinson Lee

Changes by Vinson Lee v...@freedesktop.org:


--
keywords: +patch
Added file: 
http://bugs.python.org/file38022/0001-Issue-23881-Only-use-entry-values-with-gdb-7.4.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23381
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23380] Python 2.7.9 test_gdb fails on Fedora 21

2015-02-03 Thread Vinson Lee

New submission from Vinson Lee:

Python 2.7.9 test_gdb fails on Fedora 21.

$ ./python Lib/test/regrtest.py -v test_gdb
== CPython 2.7.9 (default, Feb 2 2015, 13:43:56) [GCC 4.9.2 20141101 (Red Hat 
4.9.2-1)]
==   Linux-3.18.3-201.fc21.x86_64-x86_64-with-fedora-21-Twenty_One little-endian
==   Python-2.7.9/build/test_python_18852
Testing with flags: sys.flags(debug=0, py3k_warning=0, division_warning=0, 
division_new=0, inspect=0, interactive=0, optimize=0, dont_write_bytecode=0, 
no_user_site=0, no_site=0, ignore_environment=0, tabcheck=0, verbose=0, 
unicode=0, bytes_warning=0, hash_randomization=0)
[1/1] test_gdb
test_NULL_instance_dict (test.test_gdb.PrettyPrintTests)
Ensure that a PyInstanceObject with with a NULL in_dict is handled ... FAIL
test_NULL_ob_type (test.test_gdb.PrettyPrintTests)
Ensure that a PyObject* with NULL ob_type is handled gracefully ... FAIL
test_NULL_ptr (test.test_gdb.PrettyPrintTests)
Ensure that a NULL PyObject* is handled gracefully ... FAIL
test_builtin_function (test.test_gdb.PrettyPrintTests) ... FAIL
test_builtin_method (test.test_gdb.PrettyPrintTests) ... FAIL
test_builtins_help (test.test_gdb.PrettyPrintTests)
Ensure that the new-style class _Helper in site.py can be handled ... FAIL
test_classic_class (test.test_gdb.PrettyPrintTests)
Verify the pretty-printing of classic class instances ... FAIL
test_corrupt_ob_type (test.test_gdb.PrettyPrintTests)
Ensure that a PyObject* with a corrupt ob_type is handled gracefully ... FAIL
test_corrupt_tp_flags (test.test_gdb.PrettyPrintTests)
Ensure that a PyObject* with a type with corrupt tp_flags is handled ... FAIL
test_corrupt_tp_name (test.test_gdb.PrettyPrintTests)
Ensure that a PyObject* with a type with corrupt tp_name is handled ... FAIL
test_dicts (test.test_gdb.PrettyPrintTests)
Verify the pretty-printing of dictionaries ... FAIL
test_exceptions (test.test_gdb.PrettyPrintTests) ... FAIL
test_frames (test.test_gdb.PrettyPrintTests) ... ok
test_frozensets (test.test_gdb.PrettyPrintTests)
Verify the pretty-printing of frozensets ... FAIL
test_getting_backtrace (test.test_gdb.PrettyPrintTests) ... ok
test_int (test.test_gdb.PrettyPrintTests)
Verify the pretty-printing of various int values ... FAIL
test_lists (test.test_gdb.PrettyPrintTests)
Verify the pretty-printing of lists ... FAIL
test_long (test.test_gdb.PrettyPrintTests)
Verify the pretty-printing of various long values ... FAIL
test_modern_class (test.test_gdb.PrettyPrintTests)
Verify the pretty-printing of new-style class instances ... FAIL
test_selfreferential_dict (test.test_gdb.PrettyPrintTests)
Ensure that a reference loop involving a dict doesn't lead proxyval ... FAIL
test_selfreferential_list (test.test_gdb.PrettyPrintTests)
Ensure that a reference loop involving a list doesn't lead proxyval ... FAIL
test_selfreferential_new_style_instance (test.test_gdb.PrettyPrintTests) ... 
FAIL
test_selfreferential_old_style_instance (test.test_gdb.PrettyPrintTests) ... 
FAIL
test_sets (test.test_gdb.PrettyPrintTests)
Verify the pretty-printing of sets ... FAIL
test_singletons (test.test_gdb.PrettyPrintTests)
Verify the pretty-printing of True, False and None ... FAIL
test_strings (test.test_gdb.PrettyPrintTests)
Verify the pretty-printing of strings ... FAIL
test_subclassing_list (test.test_gdb.PrettyPrintTests)
Verify the pretty-printing of an instance of a list subclass ... FAIL
test_subclassing_tuple (test.test_gdb.PrettyPrintTests)
Verify the pretty-printing of an instance of a tuple subclass ... FAIL
test_truncation (test.test_gdb.PrettyPrintTests)
Verify that very long output is truncated ... FAIL
test_tuples (test.test_gdb.PrettyPrintTests)
Verify the pretty-printing of tuples ... FAIL
test_unicode (test.test_gdb.PrettyPrintTests)
Verify the pretty-printing of unicode values ... FAIL
test_basic_command (test.test_gdb.PyListTests)
Verify that the py-list command works ... skipped 'Python was compiled with 
optimizations'
test_one_abs_arg (test.test_gdb.PyListTests)
Verify the py-list command with one absolute argument ... skipped 'Python was 
compiled with optimizations'
test_two_abs_args (test.test_gdb.PyListTests)
Verify the py-list command with two absolute arguments ... skipped 'Python 
was compiled with optimizations'
test_down_at_bottom (test.test_gdb.StackNavigationTests)
Verify handling of py-down at the bottom of the stack ... ok
test_pyup_command (test.test_gdb.StackNavigationTests)
Verify that the py-up command works ... skipped 'Python was compiled with 
optimizations'
test_up_at_top (test.test_gdb.StackNavigationTests)
Verify handling of py-up at the top of the stack ... ok
test_up_then_down (test.test_gdb.StackNavigationTests)
Verify py-up followed by py-down ... skipped 'Python was compiled with 
optimizations'
test_basic_command (test.test_gdb.PyBtTests)
Verify that the py-bt command works ... skipped 'Python was compiled with 
optimizations'
test_basic_command (test.test_gdb.PyPrintTests)
Verify that the py-print command works ... skipped

[issue23380] Python 2.7.9 test_gdb fails on Fedora 21

2015-02-02 Thread Vinson Lee

Vinson Lee added the comment:

I downloaded Python 2.7.9 release tarball from 
https://www.python.org/downloads/release/python-279.

$ gdb --version
GNU gdb (GDB) Fedora 7.8.2-38.fc21
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type show copying
and show warranty for details.
This GDB was configured as x86_64-redhat-linux-gnu.
Type show configuration for configuration details.
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/.
Find the GDB manual and other documentation resources online at:
http://www.gnu.org/software/gdb/documentation/.
For help, type help.
Type apropos word to search for commands related to word.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23380
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23381] Python 2.7.9+ test_gdb regression on Ubuntu 10.04

2015-02-02 Thread Vinson Lee

New submission from Vinson Lee:

Python 2.7.9+ test_gdb regressed on Ubuntu 10.04.

063d966b78f0c0b7cf4c937991bf883c563f574e is the first bad commit
commit 063d966b78f0c0b7cf4c937991bf883c563f574e
Author: Serhiy Storchaka storch...@gmail.com
Date:   Sat Jan 31 11:48:36 2015 +0200

Issue #22765: Fixed test_gdb failures. Supressed unexpected gdb output.
Patch by Bohuslav Kabrda.

:04 04 dd420a96366b568ad8ae5e7c88759d743b29584c 
0eb56f3c2d8d731985ae93258170e00571ae9a35 M  Lib
bisect run success


$ gdb --version
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type show copying
and show warranty for details.
This GDB was configured as x86_64-linux-gnu.
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/.


$ ./python Lib/test/regrtest.py -v test_gdb
== CPython 2.7.9+ (default, Feb 2 2015, 15:48:27) [GCC 4.4.3]
==   Linux-2.6.32-71-generic-x86_64-with-debian-squeeze-sid little-endian
==   cpython/build/test_python_29238
Testing with flags: sys.flags(debug=0, py3k_warning=0, division_warning=0, 
division_new=0, inspect=0, interactive=0, optimize=0, dont_write_bytecode=0, 
no_user_site=0, no_site=0, ignore_environment=0, tabcheck=0, verbose=0, 
unicode=0, bytes_warning=0, hash_randomization=0)
[1/1] test_gdb
test_NULL_instance_dict (test.test_gdb.PrettyPrintTests)
Ensure that a PyInstanceObject with with a NULL in_dict is handled ... FAIL
test_NULL_ob_type (test.test_gdb.PrettyPrintTests)
Ensure that a PyObject* with NULL ob_type is handled gracefully ... FAIL
test_NULL_ptr (test.test_gdb.PrettyPrintTests)
Ensure that a NULL PyObject* is handled gracefully ... FAIL
test_builtin_function (test.test_gdb.PrettyPrintTests) ... FAIL
test_builtin_method (test.test_gdb.PrettyPrintTests) ... FAIL
test_builtins_help (test.test_gdb.PrettyPrintTests)
Ensure that the new-style class _Helper in site.py can be handled ... FAIL
test_classic_class (test.test_gdb.PrettyPrintTests)
Verify the pretty-printing of classic class instances ... FAIL
test_corrupt_ob_type (test.test_gdb.PrettyPrintTests)
Ensure that a PyObject* with a corrupt ob_type is handled gracefully ... FAIL
test_corrupt_tp_flags (test.test_gdb.PrettyPrintTests)
Ensure that a PyObject* with a type with corrupt tp_flags is handled ... FAIL
test_corrupt_tp_name (test.test_gdb.PrettyPrintTests)
Ensure that a PyObject* with a type with corrupt tp_name is handled ... FAIL
test_dicts (test.test_gdb.PrettyPrintTests)
Verify the pretty-printing of dictionaries ... FAIL
test_exceptions (test.test_gdb.PrettyPrintTests) ... FAIL
test_frames (test.test_gdb.PrettyPrintTests) ... FAIL
test_frozensets (test.test_gdb.PrettyPrintTests)
Verify the pretty-printing of frozensets ... FAIL
test_getting_backtrace (test.test_gdb.PrettyPrintTests) ... FAIL
test_int (test.test_gdb.PrettyPrintTests)
Verify the pretty-printing of various int values ... FAIL
test_lists (test.test_gdb.PrettyPrintTests)
Verify the pretty-printing of lists ... FAIL
test_long (test.test_gdb.PrettyPrintTests)
Verify the pretty-printing of various long values ... FAIL
test_modern_class (test.test_gdb.PrettyPrintTests)
Verify the pretty-printing of new-style class instances ... FAIL
test_selfreferential_dict (test.test_gdb.PrettyPrintTests)
Ensure that a reference loop involving a dict doesn't lead proxyval ... FAIL
test_selfreferential_list (test.test_gdb.PrettyPrintTests)
Ensure that a reference loop involving a list doesn't lead proxyval ... FAIL
test_selfreferential_new_style_instance (test.test_gdb.PrettyPrintTests) ... 
FAIL
test_selfreferential_old_style_instance (test.test_gdb.PrettyPrintTests) ... 
FAIL
test_sets (test.test_gdb.PrettyPrintTests)
Verify the pretty-printing of sets ... FAIL
test_singletons (test.test_gdb.PrettyPrintTests)
Verify the pretty-printing of True, False and None ... FAIL
test_strings (test.test_gdb.PrettyPrintTests)
Verify the pretty-printing of strings ... FAIL
test_subclassing_list (test.test_gdb.PrettyPrintTests)
Verify the pretty-printing of an instance of a list subclass ... FAIL
test_subclassing_tuple (test.test_gdb.PrettyPrintTests)
Verify the pretty-printing of an instance of a tuple subclass ... FAIL
test_truncation (test.test_gdb.PrettyPrintTests)
Verify that very long output is truncated ... FAIL
test_tuples (test.test_gdb.PrettyPrintTests)
Verify the pretty-printing of tuples ... FAIL
test_unicode (test.test_gdb.PrettyPrintTests)
Verify the pretty-printing of unicode values ... FAIL
test_basic_command (test.test_gdb.PyListTests)
Verify that the py-list command works ... skipped 'Python was compiled with 
optimizations'
test_one_abs_arg (test.test_gdb.PyListTests)
Verify the py-list command with one absolute argument ... skipped 'Python was 
compiled with optimizations'
test_two_abs_args

[issue23380] Python 2.7.9 test_gdb fails on Fedora 21

2015-02-02 Thread Vinson Lee

Vinson Lee added the comment:

Python 2.7.9+ test_gdb passes on Fedora 21 with the latest 2.7 branch.

--
resolution:  - works for me
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23380
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23137] Python 2.7.9 test_gdb fails on CentOS 7

2015-01-02 Thread Vinson Lee

New submission from Vinson Lee:

Python 2.7.9 test_gdb fails on CentOS 7.

$./python Lib/test/regrtest.py -v test_gdb
== CPython 2.7.9 (default, Dec 22 2014, 10:54:52) [GCC 4.8.2 20140120 (Red Hat 
4.8.2-16)]
==   Linux-3.10.0-123.13.2.el7.x86_64-x86_64-with-centos-7.0.1406-Core 
little-endian
==   Python-2.7.9/build/test_python_16739
Testing with flags: sys.flags(debug=0, py3k_warning=0, division_warning=0, 
division_new=0, inspect=0, interactive=0, optimize=0, dont_write_bytecode=0, 
no_user_site=0, no_site=0, ignore_environment=0, tabcheck=0, verbose=0, 
unicode=0, bytes_warning=0, hash_randomization=0)
[1/1] test_gdb
test_NULL_instance_dict (test.test_gdb.PrettyPrintTests)
Ensure that a PyInstanceObject with with a NULL in_dict is handled ... FAIL
test_NULL_ob_type (test.test_gdb.PrettyPrintTests)
Ensure that a PyObject* with NULL ob_type is handled gracefully ... FAIL
test_NULL_ptr (test.test_gdb.PrettyPrintTests)
Ensure that a NULL PyObject* is handled gracefully ... FAIL
test_builtin_function (test.test_gdb.PrettyPrintTests) ... FAIL
test_builtin_method (test.test_gdb.PrettyPrintTests) ... FAIL
test_builtins_help (test.test_gdb.PrettyPrintTests)
Ensure that the new-style class _Helper in site.py can be handled ... FAIL
test_classic_class (test.test_gdb.PrettyPrintTests)
Verify the pretty-printing of classic class instances ... FAIL
test_corrupt_ob_type (test.test_gdb.PrettyPrintTests)
Ensure that a PyObject* with a corrupt ob_type is handled gracefully ... FAIL
test_corrupt_tp_flags (test.test_gdb.PrettyPrintTests)
Ensure that a PyObject* with a type with corrupt tp_flags is handled ... FAIL
test_corrupt_tp_name (test.test_gdb.PrettyPrintTests)
Ensure that a PyObject* with a type with corrupt tp_name is handled ... FAIL
test_dicts (test.test_gdb.PrettyPrintTests)
Verify the pretty-printing of dictionaries ... FAIL
test_exceptions (test.test_gdb.PrettyPrintTests) ... FAIL
test_frames (test.test_gdb.PrettyPrintTests) ... ok
test_frozensets (test.test_gdb.PrettyPrintTests)
Verify the pretty-printing of frozensets ... FAIL
test_getting_backtrace (test.test_gdb.PrettyPrintTests) ... ok
test_int (test.test_gdb.PrettyPrintTests)
Verify the pretty-printing of various int values ... FAIL
test_lists (test.test_gdb.PrettyPrintTests)
Verify the pretty-printing of lists ... FAIL
test_long (test.test_gdb.PrettyPrintTests)
Verify the pretty-printing of various long values ... FAIL
test_modern_class (test.test_gdb.PrettyPrintTests)
Verify the pretty-printing of new-style class instances ... FAIL
test_selfreferential_dict (test.test_gdb.PrettyPrintTests)
Ensure that a reference loop involving a dict doesn't lead proxyval ... FAIL
test_selfreferential_list (test.test_gdb.PrettyPrintTests)
Ensure that a reference loop involving a list doesn't lead proxyval ... FAIL
test_selfreferential_new_style_instance (test.test_gdb.PrettyPrintTests) ... 
FAIL
test_selfreferential_old_style_instance (test.test_gdb.PrettyPrintTests) ... 
FAIL
test_sets (test.test_gdb.PrettyPrintTests)
Verify the pretty-printing of sets ... FAIL
test_singletons (test.test_gdb.PrettyPrintTests)
Verify the pretty-printing of True, False and None ... FAIL
test_strings (test.test_gdb.PrettyPrintTests)
Verify the pretty-printing of strings ... FAIL
test_subclassing_list (test.test_gdb.PrettyPrintTests)
Verify the pretty-printing of an instance of a list subclass ... FAIL
test_subclassing_tuple (test.test_gdb.PrettyPrintTests)
Verify the pretty-printing of an instance of a tuple subclass ... FAIL
test_truncation (test.test_gdb.PrettyPrintTests)
Verify that very long output is truncated ... FAIL
test_tuples (test.test_gdb.PrettyPrintTests)
Verify the pretty-printing of tuples ... FAIL
test_unicode (test.test_gdb.PrettyPrintTests)
Verify the pretty-printing of unicode values ... FAIL
test_basic_command (test.test_gdb.PyListTests)
Verify that the py-list command works ... skipped 'Python was compiled with 
optimizations'
test_one_abs_arg (test.test_gdb.PyListTests)
Verify the py-list command with one absolute argument ... skipped 'Python was 
compiled with optimizations'
test_two_abs_args (test.test_gdb.PyListTests)
Verify the py-list command with two absolute arguments ... skipped 'Python 
was compiled with optimizations'
test_down_at_bottom (test.test_gdb.StackNavigationTests)
Verify handling of py-down at the bottom of the stack ... ok
test_pyup_command (test.test_gdb.StackNavigationTests)
Verify that the py-up command works ... skipped 'Python was compiled with 
optimizations'
test_up_at_top (test.test_gdb.StackNavigationTests)
Verify handling of py-up at the top of the stack ... ok
test_up_then_down (test.test_gdb.StackNavigationTests)
Verify py-up followed by py-down ... skipped 'Python was compiled with 
optimizations'
test_basic_command (test.test_gdb.PyBtTests)
Verify that the py-bt command works ... skipped 'Python was compiled with 
optimizations'
test_basic_command (test.test_gdb.PyPrintTests)
Verify that the py-print command works ... skipped

[issue23092] Python 2.7.9 test_readline regression on CentOS 6

2014-12-19 Thread Vinson Lee

New submission from Vinson Lee:

test_readline regressed from Python 2.7.8 to Python 2.7.9 on CentOS 6

Python 2.7.8
$ ./python -m test.regrtest test_readline
test_readline
1 test OK.

Python 2.7.9
$ ./python -m test.regrtest test_readline
[1/1] test_readline
test test_readline failed -- Traceback (most recent call last):
  File Python-2.7.9/Lib/test/test_readline.py, line 56, in test_init
self.assertEqual(stdout, b'')
AssertionError: '\x1b[?1034h' != ''

1 test failed:
test_readline

$ cat /etc/redhat-release
CentOS release 6.6 (Final)

$ rpm -qa | grep readline
readline-6.0-4.el6.x86_64
compat-readline5-5.2-17.1.el6.x86_64
readline-devel-6.0-4.el6.x86_64

--
components: Tests
messages: 232957
nosy: vlee
priority: normal
severity: normal
status: open
title: Python 2.7.9 test_readline regression on CentOS 6
versions: Python 2.7

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23092
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23092] Python 2.7.9 test_readline regression on CentOS 6

2014-12-19 Thread Vinson Lee

Vinson Lee added the comment:

The regression is introduced with this commit.

commit fa06e2bb13a3e67a0641025483efb19ef569dbd9
Author: Victor Stinner victor.stin...@gmail.com
Date:   Thu Jul 24 12:22:24 2014 +0200

Issue #19884: readline: Disable the meta modifier key if stdout is not a
terminal to not write the ANSI sequence \033[1034h into stdout. This 
sequence
is used on some terminal (ex: TERM=xterm-256color) to enable support of 8 
bit
characters.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23092
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com