[issue22648] Unable to install Python 3.4.2 amd64 on Windows 8.1

2014-10-18 Thread Pierre Boulanger

Pierre Boulanger added the comment:

the result of log is:
=== Verbose logging started: 18-10-14  08:42:21  Build type: SHIP UNICODE 
5.00.9600.00  Calling process: C:\WINDOWS\system32\msiexec.exe ===
MSI (c) (C4:34) [08:42:21:518]: Font created.  Charset: Req=0, Ret=0, Font: 
Req=MS Shell Dlg, Ret=MS Shell Dlg

MSI (c) (C4:34) [08:42:21:518]: Font created.  Charset: Req=0, Ret=0, Font: 
Req=MS Shell Dlg, Ret=MS Shell Dlg

MSI (c) (C4:24) [08:42:21:550]: Resetting cached policy values
MSI (c) (C4:24) [08:42:21:565]: Machine policy value 'Debug' is 0
MSI (c) (C4:24) [08:42:21:565]: *** RunEngine:
   *** Product: C:\Users\pierre\Doocuments\python-3.4.2.amd64.msi
   *** Action: 
   *** CommandLine: **
MSI (c) (C4:24) [08:42:21:565]: Note: 1: 2203 2: 
C:\Users\pierre\Doocuments\python-3.4.2.amd64.msi 3: -2147287037 
MSI (c) (C4:24) [08:42:21:565]: MainEngineThread is returning 3
=== Verbose logging stopped: 18-10-14  08:42:21 ===

--

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



[issue22645] Unable to install Python 3.4.2 amd64 on Windows 8.1 Update 1

2014-10-18 Thread Terry J. Reedy

Terry J. Reedy added the comment:

I had no trouble ungrading 3.4.1 to 3.4.2 with win7 up to date with 'required' 
updates and most recommendedupdates.

--
nosy: +terry.reedy

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



[issue21228] Missing enumeration of HTTPResponse Objects methods of urllib.request.urlopen's http.client.HTTPResponse?

2014-10-18 Thread Martin Panter

Martin Panter added the comment:

Is there anything else that needs doing to get this committed and resolved? My 
patch is just a trivial reordering of Evens’s, with about one sentence deleted.

--

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



[issue21991] The new email API should use MappingProxyType instead of returning new dicts.

2014-10-18 Thread Stéphane Wirtel

Stéphane Wirtel added the comment:

Thanks David,

--

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



[issue17095] Modules/Setup *shared* support broken

2014-10-18 Thread Stéphane Wirtel

Stéphane Wirtel added the comment:

Hi Ned,

For the first point, maybe close this issue and open a new bug for the second.

What do you think?

--

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



[issue17095] Shared modules built with Modules/Setup are not found when run from build directory

2014-10-18 Thread Ned Deily

Ned Deily added the comment:

Sorry, I don't see the point of opening another issue, especially since most of 
the discussion in this issue has been about the second problem.  I have updated 
the issue title to be more specific, though.

--
title: Modules/Setup *shared* support broken - Shared modules built with 
Modules/Setup are not found when run from build directory

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



[issue17095] Shared modules built with Modules/Setup are not found when run from build directory

2014-10-18 Thread Stéphane Wirtel

Stéphane Wirtel added the comment:

Thanks Ned

--

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



[issue22666] email.Header no encoding of unicode strings containing newlines

2014-10-18 Thread Flavio Grossi

New submission from Flavio Grossi:

When trying to encode an email header with a newline in it, correct encoding is 
done only for strings and not for unicode strings.
In fact, for unicode strings, encoding is only done if a non ascii character is 
contained in it.

The attached patch should fix the problem.

Simple example to reproduce the problem:
 from email.Header import Header as H

# correctly encoded
 H('two\r\nlines', 'utf-8').encode()
'=?utf-8?q?two=0D=0Alines?='

# unicode string not encoded
 H(u'two\r\nlines', 'utf-8').encode()
'two\r\nlines'

# unicode string with non ascii chars, correctly encoded
 H(u'two\r\nlines and \xe0', 'utf-8').encode()
'=?utf-8?b?dHdvDQpsaW5lcyBhbmQgw6A=?='

--
components: email
files: fix_email_header_encoding_uses_ascii_before_selected_charset.diff
keywords: patch
messages: 229640
nosy: barry, flavio, r.david.murray
priority: normal
severity: normal
status: open
title: email.Header no encoding of unicode strings containing newlines
type: behavior
versions: Python 2.7
Added file: 
http://bugs.python.org/file36959/fix_email_header_encoding_uses_ascii_before_selected_charset.diff

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



[issue13918] locale.atof documentation is missing func argument

2014-10-18 Thread Cédric Krier

Cédric Krier added the comment:

A new version with unittest.

--
Added file: http://bugs.python.org/file36960/delocalize.patch

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



[issue22648] Unable to install Python 3.4.2 amd64 on Windows 8.1

2014-10-18 Thread Steve Dower

Steve Dower added the comment:

Hmm, I'm used to seeing far more detail in verbose logs than that (normally 
they'd be a few hundred KB).

I'm sorry, I don't know how to diagnose this issue. Have you tried clearing 
your internet cache and downloading it again? Maybe try the 32-bit version 
(just to rule out some system configuration issues).

--

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



[issue22645] Unable to install Python 3.4.2 amd64 on Windows 8.1 Update 1

2014-10-18 Thread Steve Dower

Changes by Steve Dower steve.do...@microsoft.com:


--
nosy: +loewis

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



[issue22648] Unable to install Python 3.4.2 amd64 on Windows 8.1

2014-10-18 Thread Martin v . Löwis

Martin v. Löwis added the comment:

2203 is Cannot open database file. System error [3]., with -2147287037 being 
0x80030003, which in turn is  STG_E_PATHNOTFOUND. Could it be that 
C:\Users\pierre\Doocuments\python-3.4.2.amd64.msi is on a SUBSTed drive? 
Installer does not support installing from that location.

--

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



[issue22664] IDLE: Standard output and error from multiprocessing vanishes

2014-10-18 Thread ppperry

Changes by ppperry maprea...@olum.org:


--
nosy: +kbk, roger.serwy, terry.reedy -ppperry

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



[issue13918] locale.atof documentation is missing func argument

2014-10-18 Thread Antoine Pitrou

Antoine Pitrou added the comment:

Thanks for the updated patch, Cédric. Just some remarks:

- the documentation should mention that the return value is still a string
- the documentation needs a versionadded marker next to the new function
- have you already signed the contributor's agreement? otherwise you should 
sign it at https://www.python.org/psf/contrib/contrib-form/

--

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



[issue22664] IDLE: Standard output and error from multiprocessing vanishes

2014-10-18 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

This is a duplicate of issue11820.

--
nosy: +serhiy.storchaka
resolution:  - duplicate
stage:  - resolved
status: open - closed
superseder:  - idle3 shell os.system swallows shell command output

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



[issue22648] Unable to install Python 3.4.2 amd64 on Windows 8.1

2014-10-18 Thread eryksun

eryksun added the comment:

 MSI (c) (C4:24) [08:42:21:565]: Note: 1: 2203 2: 
 C:\Users\pierre\Doocuments\python-3.4.2.amd64.msi 3: 
 -2147287037 

Doocuments is probably a typo. Try again using Documents.

--
nosy: +eryksun

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



[issue12020] Attribute error with flush on stdout,stderr

2014-10-18 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Since 29ba6c399090 stdout and stderr flush upon exit. But any errors on 
flushing were swallowed. Since 4ca497f4819c (issue5319) an error is printed if 
stdout flushing fails.

FlushFile doesn't provide all methods and attributes of io.TextIOBase. But it 
is not required that sys.stdout should be an instance of io.TextIOBase or 
provide the flush() method. I suppose this is either not a bug or documentation 
issue.

--
components:  -Windows
nosy: +pitrou, serhiy.storchaka
versions: +Python 3.4, Python 3.5 -Python 3.2

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



[issue22645] Unable to install Python 3.4.2 amd64 on Windows 8.1 Update 1

2014-10-18 Thread Matthew Barnett

Matthew Barnett added the comment:

@Terry: Just to clarify, I didn't have a problem installing over Python 3.4.1, 
only with uninstalling Python 3.4.1 (with other stuff installed there) and then 
installing Python 3.4.2.

--

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



[issue11820] idle3 shell os.system swallows shell command output

2014-10-18 Thread ppperry

ppperry added the comment:

The same lack of output occurs from processes started via the multiprocessing 
module.

--
nosy: +ppperry
versions: +Python 2.7

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



[issue22638] ssl module: the SSLv3 protocol is vulnerable (POODLE attack)

2014-10-18 Thread Alex Gaynor

Alex Gaynor added the comment:

Benjamin, do you have an opinion on backporting this to 2.7?

--

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



[issue11820] idle3 shell os.system swallows shell command output

2014-10-18 Thread Terry J. Reedy

Terry J. Reedy added the comment:

#22664 (closed as duplicate of this) has ppperry's multiprocessing test example.

--

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



[issue22660] Review ssl docs for security recommendations

2014-10-18 Thread Antoine Pitrou

Antoine Pitrou added the comment:

Here is a patch.

--
keywords: +patch
Added file: http://bugs.python.org/file36961/ssldoc.patch

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



[issue22667] Incorrect evaluation of variables with names containing supplementary characters

2014-10-18 Thread Drekin

New submission from Drekin:

 eval(\N{mathematical double-struck capital a})
NameError: name 'A' is not defined
 A = 2
 eval(\N{mathematical double-struck capital a})
2
 \N{mathematical double-struck capital a} == A
False

--
components: Interpreter Core, Unicode
messages: 229653
nosy: Drekin, ezio.melotti, haypo
priority: normal
severity: normal
status: open
title: Incorrect evaluation of variables with names containing supplementary 
characters
versions: Python 3.4, Python 3.5

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



[issue22667] Incorrect evaluation of variables with names containing supplementary characters

2014-10-18 Thread Benjamin Peterson

Benjamin Peterson added the comment:

Identifier names are normalized.

 unicodedata.normalize(NFKC, \N{mathematical double-struck capital a}) 
 == A
True

--
nosy: +benjamin.peterson
resolution:  - not a bug
status: open - closed

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



[issue22648] Unable to install Python 3.4.2 amd64 on Windows 8.1

2014-10-18 Thread Georg Brandl

Changes by Georg Brandl ge...@python.org:


--
Removed message: http://bugs.python.org/msg229654

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



[issue22648] Unable to install Python 3.4.2 amd64 on Windows 8.1

2014-10-18 Thread Georg Brandl

Georg Brandl added the comment:

Removed the message containing the log. It is making it very clumsy to view 
this issue. Please resubmit as a file attachment.

--

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



[issue22648] Unable to install Python 3.4.2 amd64 on Windows 8.1

2014-10-18 Thread Georg Brandl

Changes by Georg Brandl ge...@python.org:


--
Removed message: http://bugs.python.org/msg229655

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



[issue22648] Unable to install Python 3.4.2 amd64 on Windows 8.1

2014-10-18 Thread Pierre Boulanger

Pierre Boulanger added the comment:

Here is the right log...

--
Added file: http://bugs.python.org/file36962/log.txt

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



[issue22524] PEP 471 implementation: os.scandir() directory scanning function

2014-10-18 Thread Ben Hoyt

Ben Hoyt added the comment:

Attaching updated patch (scandir-2.patch) per Victor's code review here: 
http://bugs.python.org/review/22524/diff/13005/Modules/posixmodule.c

Note that I haven't included test_scandir.py this time, as I haven't made any 
changes there, and it's not really ready for Python 3.5 yet.

--
Added file: http://bugs.python.org/file36963/scandir-2.patch

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



[issue13918] locale.atof documentation is missing func argument

2014-10-18 Thread Cédric Krier

Cédric Krier added the comment:

Add return value is string in doc
Add versionadded
And yes I signed the agreement.

--
Added file: http://bugs.python.org/file36964/delocalize.patch

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



[issue20155] Regression test test_httpservers fails, hangs on Windows

2014-10-18 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 3ffa43e8ab47 by Terry Jan Reedy in branch '2.7':
Issue #20155: Fix non-buildbot test failure on Windows.  Patch by Claudiu Popa,
https://hg.python.org/cpython/rev/3ffa43e8ab47

New changeset 5c0f17063fb8 by Terry Jan Reedy in branch '3.4':
Issue #20155: Fix non-buildbot test failure on Windows.  Patch by Claudiu Popa,
https://hg.python.org/cpython/rev/5c0f17063fb8

--

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



[issue20155] Regression test test_httpservers fails, hangs on Windows

2014-10-18 Thread Terry J. Reedy

Terry J. Reedy added the comment:

Patch fixes failures for me.  Let's hope that change does not fail on other 
systems or buildbots (starting at 21:17 bb time). I will check bbs later.

There seems to be a 2.7 speed issue which looks like a hang until running with 
-v.  On my machine, 2.7 runs 34 tests 40 seconds (consistently), with test_get 
taking 6 seconds.  3.4 runs 45 tests in under 3 seconds, a 15x speedup. I 
attached difflib.Differ output.  David, can you see anything responsible for 
the slowdown.  Should this be ignored?

--
stage: needs patch - resolved

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



[issue20689] socket.AddressFamily is absent in pydoc output

2014-10-18 Thread Roundup Robot

Roundup Robot added the comment:

New changeset f8a8ddf0b070 by Ethan Furman in branch '3.4':
Issue20689: add missing API pieces to __all__
https://hg.python.org/cpython/rev/f8a8ddf0b070

New changeset 7266562c2bb3 by Ethan Furman in branch 'default':
Issue20689: add missing API pieces to __all__
https://hg.python.org/cpython/rev/7266562c2bb3

--
nosy: +python-dev

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



[issue20689] socket.AddressFamily is absent in pydoc output

2014-10-18 Thread Ethan Furman

Changes by Ethan Furman et...@stoneleaf.us:


--
resolution:  - fixed
stage: patch review - resolved
status: open - closed

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



[issue22668] memoryview.format is corrupted due to dangling shared pointer

2014-10-18 Thread Tom Flanagan

New submission from Tom Flanagan:

When slicing or cloning a memoryview object that has been previously cast to 
change its format string, the new memoryview's format shares a pointer to the 
parent's format string, which may be deleted at any time.

This manifests as a corrupt format when using the new memoryview object, 
causing crashes or unexpected behavior.

Tested on:
Python 3.4.0 (default, Apr 11 2014, 13:05:11) [GCC 4.8.2] on linux
Python 3.4.1 (v3.4.1:c0e311e010fc, May 18 2014, 10:45:13) [MSC v.1600 64 bit 
(AMD64)] on win32
Python 3.5.0a0 (default:cb8606fc84df, Oct 18 2014, 14:55:44) [GCC 4.8.2] on 
linux

--
components: Interpreter Core
files: memoryview_bug.py
messages: 229664
nosy: Knio, pitrou, skrah
priority: normal
severity: normal
status: open
title: memoryview.format is corrupted due to dangling shared pointer
type: crash
versions: Python 3.4, Python 3.5, Python 3.6
Added file: http://bugs.python.org/file36965/memoryview_bug.py

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



[issue22668] memoryview.format is corrupted due to dangling shared pointer

2014-10-18 Thread Tom Flanagan

Tom Flanagan added the comment:

Fix memoryview object allocations to copy format string

--
keywords: +patch
Added file: http://bugs.python.org/file36966/22668patch.diff

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



[issue20155] Regression test test_httpservers fails, hangs on Windows

2014-10-18 Thread Terry J. Reedy

Terry J. Reedy added the comment:

I copied the example profile code at the top and bottom of test_get and nearly 
all (7.155 / 7.210) of the time is in _socket.socket.connect, which takes .5 
sec per call.
   147.1550.5117.1550.511 {method 'connect' of _socket.socket' 
objects}
I am guessing that socket, and thence _socket, is imported in HTTPServer. I 
tested whether this diff in class TestServerThread is responsible
- self.server = HTTPServer(('', 0), self.request_handler)
+ self.server = HTTPServer(('localhost', 0), self.request_handler)
but it is not.  Anyone else have other ideas?

--

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



[issue22669] Test_venv fails when _ctypes is not available.

2014-10-18 Thread Terry J. Reedy

New submission from Terry J. Reedy:

For whatever reason, AMD 64 Open Indiana ('stable' buildbot #3) is not building 
ctypes. test_venv fails with
FAIL: test_with_pip (test.test_venv.EnsurePipTest)
--
Traceback (most recent call last):
  File 
/export/home/buildbot/64bits/3.4.cea-indiana-amd64/build/Lib/test/test_venv.py,
 line 356, in test_with_pip
with_pip=True)
subprocess.CalledProcessError: Command '['/tmp/tmp644tt7bi/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 
/export/home/buildbot/64bits/3.4.cea-indiana-amd64/build/Lib/test/test_venv.py,
 line 362, in test_with_pip
self.fail(msg.format(exc, details))
AssertionError: Command '['/tmp/tmp644tt7bi/bin/python', '-Im', 'ensurepip', 
'--upgrade', '--default-pip']' returned non-zero exit status 1

**Subprocess Output**
Traceback (most recent call last):
  File /export/home/buildbot/64bits/3.4.cea-indiana-amd64/build/Lib/runpy.py, 
line 170, in _run_module_as_main
__main__, mod_spec)
  File /export/home/buildbot/64bits/3.4.cea-indiana-amd64/build/Lib/runpy.py, 
line 85, in _run_code
exec(code, run_globals)
  File 
/export/home/buildbot/64bits/3.4.cea-indiana-amd64/build/Lib/ensurepip/__main__.py,
 line 4, in module
ensurepip._main()
  File 
/export/home/buildbot/64bits/3.4.cea-indiana-amd64/build/Lib/ensurepip/__init__.py,
 line 209, in _main
default_pip=args.default_pip,
  File 
/export/home/buildbot/64bits/3.4.cea-indiana-amd64/build/Lib/ensurepip/__init__.py,
 line 116, in bootstrap
_run_pip(args + [p[0] for p in _PROJECTS], additional_paths)
  File 
/export/home/buildbot/64bits/3.4.cea-indiana-amd64/build/Lib/ensurepip/__init__.py,
 line 40, in _run_pip
import pip
  File /tmp/tmp7od_thjv/pip-1.5.6-py2.py3-none-any.whl/pip/__init__.py, line 
9, in module
  File /tmp/tmp7od_thjv/pip-1.5.6-py2.py3-none-any.whl/pip/log.py, line 9, in 
module
  File 
/tmp/tmp7od_thjv/pip-1.5.6-py2.py3-none-any.whl/pip/_vendor/colorama/__init__.py,
 line 2, in module
  File 
/tmp/tmp7od_thjv/pip-1.5.6-py2.py3-none-any.whl/pip/_vendor/colorama/initialise.py,
 line 5, in module
  File 
/tmp/tmp7od_thjv/pip-1.5.6-py2.py3-none-any.whl/pip/_vendor/colorama/ansitowin32.py,
 line 6, in module
  File 
/tmp/tmp7od_thjv/pip-1.5.6-py2.py3-none-any.whl/pip/_vendor/colorama/winterm.py,
 line 2, in module
  File 
/tmp/tmp7od_thjv/pip-1.5.6-py2.py3-none-any.whl/pip/_vendor/colorama/win32.py,
 line 7, in module
  File 
/export/home/buildbot/64bits/3.4.cea-indiana-amd64/build/Lib/ctypes/__init__.py,
 line 7, in module
from _ctypes import Union, Structure, Array
ImportError: No module named '_ctypes'

Since this is not a failure of ensurepip, I think this should instead be a test 
skip.  The easiest thing would be to do what you did with ssl.

--
assignee: vinay.sajip
components: Library (Lib), Tests
messages: 229667
nosy: terry.reedy, vinay.sajip
priority: normal
severity: normal
stage: needs patch
status: open
title: Test_venv fails when _ctypes is not available.
type: behavior
versions: Python 3.5, Python 3.6

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



[issue22669] Test_venv fails when _ctypes is not available.

2014-10-18 Thread Ned Deily

Ned Deily added the comment:

This is a duplicate of Issue22611.

--
nosy: +dstufft, ned.deily
resolution:  - duplicate
stage: needs patch - resolved
status: open - closed
superseder:  - pip needs ctypes

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