[issue3158] Doctest fails to find doctests in extension modules

2013-11-24 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 30b95368d253 by Zachary Ware in branch 'default':
Issue #3158: Relax new doctests a bit.
http://hg.python.org/cpython/rev/30b95368d253

--
status: pending - open

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



[issue13244] WebSocket schemes in urllib.parse

2013-11-24 Thread Tobias Oberstein

Tobias Oberstein added the comment:

FWIW, WebSocket URL parsing is still wrong on Python 2.7.6 - in fact, it's 
broken in multiple ways:

 from urlparse import urlparse
 urlparse(ws://example.com/somewhere?foo=bar#dgdg)
ParseResult(scheme='ws', netloc='example.com', path='/somewhere', params='', 
query='foo=bar', fragment='dgdg')
 urlparse(ws://example.com/somewhere?foo=bar%23dgdg)
ParseResult(scheme='ws', netloc='example.com', path='/somewhere', params='', 
query='foo=bar%23dgdg', fragment='')
 urlparse(ws://example.com/somewhere?foo#=bar)
ParseResult(scheme='ws', netloc='example.com', path='/somewhere', params='', 
query='foo', fragment='=bar')
 urlparse(ws://example.com/somewhere?foo%23=bar)
ParseResult(scheme='ws', netloc='example.com', path='/somewhere', params='', 
query='foo%23=bar', fragment='')


--

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



[issue19634] test_strftime.test_y_before_1900_nonwin() fails on AIX and Solaris

2013-11-24 Thread STINNER Victor

STINNER Victor added the comment:

test_strftime now pass again on buildbots: OpenIndiana, Solaris, AIX.

--
resolution:  - fixed
status: open - closed

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



[issue19741] tracemalloc: tracemalloc_log_alloc() doesn't check _Py_HASHTABLE_SET() return value

2013-11-24 Thread STINNER Victor

Changes by STINNER Victor victor.stin...@gmail.com:


--
nosy: +neologix

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



[issue19741] tracemalloc: tracemalloc_log_alloc() doesn't check _Py_HASHTABLE_SET() return value

2013-11-24 Thread Roundup Robot

Roundup Robot added the comment:

New changeset c189ea6b586b by Victor Stinner in branch 'default':
Issue #19741: fix tracemalloc_log_alloc(), handle _Py_HASHTABLE_SET() failure
http://hg.python.org/cpython/rev/c189ea6b586b

--
nosy: +python-dev

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



[issue19741] tracemalloc: tracemalloc_log_alloc() doesn't check _Py_HASHTABLE_SET() return value

2013-11-24 Thread Roundup Robot

Roundup Robot added the comment:

New changeset d8de3f4c7662 by Victor Stinner in branch 'default':
Issue #19741: tracemalloc: report tracemalloc_log_alloc() failure to the caller
http://hg.python.org/cpython/rev/d8de3f4c7662

--

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



[issue19638] dtoa: conversion from '__int64' to 'int', possible loss of data

2013-11-24 Thread Mark Dickinson

Mark Dickinson added the comment:

Picking this up again;  a better patch is on the way.

--
assignee:  - mark.dickinson

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



[issue19741] tracemalloc: tracemalloc_log_alloc() doesn't check _Py_HASHTABLE_SET() return value

2013-11-24 Thread Roundup Robot

Roundup Robot added the comment:

New changeset dadb5ed301c7 by Victor Stinner in branch 'default':
Issue #19741: cleanup tracemalloc_realloc()
http://hg.python.org/cpython/rev/dadb5ed301c7

--

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



[issue19741] tracemalloc: tracemalloc_log_alloc() doesn't check _Py_HASHTABLE_SET() return value

2013-11-24 Thread STINNER Victor

STINNER Victor added the comment:

tracemalloc_log_alloc() failures are now handled for new allocations, but not 
on resize. A failure on resize is very unlikely before tracemalloc_log_free() 
was just called and so released exactly the requested size.

I leave the issue open just in case I find a way to handle the last case :-)

--

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



[issue19638] dtoa: conversion from '__int64' to 'int', possible loss of data

2013-11-24 Thread Mark Dickinson

Mark Dickinson added the comment:

Updated patch.  I've also taken the opportunity to increase MAX_ABS_EXP, which 
fixes the following long-standing bug (not that anyone has noticed it in the 
last 4 years, apparently):

 s = '0.' + '0'*1 + '1e+2'
 float(s)  # should be 1.0
0.1

(The new limit on the number of digits means that the clipping of the exponent 
can no longer result in incorrect results from strtod.)

Unlike the previous patch, I'm reasonably confident in this one. :-)  I'll plan 
to apply it soon, though it probably won't make 3.4 beta 1.

--
Added file: http://bugs.python.org/file32817/limit_dtoa_string_v2.patch

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



[issue19638] dtoa: conversion from '__int64' to 'int', possible loss of data

2013-11-24 Thread Mark Dickinson

Mark Dickinson added the comment:

Tweak: make MAX_DIGITS unsigned to avoid compiler complaints about comparing 
signed with unsigned.

--
Added file: http://bugs.python.org/file32818/limit_dtoa_string_v3.patch

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



[issue19638] dtoa: conversion from '__int64' to 'int', possible loss of data

2013-11-24 Thread STINNER Victor

STINNER Victor added the comment:

Could you add a test with more than more MAX_DIGITS (and maybe another
one with more than MAX_ABS_EXP) using @bigmemtest()?

--

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



[issue19612] test_subprocess: sporadic failure of test_communicate_epipe() on Windows 8

2013-11-24 Thread STINNER Victor

Changes by STINNER Victor victor.stin...@gmail.com:


--
title: test_subprocess: sporadic failure of test_communicate_epipe() - 
test_subprocess: sporadic failure of test_communicate_epipe() on Windows 8

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



[issue19612] test_subprocess: sporadic failure of test_communicate_epipe() on Windows 8

2013-11-24 Thread STINNER Victor

Changes by STINNER Victor victor.stin...@gmail.com:


--
nosy: +gvanrossum, neologix, pitrou, tim.golden

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



[issue19748] test_time failures on AIX

2013-11-24 Thread STINNER Victor

New submission from STINNER Victor:

http://buildbot.python.org/all/builders/PPC64%20AIX%203.x/builds/1138/steps/test/logs/stdio

==
ERROR: test_mktime (test.test_time.TimeTestCase)
--
Traceback (most recent call last):
  File 
/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/test/test_time.py,
 line 348, in test_mktime
self.assertEqual(time.mktime(tt), t)
OverflowError: mktime argument out of range

==
FAIL: test_ctime (test.test_time.TimeTestCase)
--
Traceback (most recent call last):
  File 
/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/test/test_time.py,
 line 233, in test_ctime
self.assertEqual(time.ctime(testval)[20:], str(year))
AssertionError: '1941' != '-100'
- 1941
+ -100

--
messages: 204201
nosy: David.Edelsohn, haypo
priority: normal
severity: normal
status: open
title: test_time failures on AIX

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



[issue19749] test_venv failure on AIX: 'module' object has no attribute 'O_NOFOLLOW'

2013-11-24 Thread STINNER Victor

New submission from STINNER Victor:

os.open(path, os.O_RDONLY | os.O_NOFOLLOW) fails on AIX:

https://github.com/pypa/pip/blob/develop/pip/locations.py#L70

http://buildbot.python.org/all/builders/PPC64%20AIX%203.x/builds/1138/steps/test/logs/stdio

[120/387/3] test_venv
test_defaults (test.test_venv.BasicTest) ... ok
test_executable (test.test_venv.BasicTest) ... ok
test_executable_symlinks (test.test_venv.BasicTest) ... ok
test_isolation (test.test_venv.BasicTest) ... ok
test_overwrite_existing (test.test_venv.BasicTest) ... ok
test_prefixes (test.test_venv.BasicTest) ... ok
test_symlinking (test.test_venv.BasicTest) ... ok
test_unoverwritable_fails (test.test_venv.BasicTest) ... ok
test_upgrade (test.test_venv.BasicTest) ... ok
test_explicit_no_pip (test.test_venv.EnsurePipTest) ... ok
test_no_pip_by_default (test.test_venv.EnsurePipTest) ... ok
test_with_pip (test.test_venv.EnsurePipTest) ... FAIL

==
FAIL: test_with_pip (test.test_venv.EnsurePipTest)
--
Traceback (most recent call last):
  File 
/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/test/test_venv.py,
 line 299, in test_with_pip
self.run_with_capture(venv.create, self.env_dir, with_pip=True)
subprocess.CalledProcessError: Command '['/tmp/tmpu7qsi1xa/bin/python', '-Im', 
'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File 
/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/test/test_venv.py,
 line 305, in test_with_pip
self.fail(msg)
AssertionError: Command '['/tmp/tmpu7qsi1xa/bin/python', '-Im', 'ensurepip', 
'--upgrade', '--default-pip']' returned non-zero exit status 1

**Subprocess Output**
Traceback (most recent call last):
  File /tmp/tmpch6gt1sg/pip-1.5.rc1-py2.py3-none-any.whl/pip/locations.py, 
line 65, in _get_build_prefix
FileExistsError: [Errno 17] File exists: '/tmp/pip_build_shager'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File 
/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/runpy.py, 
line 160, in _run_module_as_main
__main__, fname, loader, pkg_name)
  File 
/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/runpy.py, 
line 73, in _run_code
exec(code, run_globals)
  File 
/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/ensurepip/__main__.py,
 line 66, in module
main()
  File 
/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/ensurepip/__main__.py,
 line 61, in main
default_pip=args.default_pip,
  File 
/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/ensurepip/__init__.py,
 line 92, in bootstrap
_run_pip(args + [p[0] for p in _PROJECTS], additional_paths)
  File 
/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/ensurepip/__init__.py,
 line 28, in _run_pip
import pip
  File frozen importlib._bootstrap, line 2147, in _find_and_load
  File frozen importlib._bootstrap, line 2136, in _find_and_load_unlocked
  File frozen importlib._bootstrap, line 1178, in _load_unlocked
  File frozen importlib._bootstrap, line 1140, in _load_backward_compatible
  File /tmp/tmpch6gt1sg/pip-1.5.rc1-py2.py3-none-any.whl/pip/__init__.py, 
line 10, in module
  File frozen importlib._bootstrap, line 2147, in _find_and_load
  File frozen importlib._bootstrap, line 2136, in _find_and_load_unlocked
  File frozen importlib._bootstrap, line 1178, in _load_unlocked
  File frozen importlib._bootstrap, line 1140, in _load_backward_compatible
  File /tmp/tmpch6gt1sg/pip-1.5.rc1-py2.py3-none-any.whl/pip/util.py, line 
15, in module
  File frozen importlib._bootstrap, line 2147, in _find_and_load
  File frozen importlib._bootstrap, line 2136, in _find_and_load_unlocked
  File frozen importlib._bootstrap, line 1178, in _load_unlocked
  File frozen importlib._bootstrap, line 1140, in _load_backward_compatible
  File /tmp/tmpch6gt1sg/pip-1.5.rc1-py2.py3-none-any.whl/pip/locations.py, 
line 91, in module
  File /tmp/tmpch6gt1sg/pip-1.5.rc1-py2.py3-none-any.whl/pip/locations.py, 
line 70, in _get_build_prefix
AttributeError: 'module' object has no attribute 'O_NOFOLLOW'

--
messages: 204202
nosy: David.Edelsohn, haypo, ncoghlan
priority: normal
severity: normal
status: open
title: test_venv failure on AIX: 'module' object has no attribute 'O_NOFOLLOW'
versions: Python 3.4

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



[issue19750] test_asyncio.test_unix_events constructor failures on AIX

2013-11-24 Thread STINNER Victor

New submission from STINNER Victor:

buildbot.python.org/all/builders/PPC64 AIX 
3.x/builds/1138/steps/test/logs/stdio 

==
FAIL: test_ctor (test.test_asyncio.test_unix_events.UnixWritePipeTransportTests)
--
Traceback (most recent call last):
  File 
/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/test/test_asyncio/test_unix_events.py,
 line 389, in test_ctor
self.loop.assert_reader(5, tr._read_ready)
  File 
/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/asyncio/test_utils.py,
 line 217, in assert_reader
assert fd in self.readers, 'fd {} is not registered'.format(fd)
AssertionError: fd 5 is not registered

==
FAIL: test_ctor_with_waiter 
(test.test_asyncio.test_unix_events.UnixWritePipeTransportTests)
--
Traceback (most recent call last):
  File 
/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/test/test_asyncio/test_unix_events.py,
 line 397, in test_ctor_with_waiter
self.loop.assert_reader(5, tr._read_ready)
  File 
/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/asyncio/test_utils.py,
 line 217, in assert_reader
assert fd in self.readers, 'fd {} is not registered'.format(fd)
AssertionError: fd 5 is not registered

--
messages: 204203
nosy: David.Edelsohn, gvanrossum, haypo
priority: normal
severity: normal
status: open
title: test_asyncio.test_unix_events constructor failures on AIX
versions: Python 3.4

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



[issue19748] test_time failures on AIX

2013-11-24 Thread STINNER Victor

STINNER Victor added the comment:

Oh, I missed also this one:



==
FAIL: test_mktime_error (test.test_time.TimeTestCase)
--
Traceback (most recent call last):
  File 
/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/test/test_time.py,
 line 365, in test_mktime_error
self.assertEqual(time.strftime('%Z', tt), tzname)
AssertionError: 'LMT' != 'PST'
- LMT
+ PST

--

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



[issue19751] test_sys: sys.hash_info.algorithm failure on SPARC Solaris buildbot

2013-11-24 Thread STINNER Victor

New submission from STINNER Victor:

http://buildbot.python.org/all/builders/SPARC%20Solaris%2010%20%28cc%2C%2032b%29%20%5BSB%5D%203.x/builds/1574/steps/test/logs/stdio

==
FAIL: test_attributes (test.test_sys.SysModuleTest)
--
Traceback (most recent call last):
  File 
/home/cpython/buildslave/cc-32/3.x.snakebite-sol10-sparc-cc-32/build/Lib/test/test_sys.py,
 line 462, in test_attributes
self.assertEqual(sys.hash_info.algorithm, fnv)
AssertionError: 'siphash24' != 'fnv'
- siphash24
+ fnv

--
messages: 204205
nosy: christian.heimes, haypo
priority: normal
severity: normal
status: open
title: test_sys: sys.hash_info.algorithm failure on SPARC Solaris buildbot
versions: Python 3.4

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



[issue19638] dtoa: conversion from '__int64' to 'int', possible loss of data

2013-11-24 Thread Mark Dickinson

Mark Dickinson added the comment:

Done.  I've tested this locally by reducing the limits and the sizes;  can 
someone with access to a beefy machine can verify that the new test passes on 
that machine?

--
Added file: http://bugs.python.org/file32819/limit_dtoa_string_v4.patch

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



[issue19752] test_os failure on Solaris 10

2013-11-24 Thread STINNER Victor

New submission from STINNER Victor:

It looks like a regression was introduced in Python 3.4 (the test pass on 
Python 3.3). It may be related to the PEP 446 (non inheritable file 
descriptors).

http://buildbot.python.org/all/builders/SPARC Solaris 10 (cc%2C 32b) [SB] 
3.x/builds/1574/steps/test/logs/stdio 

==
ERROR: test (test.test_openpty.OpenptyTest)
--
Traceback (most recent call last):
  File 
/home/cpython/buildslave/cc-32/3.x.snakebite-sol10-sparc-cc-32/build/Lib/test/test_openpty.py,
 line 12, in test
master, slave = os.openpty()
PermissionError: [Errno 13] Permission denied

--
messages: 204207
nosy: haypo
priority: normal
severity: normal
status: open
title: test_os failure on Solaris 10
versions: Python 3.4

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



[issue19752] os.openpty() failure on Solaris 10: PermissionError: [Errno 13] Permission denied

2013-11-24 Thread STINNER Victor

STINNER Victor added the comment:

And also:

==
ERROR: test_openpty (test.test_os.FDInheritanceTests)
--
Traceback (most recent call last):
  File 
/home/cpython/buildslave/cc-32/3.x.snakebite-sol10-sparc-cc-32/build/Lib/test/test_os.py,
 line 2455, in test_openpty
master_fd, slave_fd = os.openpty()
PermissionError: [Errno 13] Permission denied

--
title: test_os failure on Solaris 10 - os.openpty() failure on Solaris 10: 
PermissionError: [Errno 13] Permission denied

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



[issue19753] test_gdb failure on SystemZ buildbot

2013-11-24 Thread STINNER Victor

New submission from STINNER Victor:

test_gdb should ignore the following gdb warning.

http://buildbot.python.org/all/builders/System%20Z%20Linux%203.x/builds/806/steps/test/logs/stdio

==
FAIL: test_NULL_ob_type (test.test_gdb.PrettyPrintTests)
Ensure that a PyObject* with NULL ob_type is handled gracefully
--
Traceback (most recent call last):
  File 
/home/dje/cpython-buildarea/3.x.edelsohn-zlinux-z/build/Lib/test/test_gdb.py, 
line 440, in test_NULL_ob_type
'set v-ob_type=0')
  File 
/home/dje/cpython-buildarea/3.x.edelsohn-zlinux-z/build/Lib/test/test_gdb.py, 
line 411, in assertSane
cmds_after_breakpoint=cmds_after_breakpoint)
  File 
/home/dje/cpython-buildarea/3.x.edelsohn-zlinux-z/build/Lib/test/test_gdb.py, 
line 196, in get_gdb_repr
import_site=import_site)
  File 
/home/dje/cpython-buildarea/3.x.edelsohn-zlinux-z/build/Lib/test/test_gdb.py, 
line 179, in get_stack_trace
self.assertEqual(unexpected_errlines, [])
AssertionError: Lists differ: ['Missing separate debuginfo for /lib/ld64[801 
chars]a1'] != []

First list contains 12 additional elements.
First extra element 0:
Missing separate debuginfo for /lib/ld64.so.1

Diff is 925 characters long. Set self.maxDiff to None to see it.

--
messages: 204209
nosy: dmalcolm, haypo
priority: normal
severity: normal
status: open
title: test_gdb failure on SystemZ buildbot
versions: Python 3.4

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



[issue19753] test_gdb failure on SystemZ buildbot

2013-11-24 Thread Antoine Pitrou

Changes by Antoine Pitrou pit...@free.fr:


--
nosy: +David.Edelsohn

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



[issue19749] test_venv failure on AIX: 'module' object has no attribute 'O_NOFOLLOW'

2013-11-24 Thread Antoine Pitrou

Antoine Pitrou added the comment:

Looks like a bug in PIP more than in Python.

--
nosy: +dstufft, pitrou

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



[issue19638] dtoa: conversion from '__int64' to 'int', possible loss of data

2013-11-24 Thread Mark Dickinson

Mark Dickinson added the comment:

And now with the @bigmemtest fixed to take a second parameter (thanks, Larry!).

--
Added file: http://bugs.python.org/file32820/limit_dtoa_string_v5.patch

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



[issue19749] test_venv failure on AIX: 'module' object has no attribute 'O_NOFOLLOW'

2013-11-24 Thread Nick Coghlan

Nick Coghlan added the comment:

Yeah, I suspect this is an AIX platform compatibility issue in pip - I
believe our buildbots cover a broader range of platforms than pip's own
automated testing.

Since it's a nominally unstable buildbot and likely an upstream pip issue,
I planned to investigate further after the beta release.

I've also been considering writing up a procedural PEP (separate from PEP
453)  to cover the ongoing maintenance process for the bundled pip, and one
change I'm considering suggesting is that we may want to always upgrade to
the pip release candidates so the full buildbot fleet gets a shot at them
*before* the final upstream release.

--

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



[issue19754] pickletools.optimize doesn't reframe correctly

2013-11-24 Thread Antoine Pitrou

New submission from Antoine Pitrou:

pickletools.optimize() can output arbitrarily large frames (much larger than 
then 64 KB heuristic). This may be annoying for memory use when pickling -- on 
the other hand if you keep the whole pickle in memory for optimize() perhaps 
it's not a problem keeping it in memory for load() :-)

$ ./python -c import pickle, pickletools; d = 
pickle.dumps(list(range(10)), 4); pickletools.dis(d)  | head
0: \x80 PROTO  4
2: \x95 FRAME  65537
   11: ]EMPTY_LIST
   12: \x94 MEMOIZE
   13: (MARK
   14: KBININT10
   16: KBININT11
   18: KBININT12
   20: KBININT13
   22: KBININT14

$ ./python -c import pickle, pickletools; d = 
pickle.dumps(list(range(10)), 4); pickletools.dis(pickletools.optimize(d)) 
 | head
0: \x80 PROTO  4
2: \x95 FRAME  368875
   11: ]EMPTY_LIST
   12: \x94 MEMOIZE
   13: (MARK
   14: KBININT10
   16: KBININT11
   18: KBININT12
   20: KBININT13
   22: KBININT14

--
messages: 204213
nosy: alexandre.vassalotti, pitrou, tim.peters
priority: low
severity: normal
status: open
title: pickletools.optimize doesn't reframe correctly
type: resource usage
versions: Python 3.4

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



[issue19749] test_venv failure on AIX: 'module' object has no attribute 'O_NOFOLLOW'

2013-11-24 Thread Christian Heimes

Christian Heimes added the comment:

https://github.com/pypa/pip/issues/849
https://github.com/pypa/pip/pull/935

--
nosy: +christian.heimes

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



[issue19749] test_venv failure on AIX: 'module' object has no attribute 'O_NOFOLLOW'

2013-11-24 Thread Nick Coghlan

Nick Coghlan added the comment:

Bumping for Larry's attention - I don't think this is major enough to block 
beta 1, but that's his call as RM.

--
nosy: +larry
priority: normal - release blocker

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



[issue19736] posixmodule.c: Add flags for statvfs.f_flag to constant list

2013-11-24 Thread Matthias Klose

Matthias Klose added the comment:

updated patch inlcluding the docs

--
Added file: http://bugs.python.org/file32821/statvfs.diff

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



[issue19740] test_asyncio problems on 32-bit Windows

2013-11-24 Thread Richard Oudkerk

Richard Oudkerk added the comment:

Could you try this patch?

--
keywords: +patch
Added file: http://bugs.python.org/file32822/wait-for-handle.patch

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



[issue19743] test_gdb failures

2013-11-24 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 7a14cde3c4df by Antoine Pitrou in branch 'default':
Issue #19743: fix test_gdb on some optimized Python builds
http://hg.python.org/cpython/rev/7a14cde3c4df

--
nosy: +python-dev

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



[issue19743] test_gdb failures

2013-11-24 Thread Antoine Pitrou

Changes by Antoine Pitrou pit...@free.fr:


--
nosy: +dmalcolm

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



[issue19743] test_gdb failures

2013-11-24 Thread Roundup Robot

Roundup Robot added the comment:

New changeset e42b449f73fd by Antoine Pitrou in branch '3.3':
Issue #19743: fix test_gdb on some optimized Python builds
http://hg.python.org/cpython/rev/e42b449f73fd

--

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



[issue19743] test_gdb failures

2013-11-24 Thread Larry Hastings

Larry Hastings added the comment:

Here's what I've figured out.  If I build trunk then run:

% gdb --batch -iex add-auto-load-safe-path 
/home/larry/src/python/buildtrunk/python-gdb.py --eval-command=set breakpoint 
pending yes --eval-command=break builtin_id --eval-command=run 
--eval-command=backtrace --args /home/larry/src/python/buildtrunk/python -S -c 
id([0, 1, 2, 3, 4])

I see UnicodeDecodeErrors spat out in the middle of the traceback:

#0  builtin_id (self=module at remote 0x77fbfc28, v=[0, 1, 2, 3, 4]) at 
Python/bltinmodule
.c:991
#1  0x004d8695 in call_function (oparg=optimized out, 
pp_stack=0x7fffdc00) at Pyth
on/ceval.c:4212
#2  PyEval_EvalFrameEx (f=f@entry=Frame 0x77f3e788, for file string, line 
1, in module (
), throwflag=throwflag@entry=0) at Python/ceval.c:2826
Python Exception class 'UnicodeDecodeError' 'utf-8' codec can't decode byte 
0x80 in position 0
: invalid start byte: 
Python Exception class 'UnicodeDecodeError' 'utf-8' codec can't decode byte 
0x80 in position $: invalid start byte: 
#3  0x004d9809 in PyEval_EvalCodeEx (closure=0x0, [...]

If I run the same sequence of commands manually (remove the --batch and the 
batched commands from the gdb command-line, then type them in myself) I still 
see the decode error.

If I then set a breakpoint on PyUnicodeDecodeError_Create() and run backtrace 
again, it still prints the decode errors, but it doesn't stop on the 
breakpoint.  (I guess this would be like getting to the assault on the ski 
chalet in Inception?)

Most worrisome of all: if I change the Makefile from -O3 to -O0, the decode 
errors go away.

--

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



[issue19743] test_gdb failures

2013-11-24 Thread Larry Hastings

Larry Hastings added the comment:

Sorry, both exceptions in the output of the traceback are:

Python Exception class 'UnicodeDecodeError' 'utf-8' codec can't decode byte 
0x80 in position 0: invalid start byte:

--

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



[issue19743] test_gdb failures

2013-11-24 Thread Antoine Pitrou

Antoine Pitrou added the comment:

Agreed.

--

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



[issue19743] test_gdb failures

2013-11-24 Thread Larry Hastings

Larry Hastings added the comment:

Antoine: your checked-in workaround makes the test pass.  But I'm leaving this 
open because I'm still hoping David will take a look into it.

--

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



[issue19753] test_gdb failure on SystemZ buildbot

2013-11-24 Thread David Edelsohn

David Edelsohn added the comment:

I have installed debuginfo on the system, but it is not being recognized. I 
have been inquiring with SuSE zLinux to understand how to resolve this.

--

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



[issue15759] make suspicious doesn't display instructions in case of failure

2013-11-24 Thread Ezio Melotti

Changes by Ezio Melotti ezio.melo...@gmail.com:


--
keywords: +easy
stage: commit review - patch review
versions: +Python 3.4 -Python 3.2

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



[issue19557] ast - docs for every node type are missing

2013-11-24 Thread Brett Cannon

Changes by Brett Cannon br...@python.org:


--
nosy:  -brett.cannon

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



[issue19655] Replace the ASDL parser carried with CPython

2013-11-24 Thread Brett Cannon

Brett Cannon added the comment:

All code going into Python should be idiomatic unless it's meant to be released 
externally and there are backwards-compatibility concerns. It's Eli's call as 
to whether he wants to maintain a PyPI project for this after integration.

Points 2-4 are off-topic for this issue.

--

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



[issue19545] time.strptime exception context

2013-11-24 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

LGTM.

--
stage:  - commit review
type:  - behavior

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



[issue19755] PEP 397 listed as accepted instead of finished.

2013-11-24 Thread Mark Lawrence

New submission from Mark Lawrence:

On the PEP index 397 is listed under the section Accepted PEPs (accepted; may 
not be implemented yet).  I believe it should be moved to Finished PEPs (done, 
implemented in code repository).

--
messages: 204227
nosy: BreamoreBoy
priority: normal
severity: normal
status: open
title: PEP 397 listed as accepted instead of finished.

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



[issue19545] time.strptime exception context

2013-11-24 Thread Roundup Robot

Roundup Robot added the comment:

New changeset ce1578f4d105 by Serhiy Storchaka in branch '3.3':
Issue #19545: Avoid chained exceptions while passing stray % to
http://hg.python.org/cpython/rev/ce1578f4d105

New changeset 2bf4741515a7 by Serhiy Storchaka in branch 'default':
Issue #19545: Avoid chained exceptions while passing stray % to
http://hg.python.org/cpython/rev/2bf4741515a7

--
nosy: +python-dev

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



[issue19545] time.strptime exception context

2013-11-24 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Thank you for your contribution.

--
resolution:  - fixed
stage: commit review - committed/rejected
status: open - closed

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



[issue19733] Setting image parameter of a button crashes with Cocoa Tk

2013-11-24 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Oh-oh. Thank you Arfrever.

--

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



[issue19733] Setting image parameter of a button crashes with Cocoa Tk

2013-11-24 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 77e3e395f446 by Serhiy Storchaka in branch '2.7':
Fixed merging error in changeset 3912934e99ba (issue #19733).
http://hg.python.org/cpython/rev/77e3e395f446

--

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



[issue19740] test_asyncio problems on 32-bit Windows

2013-11-24 Thread Tim Peters

Tim Peters added the comment:

@sbt, success!  With the patch, test_asyncio passed 10 times in a row on my 
box.  Ship it :-)

--

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



[issue13477] tarfile module should have a command line

2013-11-24 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

 changeset:   87476:a539c85aec51
 user:Antoine Pitrou solip...@pitrou.net
 date:Sun Nov 24 01:55:05 2013 +0100
 summary:
   Try to fix test_tarfile under Windows

Thank you Antoine.

--

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



[issue19755] PEP 397 listed as accepted instead of finished.

2013-11-24 Thread Roundup Robot

Roundup Robot added the comment:

New changeset fa10b8c5bb00 by Barry Warsaw in branch 'default':
PEP 397 is marked Final.  (Closes issue19755).
http://hg.python.org/peps/rev/fa10b8c5bb00

--
nosy: +python-dev
resolution:  - fixed
stage:  - committed/rejected
status: open - closed

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



[issue19754] pickletools.optimize doesn't reframe correctly

2013-11-24 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

 on the other hand if you keep the whole pickle in memory for optimize() 
 perhaps it's not a problem keeping it in memory for load() :-)

This is not always true. You run optimize() on one computer or environment and 
load() on other.

--
nosy: +serhiy.storchaka

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



[issue19629] support.rmtree fails on symlinks under Windows

2013-11-24 Thread Antoine Pitrou

Antoine Pitrou added the comment:

Note that using shutil.rmtree() means there are sporadic test_pathlib failures 
under Windows:
http://buildbot.python.org/all/builders/AMD64%20Windows7%20SP1%203.x/builds/3436/steps/test/logs/stdio

--
nosy: +steve.dower

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



[issue19740] test_asyncio problems on 32-bit Windows

2013-11-24 Thread Tim Peters

Tim Peters added the comment:

Possibly related:  the successful test runs occurred running test_asyncio in 
isolation on a quiet machine.  Then I fired off a full run of the test suite 
and used the machine for other things too.  Then it failed:

[ 23/387] test_asyncio
... various unclosed socket warnings ...

test test_asyncio failed -- Traceback (most recent call last):
  File C:\Code\Python\lib\test\test_asyncio\test_events.py, line 323, in 
test_reader_callback
self.assertEqual(b''.join(bytes_read), b'abcdef')
AssertionError: b'' != b'abcdef'

...
343 tests OK.
1 test failed:
test_asyncio

Unfortunately, this time it's hard to provoke :-(

--

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



[issue19748] test_time failures on AIX

2013-11-24 Thread STINNER Victor

STINNER Victor added the comment:

@David: Can you try to check what the minimum accepted timestamp for the time 
module?

--

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



[issue19749] test_venv failure on AIX: 'module' object has no attribute 'O_NOFOLLOW'

2013-11-24 Thread STINNER Victor

STINNER Victor added the comment:

 Looks like a bug in PIP more than in Python.

Correct, but it does impact Python buildbots. I would like to have one issue 
per buildbot failure. Can someone report the bug upstream please?

--

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



[issue19655] Replace the ASDL parser carried with CPython

2013-11-24 Thread Eli Bendersky

Eli Bendersky added the comment:

Does anyone have comments on the code or can I prepare a patch for default?

Would it make sense to wait with this until the 3.4 branch is created or can I 
just commit to default? Note that this change is not a new feature and is 
essentially a no-op as far as the resulting CPython executable - it's just 
tweaking the build process to generate the same data in a different way.

--

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



[issue19750] test_asyncio.test_unix_events constructor failures on AIX

2013-11-24 Thread STINNER Victor

STINNER Victor added the comment:

Oh, this failure is probably related to this comment in unix_events.py:

# On AIX, the reader trick only works for sockets.
# On other platforms it works for pipes and sockets.
# (Exception: OS X 10.4?  Issue #19294.)
if is_socket or not sys.platform.startswith(aix):
self._loop.add_reader(self._fileno, self._read_ready)

UnixWritePipeTransportTests should use a real socket, or the 2 tests should be 
skipped on AIX.

--

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



[issue19732] python fails to build when configured with --with-system-libmpdec

2013-11-24 Thread Stefan Krah

Stefan Krah added the comment:

Development of libmpdec has effectively happened on hg.python.org
since I included _decimal.  That's also one of the reasons why there
isn't any public VCS.  The mailing list isn't archived because I'm
using ezmlm and ezmlm's retrieval system caused excessive backscatter
of mail (IIRC).

There is also no bug-tracker for the simple reason that no libmpdec
bugs have been reported either here or on bytereef.org.


_decimal should only be built against the upcoming mpdecimal-2.4.
I'm going to name the shared library libmpdec.so.2, which will only
receive bugfixes, since the spec isn't going to change.

--

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



[issue19732] python fails to build when configured with --with-system-libmpdec

2013-11-24 Thread Matthias Klose

Matthias Klose added the comment:

Am 24.11.2013 18:42, schrieb Stefan Krah:
 _decimal should only be built against the upcoming mpdecimal-2.4.

is there a schedule for this version?

--

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



[issue19740] test_asyncio problems on 32-bit Windows

2013-11-24 Thread Roundup Robot

Roundup Robot added the comment:

New changeset d71db7fe4872 by Richard Oudkerk in branch 'default':
Issue #19740: Use WaitForSingleObject() instead of trusting TimerOrWaitFired.
http://hg.python.org/cpython/rev/d71db7fe4872

--
nosy: +python-dev

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



[issue19751] test_sys: sys.hash_info.algorithm failure on SPARC Solaris buildbot

2013-11-24 Thread STINNER Victor

STINNER Victor added the comment:

Extract of configure output on SPARC buildbot:
 checking aligned memory access is required... no

Here is a patch for test_sys.

Checking the processor type is not reliable, the test should not be so strict.

--
keywords: +patch
Added file: http://bugs.python.org/file32823/test_sys_hashinfo.patch

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



[issue19740] test_asyncio problems on 32-bit Windows

2013-11-24 Thread Richard Oudkerk

Richard Oudkerk added the comment:

 Possibly related: ...

That looks unrelated since it does not involve wait_for_handle().  
Unfortunately test_utils.run_briefly() offers few guarantees when using the 
IOCP event loop.

--

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



[issue19753] test_gdb failure on SystemZ buildbot

2013-11-24 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 6e5eab3add6c by Victor Stinner in branch 'default':
Issue #19753: Try to fix test_gdb on SystemZ buildbot
http://hg.python.org/cpython/rev/6e5eab3add6c

--
nosy: +python-dev

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



[issue19756] test_nntplib: sporadic failures, network isses? server down?

2013-11-24 Thread STINNER Victor

New submission from STINNER Victor:

http://buildbot.python.org/all/builders/AMD64%20FreeBSD%209.x%203.x/builds/692/steps/test/logs/stdio

==
ERROR: test_capabilities (test.test_nntplib.NetworkedNNTP_SSLTests)
--
Traceback (most recent call last):
  File 
/usr/home/buildbot/python/3.x.koobs-freebsd9/build/Lib/test/test_nntplib.py, 
line 251, in wrapped
meth(self)
  File 
/usr/home/buildbot/python/3.x.koobs-freebsd9/build/Lib/test/test_nntplib.py, 
line 201, in test_capabilities
resp, caps = self.server.capabilities()
  File /usr/home/buildbot/python/3.x.koobs-freebsd9/build/Lib/nntplib.py, 
line 558, in capabilities
resp, lines = self._longcmdstring(CAPABILITIES)
  File /usr/home/buildbot/python/3.x.koobs-freebsd9/build/Lib/nntplib.py, 
line 525, in _longcmdstring
resp, list = self._getlongresp(file)
  File /usr/home/buildbot/python/3.x.koobs-freebsd9/build/Lib/nntplib.py, 
line 476, in _getlongresp
resp = self._getresp()
  File /usr/home/buildbot/python/3.x.koobs-freebsd9/build/Lib/nntplib.py, 
line 449, in _getresp
resp = self._getline()
  File /usr/home/buildbot/python/3.x.koobs-freebsd9/build/Lib/nntplib.py, 
line 432, in _getline
line = self.file.readline(_MAXLINE +1)
  File /usr/home/buildbot/python/3.x.koobs-freebsd9/build/Lib/socket.py, line 
368, in readinto
raise OSError(cannot read from timed out object)
OSError: cannot read from timed out object



http://buildbot.python.org/all/builders/x86%20OpenIndiana%203.x/builds/7147/steps/test/logs/stdio


==
ERROR: setUpClass (test.test_nntplib.NetworkedNNTP_SSLTests)
--
Traceback (most recent call last):
  File 
/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/test/test_nntplib.py,
 line 298, in setUpClass
cls.server = cls.NNTP_CLASS(cls.NNTP_HOST, timeout=TIMEOUT, usenetrc=False)
  File /export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/nntplib.py, 
line 1071, in __init__
readermode=readermode, timeout=timeout)
  File /export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/nntplib.py, 
line 334, in __init__
self.getcapabilities()
  File /export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/nntplib.py, 
line 390, in getcapabilities
resp, caps = self.capabilities()
  File /export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/nntplib.py, 
line 558, in capabilities
resp, lines = self._longcmdstring(CAPABILITIES)
  File /export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/nntplib.py, 
line 525, in _longcmdstring
resp, list = self._getlongresp(file)
  File /export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/nntplib.py, 
line 476, in _getlongresp
resp = self._getresp()
  File /export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/nntplib.py, 
line 449, in _getresp
resp = self._getline()
  File /export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/nntplib.py, 
line 437, in _getline
if not line: raise EOFError
EOFError

--
components: Tests
keywords: buildbot
messages: 204248
nosy: haypo
priority: normal
severity: normal
status: open
title: test_nntplib: sporadic failures, network isses? server down?
versions: Python 3.4

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



[issue19673] PEP 428 implementation

2013-11-24 Thread Eli Bendersky

Eli Bendersky added the comment:

Antoine, am I missing something - I don't see documentation for the 
construction of Path/PurePath?

--
nosy: +eli.bendersky

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



[issue19673] PEP 428 implementation

2013-11-24 Thread Antoine Pitrou

Antoine Pitrou added the comment:

 Antoine, am I missing something - I don't see documentation for the 
 construction of Path/PurePath?

It's there:
http://docs.python.org/dev/library/pathlib.html#pathlib.PurePath

--

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



[issue19673] PEP 428 implementation

2013-11-24 Thread Eli Bendersky

Eli Bendersky added the comment:

Yes, I've seen that. What I mean is that there's no clear signature defined 
with each argument explained, as the other stdlib documentation usually does. 
Section 11.1.2.1 uses a more descriptive approach, while I was also expecting a 
formal specification.

I can propose a patch to improve this, if you don't object.

--

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



[issue19673] PEP 428 implementation

2013-11-24 Thread Antoine Pitrou

Antoine Pitrou added the comment:

Well, it depends how much formal :-)

The text does say: Path constructors accept an arbitrary number of 
positional arguments. When called without any argument, a path object points to 
the current directory [etc.]

I'm not against a more formal description, but besides saying *args, I'm not 
sure what it would bring.

--

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



[issue19636] Fix usage of MAX_PATH in posixmodule.c

2013-11-24 Thread Roundup Robot

Roundup Robot added the comment:

New changeset b3eb42a657a3 by Victor Stinner in branch 'default':
Issue #19636: Fix posix__getvolumepathname(), raise an OverflowError if
http://hg.python.org/cpython/rev/b3eb42a657a3

New changeset 46aecfc5e374 by Victor Stinner in branch 'default':
Issue #19636: Fix usage of MAX_PATH in posixmodule.c
http://hg.python.org/cpython/rev/46aecfc5e374

--
nosy: +python-dev

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



[issue19757] _tracemalloc.c: compiler warning with gil_state

2013-11-24 Thread STINNER Victor

New submission from STINNER Victor:

Clang complains that gil_state might be used uninitialized in 
_tracemalloc.c:488 and 533.

--
messages: 204254
nosy: christian.heimes, haypo
priority: normal
severity: normal
status: open
title: _tracemalloc.c: compiler warning with gil_state
versions: Python 3.4

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



[issue19757] _tracemalloc.c: compiler warning with gil_state

2013-11-24 Thread koobs

Changes by koobs koobs.free...@gmail.com:


--
nosy: +koobs

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



[issue19673] PEP 428 implementation

2013-11-24 Thread Eli Bendersky

Eli Bendersky added the comment:

It's just a matter of looking for a familiar pattern while going over an 
unfamiliar doc page, I guess. I'll give it a try and see if it helps.

Another question: What is the real purpose of pure paths? One thing I see is 
using them to, say, manipulate Windows paths on a Posix machine for some 
reason. Any others? Could this also be achieved with just having Paths?

[sorry for coming long after the party ended; my motivation here is mainly 
curiosity - maybe by looking at it from a newbie point of view I can improve 
the documentation in a way that will be friendlier for people unfamiliar with 
the new library]

--

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



[issue19673] PEP 428 implementation

2013-11-24 Thread Antoine Pitrou

Antoine Pitrou added the comment:

 Another question: What is the real purpose of pure paths? One thing I
 see is using them to, say, manipulate Windows paths on a Posix machine
 for some reason.

Yes. Also, if some reason you want to be sure you're only doing path
computations, not I/O.

 Any others? Could this also be achieved with just having Paths?

I don't see how having just Paths would achieve this, unless you think
it's sane to pretend to walk a Windows directory under Unix :-)

--

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



[issue19740] test_asyncio problems on 32-bit Windows

2013-11-24 Thread Guido van Rossum

Guido van Rossum added the comment:

Agreed that that is probably unrelated.

I suspect that all tests doing real I/O (stuff that goes through the OS kernel) 
and wait for it using run_briefly() are theoretically broken like that. It may 
just be harder to provoke for some tests than for others.

The proper fix is to use test_utils.run_until(loop, predicate, timeout) where 
predicate is a lambda that computes whether the desired condition is reached. 
 E.g. in this case we could use something like

test_utils.run_until(self.loop, lambda: b''.join(bytes_read) == b'abcdef', 10)

instead of the last five lines of the test (starting with the second 
run_briefly).

--

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



[issue19740] test_asyncio problems on 32-bit Windows

2013-11-24 Thread Guido van Rossum

Changes by Guido van Rossum gu...@python.org:


--
components: +Tests
resolution:  - fixed
stage:  - committed/rejected
status: open - closed
type:  - behavior

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



[issue19751] test_sys: sys.hash_info.algorithm failure on SPARC Solaris buildbot

2013-11-24 Thread Christian Heimes

Christian Heimes added the comment:

I'll look into it.

--
assignee:  - christian.heimes
priority: normal - high
stage:  - patch review
type:  - behavior

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



[issue19612] test_subprocess: sporadic failure of test_communicate_epipe() on Windows 8

2013-11-24 Thread Guido van Rossum

Guido van Rossum added the comment:

I don't know much about subprocess.py and I don't have access to Windows 8.  
But it looks like the kind of thing that might happen if the other end of the 
pipe is closed, which might happen if the subprocess exits early, either 
because it's just fast or because it's encountered some other bug.

--

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



[issue19732] python fails to build when configured with --with-system-libmpdec

2013-11-24 Thread Stefan Krah

Stefan Krah added the comment:

I have prepared Python-3.3+ for use with libmpdec.so.2:

cbd78679080b
9d07b3eb34e3

Here is a prerelease for mpdecimal:

http://www.bytereef.org/software/mpdecimal/releases/mpdecimal-2.4-rc1.tar.gz

sha256sum:

528a61b3de5c1e553a012d083c4d909391510cc733c1a990131d312bbdf1a717

I think I've addressed all your comments you sent privately earlier.
The uname -s in configure.ac is only used for suncc and Darwin.
It should not affect cross building.

I still have to update the docs and a couple of READMEs for the final release.
The code in libmpdec is now the same as on hg.python.org and is highly unlikely
to change.

If you have time and have some final requests for the configury (config.guess,
install-sh?), let me know.  I prefer to run the final tests on the exact tarball
that is ultimately shipped.

The deal for Python-3.3 and Python-3.4 is:  For compatibility with decimal.py
only link against libmpdec.so.2.

--

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



[issue11571] Turtle window pops under the terminal on OSX

2013-11-24 Thread James Cook

James Cook added the comment:

This problem still exists with the version of turtle bundled with python 3.3.3 
and ActiveState ActiveTcl8.5.15.1.  While it may be an issue with the 
underlying platform, it's unfortunate for young beginners just learning python 
who don't understand the underlying issue.

If other parents are searching for a solution, this works:

turtle.getscreen()._root.attributes('-topmost', 1)
turtle.getscreen()._root.attributes('-topmost', 0)

Any chance the workaround patch could be applied so I don't have to tell my kid 
to add this magic to his scripts?

--
nosy: +James.Cook

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



[issue19732] python fails to build when configured with --with-system-libmpdec

2013-11-24 Thread Stefan Krah

Changes by Stefan Krah stefan-use...@bytereef.org:


--
nosy: +Arfrever

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



[issue19756] test_nntplib: sporadic failures, network isses? server down?

2013-11-24 Thread Antoine Pitrou

Antoine Pitrou added the comment:

The third-party server isn't extremely reliable indeed. Ideally, we would run 
our own NNTP server, but that's a lot more work.

--
nosy: +pitrou
versions: +Python 3.3

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



[issue19732] python fails to build when configured with --with-system-libmpdec

2013-11-24 Thread Matthias Klose

Matthias Klose added the comment:

2.4~rc1:
 - configure.ac should call AC_CANONICAL_HOST, config,guess and
   config.sub should be included.
 - there are still symbols which exists only for 32/64 bit archs.
   intended?
   (arch=@64@)mpd_qsset_i64@Base 2.3
   (arch=@64@)mpd_qsset_u64@Base 2.3
   (arch=@64@)mpd_sset_i64@Base 2.3
   (arch=@64@)mpd_sset_u64@Base 2.3

--

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



[issue19750] test_asyncio.test_unix_events constructor failures on AIX

2013-11-24 Thread Guido van Rossum

Guido van Rossum added the comment:

Can you try this patch?

diff -r 14cbf01b1929 tests/test_unix_events.py
--- a/tests/test_unix_events.py Sun Nov 24 11:04:44 2013 -0800
+++ b/tests/test_unix_events.py Sun Nov 24 12:28:42 2013 -0800
@@ -379,7 +379,7 @@
 fstat_patcher = unittest.mock.patch('os.fstat')
 m_fstat = fstat_patcher.start()
 st = unittest.mock.Mock()
-st.st_mode = stat.S_IFIFO
+st.st_mode = stat.S_IFSOCK
 m_fstat.return_value = st
 self.addCleanup(fstat_patcher.stop)

--

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



[issue19746] No introspective way to detect ModuleImportFailure

2013-11-24 Thread Michael Foord

Michael Foord added the comment:

Seems like a perfectly reasonable request. I've no particular preference on an 
api for this though.

--

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



[issue19655] Replace the ASDL parser carried with CPython

2013-11-24 Thread Brett Cannon

Brett Cannon added the comment:

It's Larry's call in the end but I personally don't care either way, especially 
since this isn't user-facing code.

--

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



[issue19655] Replace the ASDL parser carried with CPython

2013-11-24 Thread Larry Hastings

Larry Hastings added the comment:

Are the generated files *byte for byte* the same as produced by the existing 
parser generation process?

--

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



[issue17787] Optimize pickling function dispatch in hot loops.

2013-11-24 Thread Alexandre Vassalotti

Alexandre Vassalotti added the comment:

The patch is too complicated for too little.

--
resolution:  - rejected
stage: patch review - committed/rejected
status: open - closed

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



[issue17747] Deprecate pickle fast mode

2013-11-24 Thread Alexandre Vassalotti

Changes by Alexandre Vassalotti alexan...@peadrop.com:


--
resolution:  - wont fix
stage: needs patch - committed/rejected
status: open - closed

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



[issue15204] Deprecate the 'U' open mode

2013-11-24 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 694e2708b4a8 by Serhiy Storchaka in branch 'default':
Issue #15204: Silence and check the 'U' mode deprecation warnings in tests.
http://hg.python.org/cpython/rev/694e2708b4a8

--

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



[issue15204] Deprecate the 'U' open mode

2013-11-24 Thread Serhiy Storchaka

Changes by Serhiy Storchaka storch...@gmail.com:


--
resolution:  - fixed
stage: patch review - committed/rejected
status: open - closed

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



[issue19758] Warnings in tests

2013-11-24 Thread Serhiy Storchaka

New submission from Serhiy Storchaka:

Following warnings emitted by test suite when run it with -Wall.

[101/387] test_distutils
/home/serhiy/py/cpython/Lib/distutils/sysconfig.py:578: DeprecationWarning: SO 
is deprecated, use EXT_SUFFIX
  warnings.warn('SO is deprecated, use EXT_SUFFIX', DeprecationWarning)
unknown, 0: Warning: using regular magic file `/etc/magic'
unknown, 0: Warning: using regular magic file `/etc/magic'

[154/387] test_hmac
/home/serhiy/py/cpython/Lib/test/test_hmac.py:271: PendingDeprecationWarning: 
HMAC() without an explicit digestmod argument is deprecated.
  h = hmac.HMAC(bkey)
/home/serhiy/py/cpython/Lib/test/test_hmac.py:296: PendingDeprecationWarning: 
HMAC() without an explicit digestmod argument is deprecated.
  h = hmac.HMAC(bytearray(bkey), bytearray(bhash this!))
/home/serhiy/py/cpython/Lib/test/test_hmac.py:303: PendingDeprecationWarning: 
HMAC() without an explicit digestmod argument is deprecated.
  h = hmac.HMAC(bkey, memoryview(bhash this!))
/home/serhiy/py/cpython/Lib/test/test_hmac.py:290: PendingDeprecationWarning: 
HMAC() without an explicit digestmod argument is deprecated.
  h = hmac.HMAC(bkey, bhash this!)
/home/serhiy/py/cpython/Lib/test/test_hmac.py:320: PendingDeprecationWarning: 
HMAC() without an explicit digestmod argument is deprecated.
  h = hmac.HMAC(bkey)
/home/serhiy/py/cpython/Lib/test/test_hmac.py:327: PendingDeprecationWarning: 
HMAC() without an explicit digestmod argument is deprecated.
  h = hmac.HMAC(bmy secret key)
/home/serhiy/py/cpython/Lib/test/test_hmac.py:339: PendingDeprecationWarning: 
HMAC() without an explicit digestmod argument is deprecated.
  h1 = hmac.HMAC(bkey)
/home/serhiy/py/cpython/Lib/test/test_hmac.py:361: PendingDeprecationWarning: 
HMAC() without an explicit digestmod argument is deprecated.
  h1 = hmac.HMAC(bkey)
/home/serhiy/py/cpython/Lib/test/test_hmac.py:350: PendingDeprecationWarning: 
HMAC() without an explicit digestmod argument is deprecated.
  h1 = hmac.HMAC(bkey)

[165/387] test_importlib
/home/serhiy/py/cpython/Lib/test/test_importlib/test_spec.py:58: 
PendingDeprecationWarning: The import system now takes care of this 
automatically.
  @frozen_util.module_for_loader

[245/387] test_poplib
/home/serhiy/py/cpython/Lib/test/support/__init__.py:1331: ResourceWarning: 
unclosed ssl.SSLSocket fd=24, family=AddressFamily.AF_INET, type=2049, 
proto=6, laddr=('127.0.0.1', 36469), raddr=('127.0.0.1', 50929)
  gc.collect()

[319/387] test_sysconfig
/home/serhiy/py/cpython/Lib/sysconfig.py:588: DeprecationWarning: SO is 
deprecated, use EXT_SUFFIX
  warnings.warn('SO is deprecated, use EXT_SUFFIX', DeprecationWarning)

--
components: Tests
messages: 204270
nosy: serhiy.storchaka
priority: normal
severity: normal
status: open
title: Warnings in tests
versions: Python 3.4

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



[issue19758] Warnings in tests

2013-11-24 Thread Antoine Pitrou

Changes by Antoine Pitrou pit...@free.fr:


--
nosy: +brett.cannon, christian.heimes, eric.snow, ncoghlan

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



[issue19661] AIX: Python: RuntimeError invalid slot offset when importing a module in _ssl module

2013-11-24 Thread dellair jie

dellair jie added the comment:

It would be appreciated if someone could shed some lights on how to rebuild a 
single module (ssl) from source code package and import it to python. 

Thanks in advance!

--

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



[issue19759] Deprecation warnings in test_hmac

2013-11-24 Thread Serhiy Storchaka

New submission from Serhiy Storchaka:

Following warnings are emitted when test_hmac ran with -Wall:

$ ./python -Wall -m test.regrtest test_hmac
[1/1] test_hmac
/home/serhiy/py/cpython/Lib/test/test_hmac.py:271: PendingDeprecationWarning: 
HMAC() without an explicit digestmod argument is deprecated.
  h = hmac.HMAC(bkey)
/home/serhiy/py/cpython/Lib/test/test_hmac.py:296: PendingDeprecationWarning: 
HMAC() without an explicit digestmod argument is deprecated.
  h = hmac.HMAC(bytearray(bkey), bytearray(bhash this!))
/home/serhiy/py/cpython/Lib/test/test_hmac.py:303: PendingDeprecationWarning: 
HMAC() without an explicit digestmod argument is deprecated.
  h = hmac.HMAC(bkey, memoryview(bhash this!))
/home/serhiy/py/cpython/Lib/test/test_hmac.py:290: PendingDeprecationWarning: 
HMAC() without an explicit digestmod argument is deprecated.
  h = hmac.HMAC(bkey, bhash this!)
/home/serhiy/py/cpython/Lib/test/test_hmac.py:320: PendingDeprecationWarning: 
HMAC() without an explicit digestmod argument is deprecated.
  h = hmac.HMAC(bkey)
/home/serhiy/py/cpython/Lib/test/test_hmac.py:327: PendingDeprecationWarning: 
HMAC() without an explicit digestmod argument is deprecated.
  h = hmac.HMAC(bmy secret key)
/home/serhiy/py/cpython/Lib/test/test_hmac.py:339: PendingDeprecationWarning: 
HMAC() without an explicit digestmod argument is deprecated.
  h1 = hmac.HMAC(bkey)
/home/serhiy/py/cpython/Lib/test/test_hmac.py:361: PendingDeprecationWarning: 
HMAC() without an explicit digestmod argument is deprecated.
  h1 = hmac.HMAC(bkey)
/home/serhiy/py/cpython/Lib/test/test_hmac.py:350: PendingDeprecationWarning: 
HMAC() without an explicit digestmod argument is deprecated.
  h1 = hmac.HMAC(bkey)
1 test OK.

The proposed patch silences these warnings.

--
components: Tests
files: test_hmac_warnings.patch
keywords: patch
messages: 204272
nosy: christian.heimes, gregory.p.smith, serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: Deprecation warnings in test_hmac
type: behavior
versions: Python 3.4
Added file: http://bugs.python.org/file32824/test_hmac_warnings.patch

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



[issue19758] Warnings in tests

2013-11-24 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 53ba43ed7f27 by Christian Heimes in branch 'default':
Issue #19758: silence PendingDeprecationWarnings in test_hmac
http://hg.python.org/cpython/rev/53ba43ed7f27

--
nosy: +python-dev

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



[issue19760] Deprecation warnings in ttest_sysconfig and test_distutils

2013-11-24 Thread Serhiy Storchaka

New submission from Serhiy Storchaka:

Following warnings are emitted when ttest_sysconfig and test_distutils ran with 
-Wall:

$ ./python -Wall -m test.regrtest test_sysconfig test_distutils
[1/2] test_sysconfig
/home/serhiy/py/cpython/Lib/sysconfig.py:588: DeprecationWarning: SO is 
deprecated, use EXT_SUFFIX
  warnings.warn('SO is deprecated, use EXT_SUFFIX', DeprecationWarning)
[2/2] test_distutils
/home/serhiy/py/cpython/Lib/distutils/sysconfig.py:578: DeprecationWarning: SO 
is deprecated, use EXT_SUFFIX
  warnings.warn('SO is deprecated, use EXT_SUFFIX', DeprecationWarning)
unknown, 0: Warning: using regular magic file `/etc/magic'
unknown, 0: Warning: using regular magic file `/etc/magic'
All 2 tests OK.

The proposed patch silences deprecation warnings. It also changes warning 
stacklevel for the 'SO' key in sysconfig to 2 so a warning now reports about 
place where stdlib function is called instead a place in the stdlib.

--
components: Library (Lib), Tests
files: test_sysconfig_warnings.patch
keywords: patch
messages: 204273
nosy: barry, serhiy.storchaka, tarek
priority: normal
severity: normal
stage: patch review
status: open
title: Deprecation warnings in ttest_sysconfig and test_distutils
type: behavior
versions: Python 3.4
Added file: http://bugs.python.org/file32825/test_sysconfig_warnings.patch

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



[issue19759] Deprecation warnings in test_hmac

2013-11-24 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Crys just fixed this issue in issue19758.

--
resolution:  - out of date
stage: patch review - committed/rejected
status: open - closed

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



[issue19758] Warnings in tests

2013-11-24 Thread Serhiy Storchaka

Changes by Serhiy Storchaka storch...@gmail.com:


--
dependencies: +Deprecation warnings in ttest_sysconfig and test_distutils

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



  1   2   >