[issue22192] dict_values objects are hashable

2014-08-13 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +serhiy.storchaka versions: +Python 3.5 ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue21445] Some asserts in test_filecmp have the wrong messages

2014-08-13 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the patch, Steven. -- nosy: +r.david.murray resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker _

[issue21445] Some asserts in test_filecmp have the wrong messages

2014-08-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset b4bfd98a17c5 by Berker Peksag in branch '3.4': Issue #21445: Pass exception messages correctly to assertTrue in http://hg.python.org/cpython/rev/b4bfd98a17c5 New changeset 07ec9ec385de by Berker Peksag in branch 'default': Issue #21445: Pass excepti

[issue21445] Some asserts in test_filecmp have the wrong messages

2014-08-13 Thread Berker Peksag
Changes by Berker Peksag : -- assignee: -> berker.peksag nosy: +berker.peksag versions: +Python 3.4 ___ Python tracker ___ ___ Python

[issue1234674] filecmp.cmp's "shallow" option

2014-08-13 Thread Berker Peksag
Changes by Berker Peksag : -- stage: test needed -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue21389] The repr of BoundMethod objects sometimes incorrectly identifies the bound function

2014-08-13 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +benjamin.peterson stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue22192] dict_values objects are hashable

2014-08-13 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue22086] Tab indent no longer works in interpreter

2014-08-13 Thread caff huang
caff huang added the comment: It happens on my Windows 7 x64, Python 3.4.1, command shell. (IDLE works fine). -- nosy: +caffhuang Added file: http://bugs.python.org/file36367/py34.png ___ Python tracker ___

[issue12954] Multiprocessing logging under Windows

2014-08-13 Thread paul j3
paul j3 added the comment: I had noticed the `global _log_to_stderr` in `util.log_to_stderr()`, but hadn't taken time to track down where it is used. Not only is it passed from the 'util' module to the 'forking' one, but it is also passed via a piped pickle from parent to child process. There

[issue22192] dict_values objects are hashable

2014-08-13 Thread Ben Roberts
New submission from Ben Roberts: In python 3.4 these result in a TypeError: hash({}.keys()) hash({}.items()) But this succeeds: hash({}.values()) The 2.7 backports of these - viewkeys, viewitems, and viewvalues respectively - behave equivalently. See more discussion on StackOverflow:

[issue22191] warnings.__all__ incomplete

2014-08-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: Jon, please do! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue22191] warnings.__all__ incomplete

2014-08-13 Thread Jon Poler
Jon Poler added the comment: Antoine: I'll look in to this unless you want do so yourself. Thanks. -- nosy: +jon.poler ___ Python tracker ___ __

[issue20291] Argument Clinic should understand *args and **kwargs parameters

2014-08-13 Thread Zachary Ware
Changes by Zachary Ware : -- components: +Demos and Tools nosy: +zach.ware type: behavior -> enhancement versions: +Python 3.5 ___ Python tracker ___

[issue18402] Finding perl64

2014-08-13 Thread Zachary Ware
Zachary Ware added the comment: It's a harmless patch, but not especially necessary. If you need the perl.exe that's in C:\Perl64\bin, just do "set PATH=C:\Perl64\bin;%PATH%" before you invoke the script. -- ___ Python tracker

[issue21880] IDLE: Ability to run 3rd party code checkers

2014-08-13 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: Attached is a patch which adds capability to work with external programs which can modify the source file(Like whitespace remover tool). It works with all 4 boolean combinations for {show result, reload source}. The test coverage will be increased, dependin

[issue22014] Improve display of OS exception <-> errno mapping

2014-08-13 Thread Jon Poler
Jon Poler added the comment: I'm not entirely sure that I'm interpreting what you are looking for correctly, but here is what the table looks like with literalinclude. -- keywords: +patch Added file: http://bugs.python.org/file36365/OS_exceptions_table.patch ___

[issue10608] Add a section to Windows FAQ explaining os.symlink

2014-08-13 Thread ingrid
ingrid added the comment: I tried writing a section aimed at beginners, please let me know if you think any information should be added or removed. -- keywords: +patch nosy: +ingrid, jesstess Added file: http://bugs.python.org/file36364/issue10608.patch

[issue19714] Add tests for importlib.machinery.WindowsRegistryFinder

2014-08-13 Thread Brett Cannon
Changes by Brett Cannon : -- assignee: -> brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue18381] unittest warnings counter

2014-08-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ouch. I've just been bitten by the fact that unittest enables all warnings by default in 3.4, and this change would definitely make things worse. I would like to see a simple, documented way of disabling this new behaviour. I'm proposing a `catch_warnings` fla

[issue22139] python windows 2.7.8 64-bit did not install

2014-08-13 Thread Zachary Ware
Changes by Zachary Ware : -- components: +Windows stage: -> resolved type: crash -> behavior ___ Python tracker ___ ___ Python-bugs-l

[issue22191] warnings.__all__ incomplete

2014-08-13 Thread Antoine Pitrou
New submission from Antoine Pitrou: If you try `pydoc warnings` (or `help(warnings)` in the interpreter prompt) you'll notice that some functions such as simplefilter() don't appear. This seems to be because warnings.__all__ is incomplete. -- components: Library (Lib) keywords: easy me

[issue22139] python windows 2.7.8 64-bit did not install

2014-08-13 Thread Martin v . Löwis
Martin v. Löwis added the comment: Since we can't investigate further (since you have now resolved it for you), closing it as suggested. -- resolution: -> works for me status: open -> closed ___ Python tracker __

[issue19816] test.regrtest: use tracemalloc to detect memory leaks?

2014-08-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: Slightly unrelated, but in numba I've rewritten parallel testing and refleak testing as regular unittest extensions (TestRunner / TestResult subclasses). It also means you have per-test method refleak results, instead of per-test file. See e.g. RefleakTestResu

[issue15381] Optimize BytesIO to do less reallocations when written, similarly to StringIO

2014-08-13 Thread Nick Coghlan
Nick Coghlan added the comment: It wouldn't be the first time we've used Py_REFCNT that way. We do it with tuples and normal strings as well. -- ___ Python tracker ___ _

[issue22139] python windows 2.7.8 64-bit did not install

2014-08-13 Thread Andreas Richter
Andreas Richter added the comment: I think we can close this although there should be some kind of warning that running an upgrade without an uninstall may not upgrade the files in some cases. However I can't really tell what those cases are. Since I deleted all the files and then did a repair

[issue15381] Optimize BytesIO to do less reallocations when written, similarly to StringIO

2014-08-13 Thread David Wilson
David Wilson added the comment: Hey Serhiy, The implementation for your readline optimization seems less contentious (and less risky) than the remainder of the patch -- it could perhaps be easily split off into a separate patch, which may be far more easily committed. I love the concept of th

[issue22068] tkinter: avoid reference loops with Variables and Fonts

2014-08-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: If there are no objections I'll commit the patch. -- ___ Python tracker ___ ___ Python-bugs-list m

[issue15381] Optimize BytesIO to do less reallocations when written, similarly to StringIO

2014-08-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: What should be made to move this issue forward? -- ___ Python tracker ___ ___ Python-bugs-list mai

[issue12954] Multiprocessing logging under Windows

2014-08-13 Thread Ari Koivula
Ari Koivula added the comment: Actually, multiprocessing.forking.prepare does call log_to_stderr on windows. While debugging the double handler issue I somehow came to the conclusion that it didn't, but it seems to work just fine now. I must have been doing something weird like creating the pr

[issue19628] maxlevels -1 on compileall for unlimited recursion

2014-08-13 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue22166] test_codecs "leaking" references

2014-08-13 Thread Nick Coghlan
Nick Coghlan added the comment: I assigned this to myself when I thought this was going to be an easy fix (since I knew encodings._cache wasn't getting cleared), but it looks substantially more complicated than that. I checked the codec entry was getting cleared by tearDown() correctly, and e

[issue12954] Multiprocessing logging under Windows

2014-08-13 Thread Ari Koivula
Ari Koivula added the comment: Guarding the initialization is indeed correct and works, but log_to_stderr adding the handler multiple times is still annoying. Especially as you probably do want it to be called for child processes (at least on windows) and it might be called during initializati

[issue22166] test_codecs "leaking" references

2014-08-13 Thread Nick Coghlan
Nick Coghlan added the comment: Still not sure what is going on, but I tweaked my tracemalloc hacks based on Victor's draft patch in 19816 (his are designed to make this optional, where mine are hardcoded. I also sort by number of allocations, rather than amount of memory) -- Added fi

[issue19816] test.regrtest: use tracemalloc to detect memory leaks?

2014-08-13 Thread Nick Coghlan
Nick Coghlan added the comment: On second thoughts, what Victor is doing isn't that different from my existing hack - I'll lift the display code, but I'm happy with my data collection code. One thing I did that seemed to reduce the noise substantially was to leave tracing turned off most of th

[issue19816] test.regrtest: use tracemalloc to detect memory leaks?

2014-08-13 Thread Nick Coghlan
Nick Coghlan added the comment: Some of the changes to the way regrtest handles test cases has shown a weird cycle in test_codecs - see issue #22166 for details. I'll try Victor's patch to see if it's more enlightening than my hacked together attempt. -- _

[issue22190] Integrate tracemalloc into regrtest refleak hunting

2014-08-13 Thread Nick Coghlan
Nick Coghlan added the comment: Indeed it is - I should have checked if there was an existing issue. -- resolution: -> duplicate status: open -> closed superseder: -> test.regrtest: use tracemalloc to detect memory leaks? ___ Python tracker

[issue22014] Improve display of OS exception <-> errno mapping

2014-08-13 Thread Nick Coghlan
Nick Coghlan added the comment: I'd suggested starting with seeing including of the subsection of the exceptions.txt file looks, and if that's still a bit hard to read, try the explicit table approach. I'm always wary of having hand maintained mappings in the docs, but this particular one isn

[issue22034] posixpath.join() and bytearray

2014-08-13 Thread Georg Brandl
Changes by Georg Brandl : -- nosy: -georg.brandl ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue22166] test_codecs "leaking" references

2014-08-13 Thread Nick Coghlan
Nick Coghlan added the comment: I did a bit of poking around with tracemalloc (debugging patch diff attached) encodings._cache is definitely one culprit, but something else is going on where it appears the *test cases* are being kept alive. For comparison, with my hacked regrtest, I get this f

[issue22065] Update turtledemo menu creation

2014-08-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Terry? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue22034] posixpath.join() and bytearray

2014-08-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Copied nosy list from issue15180 and issue15377. -- nosy: +Arfrever, chris.jerdonek, eric.araujo, georg.brandl, pitrou, r.david.murray, terry.reedy ___ Python tracker __

[issue22157] FAIL: test_with_pip (test.test_venv.EnsurePipTest)

2014-08-13 Thread snehal
snehal added the comment: /home/python/Python-3.4.1/Modules/_ctypes/libffi/config.guess: unable to guess system type This script, last modified 2012-12-29, has failed to recognize the operating system you are using. It is advised that you download the most up to date version of the config scrip

[issue20729] mailbox.Mailbox does odd hasattr() check

2014-08-13 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _