[issue1617161] Instance methods compare equal when their self's are equal

2014-03-12 Thread Westley Martínez

Westley Martínez added the comment:

I updated the tests to be in sync, but the implementation of the fix is not so 
trivial.  The conversion from cmp() to rich comparison is the primary culprit, 
so it will take time for me to get familiar enough with the C source to update 
the fix.  I couldn't seem to get the patch to apply even to the 2.x branch (I 
think it's because it's an SVN patch...) to see if the fix actually works.

That said, this enhancement is so old that it might not warrant a fix at all.  
Maybe it should be brought up on python-dev?

--
Added file: http://bugs.python.org/file34367/1617161_test_update.diff

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



[issue19627] python open built-in function - updating is not defined

2014-03-12 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 1f823c1559bd by Éric Araujo in branch '2.7':
Define what “updating” means in docs for open (#19627).
http://hg.python.org/cpython/rev/1f823c1559bd

--
nosy: +python-dev

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



[issue19627] python open built-in function - updating is not defined

2014-03-12 Thread Éric Araujo

Éric Araujo added the comment:

Edited slightly and committed, thank you!

--
assignee: docs@python - eric.araujo
resolution:  - fixed
stage: needs patch - committed/rejected

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



[issue20135] FAQ need list mutation answers

2014-03-12 Thread Éric Araujo

Éric Araujo added the comment:

I agree; if someone goes to the docs, “Programming FAQ” looks more enticing 
than “Design and History”.

--

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



[issue20627] Add context manager support to xmlrpc.client.ServerProxy

2014-03-12 Thread Éric Araujo

Éric Araujo added the comment:

Looks good to me; left some comments on Rietveld.

--

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



[issue809163] Can't add files with spaces

2014-03-12 Thread Éric Araujo

Éric Araujo added the comment:

Previous comment: “If there is a way to make rpm read one line at a time, we 
should use it.”

If there isn’t such an option, and if sed is guaranteed to be installed on 
rpm-based systems, we can try the sed script.

--

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



[issue4931] distutils does not show any error msg when can't build C module extensions due to a missing C compiler

2014-03-12 Thread Roundup Robot

Roundup Robot added the comment:

New changeset a865f6fb82b4 by Éric Araujo in branch '2.7':
Avoid “error: None” messages from distutils (#4931).
http://hg.python.org/cpython/rev/a865f6fb82b4

--
nosy: +python-dev

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



[issue4931] distutils does not show any error msg when can't build C module extensions due to a missing C compiler

2014-03-12 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 0f1237b61f58 by Éric Araujo in branch '2.7':
Restore missing part of error message (#4931)
http://hg.python.org/cpython/rev/0f1237b61f58

--

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



[issue16104] Use multiprocessing in compileall script

2014-03-12 Thread Claudiu.Popa

Claudiu.Popa added the comment:

Thank you for the review, Éric! Here's the updated patch.

--
Added file: http://bugs.python.org/file34368/issue16104_1.patch

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



[issue19627] python open built-in function - updating is not defined

2014-03-12 Thread Georg Brandl

Georg Brandl added the comment:

Can this be closed?

--
nosy: +georg.brandl

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



[issue19627] python open built-in function - updating is not defined

2014-03-12 Thread Éric Araujo

Changes by Éric Araujo mer...@netwok.org:


--
status: open - closed

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



[issue1222585] C++ compilation support for distutils

2014-03-12 Thread Éric Araujo

Éric Araujo added the comment:

Now that distutils2 development is stopped and that distutils is no longer 
under a feature freeze, this is a reasonable thing to add to 3.5.  Thanks for 
your efforts Arfrever, and sorry you had to port and maintain this to so many 
different versions.

--
components: +Distutils -Distutils2
keywords:  -easy
versions: +Python 3.5 -3rd party, Python 3.3

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



[issue20853] pdb args crashes when an arg is not printable

2014-03-12 Thread Jurjen N.E. Bos

Jurjen N.E. Bos added the comment:

Thanks for your reaction.
The object is not printable, since I was debugging an __init__ of an object, 
and some fields where being initialized:
class foo:
   def __init__(self):
  foo.bar = hello
   def repr(self): return foo.bar
I tried to make a useable patch file (with neater layout and using Exeption), 
see attach.

--
keywords: +patch
Added file: http://bugs.python.org/file34369/pdb.patch

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



[issue4931] distutils does not show any error msg when can't build C module extensions due to a missing C compiler

2014-03-12 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 504eb00998f2 by Éric Araujo in branch '3.3':
Avoid “error: None” messages from distutils (#4931).
http://hg.python.org/cpython/rev/504eb00998f2

New changeset c7bd0f953687 by Éric Araujo in branch 'default':
Merge 3.3 (#4931)
http://hg.python.org/cpython/rev/c7bd0f953687

--

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



[issue20853] pdb args crashes when an arg is not printable

2014-03-12 Thread Jurjen N.E. Bos

Jurjen N.E. Bos added the comment:

Oops. Here the correct example:
 class foo:
...   def __init__(self):
... foo.bar = hello
...   def __repr__(self): return foo.bar
...
 pdb.runcall(foo)
 stdin(3)__init__()
(Pdb) a
Traceback (most recent call last):
  File .\pdb.py, line 1132, in do_args
self.message('%s = %r' % (name, dict[name]))
  File stdin, line 4, in __repr__
AttributeError: type object 'foo' has no attribute 'bar'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File stdin, line 1, in module
  File .\pdb.py, line 1580, in runcall
return Pdb().runcall(*args, **kwds)
  File C:\Python33\lib\bdb.py, line 439, in runcall
res = func(*args, **kwds)
  File stdin, line 3, in __init__
  File stdin, line 3, in __init__
  File C:\Python33\lib\bdb.py, line 47, in trace_dispatch
return self.dispatch_line(frame)
  File C:\Python33\lib\bdb.py, line 65, in dispatch_line
self.user_line(frame)
  File .\pdb.py, line 266, in user_line
self.interaction(frame, None)
  File .\pdb.py, line 345, in interaction
self._cmdloop()
  File .\pdb.py, line 318, in _cmdloop
self.cmdloop()
  File C:\Python33\lib\cmd.py, line 138, in cmdloop
stop = self.onecmd(line)
  File .\pdb.py, line 411, in onecmd
return cmd.Cmd.onecmd(self, line)
  File C:\Python33\lib\cmd.py, line 217, in onecmd
return func(arg)
  File .\pdb.py, line 1134, in do_args
self.message('%s = *** repr failed: %s ***' % (name,))
TypeError: not enough arguments for format string

At least, I expect pdb to not crash, but a clearer error (as in the patch) is 
nice to have.

--

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



[issue19549] PKG-INFO is created with CRLF on Windows

2014-03-12 Thread Éric Araujo

Éric Araujo added the comment:

The docs and PEPs only define the PKG-INFO file as “a set of RFC 822-style 
headers”.  Character encoding was defined later to be UTF-8; there is no 
mention of explicit choice of platform-consistent or cross-platform linefeeds.

Are there tools out there that suffer from the use of CRLF in PKG-INFO files?  
If not, I’ll close this as invalid: the behavior does not contradict the 
documentation.

--
nosy: +dholth, ncoghlan
versions:  -Python 2.7, Python 3.4, Python 3.5

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



[issue19394] distutils.core.Extension: empty strings in library_dirs and include_dirs should not be allowed

2014-03-12 Thread Éric Araujo

Éric Araujo added the comment:

Thanks for the report.  What fix do you suggest?  Printing an error if empty 
strings are passed for include/library_dirs?

--

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



[issue20853] pdb args crashes when an arg is not printable

2014-03-12 Thread Jurjen N.E. Bos

Jurjen N.E. Bos added the comment:

I am not good at this. Sorry for the mess.
Here is a good example, and a good patch:
 class foo:
...   def __init__(self):
... foo.bar = hello
...   def __repr__(self): return foo.bar
...
 pdb.runcall(foo)
Traceback (most recent call last):
  File stdin, line 1, in module
NameError: name 'pdb' is not defined
 import pdb
 pdb.runcall(foo)
 stdin(3)__init__()
(Pdb) a
Traceback (most recent call last):
  File stdin, line 1, in module
  File C:\Python33\lib\pdb.py, line 1577, in runcall
return Pdb().runcall(*args, **kwds)
  File C:\Python33\lib\bdb.py, line 439, in runcall
res = func(*args, **kwds)
  File stdin, line 3, in __init__
  File stdin, line 3, in __init__
  File C:\Python33\lib\bdb.py, line 47, in trace_dispatch
return self.dispatch_line(frame)
  File C:\Python33\lib\bdb.py, line 65, in dispatch_line
self.user_line(frame)
  File C:\Python33\lib\pdb.py, line 266, in user_line
self.interaction(frame, None)
  File C:\Python33\lib\pdb.py, line 345, in interaction
self._cmdloop()
  File C:\Python33\lib\pdb.py, line 318, in _cmdloop
self.cmdloop()
  File C:\Python33\lib\cmd.py, line 138, in cmdloop
stop = self.onecmd(line)
  File C:\Python33\lib\pdb.py, line 411, in onecmd
return cmd.Cmd.onecmd(self, line)
  File C:\Python33\lib\cmd.py, line 217, in onecmd
return func(arg)
  File C:\Python33\lib\pdb.py, line 1131, in do_args
self.message('%s = %r' % (name, dict[name]))
  File stdin, line 4, in __repr__
AttributeError: type object 'foo' has no attribute 'bar'

--
Added file: http://bugs.python.org/file34370/pdb.patch

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



[issue14270] Can't install a project in a specific directory

2014-03-12 Thread Éric Araujo

Éric Araujo added the comment:

pysetup was replaced by pip as official installer.  This issue may affect 
distlib.

--
nosy: +vinay.sajip
resolution:  - out of date
stage: test needed - committed/rejected
status: open - closed

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



[issue4931] distutils does not show any error msg when can't build C module extensions due to a missing C compiler

2014-03-12 Thread Éric Araujo

Éric Araujo added the comment:

Happy to close this as fixed.

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

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



[issue5342] packaging: add tests for old versions cleanup on update

2014-03-12 Thread Éric Araujo

Éric Araujo added the comment:

packaging is not developped anymore.  The issue described here may be relevant 
for projects like wheel, distlib or pip.

--
resolution:  - out of date
stage: test needed - committed/rejected
status: open - closed

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



[issue12944] Accept arbitrary files for packaging's upload command

2014-03-12 Thread Éric Araujo

Changes by Éric Araujo mer...@netwok.org:


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

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



[issue12944] Accept arbitrary files for distutils' upload command

2014-03-12 Thread Éric Araujo

Éric Araujo added the comment:

With the lift of the distutils feature freeze decided at PyCon 2013, this 
feature request could be done for 3.5.

--
title: Accept arbitrary files for packaging's upload command - Accept 
arbitrary files for distutils' upload command
versions: +Python 3.5 -Python 3.4

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



[issue17574] pysetup failing with OSError: [Errno 18] Invalid cross-device link.

2014-03-12 Thread Éric Araujo

Changes by Éric Araujo mer...@netwok.org:


--
resolution:  - out of date
stage:  - committed/rejected
status: open - closed
type: crash - behavior
versions:  -Python 2.7

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



[issue17640] from distutils.util import byte_compile hangs

2014-03-12 Thread Éric Araujo

Éric Araujo added the comment:

Can’t reproduce (linux 3.12).  If someone on FreeBSD can reproduce the bug, 
please reopen this ticket.

--
resolution:  - works for me
stage:  - committed/rejected
status: open - closed

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



[issue18045] get_python_version is not import in bdist_rpm.py

2014-03-12 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 677327810121 by Éric Araujo in branch '2.7':
Fix missing import in bdist_rpm (#18045)
http://hg.python.org/cpython/rev/677327810121

--
nosy: +python-dev

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



[issue18045] get_python_version is not import in bdist_rpm.py

2014-03-12 Thread Éric Araujo

Éric Araujo added the comment:

Thanks for the report and patches.

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

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



[issue18970] run_setup() behavior differs from cli invocation of setup.py

2014-03-12 Thread Éric Araujo

Éric Araujo added the comment:

 The principle of least surprise suggests that run_setup() should behave 
 equivalently
 to a command line invocation of setup.py.

That’s debatable: distutils.core.setup corresponds to a command-line invocation 
of setup.py, but run_setup is documented as something else: 
http://docs.python.org/3.4/distutils/apiref#distutils.core.run_setup

In general, distutils lends itself poorly to programmatic usage.  Can you tell 
more about your use case for calling run_setup directly?

 Many setup.py scripts use the idiomatic 'conditional script' stanza
 if __name__ == '__main__'.

That’s surprising to me: setup.py scripts are not 
modules-that-also-work-as-scripts, only scripts.

--
versions:  -Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 
3.4

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



[issue16326] distutils build_ext fails to set library_dirs in 2.7.2 on Linux

2014-03-12 Thread Éric Araujo

Éric Araujo added the comment:

FTR a patch in #18976 is said to also fix this one.

--

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



[issue14894] distutils.LooseVersion fails to compare number and a word

2014-03-12 Thread Éric Araujo

Éric Araujo added the comment:

I’m still torn between improving this as best as we can and waiting for clean 
new spec and code.  Last PyCon Nick said he had a PEP in mind to specify how 
distutils would be updated to support new standards; I think we’ll revisit this 
issue when that policy exists.

--
nosy: +ncoghlan
versions: +Python 3.4 -Python 3.2

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



[issue14915] pysetup3.3 install is case insensitive, remove is case sensitive

2014-03-12 Thread Éric Araujo

Changes by Éric Araujo mer...@netwok.org:


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

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



[issue10530] distutils2 should allow the installing of python files with invalid syntax

2014-03-12 Thread Éric Araujo

Éric Araujo added the comment:

This is now irrelevant, unless it also applies to distutils (in which case, 
please reopen).

--
assignee: tarek - eric.araujo
resolution:  - out of date
stage: needs patch - committed/rejected
status: open - closed

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



[issue11416] netrc module does not handle multiple entries for a single host

2014-03-12 Thread Lucas Hoffmann

Lucas Hoffmann added the comment:

What is the status of this issue?

On version 3.3 I still can not get more than one entry per host.  The stopping 
issue #12009 seems to be closed.

(Sorry, if I violate some etiquette by bumping this, just tell me.)

--
nosy: +luc

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



[issue20884] importlib/__init__.py can not be loaded without __file__ - breaks cxFreeze

2014-03-12 Thread Jurko Gospodnetić

Jurko Gospodnetić added the comment:

As mentioned by Anthony Tuininga at:

  
https://bitbucket.org/anthony_tuininga/cx_freeze/issue/61/python-340-nameerror-name-__file__-is-not#comment-9077661

The value of __file__ in the problematic importlib/__init__.py
module with Python 3.3. is 'frozen' while with Python 3.4 it is
not defined.

And this 'frozen' string seems to be something coming from Python
and not cx_Freeze (I see it in 'Python/import.c' in both Python
3.3.5  3.4).

Hope this helps.

Best regards,
  Jurko Gospodnetić

--

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



[issue13198] Remove duplicate definition of write_record_file

2014-03-12 Thread Éric Araujo

Éric Araujo added the comment:

wheel/distlib/pip don’t have the same code, and if they had the same issue it 
would probably be found by a user.  Closing.

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

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



[issue13175] packaging uses wrong line endings in RECORD files on Windows

2014-03-12 Thread Éric Araujo

Éric Araujo added the comment:

This issue is now obsolete for distutils2.  Other projects that write RECORD 
files are hopefully more robust in their code and tests.

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

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



[issue12703] Improve error reporting for packaging.util.resolve_name

2014-03-12 Thread Éric Araujo

Éric Araujo added the comment:

This is now obsolete.  For a discussion about moving resolve_name to another 
part of the stdlib, see #12915.

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

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



[issue20894] COMSPEC with multiple paths breaks subprocess.call

2014-03-12 Thread Elja van Tol

New submission from Elja van Tol:

I tried a simple console command:
 import subprocess
 subprocess.call([dir], shell=True)

Which failed with an WindowsError 2, (could not find file)

After much googling i found out that this is caused by os.environ['COMSPEC']
(http://stackoverflow.com/questions/20330385/cannot-find-the-file-specified-when-using-subprocess-calldir-shell-true-in#comment30370433_20335954)

At first my COMSPEC was:
C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common 
Files\Intel\WirelessCommon\;C:\Users\welja\AppData\Roaming\Composer\vendor\phpunit\phpunit;C:\Python27;

I added ;%SystemRoot%\System32\cmd.exe but that failed.

I then changed COMSPEC to only contain %SystemRoot%\System32\cmd.exe and that 
worked.

( Please fix this for others like me, users stuck on windows with no knowlegde 
of Python who just try to get Fabric to work to deploy some PHP sites :) )

--
components: Windows
messages: 213234
nosy: elja
priority: normal
severity: normal
status: open
title: COMSPEC with multiple paths breaks subprocess.call
type: behavior
versions: Python 2.7

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



[issue15231] update PyPI upload doc to say --no-raw passed to rst2html.py

2014-03-12 Thread Éric Araujo

Éric Araujo added the comment:

There’s no more distutils2 to port to, so this is done.

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

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



[issue15266] Perform the same checks as PyPI for Description field

2014-03-12 Thread Éric Araujo

Éric Araujo added the comment:

Reclassifying as distutils feature request.

--
assignee: eric.araujo - 
components: +Distutils -Distutils2
versions: +Python 3.5 -3rd party

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



[issue14949] Documentation should state clearly the differences between pysetup run install_dist and pysetup install

2014-03-12 Thread Éric Araujo

Éric Araujo added the comment:

This is now obsolete.  The new packaging guide will hopefully make a clear 
distinction between “setup.py install” and “pip install”, and future 
developments may altogether remove “setup.py install”.

--
nosy: +ncoghlan
resolution:  - out of date
stage:  - committed/rejected
status: open - closed

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



[issue14858] 'pysetup create' off-by-one when choosing classification maturity status interactively.

2014-03-12 Thread Éric Araujo

Éric Araujo added the comment:

distutils2 is replaced by other projects.

--
resolution:  - out of date
stage: test needed - committed/rejected
status: open - closed

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



[issue13399] Don't print traceback for unrecognized actions, commands and options in packaging

2014-03-12 Thread Éric Araujo

Changes by Éric Araujo mer...@netwok.org:


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

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



[issue14275] pysetup create doesn't handle install requirements

2014-03-12 Thread Éric Araujo

Changes by Éric Araujo mer...@netwok.org:


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

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



[issue1703178] link_objects in setup.cfg crashes build

2014-03-12 Thread Éric Araujo

Changes by Éric Araujo mer...@netwok.org:


--
components:  -Distutils2
versions: +Python 3.4 -3rd party, Python 3.2

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



[issue13160] Rename install_dist to install

2014-03-12 Thread Éric Araujo

Changes by Éric Araujo mer...@netwok.org:


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

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



[issue16037] httplib: header parsing is unlimited

2014-03-12 Thread Cory Benfield

Changes by Cory Benfield c...@lukasa.co.uk:


--
nosy: +Lukasa

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



[issue13331] Packaging cannot install resource directory trees specified in setup.cfg

2014-03-12 Thread Éric Araujo

Éric Araujo added the comment:

This is an issue for d2to1 / pbr / a new wheel PEP.

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

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



[issue16037] httplib: header parsing is unlimited

2014-03-12 Thread Cory Benfield

Cory Benfield added the comment:

I presume Barry's disinclination to merge this to 2.6 with a new exception 
applies equally to 2.7, which is why this hasn't been merged to 2.7 yet?

I'm happy to review an updated 2.7 patch that raises an HTTPException if that's 
what we need to keep this moving.

--

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



[issue11637] Add cwd to sys.path for hooks

2014-03-12 Thread Éric Araujo

Éric Araujo added the comment:

No more relevant for distutils2; to be kept in mind for metadata 2.x hooks 
implementations.

--
nosy: +ncoghlan
resolution:  - out of date
stage: commit review - committed/rejected
status: open - closed

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



[issue12377] Clean up use of packages_root/package_dir

2014-03-12 Thread Éric Araujo

Changes by Éric Araujo mer...@netwok.org:


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

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



[issue12375] Add packages_root to sys.path for hooks

2014-03-12 Thread Éric Araujo

Changes by Éric Araujo mer...@netwok.org:


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

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



[issue20895] Add bytes.empty_buffer and deprecate bytes(17) for the same purpose

2014-03-12 Thread Ethan Furman

New submission from Ethan Furman:

`bytes` is a list of integers.  Passing a single integer to `bytes()`, as in:

   -- bytes(7)
   b'\x00\x00\x00\x00\x00\x00\x00'

results in a bytes object containing that many zeroes.

I propose that this behavior be deprecated for eventual removal, and a class 
method be created to take its place.

--
components: Interpreter Core
messages: 213242
nosy: ethan.furman
priority: normal
severity: normal
status: open
title: Add bytes.empty_buffer and deprecate bytes(17) for the same purpose
type: behavior
versions: Python 3.5

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



[issue12933] Update or remove claims that distutils requires external programs

2014-03-12 Thread Éric Araujo

Changes by Éric Araujo mer...@netwok.org:


--
versions: +Python 3.4 -Python 3.2

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



[issue18321] Multivolume support in tarfile module

2014-03-12 Thread Lars Gustäbel

Lars Gustäbel added the comment:

 It's also consistent with how the tar command works afaik, just listing the 
 contents of the current volume.

No, GNU tar operates on the entirety of the archive and asks for the filename 
of the subsequent volume every time it hits eof in the current volume.

 You don't want to directly do a plain open in there, because you want to be 
 able to deal with read/write modes, with gzip/bzip/Stream class.

The example I gave is based on the idea that there is a TarVolumeSet class in 
the tarfile module that implements all the required file-object methods (e.g.  
read(), write(), seek(), etc.) and acts as if the sequence of volumes is 
actually one big file. It is passed to tarfile.open() as the fileobj argument. 
This TarVolumeSet class is supposed to be subclassable to let the user 
implement her/his own mode of operation. This way the open_volume() method can 
do whatever the user wants it to do. The TarVolumeSet class might as well have 
a new_volume() method for writing multivol archives, the example only covered 
the case of reading a multivol archive.

BTW, my version of GNU tar refuses to create compressed multiple-volume 
archives which is why I doubt the usefulness of this feature overall.

 [...] because a multivol tarfile is not exactly the same as a normal tarfile 
 chopped up.

No, I think it is exactly that. The only purpose of the GNUTYPE_MULTIVOL header 
that is at the start of each subsequent volume is to give GNU tar the ability 
to detect if it is reading the correct volume. It is not essential and could as 
well be left out.

--

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



[issue7219] Unhelpful error message when a distutils package install fails due to a permissions error

2014-03-12 Thread Éric Araujo

Éric Araujo added the comment:

The fix for #4931 may also fix this bug.  The patch should be changed to remove 
the code changes and adapt the tests.

--
components:  -Distutils2
versions: +Python 3.4 -3rd party, Python 3.2

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



[issue12900] Use universal newlines mode for setup.cfg

2014-03-12 Thread Éric Araujo

Changes by Éric Araujo mer...@netwok.org:


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

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



[issue9281] Race condition in distutils.dir_util.mkpath

2014-03-12 Thread Éric Araujo

Changes by Éric Araujo mer...@netwok.org:


--
components: +Distutils -Distutils2
resolution: accepted - fixed
stage: needs patch - committed/rejected
status: open - closed
title: Race condition with mkdir/makedirs in distutils2 - Race condition in 
distutils.dir_util.mkpath
versions: +Python 2.7, Python 3.1, Python 3.2 -3rd party

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



[issue14002] AttributeError in distutils2.pypi.wrapper

2014-03-12 Thread Éric Araujo

Changes by Éric Araujo mer...@netwok.org:


--
resolution:  - out of date
stage: test needed - committed/rejected
status: open - closed

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



[issue14778] logging messages about bad version numbers should include the project name

2014-03-12 Thread Éric Araujo

Éric Araujo added the comment:

distutils2 development has stopped.

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

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



[issue13178] Need tests for Unicode handling in install_distinfo and install_data

2014-03-12 Thread Éric Araujo

Changes by Éric Araujo mer...@netwok.org:


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

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



[issue12302] packaging test command needs access to .dist-info

2014-03-12 Thread Éric Araujo

Changes by Éric Araujo mer...@netwok.org:


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

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



[issue12344] Add **kwargs to reinitialize_command

2014-03-12 Thread Éric Araujo

Changes by Éric Araujo mer...@netwok.org:


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

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



[issue20895] Add bytes.empty_buffer and deprecate bytes(17) for the same purpose

2014-03-12 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Class method is not needed. This is just b'\0' * 7.

--
nosy: +serhiy.storchaka

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



[issue11416] netrc module does not handle multiple entries for a single host

2014-03-12 Thread Éric Araujo

Éric Araujo added the comment:

This patch hasn’t been committed.  The comment before yours says that it needs 
to be edited a bit.

--

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



[issue20896] test_ssl.test_get_server_certificate() is failing: CA cert of svn.python.org changed?

2014-03-12 Thread STINNER Victor

New submission from STINNER Victor:

==
ERROR: test_get_server_certificate (test.test_ssl.NetworkedTests)
--
Traceback (most recent call last):
  File /home/haypo/prog/python/default/Lib/test/test_ssl.py, line 1373, in 
test_get_server_certificate
_test_get_server_certificate('svn.python.org', 443, 
SVN_PYTHON_ORG_ROOT_CERT)
  File /home/haypo/prog/python/default/Lib/test/test_ssl.py, line 1354, in 
_test_get_server_certificate
pem = ssl.get_server_certificate((host, port))
  File /home/haypo/prog/python/default/Lib/ssl.py, line 902, in 
get_server_certificate
with context.wrap_socket(sock) as sslsock:
  File /home/haypo/prog/python/default/Lib/ssl.py, line 344, in wrap_socket
_context=self)
  File /home/haypo/prog/python/default/Lib/ssl.py, line 540, in __init__
self.do_handshake()
  File /home/haypo/prog/python/default/Lib/ssl.py, line 767, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake 
failure (_ssl.c:598)

--

Extract of the current CA cert of svn.python.org:
---
$ openssl x509 -in Lib/test/https_svn_python_org_root.pem -text
Certificate:
Data:
Version: 3 (0x2)
Serial Number: 0 (0x0)
Signature Algorithm: md5WithRSAEncryption
Issuer: O=Root CA, OU=http://www.cacert.org, CN=CA Cert Signing 
Authority/emailAddress=supp...@cacert.org
Validity
Not Before: Mar 30 12:29:49 2003 GMT
Not After : Mar 29 12:29:49 2033 GMT
Subject: O=Root CA, OU=http://www.cacert.org, CN=CA Cert Signing 
Authority/emailAddress=supp...@cacert.org
...
---

Lib/test/https_svn_python_org_root.pem is identical to 
http://www.cacert.org/certs/root.crt: root certificate of cacert.org authority.

--
messages: 213248
nosy: haypo, pitrou
priority: normal
severity: normal
status: open
title: test_ssl.test_get_server_certificate() is failing: CA cert of 
svn.python.org changed?

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



[issue20896] test_ssl.test_get_server_certificate() is failing: CA cert of svn.python.org changed?

2014-03-12 Thread STINNER Victor

STINNER Victor added the comment:

Debug with OpenSSL command line:

$ openssl s_client -connect svn.python.org:443 -CAfile 
Lib/test/https_svn_python_org_root.pem 
CONNECTED(0003)
depth=1 O = Root CA, OU = http://www.cacert.org, CN = CA Cert Signing 
Authority, emailAddress = supp...@cacert.org
verify return:1
depth=0 CN = svn.python.org
verify return:1
---
Certificate chain
 0 s:/CN=svn.python.org
   i:/O=Root CA/OU=http://www.cacert.org/CN=CA Cert Signing 
Authority/emailAddress=supp...@cacert.org
---
Server certificate
-BEGIN CERTIFICATE-
MIIEzzCCAregAwIBAgIDDkGJMA0GCSqGSIb3DQEBBQUAMHkxEDAOBgNVBAoTB1Jv
b3QgQ0ExHjAcBgNVBAsTFWh0dHA6Ly93d3cuY2FjZXJ0Lm9yZzEiMCAGA1UEAxMZ
Q0EgQ2VydCBTaWduaW5nIEF1dGhvcml0eTEhMB8GCSqGSIb3DQEJARYSc3VwcG9y
dEBjYWNlcnQub3JnMB4XDTEzMTIyNDIwMjgzMloXDTE1MTIyNDIwMjgzMlowGTEX
MBUGA1UEAxMOc3ZuLnB5dGhvbi5vcmcwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAw
ggEKAoIBAQDM6un3wTW9+HVJ7KC+/GwL0KAxehug0tw2YoSSX+TGxLyr9AUtBHQk
hCNWhRLewa0WMOY6hxIIQY1Hp6vreDiCbBehjVkEAydlKBzaAsgYCEbCC/ZaMzhv
aaFAiLVeaxAKJsBGUJNz5hGgzd67A6SGz+XK7qDWig4NR5eFrsr3DvjyEM7txMiG
gftGWLkadOuqUQsI20AykBGi+RxmrQIwqO2svGmje89DsWVILdP37PssM2zqRonh
4fUKooei3L43tXbTdHayXc9NtFS7q8T4eUlyWaD+BtP80QQOQFFvi+qZpme9bmYI
7YPX+e86lZtxAKM9nWrP93qc+2nS0MsHAgMBAAGjgb8wgbwwDAYDVR0TAQH/BAIw
ADAOBgNVHQ8BAf8EBAMCA6gwNAYDVR0lBC0wKwYIKwYBBQUHAwIGCCsGAQUFBwMB
BglghkgBhvhCBAEGCisGAQQBgjcKAwMwMwYIKwYBBQUHAQEEJzAlMCMGCCsGAQUF
BzABhhdodHRwOi8vb2NzcC5jYWNlcnQub3JnLzAxBgNVHR8EKjAoMCagJKAihiBo
dHRwOi8vY3JsLmNhY2VydC5vcmcvcmV2b2tlLmNybDANBgkqhkiG9w0BAQUFAAOC
AgEAvq2TlM5voqqwlfbEIwdNM3RlqHattH/h2Pqkr5FV6nynhcNyP9wBJyS5mdlt
+tj1Fy6oV+iN0s8VglrwhsmYN2pbJkCJZcNgrhFTiOvZ3HJ0jxkQ8TaROfcH1RnZ
q45DcbSnryiIDBQNYxmUf/bE6Ce+48fiOJpTRtrC8iWfz4J/JHYZ5FVKx+SsC67o
E1iCT2/r1PSvzTg/bohL1kX6Aj3H3UqlXDuDybyHRrTn9kUwCgXK2h4x/qae6xjo
Gy++gtzg4XlJEAh65znJ2RlAYi3lvhCls+viR5vSIXBEXmBPFNonGnPtGRyx6Tii
5ncSUP+bp6aaRZb0qEi0k1R5XYPt5Hm7T/h4IOAKlx7gPMMLOXqbrlWpjgwhfysI
f/KkgGBq7nTsC6WeaW/QUQtdXqWULrK+nINY+s/CRX5UxdAWpqMxqgNkP3zef9yO
etgfpR+6NArjiLNcfJO2yGZTcXn1H2gewTcxwmc+QVWday9HcS3paMpot8BwWUpI
LzOLGTeNH+rQCUAKJHAiK3Ogee+hka4icIN7cKOIIVfZ/XBj1Ex7zjc3j72axNba
S1buqvrm12YCE5+xAjYwU/Nrl4HNFKCoPW7qfEaEuwp49pieAIOnXa82rCh/UdAv
dSj5JpEvxjTuZdVfbk2VUc/z2OeLzFlrQRJsOt1MisY0Aoc=
-END CERTIFICATE-
subject=/CN=svn.python.org
issuer=/O=Root CA/OU=http://www.cacert.org/CN=CA Cert Signing 
Authority/emailAddress=supp...@cacert.org
---
No client certificate CA names sent
---
SSL handshake has read 2112 bytes and written 439 bytes
---
New, TLSv1/SSLv3, Cipher is DHE-RSA-AES256-GCM-SHA384
Server public key is 2048 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
SSL-Session:
Protocol  : TLSv1.2
Cipher: DHE-RSA-AES256-GCM-SHA384
Session-ID: A8A1C5EC36ACD8FF0120271C1F16BDE7720FD0DC69871D1BE394A22309C09FE5
Session-ID-ctx: 
Master-Key: 
EF899D1961B522E380366F8832E7DF72AB56B9D76388B80A907637E2948D94514CADE5885CA3AF11B40F43E14F42ED92
Key-Arg   : None
Krb5 Principal: None
PSK identity: None
PSK identity hint: None
TLS session ticket lifetime hint: 300 (seconds)
TLS session ticket:
 - 7f 00 da de 6a a5 79 fa-9e 83 e8 20 1c 75 ef 54   j.y .u.T
0010 - 34 43 3a 0a 50 0c f7 00-31 79 02 38 9f 8e 49 d6   4C:.P...1y.8..I.
0020 - f1 25 57 c7 4f 97 f3 3a-a3 fa 8b 1b 8a 3b 5f e9   .%W.O..:.;_.
0030 - 6b ba 89 e1 db ba a4 e2-1d 3c f6 e4 cf d6 2f 54   k/T
0040 - 82 4f 24 1c 93 44 c3 ff-79 3d 67 34 27 48 34 db   .O$..D..y=g4'H4.
0050 - 5b b4 a2 30 5b 16 e7 b5-ba ee 89 0a c5 89 a9 9a   [..0[...
0060 - fe 32 77 23 b3 b5 b4 fb-63 b5 87 d4 20 b2 18 7f   .2w#c... ...
0070 - 45 4e e6 f5 6f bd f4 24-80 b3 37 fd b5 83 2e 87   EN..o..$..7.
0080 - a1 b2 bb 4f b0 e3 7a 28-26 4a 71 3a 92 5e d1 aa   ...O..z(Jq:.^..
0090 - be 77 67 79 ad ea d0 c8-d4 d2 8a 44 f0 f5 ec c5   .wgy...D
00a0 - 00 0b 5b 82 c1 51 45 ef-d0 6c fb 03 46 3f b1 e2   ..[..QE..l..F?..
00b0 - 54 f8 27 4b 8f a0 e0 2e-7b 4f d8 42 29 76 74 b3   T.'K{O.B)vt.

Start Time: 1394623442
Timeout   : 300 (sec)
Verify return code: 0 (ok)
---

--

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



[issue20896] test_ssl.test_get_server_certificate() is failing: CA cert of svn.python.org changed?

2014-03-12 Thread STINNER Victor

STINNER Victor added the comment:

Script to reproduce the issue:
---
import ssl
pem = ssl.get_server_certificate(('svn.python.org', 443), 
ca_certs=Lib/test/https_svn_python_org_root.pem)
print(PEM: %r % pem)
---

It looks the handshake fails if like with PROTOCOL_SSLv3 which is the default 
protocol, but works with PROTOCOL_SSLv23.

_create_stdlib_context(), SSLContext and wrap_socket use PROTOCOL_SSLv23 which 
is said to be the the most compatibility with other versions protocol. Why 
get_server_certificate() uses PROTOCOL_SSLv3?

get_server_certificate() was added in 2007 by changeset 9041965a92f2 and it 
uses PROTOCOL_SSLv3 since this version.

openssl s_client says that the server speaks TLSv1.2 which is the most recent 
TLS version and probably the most secure. Is it possible somehow to try 
TLSv1.2, and then fallback to other versions if the latest version is not 
supported?

For the initial issue, it looks like a change at server side (svn.python.org), 
I don't think that ssl module, the unit test or the certificate of the 
authority changed recently. The python.org website has been changed recently.

--
nosy: +christian.heimes

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



[issue20896] test_ssl.test_get_server_certificate() is failing: CA cert of svn.python.org changed?

2014-03-12 Thread koobs

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


--
nosy: +koobs

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



[issue20896] test_ssl.test_get_server_certificate() is failing: CA cert of svn.python.org changed?

2014-03-12 Thread Roundup Robot

Roundup Robot added the comment:

New changeset c13398566409 by Victor Stinner in branch 'default':
Issue #20896: Workaround the bug temporarely to fix buildbots
http://hg.python.org/cpython/rev/c13398566409

--
nosy: +python-dev

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



[issue19060] docs: note that subprocess doesn't replace os.exec*

2014-03-12 Thread Anastasia.Filatova

Anastasia.Filatova added the comment:

David, Terry, thank you for my patch review. I took into consideration your 
comments and corrected text for specified versions as you said. I decided don't 
change 'popen*' to 'popen[2-4]' to keep text in one format but the final 
decision is up to you.

--
Added file: http://bugs.python.org/file34371/Issue19060_py33.patch

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



[issue19060] docs: note that subprocess doesn't replace os.exec*

2014-03-12 Thread Anastasia.Filatova

Changes by Anastasia.Filatova anastasia.n.filat...@gmail.com:


Added file: http://bugs.python.org/file34372/Issue19060_py34.patch

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



[issue19060] docs: note that subprocess doesn't replace os.exec*

2014-03-12 Thread Anastasia.Filatova

Changes by Anastasia.Filatova anastasia.n.filat...@gmail.com:


Added file: http://bugs.python.org/file34373/Issue19060_py27.patch

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



[issue14894] distutils.LooseVersion fails to compare number and a word

2014-03-12 Thread Nick Coghlan

Nick Coghlan added the comment:

Unfortunately, the current likely answer re updating vanilla distutils to 
handle the new standards is we won't. The backwards compatibility issues 
involved are just too hairy for us to start enabling by default in the standard 
library, and I've become convinced that coupling the build and installation 
tools to the language version is fundamentally a mistake anyway (hence the 
bundling approach in PEP 453).

Instead, we're hacking around the metadata side of the problem through the fact 
that pip always runs setup.py under setuptools (even if the setup.py only used 
vanilla distutils) and encouraging the use of cross-version compatible tools in 
other cases (with setuptools being the current de facto choice, since the 
distlib APIs are still considered experimental).

For this particularly case, I don't see any harm in bringing distutils in Py3 
back in line with Py2, especially if it's also consistent with setuptools.

--

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



[issue20145] unittest.assert*Regex functions should verify that expected_regex has a valid type

2014-03-12 Thread the mulhern

the mulhern added the comment:

Thanks, I'ld definitely be _much_ happier w/ a TypeError than with silent 
success.

--

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



[issue20884] importlib/__init__.py can not be loaded without __file__ - breaks cxFreeze

2014-03-12 Thread Nick Coghlan

Nick Coghlan added the comment:

Hmm, I think we still have something weird going on:


$ python3
Python 3.3.2 (default, Nov  8 2013, 13:38:57) 
[GCC 4.8.2 20131017 (Red Hat 4.8.2-1)] on linux
Type help, copyright, credits or license for more information.
 import _frozen_importlib
 _frozen_importlib.__file__
'/home/ncoghlan/frozen'
 

$ ./python
Python 3.4.0rc1+ (default, Mar 11 2014, 19:49:01) 
[GCC 4.8.2 20131212 (Red Hat 4.8.2-7)] on linux
Type help, copyright, credits or license for more information.
 import _frozen_importlib
 _frozen_importlib.__file__
'/home/ncoghlan/devel/py3k/frozen'

Perhaps the problem is specifically with frozen *packages*? I don't currently 
have a handy one of those to test against, so I added a comment to the 
BitBucket issue suggest a possible simplification of the reproducer that would 
confirm the theory.

--

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



[issue20897] @abstractmethod does not enforce method signatures

2014-03-12 Thread the mulhern

New submission from the mulhern:

Hi!

Here is a simple class hierarchy:

 import abc
 class META(object):
... __metaclass__ = abc.ABCMeta
... @abc.abstractmethod
... def _junk(self):
... pass
... 
 class Sub(META):
... def _junk(self, other):
... pass
... 
 class Subber(META):
... def _junk(self):
... pass
... 
 class SuperSubber(META):
... pass
... 

In 2.7.5 I can instantiate an object of Sub or Subber, although Sub does not 
really override META's abstract method.
I think it would be better if I could not instantiate Sub, because the 
signature of the abstract method in META
is different from the signature of the overriding method in Sub.
I can not instantiate SuperSubber, I get a TypeError. That seems correct.

In 3.3.2 I can instantiate all three, Sub, Subber, and SuperSubber.
I would prefer to only be able to instantiate Subber, since it is the only 
class that truly overrides the abstract method
_junk in META.

- mulhern

--
components: Library (Lib)
messages: 213256
nosy: the.mulhern
priority: normal
severity: normal
status: open
title: @abstractmethod does not enforce method signatures
type: behavior
versions: Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 3.4, Python 3.5

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



[issue20627] Add context manager support to xmlrpc.client.ServerProxy

2014-03-12 Thread Claudiu.Popa

Claudiu.Popa added the comment:

Thanks for the review, Éric! I uploaded a new version of the patch, which 
addresses your comments.

--
keywords: +patch
Added file: http://bugs.python.org/file34374/issue20627_1.patch

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



[issue20692] Tutorial section 9.4 and FAQ: how to call a method on an int

2014-03-12 Thread Sreepriya Chalakkal

Changes by Sreepriya Chalakkal sreepriya1...@gmail.com:


Added file: http://bugs.python.org/file34375/doc3.patch

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



[issue20884] importlib/__init__.py can not be loaded without __file__ - breaks cxFreeze

2014-03-12 Thread Jurko Gospodnetić

Jurko Gospodnetić added the comment:

Ask per Nick's instructions I tweaked cx_Freeze to import a dummy
package as frozen. The dummy package has the following structure:

  gugu/
__init__.py

and its __init__.py file contains only the 8 bytes '__file__'
(does not include the quotes).

Then running a frozen executable based on a script with the following content:

  import gugu

results in a NameError due to the name '__file__' not being
recognized.

You can see more detailed information at:

  
https://bitbucket.org/anthony_tuininga/cx_freeze/issue/61/python-340-nameerror-name-__file__-is-not#comment-9084842

Hope this helps.

Best regards,
  Jurko Gospodnetić

--

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



[issue19359] reversed() does not work with weakref.proxy of sequences

2014-03-12 Thread Claudiu.Popa

Changes by Claudiu.Popa pcmantic...@gmail.com:


Added file: http://bugs.python.org/file34376/issue19359.patch

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



[issue20894] COMSPEC with multiple paths breaks subprocess.call

2014-03-12 Thread Yury Selivanov

Changes by Yury Selivanov yselivanov...@gmail.com:


--
nosy: +brian.curtin

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



[issue19060] docs: note that subprocess doesn't replace os.exec*

2014-03-12 Thread R. David Murray

R. David Murray added the comment:

Terry: good point.  popen did become undeprecated, however, its implementation 
was replaced by calls to subprocess.  The reason it is kept is that it is an 
easy shorthand for various common operations...that is, it is a convenience 
function, even though it lives in the os module for historical reasons.

So, the 2.7 list is correct (popen still uses the syscall there), and the 
python3 list is correct (popen is fine to use in python3).  It is perhaps worth 
mentioning that os.popen is a convenience function in the subprocess docs, but 
I'm not sure where to put it.  (I see that the popen docs also need updating, 
but that should be a separate issue, if someone wants to create it.)

Anastasia: thanks, that patch looks good to me.

--

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



[issue20884] importlib/__init__.py can not be loaded without __file__ - breaks cxFreeze

2014-03-12 Thread R. David Murray

R. David Murray added the comment:

Depending on what cx_Freeze is doing with packages, I wnder if this What's New 
3.4 porting note is relevant:

  * Frozen packages no longer set ``__path__`` to a list containing the package
  name, they now set it to an empty list.  The previous behavior could cause
  the import system to do the wrong thing on submodule imports if there was
  also a directory with the same name as the frozen package.  The correct way
  to determine if a module is a package or not is to use``hasattr(module,
  '__path__')`` (:issue:`18065`).

--

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



[issue20894] COMSPEC with multiple paths breaks subprocess.call

2014-03-12 Thread R. David Murray

R. David Murray added the comment:

This was a misconfiguration of your system.  It is not a bug in Python.  
(Unless can find a microsoft reference that says that COMPSPEC can contain more 
than one path?  I don't think you will; see, eg: 
http://superuser.com/questions/446595/is-it-valid-for-comspec-to-have-multiple-entries)

--
nosy: +r.david.murray
resolution:  - invalid
stage:  - committed/rejected
status: open - closed

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



[issue20895] Add bytes.empty_buffer and deprecate bytes(17) for the same purpose

2014-03-12 Thread R. David Murray

R. David Murray added the comment:

I don't have a strong opinion on this, but I think you are going to have to 
articulate a good use/usability case for the deprecation.  I'm sure this is 
used in the wild, and we don't just gratuitously break things :)

--
nosy: +r.david.murray

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



[issue20884] importlib/__init__.py can not be loaded without __file__ - breaks cxFreeze

2014-03-12 Thread Jurko Gospodnetić

Jurko Gospodnetić added the comment:

That 'what's new' item seems relevant, except that the issue here
is related to the __file__ attribute instead of __path__. Could it
be that the same fix actually updated how the __file__ attribute is
defined as well?

The bug seems to be caused by importlib\__init__.py expecting its
__file__ attribute to be defined, thus not allowing it to be frozen
at all. :-(

Based on my rather slim understanding of how module 'freezing'
works I guess executables wanting to freeze the
importlib\__init__.py module can work around the problem by adding
code to the front of that module to hardcode its __file__ attribute
value, before freezing it. However I'd be happier with Python not
requiring that the __file__attribute be defined internally at all.
Imposing a workaround such as this on anyone wanting to freeze the
importlib package seems rather nasty.

Best regards,
  Jurko Gospodnetić

--

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



[issue20827] IDLE : Display function argument list in ClassBrowser

2014-03-12 Thread Saimadhav Heblikar

Saimadhav Heblikar added the comment:

1. Idle is getting out of the business of formatting signatures. If we use 
inspect, '(...)' should simply be replaced (in 3.3+) by 
str(inspect.signature(ob)). (I plan to change calltips to do this instead 
of using two older inspect functions.)  Using inspect creates the problems 
of getting ob.

This means instead of manually formatting,we use inspect.signature()?(Shall i 
try to first it on calltips and get back with the result?)


3. The patch does not handle nested classes (or their methods). If nested 
classes are found in the dictionary of 'methods' of the enclosing class, 
this should be possible to keep track of.

I think this is because pyclbr is responsible for parsing the source.(This 
patch only tries to extract the signature,given the method/class).issue1612262 
also seems to convey that pyclbr is unable to detect nested classes.

So i will try to make changes to pyclbr , to detect nested classes.

After i complete the above two,i will report here and try to work on 
- add popup menu with more options (e.g. doc strings, base classes, 
imports) possible. Docstrings could be kept as a view objest with start 
and stop positions until requested.



Also, your suggestion to import the class/methods only once ,will improve the 
performance,especially on bigger files.I'll modify the patch to reflect this 
too.

--

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



[issue20884] importlib/__init__.py can not be loaded without __file__ - breaks cxFreeze

2014-03-12 Thread Jurko Gospodnetić

Jurko Gospodnetić added the comment:

This could possibly also have been caused by a resolution to issue 18088 
(http://bugs.python.org/issue18088).

See commit e873f2e67353 (http://hg.python.org/cpython/rev/e873f2e67353).

--

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



[issue20898] Missin 507 response description

2014-03-12 Thread Filip Malczak

New submission from Filip Malczak:

I find it strange, that in http.client module we have variable:
INSUFFICIENT_STORAGE = 507
yet in responses (dict mapping int codes to descriptions) 507 is missing.

It's probably just mistake caused by short dev memory, fix is easy: add line:
507: 'Insufficient storage',
between lines 208 and 209 (just after mapping for 505).

Sorry, if this isn't well formatted issue, or if I specified wrong metadata.

I'm working on Python 3.3.2+ (automatically installed in LUbuntu 13.10), and I 
don't know whether it was fixed in later versions.

--
components: IO
messages: 213266
nosy: Filip.Malczak
priority: normal
severity: normal
status: open
title: Missin 507 response description
type: behavior

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



[issue20898] Missing 507 response description

2014-03-12 Thread Filip Malczak

Changes by Filip Malczak filip.malc...@gmail.com:


--
title: Missin 507 response description - Missing 507 response description

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



[issue16508] include the object type in the lists of documented types

2014-03-12 Thread R. David Murray

R. David Murray added the comment:

Doing this is going to be a bit tricky, since currently links like 
:meth:`object.__format__` go to the special methods section.  So I think making 
the distinction between available special methods and ones that object 
implements will need to be done at the same time as this, and there may be 
quite a few places in the documentation where reference will need to be changed.

--
nosy: +r.david.murray

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



[issue20898] Missing 507 response description

2014-03-12 Thread R. David Murray

R. David Murray added the comment:

Looks like that's not the only code that was missed (I see 102 is also not 
listed).

What happened was that the responses table was originally part of urllib2, and 
was moved into httplib (back when it was httplib).  But httplib had more 
response codes in it than the urllib2 did, apparently.

I think it makes sense to make them consistent (add the missing ones to 
responses), even though it is not clear that the constants are used anywhere.

I wonder if it makes sense to use an Enum here somehow...

--
nosy: +r.david.murray

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



[issue10128] multiprocessing.Pool throws exception with __main__.py

2014-03-12 Thread Martin Dengler

Changes by Martin Dengler mar...@martindengler.com:


--
nosy: +mdengler

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



[issue10128] multiprocessing.Pool throws exception with __main__.py

2014-03-12 Thread Martin Dengler

Martin Dengler added the comment:

I applied the patch from #10845 to 2.7.6 and it worked well for me.

--

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



[issue20898] Missing 507 response description

2014-03-12 Thread Benjamin Peterson

Changes by Benjamin Peterson bp+pyb...@benjamin-peterson.org:


--
components: +Library (Lib) -IO
keywords: +easy

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



[issue20815] ipaddress unit tests PEP8

2014-03-12 Thread pmoody

pmoody added the comment:

Will Do.

Michael, would you mind signing the contributor agreement so I can apply your 
patch?

http://www.python.org/psf/contrib/contrib-form/

--

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



[issue20815] ipaddress unit tests PEP8

2014-03-12 Thread Michel Albert

Michel Albert added the comment:

Did so already last weekend. I suppose it will take some time to be processed.

I can ping you via a message here once I receive the confirmation.

--

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



[issue20815] ipaddress unit tests PEP8

2014-03-12 Thread pmoody

pmoody added the comment:

thanks.

--

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



[issue20853] pdb args crashes when an arg is not printable

2014-03-12 Thread R. David Murray

R. David Murray added the comment:

There is at least one other place (do_break) where this same problem could crop 
up.  Unittest handles this by having a 'safe_repr' function.  pdb doesn't need 
the same function unittest does, but it could do something similar, and then 
use %s and this function in the places where it currently uses repr to print an 
arbitrary object:

def safe_repr(obj):
try:
return repr(obj)
except Exception:
return object.__repr__(obj)

--

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



  1   2   3   >