[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

[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 _

[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 __

[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 ___ ___ Python-bugs-list mailing list Un

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

2014-03-12 Thread Éric Araujo
Changes by Éric Araujo : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[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. --

[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

[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/cpy

[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) > (3)__init__() (Pdb) a Traceback (most recent call last): File ".\pdb.py", line 1132, in do_ar

[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 suffe

[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 __

[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 ""

[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

[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 _

[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 ___

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

2014-03-12 Thread Éric Araujo
Changes by Éric Araujo : -- Removed message: http://bugs.python.org/msg193103 ___ Python tracker ___ ___ Python-bugs-list mailing list

[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

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

2014-03-12 Thread Éric Araujo
Changes by Éric Araujo : -- resolution: -> out of date stage: -> committed/rejected status: open -> closed type: crash -> behavior versions: -Python 2.7 ___ Python tracker ___

[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

[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

[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 ___

[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 someth

[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 ___ ___ Python-bugs-list mail

[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 exist

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

2014-03-12 Thread Éric Araujo
Changes by Éric Araujo : -- resolution: -> out of date stage: -> committed/rejected status: open -> closed ___ Python tracker ___ __

[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 _

[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 __

[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 '' while wit

[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

[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 _

[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 tra

[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/question

[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 _

[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 ___

[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: -

[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 ___

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

2014-03-12 Thread Éric Araujo
Changes by Éric Araujo : -- resolution: -> out of date stage: -> committed/rejected status: open -> closed ___ Python tracker ___ __

[issue14275] pysetup create doesn't handle install requirements

2014-03-12 Thread Éric Araujo
Changes by Éric Araujo : -- resolution: -> out of date stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue1703178] link_objects in setup.cfg crashes build

2014-03-12 Thread Éric Araujo
Changes by Éric Araujo : -- components: -Distutils2 versions: +Python 3.4 -3rd party, Python 3.2 ___ Python tracker ___ ___ Python-

[issue13160] Rename install_dist to install

2014-03-12 Thread Éric Araujo
Changes by Éric Araujo : -- resolution: -> out of date stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue16037] httplib: header parsing is unlimited

2014-03-12 Thread Cory Benfield
Changes by Cory Benfield : -- nosy: +Lukasa ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[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 _

[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.

[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 tra

[issue12377] Clean up use of packages_root/package_dir

2014-03-12 Thread Éric Araujo
Changes by Éric Araujo : -- resolution: -> out of date stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue12375] Add packages_root to sys.path for hooks

2014-03-12 Thread Éric Araujo
Changes by Éric Araujo : -- resolution: -> out of date stage: -> committed/rejected status: open -> closed ___ Python tracker ___ __

[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

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

2014-03-12 Thread Éric Araujo
Changes by Éric Araujo : -- versions: +Python 3.4 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[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.

[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

[issue12900] Use universal newlines mode for setup.cfg

2014-03-12 Thread Éric Araujo
Changes by Éric Araujo : -- resolution: -> out of date stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue9281] Race condition in distutils.dir_util.mkpath

2014-03-12 Thread Éric Araujo
Changes by Éric Araujo : -- 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, Pyth

[issue14002] AttributeError in distutils2.pypi.wrapper

2014-03-12 Thread Éric Araujo
Changes by Éric Araujo : -- resolution: -> out of date stage: test needed -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[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 _

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

2014-03-12 Thread Éric Araujo
Changes by Éric Araujo : -- resolution: -> out of date stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker ___ ___

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

2014-03-12 Thread Éric Araujo
Changes by Éric Araujo : -- resolution: -> out of date stage: -> committed/rejected status: open -> closed ___ Python tracker ___ __

[issue12344] Add **kwargs to reinitialize_command

2014-03-12 Thread Éric Araujo
Changes by Éric Araujo : -- resolution: -> out of date stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ __

[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 ___

[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 ___ _

[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/hayp

[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.o

[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

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

2014-03-12 Thread koobs
Changes by koobs : -- nosy: +koobs ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mail

[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

[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. ---

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

2014-03-12 Thread Anastasia.Filatova
Changes by Anastasia.Filatova : Added file: http://bugs.python.org/file34372/Issue19060_py34.patch ___ Python tracker ___ ___ Python-bugs-list

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

2014-03-12 Thread Anastasia.Filatova
Changes by Anastasia.Filatova : Added file: http://bugs.python.org/file34373/Issue19060_py27.patch ___ Python tracker ___ ___ Python-bugs-list

[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 convince

[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 ___ _

[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 >>> _

[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): ... p

[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

[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 : Added file: http://bugs.python.org/file34375/doc3.patch ___ Python tracker ___ ___ Python-bugs-list mailing l

[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 run

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

2014-03-12 Thread Claudiu.Popa
Changes by Claudiu.Popa : Added file: http://bugs.python.org/file34376/issue19359.patch ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue20894] COMSPEC with multiple paths breaks subprocess.call

2014-03-12 Thread Yury Selivanov
Changes by Yury Selivanov : -- nosy: +brian.curtin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[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 li

[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

[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-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

[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\_

[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.

[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

[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

[issue20898] Missing 507 response description

2014-03-12 Thread Filip Malczak
Changes by Filip Malczak : -- title: Missin 507 response description -> Missing 507 response description ___ Python tracker ___ ___ Py

[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 sa

[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 t

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

2014-03-12 Thread Martin Dengler
Changes by Martin Dengler : -- nosy: +mdengler ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[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 ___ ___ Py

[issue20898] Missing 507 response description

2014-03-12 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- components: +Library (Lib) -IO keywords: +easy ___ Python tracker ___ ___ Python-bugs-list mailing l

[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 _

[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

[issue20815] ipaddress unit tests PEP8

2014-03-12 Thread pmoody
pmoody added the comment: thanks. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/ma

[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 functio

[issue20894] COMSPEC with multiple paths breaks subprocess.call

2014-03-12 Thread Elja van Tol
Elja van Tol added the comment: I stand corrected, now i have to find out why my comspec was filled with nonsense. Sorry for the trouble! -- ___ Python tracker ___

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

2014-03-12 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue15968] Incorporate Tcl/Tk/Tix into the Windows build process

2014-03-12 Thread Zachary Ware
Zachary Ware added the comment: I started looking at this again recently, and discovered that building from within Visual Studio doesn't work with the proposed patches. So, here's a different approach that adds 'Makefile' projects for each of Tcl, Tk, and Tix instead of using build_tkinter.py.

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

2014-03-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: Replace 'The right way... with To look up an attribute on an integer literal, separate the literal from the period with either a space or parentheses. >>> 3 .__class__ >>> (5).__class__ -- ___

[issue20135] FAQ need list mutation answers

2014-03-12 Thread R. David Murray
R. David Murray added the comment: M. Votz: I like your entry, but I think it should be titled "Why did changing list 'a' also change list 'b'?" That's the form I've always encountered this question in. Then the answer can start of with "It didn't, 'a' and 'b' are the same list." and then g

[issue18314] Have os.unlink remove junction points

2014-03-12 Thread Kim Gräsman
Kim Gräsman added the comment: ping -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/

  1   2   3   >