[issue19481] IDLE hangs while printing instance of Unicode subclass

2013-12-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Good suggestion Terry. And for unicode in 2.7 we can use unicode.__getslice__(s, None, None) (because there is no unicode.__unicode__). -- ___ Python tracker ___

[issue19481] IDLE hangs while printing instance of Unicode subclass

2013-12-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset df9596ca838c by Serhiy Storchaka in branch '2.7': Issue #19481: print() of unicode, str or bytearray subclass instance in IDLE http://hg.python.org/cpython/rev/df9596ca838c New changeset d462b2bf875b by Serhiy Storchaka in branch '3.3': Issue #19481

[issue19928] Implement cell repr test

2013-12-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset d98c5806c33c by Serhiy Storchaka in branch '2.7': Issue #19928: Implemented a test for repr() of cell objects. http://hg.python.org/cpython/rev/d98c5806c33c New changeset 49eb895be796 by Serhiy Storchaka in branch '3.3': Issue #19928: Implemented a

[issue19928] Implement cell repr test

2013-12-10 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue19481] IDLE hangs while printing instance of Unicode subclass

2013-12-10 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue19939] Deprecate portions or all of pkgutil module.

2013-12-10 Thread Nick Coghlan
Nick Coghlan added the comment: Programmatic deprecation definitely isn't worth it - setuptools et al need this for cross-version compatibility with 2.x, and packaging tools are hard enough to write without us programatically deprecating things in 3.x releases. Explicit documented deprecations

[issue19717] resolve() fails when the path doesn't exist

2013-12-10 Thread Vajrasky Kok
Vajrasky Kok added the comment: Thanks for the review, Antoine! Here is the updated patch. I haven't tested it on Windows yet because I want to clarify one thing. Let's say we have this valid directory: /tmp/@test123 <= directory And this directory only has one valid file: /tmp/@test123/cute

[issue19914] help([object]) returns "Not enough memory." on standard Python types, object and object functions

2013-12-10 Thread Mark Lawrence
Mark Lawrence added the comment: I can confirm that code page 65001 is the problem using 3.3.3 on Windows 7. -- nosy: +BreamoreBoy ___ Python tracker ___

[issue18996] unittest: more helpful truncating long strings

2013-12-10 Thread Vajrasky Kok
Vajrasky Kok added the comment: Hello, Serhiy. Do you want to remove this debug messaging? -- ___ Python tracker ___ ___ Python-bugs-l

[issue19914] help([object]) returns "Not enough memory." on standard Python types, object and object functions

2013-12-10 Thread STINNER Victor
STINNER Victor added the comment: It looks like the issue comes from the "more" system command, used as a pager for the documentation. When the OEM code page is set to 65001 (ex: type "chcp 65001" in a Windows console), "more document.txt" does nothing (display nothing and exit). Try commaman

[issue19846] Python 3 raises Unicode errors with the C locale

2013-12-10 Thread STINNER Victor
STINNER Victor added the comment: 2013/12/10 Martin v. Löwis : > >From what I read, it appears that the SO posting is plain wrong. Consider, > >for example, > > https://developer.gnome.org/glib/stable/glib-Character-Set-Conversion.html#g-filename-to-utf8 > > # Converts a string which is in the e

[issue19017] selectors: towards uniform EBADF handling

2013-12-10 Thread STINNER Victor
STINNER Victor added the comment: What is the status of this issue? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue19017] selectors: towards uniform EBADF handling

2013-12-10 Thread STINNER Victor
STINNER Victor added the comment: The issue #19876 has been closed. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue19407] PEP 453: update the "Installing Python Modules" documentation

2013-12-10 Thread Nick Coghlan
Nick Coghlan added the comment: After reviewing the Extending & Embedding docs recently, I think a disclaimer/redirect to the tool recommendations in the Python Packaging User Guide is appropriate there as well. Marcus also added an issue to update the distutils docs themselves: https://bitbu

[issue19941] python -m imports non-ASCII .py file without encoding declaration

2013-12-10 Thread Jakub Wilk
New submission from Jakub Wilk: If you have a non-ASCII .py file without encoding declaration, then you can't normally import it: $ python --version Python 2.7.6 $ python -c 'import test' Traceback (most recent call last): File "", line 1, in File "test.py", line 1 SyntaxError: Non-ASCII

[issue19941] python -m imports non-ASCII .py file without encoding declaration

2013-12-10 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +brett.cannon, haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue17762] platform.linux_distribution() should honor /etc/os-release

2013-12-10 Thread Jakub Wilk
Changes by Jakub Wilk : -- nosy: +jwilk ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org

[issue19907] gettext - Non ascii chars in header

2013-12-10 Thread Jakub Wilk
Jakub Wilk added the comment: See also issue18128. Date headers are not only for humans; I've seen software that parses them. -- nosy: +jwilk ___ Python tracker ___ _

[issue19783] No SSL match_hostname() in nntplib

2013-12-10 Thread Jakub Wilk
Changes by Jakub Wilk : -- nosy: +jwilk ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org

[issue19407] PEP 453: update the "Installing Python Modules" documentation

2013-12-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset a9f91a38a265 by Nick Coghlan in branch '2.7': Issue #19407: add Python Packaging User Guide notes http://hg.python.org/cpython/rev/a9f91a38a265 -- nosy: +python-dev ___ Python tracker

[issue19693] "make altinstall && make install" behaviour differs from "make install"

2013-12-10 Thread Donald Stufft
Donald Stufft added the comment: Making this happen is a non trivial change to pip. Is this *required* for PEP453? The problem is the pip dependency is already being seen as fulfilled so it's not reinstalling pip again with the new options picked. Likely the actual answer is a command in pip

[issue19728] PEP 453: enable pip by default in the Windows binary installers

2013-12-10 Thread Donald Stufft
Donald Stufft added the comment: Is there anything left in this ticket to be done? -- ___ Python tracker ___ ___ Python-bugs-list mail

[issue19407] PEP 453: update the "Installing Python Modules" documentation

2013-12-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 16b7536e418b by Nick Coghlan in branch '3.3': Issue #19407: add Python Packaging User Guide notes http://hg.python.org/cpython/rev/16b7536e418b New changeset bc21da9727ad by Nick Coghlan in branch 'default': Issue #19407: merge PPUG notes from 3.3 h

[issue17576] PyNumber_Index() is not int-subclass friendly (or operator.index() docos lie)

2013-12-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is updated patch. There is no more overhead in PyLong_As* functions. Simplified PyNumber_Index(). assertWarns() now used instead of support.check_warnings(). Added new tests. -- Added file: http://bugs.python.org/file33077/issue17576_v3.patch _

[issue19693] "make altinstall && make install" behaviour differs from "make install"

2013-12-10 Thread Nick Coghlan
Nick Coghlan added the comment: Fixing in pip 1.6/CPython 3.4.1 would be fine by me - that's why I only created it as "high" rather than "release blocker" -- ___ Python tracker

[issue19942] UTF-8 encoding not enforced

2013-12-10 Thread Jakub Wilk
New submission from Jakub Wilk: I created a Python file which contained a non-UTF-8 string literal (but no Unicode literals), and added "UTF-8" encoding declaration to it. I expected that Python will raise SyntaxError when importing such module, but it doesn't: $ python --version Python 2.7.6

[issue19942] UTF-8 encoding not enforced

2013-12-10 Thread Jakub Wilk
Changes by Jakub Wilk : Added file: http://bugs.python.org/file33078/test1.py ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue19728] PEP 453: enable pip by default in the Windows binary installers

2013-12-10 Thread Nick Coghlan
Nick Coghlan added the comment: Yes, it still needs to be integrated into the installer and the default state of the feature changed. I expect MvL will look into that before creating the beta 2 installer. Bumping the priority accordingly, though (I originally set it to high when we weren't su

[issue19942] UTF-8 encoding not enforced

2013-12-10 Thread Ezio Melotti
Changes by Ezio Melotti : -- components: +Unicode nosy: +ezio.melotti, haypo type: -> behavior ___ Python tracker ___ ___ Python-bugs

[issue18996] unittest: more helpful truncating long strings

2013-12-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset a0c687dc0039 by Serhiy Storchaka in branch 'default': Remove commented out debugging code (remnants of issue #18996). http://hg.python.org/cpython/rev/a0c687dc0039 -- ___ Python tracker

[issue18996] unittest: more helpful truncating long strings

2013-12-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Oh, thank you Vajrasky. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue19941] python -m imports non-ASCII .py file without encoding declaration

2013-12-10 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +loewis, serhiy.storchaka type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailin

[issue19943] typo: unkown → unknown

2013-12-10 Thread Jakub Wilk
New submission from Jakub Wilk: There's a typo in Lib/lib2to3/fixes/fix_import.py: unkown → unknown -- components: Library (Lib) messages: 205799 nosy: jwilk priority: normal severity: normal status: open title: typo: unkown → unknown ___ Python track

[issue19942] UTF-8 encoding not enforced

2013-12-10 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +loewis, serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue19940] ssl.cert_time_to_seconds() returns wrong results if local timezone is not UTC

2013-12-10 Thread Tim Golden
Changes by Tim Golden : -- versions: -Python 2.6, Python 3.1, Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue19943] typo: unkown → unknown

2013-12-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset b96a6493cecf by Ezio Melotti in branch '2.7': #19943: fix typo noticed by Jakub Wilk. http://hg.python.org/cpython/rev/b96a6493cecf New changeset 9f38bbd4e041 by Ezio Melotti in branch '3.3': #19943: fix typo noticed by Jakub Wilk. http://hg.python.

[issue19943] typo: unkown → unknown

2013-12-10 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the report! -- assignee: -> ezio.melotti nosy: +ezio.melotti resolution: -> fixed stage: -> committed/rejected type: -> enhancement versions: +Python 2.7, Python 3.3, Python 3.4 ___ Python tracker

[issue12029] Catching virtual subclasses in except clauses

2013-12-10 Thread Jakub Wilk
Changes by Jakub Wilk : -- nosy: +jwilk ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org

[issue17576] PyNumber_Index() is not int-subclass friendly (or operator.index() docos lie)

2013-12-10 Thread Nick Coghlan
Nick Coghlan added the comment: Took me a while to figure out that one of the code paths was being deleted as redundant because the type machinery will always fill in nb_int for int subclasses, but Serhiy's patch looks good to me. -- assignee: mark.dickinson -> serhiy.storchaka __

[issue19940] ssl.cert_time_to_seconds() returns wrong results if local timezone is not UTC

2013-12-10 Thread gudge
gudge added the comment: Will work on this. Please assign the issue to me. Instructions before proceeding by Tim Golden(python mailing list): Having just glanced at that issue, I would point out that there's been a lot of development around the ssl module for the 3.4 release, so you definitely

[issue5996] abstract class instantiable when subclassing dict

2013-12-10 Thread Jakub Wilk
Changes by Jakub Wilk : -- nosy: +jwilk ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/

[issue19944] Make importlib.find_spec load packages as needed

2013-12-10 Thread Nick Coghlan
New submission from Nick Coghlan: In implementing the runpy module updates for PEP 451 I ran into the fact that importlib.find_spec had copied the find_loader behaviour where it doesn't handle dotted names automatically - you have to explicitly pass in the __path__ from the parent module for i

[issue16104] Use multiprocessing in compileall script

2013-12-10 Thread Claudiu.Popa
Claudiu.Popa added the comment: Hello! Here's a draft patch. It adds a new *processes* parameter to *compile_dir* and a new command line parameter as well. -- keywords: +patch nosy: +Claudiu.Popa Added file: http://bugs.python.org/file33079/compileall_v1.patch

[issue19700] Update runpy for PEP 451

2013-12-10 Thread Nick Coghlan
Nick Coghlan added the comment: Issue 19944 now covers moving the current importlib.find_spec to importlib.find_spec_on_path and having importlib.find_spec behave like runpy._fixed_find_spec in my patch. -- ___ Python tracker

[issue15963] Improve ./configure's support for 32/64-bit debug|release|profiled builds w/ vendor (non-gcc) compilers on proprietary UNIX systems (Solaris/HP-UX/AIX et al).

2013-12-10 Thread Stefan Krah
Stefan Krah added the comment: Trent, did the HPUX CFLAGS/LDFLAGS change on the buildbots? I think _decimal used to compile on the PA-RISC bot, but now there is an error. Perhaps -AC99 or something like that is missing. -- ___ Python tracker

[issue19945] os.path.split starting with two slashes

2013-12-10 Thread Toilal
New submission from Toilal: Python 2.7.6 (default, Nov 10 2013, 19:24:18) [MSC v.1500 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> from os.path import split >>> split('//computer/share') ('//computer', 'share') Python 3.3.3 (v3.3.3:c389627

[issue5712] tkinter - askopenfilenames returns string instead of tuple in windows 2.6.1 release

2013-12-10 Thread Martin Miller
Martin Miller added the comment: Answering Serhiy Storchaka's question: Yes it's still reproducible with 2.7.6. -- nosy: +martinmiller ___ Python tracker ___ _

[issue19946] multiprocessing crash with forkserver or spawn when run from a non ".py" ending script

2013-12-10 Thread Olivier Grisel
New submission from Olivier Grisel: Here is a simple python program that uses the new forkserver feature introduced in 3.4b1: name: checkforkserver.py """ import multiprocessing import os def do(i): print(i, os.getpid()) def test_forkserver(): mp = multiprocessing.get_context('fork

[issue19946] multiprocessing crash with forkserver or spawn when run from a non ".py" ending script

2013-12-10 Thread Olivier Grisel
Changes by Olivier Grisel : -- type: -> crash ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue19828] test_site fails with -S flag

2013-12-10 Thread Zachary Ware
Zachary Ware added the comment: The real issue here is that the test used to determine whether -S was passed or not is outdated: instead of checking sys.flags.no_site, it checks whether 'site' is in sys.modules. This is no longer a valid test, since site's side effects are contained within si

[issue19945] os.path.split starting with two slashes

2013-12-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: ntpath.split() in 2.7 doesn't work with UNC names. This is not a bug, this is just a lack of feature. Python 3 is correct. -- nosy: +serhiy.storchaka ___ Python tracker ___

[issue19940] ssl.cert_time_to_seconds() returns wrong results if local timezone is not UTC

2013-12-10 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +christian.heimes, giampaolo.rodola, janssen, pitrou versions: -Python 2.7, Python 3.3, Python 3.5 ___ Python tracker ___ __

[issue19940] ssl.cert_time_to_seconds() returns wrong results if local timezone is not UTC

2013-12-10 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- assignee: docs@python -> components: -Documentation ___ Python tracker ___ ___ Python-bugs-list maili

[issue19940] ssl.cert_time_to_seconds() returns wrong results if local timezone is not UTC

2013-12-10 Thread Antoine Pitrou
Antoine Pitrou added the comment: Indeed the example in the docs is wrong, and so is the current behaviour. The example shows "round-tripping" using ssl.cert_time_to_seconds() and then time.ctime(), except that it is bogus as it takes a GMT time and ctime() returns a local time ("""Convert a t

[issue19766] test_venv: test_with_pip() failed on "AMD64 Fedora without threads 3.x" buildbot: urllib3 dependency requires the threading module

2013-12-10 Thread Donald Stufft
Donald Stufft added the comment: Vinay, I've verified that the current default branch of distlib works without threading when vendored in pip and these tests pass. -- ___ Python tracker ___

[issue18885] handle EINTR in the stdlib

2013-12-10 Thread Yongzhi Pan
Changes by Yongzhi Pan : -- nosy: +fossilet ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue19940] ssl.cert_time_to_seconds() returns wrong results if local timezone is not UTC

2013-12-10 Thread Antoine Pitrou
Antoine Pitrou added the comment: gudge, your contribution is welcome! If you need guidance about how to write a patch, you can read the developer's guide: http://docs.python.org/devguide/ Also you will have to sign a contributor's agreement: http://www.python.org/psf/contrib/ -- ___

[issue19946] multiprocessing crash with forkserver or spawn when run from a non ".py" ending script

2013-12-10 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +pitrou, sbt ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue19945] os.path.split starting with two slashes

2013-12-10 Thread Toilal
Changes by Toilal : -- resolution: -> remind status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue5712] tkinter - askopenfilenames returns string instead of tuple in windows 2.6.1 release

2013-12-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: What are values of Tkinter.wantobjects, Tkinter._support_default_root, Tkinter._default_root, Tkinter._default_root.wantobjects()? Before and after calling tkFileDialog.askopenfilenames(). -- ___ Python tracker <

[issue19945] os.path.split starting with two slashes

2013-12-10 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: remind -> invalid stage: -> committed/rejected ___ Python tracker ___ ___ Python-bugs-li

[issue19744] test_venv fails if SSL/TLS is not available

2013-12-10 Thread Donald Stufft
Donald Stufft added the comment: Can this be solved in ensurepip for now? I've been banging away at this but it's going to require some refactoring in pip to make it reasonably work. The move to distlib and requests made this harder to do than the old PR against pip could handle. --

[issue19947] Inspect module broken

2013-12-10 Thread Jimmy Merrild Krag
New submission from Jimmy Merrild Krag: I have been having issues like the below all day: C:\JMK\CurrentWork\CPH-3516>python airport_code_downloader.py Traceback (most recent call last): File "airport_code_downloader.py", line 4, in import inspect File "C:\Python33\lib\inspect.py", line

[issue19948] POSIX semantics of PATH search in execvpe is not respected

2013-12-10 Thread Stéphane Glondu
New submission from Stéphane Glondu: Hello, According to [1], "In the cases where the other members of the exec family of functions would fail and set errno to [ENOEXEC], the execlp() and execvp() functions shall execute a command interpreter and the environment of the executed command shall

[issue19941] python -m imports non-ASCII .py file without encoding declaration

2013-12-10 Thread R. David Murray
R. David Murray added the comment: Well, we aren't going to change 2.7 to have this case start throwing an error, since someone may be depending on it. So I'm not sure there's anything to do here. -- nosy: +ncoghlan, r.david.murray ___ Python track

[issue18864] Implementation for PEP 451 (importlib.machinery.ModuleSpec)

2013-12-10 Thread Brett Cannon
Brett Cannon added the comment: LGTM -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org

[issue19932] Missing spaces in import.h?

2013-12-10 Thread Brett Cannon
Brett Cannon added the comment: So it sounds like this specific issue is fixed. If you keep having build issues, Ziyuan, feel free to open another issue with the new problems. -- resolution: -> fixed status: open -> closed ___ Python tracker

[issue19939] Deprecate portions or all of pkgutil module.

2013-12-10 Thread Brett Cannon
Brett Cannon added the comment: I think programmatic deprecation is actually fine since that only comes up when running under -W which would be a bit odd for any tool to be run under except when testing. E.g. I had no personal issue deprecating imp for Python 3.4 even though that's the only wa

[issue19941] python -m imports non-ASCII .py file without encoding declaration

2013-12-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: There are several bugs in processing encoding declaration (issue18961, issue18873) and yet several were fixed last time. Perhaps this issue or issue19942 relate to them. -- ___ Python tracker

[issue19947] Inspect module broken

2013-12-10 Thread Zachary Ware
Zachary Ware added the comment: I suspect you may have a file shadowing the standard library's types.py; you can test with the following command: python -c "import types;print(types.__file__)" If the output from that is not "C:\Python33\lib\types.py", then you have another file shadowing it,

[issue19944] Make importlib.find_spec load packages as needed

2013-12-10 Thread Brett Cannon
Brett Cannon added the comment: Another option would be to add a keyword-only use_parent_path flag to importlib.find_spec() which is True by default. If use_parent is True, 'path' is provided, and there is no parent, then 'path' can act as a fallback. Which makes me wonder if also adding a key

[issue19942] UTF-8 encoding not enforced

2013-12-10 Thread Benjamin Peterson
Benjamin Peterson added the comment: Yes, this is a silly bug where we "shortcut" decoding of utf-8 files by not checking if its valid UTF-8. However, this behavior has been around for a long time, so I'm not going to change it in 2.7.x. -- nosy: +benjamin.peterson resolution: -> wont

[issue19947] Inspect module broken

2013-12-10 Thread Jimmy Merrild Krag
Jimmy Merrild Krag added the comment: Just figured that out my self. Holy mother of ¤%#&%/! I'm stupid! -- resolution: -> rejected status: pending -> closed ___ Python tracker _

[issue19948] POSIX semantics of PATH search in execvpe is not respected

2013-12-10 Thread R. David Murray
Changes by R. David Murray : -- nosy: +r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue19947] Inspect module broken

2013-12-10 Thread Zachary Ware
Zachary Ware added the comment: People are bitten by this kind of thing all the time, but usually only once ;) -- resolution: rejected -> invalid ___ Python tracker ___ _

[issue12029] Catching virtual subclasses in except clauses

2013-12-10 Thread Guido van Rossum
Guido van Rossum added the comment: "I remembered we already run arbitrary code at roughly this point in the eval loop, as we have to invoke __iter__ to get the exceptions to check when an iterable is used in except clause." Are you sure? IIRC the except clause only accept exceptions and tupl

[issue19946] multiprocessing crash with forkserver or spawn when run from a non ".py" ending script

2013-12-10 Thread Antoine Pitrou
Antoine Pitrou added the comment: This sounds related to the ModuleSpec changes. -- nosy: +brett.cannon, eric.snow, ncoghlan ___ Python tracker ___ __

[issue19946] multiprocessing crash with forkserver or spawn when run from a non ".py" ending script

2013-12-10 Thread Brett Cannon
Brett Cannon added the comment: The returning of None means that importlib.find_spec() didn't find the spec/loader for the specified module. So the question is exactly what module is being passed to importlib.find_spec() and why isn't it finding a spec/loader for that module. Did this code wo

[issue19946] multiprocessing crash with forkserver or spawn when run from a non ".py" ending script

2013-12-10 Thread Brett Cannon
Brett Cannon added the comment: I see Oliver says he is testing a new forkserver feature from 3.4b1, so it might not necessarily be importlib's fault then. Does using the old importlib.find_loader() approach work? -- ___ Python tracker

[issue19878] bz2.BZ2File.__init__() cannot be called twice with non-existent file

2013-12-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3337298f5c75 by Nadeem Vawda in branch '2.7': Skip test for #19878 on Windows. http://hg.python.org/cpython/rev/3337298f5c75 -- ___ Python tracker

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2013-12-10 Thread Justin Foo
Justin Foo added the comment: The speedups extension for MarkupSafe (which has a pure Python fallback) on Python 3.3.3 64-bit was happily compiled with `pip install markupsafe` after applying Steve's patch and Li Wah's definition for KEY_BASE. -- nosy: +jfoo __

[issue19572] Report more silently skipped tests as skipped

2013-12-10 Thread Zachary Ware
Zachary Ware added the comment: Here's a new 2.7 patch. It addresses Serhiy's review comments and doesn't change test_xpickle, which I will be opening a new issue for. -- Added file: http://bugs.python.org/file33080/skiptest_not_return_or_pass.v5-2.7.diff

[issue19949] Explicitly skip or mask skipped/disabled tests in test_xpickle

2013-12-10 Thread Zachary Ware
New submission from Zachary Ware: The attached patch moves test_xpickle away from using alternately defined empty TestCases to skip the backward compatibility tests to using a skip decorator. Also, several disabled tests are moved from defining empty tests to setting the test name to None. A

[issue19572] Report more silently skipped tests as skipped

2013-12-10 Thread Zachary Ware
Zachary Ware added the comment: I missed the comments on test_bsddb; I'll either post a new patch here or open a new issue depending on how big that diff becomes. -- ___ Python tracker

[issue19572] Report more silently skipped tests as skipped

2013-12-10 Thread Zachary Ware
Zachary Ware added the comment: This patch includes Serhiy's suggestions. Oops! -- Added file: http://bugs.python.org/file33082/skiptest_not_return_or_pass.v6-2.7.diff ___ Python tracker _

[issue18874] Add a new tracemalloc module to trace memory allocations

2013-12-10 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue19818] tracemalloc: comments on the doc

2013-12-10 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue5712] tkinter - askopenfilenames returns string instead of tuple in windows 2.6.1 release

2013-12-10 Thread Martin Miller
Martin Miller added the comment: Requested information: Before Tkinter.wantobjects: 1 Tkinter._support_default_root: 1 Tkinter._default_root: None Tkinter._default_root has no

[issue504219] locale.resetlocale is broken

2013-12-10 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.3, Python 3.4 -Python 3.1, Python 3.2 ___ Python tracker ___ ___ Python-bugs-list

[issue16595] Add resource.prlimit

2013-12-10 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Just received this report on psutil bug tracker: https://code.google.com/p/psutil/issues/detail?id=455 It seems os.prlimit() is affected by the same problem: >>> import resource >>> resource.RLIM_INFINITY -1 >>> -- resolution: fixed -> status: close

[issue16595] Add resource.prlimit

2013-12-10 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: s/os.prlimit/resource.prlimit -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue16595] Add resource.prlimit

2013-12-10 Thread Antoine Pitrou
Antoine Pitrou added the comment: How is that a problem? In any case, this shouldn't have anything to do with prlimit(), please open another issue. -- resolution: -> fixed status: open -> closed ___ Python tracker

[issue19572] Report more silently skipped tests as skipped

2013-12-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: $ ./python -3 -m test.regrtest test_builtin test_builtin test test_builtin crashed -- : filter ('.+ is renamed to imp.reload', DeprecationWarning) did not catch any warning 1 test failed: test_builtin Rest of the skiptest_not_return_or_pass.v6-2.7.diff pa

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

2013-12-10 Thread dellair jie
dellair jie added the comment: Folks, I am closing this bug as it seems to be fixed with a with a redownload of original package. Thanks for sharing the ideas. Br, Li -- resolution: -> fixed status: open -> closed ___ Python tracker

[issue19943] typo: unkown → unknown

2013-12-10 Thread Ezio Melotti
Changes by Ezio Melotti : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue19100] Use backslashreplace in pprint

2013-12-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: In new patch wrapping stream is moved to PrettyPrinter constructor. -- Added file: http://bugs.python.org/file33084/pprint_unencodable_2.patch ___ Python tracker

[issue19946] multiprocessing crash with forkserver or spawn when run from a non ".py" ending script

2013-12-10 Thread Olivier Grisel
Olivier Grisel added the comment: > So the question is exactly what module is being passed to > importlib.find_spec() and why isn't it finding a spec/loader for that module. The module is the `nosetests` python script. module_name == 'nosetests' in this case. However, nosetests is not consider

[issue19846] Python 3 raises Unicode errors with the C locale

2013-12-10 Thread Toshio Kuratomi
Toshio Kuratomi added the comment: Looking at the glib code, this looks like the SO post is closer to the truth. The API documentation for g_filename_to_utf8() is over-simplified to the point of confusion. This section of the glib API document is closer to what the code is doing: https://de

[issue19940] ssl.cert_time_to_seconds() returns wrong results if local timezone is not UTC

2013-12-10 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: -giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue19572] Report more silently skipped tests as skipped

2013-12-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 423e09aedf79 by Zachary Ware in branch '2.7': Issue #19572: More silently skipped tests explicitly skipped. http://hg.python.org/cpython/rev/423e09aedf79 -- ___ Python tracker

  1   2   >