[issue30729] Swap doesn't work in some circumstances

2017-06-21 Thread Hang Liao
New submission from Hang Liao: Suppose I have two lists L1 = [1,3,2,4], L2 = [1,3,2,4] L1[1], L1[2] = L1[2], L1[1] This gives me L1 = [1,2,3,4] However, if I write L2[1], L2[L2[1] - 1] = L2[L2[1] - 1], L2[1] This gives me back the same L2 = [1,3,2,4] I am not sure if this is a mistake ... If it

Re: Progress on the Gilectomy (Posting On Python-List Prohibited)

2017-06-21 Thread Paul Rubin
Lawrence D’Oliveiro writes: > while “memory footprint” depends on how much memory is actually being > retained in accessible objects. If the object won't be re-accessed but is still retained by gc, then refcounting won't free it either. > Once again: The trouble with GC

[issue30726] [Windows] Warnings in elementtree due to new expat

2017-06-21 Thread Louie Lu
Changes by Louie Lu : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue30726] [Windows] Warnings in elementtree due to new expat

2017-06-21 Thread Segev Finer
Changes by Segev Finer : -- type: -> compile error ___ Python tracker ___ ___

Re: Progress on the Gilectomy (Posting On Python-List Prohibited)

2017-06-21 Thread Steve D'Aprano
On Thu, 22 Jun 2017 10:30 am, Lawrence D’Oliveiro wrote: > Once again: The trouble with GC is, it doesn’t know when to kick in: it just > keeps on allocating memory until it runs out. Once again: no it doesn't. Are you aware that CPython has a GC? (Or rather, a *second* GC, apart from the

[issue30616] Cannot use functional API to create enum with zero values

2017-06-21 Thread Dong-hee Na
Changes by Dong-hee Na : -- pull_requests: +2373 ___ Python tracker ___ ___

[issue29366] os.listdir has inconsistent behavior when run on a non-directory

2017-06-21 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> not a bug stage: test needed -> resolved status: open -> closed ___ Python tracker ___

[issue30728] IDLE: Modernize configdialog code.

2017-06-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: I moved PR 2307 here. I made trivial PR 2322 for the config_key typo. Cheryl, how did you do the name changes? Did you prepare a rename mapping or script that could be applied to other patch files? If so, please upload. If sensibly possible, I would like

[issue30723] IDLE parenmatch - left and right highlighting, independent flash-delay

2017-06-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks. That gives me something to work with. -- ___ Python tracker ___ ___

[issue8799] Hang in lib/test/test_threading.py

2017-06-21 Thread STINNER Victor
STINNER Victor added the comment: The race condition is not dead, at least in Python 2.7 :-) I backported the change for bpo-30727: "[2.7] test_threading.ConditionTests.test_notify() hangs randomly on Python 2.7". -- ___ Python tracker

[issue8799] Hang in lib/test/test_threading.py

2017-06-21 Thread STINNER Victor
STINNER Victor added the comment: New changeset da6d305b6fcd49ba1224b1fd2131d7648a5be6b9 by Victor Stinner in branch '2.7': bpo-8799: Reduce timing sensitivity of condition test by explicitly (#2320) https://github.com/python/cpython/commit/da6d305b6fcd49ba1224b1fd2131d7648a5be6b9 --

[issue30541] Add restricted mocks to the python unittest mocking framework

2017-06-21 Thread STINNER Victor
STINNER Victor added the comment: > I don't see what this buys over spec and autospec. I'd be inclined to close > it without a compelling use case beyond what is already supported. I proposed to Mario to open an issue since I like his API. Even if "sealing" mocks is unlikely to be the most

[issue27388] IDLE configdialog: reduce multiple references to Var names

2017-06-21 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- pull_requests: -2354 ___ Python tracker ___ ___

[issue27388] IDLE configdialog: reduce multiple references to Var names

2017-06-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: I moved PR 2307 to a new issue, #30728 Modernize configdialog. My comment that internal Var names "can lowercased (PEP8) and otherwised changed" was anticipating such an issue. The point for this issue was to contrast Var names with the cross-version config

[issue30604] co_extra_freefuncs is stored thread locally and can lead to crashes

2017-06-21 Thread STINNER Victor
STINNER Victor added the comment: If a test requires ctypes, please skip your test if ctypes is missing. The new test fails on the "x86 Ubuntu Shared 3.x" buildbot which lacks the _ctypes module (for an unknown reason, but does it really matter here? ;-)).

[issue30727] [2.7] test_threading.ConditionTests.test_notify() hangs randomly on Python 2.7

2017-06-21 Thread STINNER Victor
STINNER Victor added the comment: It's getting late here, so I chose to first backport the commit 020af2a2bc4708215360a3793b5a1790e15d05dd to Python 2.7, to reduce the likehood of this bug on 2.7 buildbots. -- pull_requests: +2372 ___ Python

[issue8799] Hang in lib/test/test_threading.py

2017-06-21 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2371 ___ Python tracker ___ ___

[issue30723] IDLE parenmatch - left and right highlighting, independent flash-delay

2017-06-21 Thread Charles Wohlganger
Charles Wohlganger added the comment: There are two changes: First - The flash-delay option is for how until the parens that are highlighted will stop highlighting. The flash-delay option for the ParenMatch only affects the 'default' style. Similarly the 'expressions' style does not use the

[issue30727] [2.7] test_threading.ConditionTests.test_notify() hangs randomly on Python 2.7

2017-06-21 Thread STINNER Victor
STINNER Victor added the comment: The bug occurs when notify(n) is called while less than n threads are waiting in cond.wait(): when some threads didn't reach cond.wait() yet. The synchronization code is very fragile and depends on time. The issue was worked again in the master banch by

[issue30728] IDLE: Modernize configdialog code.

2017-06-21 Thread Cheryl Sabella
Changes by Cheryl Sabella : -- pull_requests: +2370 ___ Python tracker ___ ___

[issue30728] IDLE: Modernize configdialog code.

2017-06-21 Thread Terry J. Reedy
New submission from Terry J. Reedy: Depending on the file, modernizing includes: * Add docstrings. * Change non-class names with caps to PEP8 no-caps names; this often means, for example, changing embedded 'A' to '_a'. * Make most comments be sentences, like this sentence. * Review and

[issue5680] Command-line arguments when running in IDLE

2017-06-21 Thread veganaiZe
veganaiZe added the comment: I've created a simple work-around for those who don't want to wait for the next release(s) of IDLE. It's available on SO: https://stackoverflow.com/a/44687632/5039027 -- ___ Python tracker

[issue30727] [2.7] test_threading.ConditionTests.test_notify() hangs randomly on Python 2.7

2017-06-21 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-8799 "Hang in lib/test/test_threading.py" and the commit 020af2a2bc4708215360a3793b5a1790e15d05dd which added two _wait() calls to ConditionTests._check_notify(). -- ___ Python tracker

[issue30541] Add restricted mocks to the python unittest mocking framework

2017-06-21 Thread Michael Foord
Michael Foord added the comment: I don't see what this buys over spec and autospec. I'd be inclined to close it without a compelling use case beyond what is already supported. -- ___ Python tracker

[issue30604] co_extra_freefuncs is stored thread locally and can lead to crashes

2017-06-21 Thread Yury Selivanov
Yury Selivanov added the comment: Closing the issue. Thank you Dino for working on this! -- resolution: -> fixed stage: backport needed -> resolved status: open -> closed ___ Python tracker

[issue30727] [2.7] test_threading.ConditionTests.test_notify() hangs randomly on Python 2.7

2017-06-21 Thread STINNER Victor
STINNER Victor added the comment: notify_bug.py: script close totest.test_threading.ConditionTests.test_notify() but different: * _wait() sleeps 1 nanosecond rather than 10 ms * log many messages into stdout (file descriptor 1) using os.write() It's quite easy to reproduce the bug with this

[issue30604] co_extra_freefuncs is stored thread locally and can lead to crashes

2017-06-21 Thread Yury Selivanov
Yury Selivanov added the comment: It doesn't need to be, it's only for 3.6 -- ___ Python tracker ___ ___

[issue30604] co_extra_freefuncs is stored thread locally and can lead to crashes

2017-06-21 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: PR 2152 is not yet ported to master. -- ___ Python tracker ___ ___

Re: Progress on the Gilectomy

2017-06-21 Thread Steve D'Aprano
On Thu, 22 Jun 2017 08:23 am, breamore...@gmail.com wrote: > Don't you know that Lawrence D’Oliveiro has been banned from the mailing list > as he hasn't got a clue what he's talking about, That's not why he was given a ban. Being ignorant is not a crime -- if it were, a lot more of us would be

[issue30604] co_extra_freefuncs is stored thread locally and can lead to crashes

2017-06-21 Thread Brett Cannon
Brett Cannon added the comment: Should this be closed since the all PRs got merged? -- ___ Python tracker ___

[issue30727] [2.7] test_threading.ConditionTests.test_notify() hangs randomly on Python 2.7

2017-06-21 Thread STINNER Victor
Changes by STINNER Victor : -- title: [2.7] test_threading.ConditionTests.test_notify() hangs randomly on FreeBSD on Python 2.7 -> [2.7] test_threading.ConditionTests.test_notify() hangs randomly on Python 2.7 ___ Python

[issue30727] [2.7] test_threading.ConditionTests.test_notify() hangs randomly on FreeBSD on Python 2.7

2017-06-21 Thread STINNER Victor
STINNER Victor added the comment: Oh, I reproduced the bug on Linux as well by running "./python -m test -F -m test.test_threading.ConditionTests.test_notify -v test_threading" 6 times in different terminals: the test hangs in two terminal after 2508 and 2262 runs. --

[issue30727] [2.7] test_threading.ConditionTests.test_notify() hangs randomly on FreeBSD on Python 2.7

2017-06-21 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +pitrou, serhiy.storchaka ___ Python tracker ___

[issue30727] [2.7] test_threading.ConditionTests.test_notify() hangs randomly on FreeBSD on Python 2.7

2017-06-21 Thread STINNER Victor
STINNER Victor added the comment: test.test_threading.ConditionTests.test_notify() tests the threading._Condition. threading._Condition uses internally a threading._RLock. threading._RLock uses an internal lock created with thread.allocate_lock(). thread.allocate_lock() calls internally

[issue23451] Deprecation warnings building 3.5 Visual Studio Windows 8.1 64 bit

2017-06-21 Thread Mark Lawrence
Changes by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___

[issue30726] [Windows] Warnings in elementtree due to new expat

2017-06-21 Thread Segev Finer
Changes by Segev Finer : -- pull_requests: +2369 ___ Python tracker ___ ___

[issue30351] regrtest hangs on x86 Windows XP 2.7

2017-06-21 Thread STINNER Victor
STINNER Victor added the comment: I created bpo-30727: "[2.7] test_threading.ConditionTests.test_notify() hangs randomly on FreeBSD on Python 2.7". -- ___ Python tracker

[issue30351] [2.7] regrtest hangs on Python 2.7 (test_threading?)

2017-06-21 Thread STINNER Victor
Changes by STINNER Victor : -- title: regrtest hangs on x86 Windows XP 2.7 -> [2.7] regrtest hangs on Python 2.7 (test_threading?) ___ Python tracker

[issue30727] [2.7] test_threading.ConditionTests.test_notify() hangs randomly on FreeBSD on Python 2.7

2017-06-21 Thread STINNER Victor
New submission from STINNER Victor: Example where the test hangs after at the 48th run: [haypo@freebsd ~/prog/python/2.7]$ ./python -m test -F -m test.test_threading.ConditionTests.test_notify -v test_threading (...) 0:00:10 [ 47] test_threading test_notify

[issue30726] [Windows] Warnings in elementtree due to new expat

2017-06-21 Thread Segev Finer
New submission from Segev Finer: We are getting: Warning C4005 'HAVE_MEMMOVE': macro redefinition _elementtree c:\users\segev\prj\python\cpython\modules\expat\winconfig.h 34 Warning C4267 '=': conversion from 'size_t' to 'unsigned char', possible loss of data

[issue30541] Add restricted mocks to the python unittest mocking framework

2017-06-21 Thread Mario Corchero
Mario Corchero added the comment: Whilst I agree that using spec can be used for a similar purpose and I did not know about being able to do nested definitions via the arguments (the **{"method1.return_value": 1}, really cool!) I find the idea of allowing users to halt the mock generation

[issue23451] Deprecation warnings building 3.5 Visual Studio Windows 8.1 64 bit

2017-06-21 Thread Segev Finer
Changes by Segev Finer : -- pull_requests: +2368 ___ Python tracker ___ ___

[issue30604] co_extra_freefuncs is stored thread locally and can lead to crashes

2017-06-21 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset f3cffd2b7879d209f982de899b782fb89cfc410a by Yury Selivanov (Dino Viehland) in branch 'master': bpo-30604: clean up co_extra support (#2144) https://github.com/python/cpython/commit/f3cffd2b7879d209f982de899b782fb89cfc410a --

[issue30351] regrtest hangs on x86 Windows XP 2.7

2017-06-21 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2367 ___ Python tracker ___ ___

[issue30532] email.policy.SMTP.fold() mangles long headers

2017-06-21 Thread Joel Hillacre
Joel Hillacre added the comment: > Ping the issue again next week if I don't get to it this weekend. I am a week late, but here is a ping. -- ___ Python tracker

[issue30351] regrtest hangs on x86 Windows XP 2.7

2017-06-21 Thread STINNER Victor
STINNER Victor added the comment: http://buildbot.python.org/all/builders/AMD64%20FreeBSD%2010.x%20Shared%202.7/builds/129/steps/test/logs/stdio ... 0:06:35 [402/404] test_signal passed (46 sec) -- running: test_lib2to3 (63 sec), test_threading (395 sec) 0:07:01 [403/404] test_lib2to3 passed

[issue29591] expat 2.2.0: Various security vulnerabilities in bundled expat (CVE-2016-0718 and CVE-2016-4472)

2017-06-21 Thread STINNER Victor
STINNER Victor added the comment: Jeremy Kloth added the comment: > Just a note with the PR, the changes to PCbuild\pyexpat.vcxproj and > PCbuild\_elementtree.vcxproj should probably be merged forward as > well. PR 2310. Yes, I agree. Can you please propose patches for master, and then 3.6 and

[issue30351] regrtest hangs on x86 Windows XP 2.7

2017-06-21 Thread STINNER Victor
STINNER Victor added the comment: http://buildbot.python.org/all/builders/x86%20Windows%20XP%20VS9.0%202.7/builds/203/steps/test/logs/stdio ... 0:18:49 [401/404] test_zipimport passed -- running: test_threading (158 sec) 0:18:52 [402/404] test_zipimport_support passed -- running:

[issue30716] Failing tests with installed 3.6.2rc1 on Win 10-64

2017-06-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: Steve, what should I do to answer you line-ending question, or do you still need the info? Victor Stinner reopened #27425, which was about the exact same line-ending failures. -- ___ Python tracker

[issue29212] Python 3.6 logging thread name regression with concurrent.future threads

2017-06-21 Thread desbma
desbma added the comment: Thank you Gregory for the insight and new patch. Can this be merged in the 3.6 branch as well (targeting the 3.6.3 release)? -- ___ Python tracker

[issue30723] IDLE parenmatch - left and right highlighting, independent flash-delay

2017-06-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: Hi Charles. Welcome to CPython development and its issue tracker. Everyone starts 'new at this'. Can you please describe, in detail, a simple, minimal example of how to invoke the existing behavior that you want to change, then what change you want to see.

[issue29981] Update Index for set, dict, and generator 'comprehensions'

2017-06-21 Thread R. David Murray
R. David Murray added the comment: On the PR Berker wrote: I'm wondering if we should still advertise the use of set([...]). We replaced all instances of it with set literals in the stdlib. set([...]) is part of the language, and the python documentation is also a specification of the

[issue29591] expat 2.2.0: Various security vulnerabilities in bundled expat (CVE-2016-0718 and CVE-2016-4472)

2017-06-21 Thread Jeremy Kloth
Jeremy Kloth added the comment: Just a note with the PR, the changes to PCbuild\pyexpat.vcxproj and PCbuild\_elementtree.vcxproj should probably be merged forward as well. On Wed, Jun 21, 2017 at 1:14 PM, STINNER Victor wrote: > > STINNER Victor added the comment: > > >

[issue30723] IDLE parenmatch - left and right highlighting, independent flash-delay

2017-06-21 Thread Charles Wohlganger
Changes by Charles Wohlganger : -- pull_requests: +2366 ___ Python tracker ___

[issue30723] IDLE parenmatch - left and right highlighting, independent flash-delay

2017-06-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: On bugs.python.org tracker a number prefixed by '#' refers an issue number on this tracker. On the other hand, PR2306 or PR 2306 should do what you meant. https://docs.python.org/devguide/triaging.html#generating-special-links-in-a-comment In a pull request,

[issue30549] ProcessPoolExecutor hangs forever if the object raises on __getstate__

2017-06-21 Thread Grzegorz Grzywacz
Grzegorz Grzywacz added the comment: This is already reported and patch was proposed. Here: #30006 -- nosy: +grzgrzgrz3 ___ Python tracker ___

[issue25684] ttk.OptionMenu radiobuttons aren't unique between two instances of OptionMenu

2017-06-21 Thread Cheryl Sabella
Cheryl Sabella added the comment: I've now added unittests for this change. -- nosy: +gpolo ___ Python tracker ___

[issue30725] Windows installer for 2.7.13 doesn't install pip when installing to C:\Program Files

2017-06-21 Thread Steve Dower
Steve Dower added the comment: I wonder if the custom action to run _ensurepip isn't running as admin... that would be the only thing I can think of. Can you try running the installer with: msiexec /l*vx log.txt /i path_to.msi Then attach the generated log.txt file? We might be able to see

[issue29591] expat 2.2.0: Various security vulnerabilities in bundled expat (CVE-2016-0718 and CVE-2016-4472)

2017-06-21 Thread STINNER Victor
STINNER Victor added the comment: New changeset ab3b0ade505ce07a3d5ec4fbc991a154242732e6 by Victor Stinner (Jeremy Kloth) in branch '2.7': bpo-29591: Update VS project files (#2310) https://github.com/python/cpython/commit/ab3b0ade505ce07a3d5ec4fbc991a154242732e6 --

[issue30541] Add restricted mocks to the python unittest mocking framework

2017-06-21 Thread Grzegorz Grzywacz
Grzegorz Grzywacz added the comment: Existing mock implementation already has that feature. Mock attributes can be limited with `spec` attribute. >>> inner_m = Mock(spec=["method2"], **{"method2.return_value": 1}) >>> m = Mock(spec=["method1"], **{"method1.return_value": inner_m}) >>> >>>

[issue29212] Python 3.6 logging thread name regression with concurrent.future threads

2017-06-21 Thread Gregory P. Smith
Changes by Gregory P. Smith : -- pull_requests: +2365 ___ Python tracker ___ ___

[issue30183] [HPUX] compilation error in pytime.c with cc compiler

2017-06-21 Thread STINNER Victor
STINNER Victor added the comment: New changeset c90e96015085784df86632b26059b19c80cbfc97 by Victor Stinner (haney) in branch 'master': bpo-30183: Fixes HP-UX cc compilation error in pytime.c (#1351) https://github.com/python/cpython/commit/c90e96015085784df86632b26059b19c80cbfc97 --

[issue30725] Windows installer for 2.7.13 doesn't install pip when installing to C:\Program Files

2017-06-21 Thread Kevin Keating
New submission from Kevin Keating: If I use the Python 64-bit 2.7.13 Windows installer and install to C:\Program Files\Python27, then the Scripts folder doesn't get created and pip doesn't get installed. If I uninstall Python and reinstall it to C:\Python27, C:\Programs\Python27, or "C:\Path

[issue27620] IDLE: Add keyboard equivalents for mouse actions.

2017-06-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: ConfigDialgo.__init__ has commented out key bindings for the buttons, including Esc for [Cancel]. We should establish 'IDLE Dialog Conventions', document (add to README.txt?), and follow consistently. #27621 is about polishing Query box behavior. It should

[issue30616] Cannot use functional API to create enum with zero values

2017-06-21 Thread Ethan Furman
Ethan Furman added the comment: 3.7 fixed, now need 3.6. -- stage: test needed -> backport needed ___ Python tracker ___

[issue29212] Python 3.6 logging thread name regression with concurrent.future threads

2017-06-21 Thread Gregory P. Smith
Gregory P. Smith added the comment: agreed the repr(self) name being surfaced is a regression even if technically "correct". your patch makes sense, but i think a nicer variant of it will be to name the thread ("Executor_" + str(num_threads)) when no thread_name_prefix is supplied.

[issue30716] Failing tests with installed 3.6.2rc1 on Win 10-64

2017-06-21 Thread Steve Dower
Changes by Steve Dower : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list

[issue30616] Cannot use functional API to create enum with zero values

2017-06-21 Thread Ethan Furman
Ethan Furman added the comment: New changeset dcc8ce44c74492670e6bfbde588a2acbf8f365e0 by ethanfurman (Dong-hee Na) in branch 'master': bpo-30616: Functional API of enum allows to create empty enums. (#2304) https://github.com/python/cpython/commit/dcc8ce44c74492670e6bfbde588a2acbf8f365e0

[issue30716] Failing tests with installed 3.6.2rc1 on Win 10-64

2017-06-21 Thread Steve Dower
Steve Dower added the comment: For the next build, test_codecencodings_iso2022, test_random, test_sax and test_tools should all pass, as the .gitattributes file excludes those files from conversion. I'm still in favour of hardening the tests. test_pcbuild_rc should be skipped. I don't think

[issue30716] Failing tests with installed 3.6.2rc1 on Win 10-64

2017-06-21 Thread Steve Dower
Changes by Steve Dower : -- priority: release blocker -> normal ___ Python tracker ___

[issue30716] Failing tests with installed 3.6.2rc1 on Win 10-64

2017-06-21 Thread Steve Dower
Steve Dower added the comment: So the pickle issues were because the .gitattributes file changed multiple times since the last release but the files were not modified, so git did not fix them in my build repo. This should cover random and 2to3. Most of the stdlib is correct CRLF. XML should

[issue30723] IDLE parenmatch - left and right highlighting, independent flash-delay

2017-06-21 Thread Charles Wohlganger
Changes by Charles Wohlganger : -- pull_requests: +2363 ___ Python tracker ___

[issue30723] IDLE parenmatch - left and right highlighting, independent flash-delay

2017-06-21 Thread Charles Wohlganger
Changes by Charles Wohlganger : -- pull_requests: -2362 ___ Python tracker ___

[issue30723] IDLE parenmatch - left and right highlighting, independent flash-delay

2017-06-21 Thread Charles Wohlganger
Changes by Charles Wohlganger : -- pull_requests: +2362 ___ Python tracker ___

[issue30724] ZipFile.open treats directory path as empty file

2017-06-21 Thread Kit Yan Choi
New submission from Kit Yan Choi: Given a zipfile with the following content: subdir/ file1.txt subdir/file2.txt >>> archive = ZipFile(file_path, "r") >>> f = archive.open("subdir/", "r") >>>f.read() b'' It is quite odd that the subdirectory can be opened as if it was an empty

[issue30709] Bad getter from Descriptor#Properties example

2017-06-21 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- versions: +Python 3.5, Python 3.6, Python 3.7 ___ Python tracker ___

[issue6739] IDLE: refuse invalid key bindings

2017-06-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: I believe patch for #21519 affects area of file patched here. -- ___ Python tracker ___

[issue21519] IDLE : Bug in keybinding validity check

2017-06-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: I believe patch affects same area of file as patch for #6739. -- ___ Python tracker ___

Re: Progress on the Gilectomy

2017-06-21 Thread Paul Rubin
Lawrence D’Oliveiro writes: > The trouble with GC is, it doesn’t know when to kick in: it just keeps > on allocating memory until it runs out. That's not how GC works, geez. Typically it would run after every N bytes of memory allocated, for N chosen to balance memory

[issue30368] [2.7] OpenSSL compilation fails on AMD64 Windows7 SP1 VS9.0 2.7

2017-06-21 Thread STINNER Victor
STINNER Victor added the comment: Oh cool, with my commit 2ada64d2a073f85f135461833952dbe8d656810d "[2.7] bpo-30694: Upgrade Modules/expat/ to libexpat 2.2.1 (#2300)", and obvious Jeremy's previous fix!, the compile step of "AMD64 Windows7 SP1 VS9.0 2.7" succeeded for the first time since a

[issue30694] Update embedded copy of expat to 2.2.1

2017-06-21 Thread STINNER Victor
STINNER Victor added the comment: I will wait for 2.7, 3.5, 3.6 and master buildbots before backporting the change to 3.3 and 3.4. -- ___ Python tracker

[issue30694] Update embedded copy of expat to 2.2.1

2017-06-21 Thread STINNER Victor
STINNER Victor added the comment: New changeset 2ada64d2a073f85f135461833952dbe8d656810d by Victor Stinner in branch '2.7': [2.7] bpo-30694: Upgrade Modules/expat/ to libexpat 2.2.1 (#2300) (#2312) https://github.com/python/cpython/commit/2ada64d2a073f85f135461833952dbe8d656810d --

[issue30711] getaddrinfo invalid port number

2017-06-21 Thread Radek Smejkal
Changes by Radek Smejkal : -- components: +Extension Modules -Library (Lib) keywords: +patch Added file: http://bugs.python.org/file46965/getaddrinfo_invalid_port.patch ___ Python tracker

EuroPython 2017: Conference app available in app stores

2017-06-21 Thread M.-A. Lemburg
We are pleased to announce our very own mobile app for the EuroPython 2017 conference: * https://ep2017.europython.eu/en/events/conference-app/ * EuroPython 2017 Conference App Engage with the conference and its attendees

EuroPython 2017: Conference app available in app stores

2017-06-21 Thread M.-A. Lemburg
We are pleased to announce our very own mobile app for the EuroPython 2017 conference: * https://ep2017.europython.eu/en/events/conference-app/ * EuroPython 2017 Conference App Engage with the conference and its attendees

[issue30716] Failing tests with installed 3.6.2rc1 on Win 10-64

2017-06-21 Thread Steve Dower
Steve Dower added the comment: To clarify (because I never trust test output for this), your install has \n line endings everywhere instead of \r\n? -- ___ Python tracker

[issue30694] Update embedded copy of expat to 2.2.1

2017-06-21 Thread STINNER Victor
STINNER Victor added the comment: New changeset 91d171be45942d37a973b0675521b5159a96be31 by Victor Stinner in branch '3.5': bpo-30694: Upgrade Modules/expat/ to libexpat 2.2.1 (#2300) (#2314) https://github.com/python/cpython/commit/91d171be45942d37a973b0675521b5159a96be31 --

[issue30694] Update embedded copy of expat to 2.2.1

2017-06-21 Thread STINNER Victor
STINNER Victor added the comment: New changeset 4a66524006852fc982aebafa277f2c043d9ad149 by Victor Stinner in branch '3.6': bpo-30694: Upgrade Modules/expat/ to libexpat 2.2.1 (#2300) (#2313) https://github.com/python/cpython/commit/4a66524006852fc982aebafa277f2c043d9ad149 --

[issue29212] Python 3.6 logging thread name regression with concurrent.future threads

2017-06-21 Thread desbma
desbma added the comment: Ping. I think any change, included Inada Naoki's idea above is better that the current behavior that pollutes the logging module output. Unfortunately I cannot rely on the 3.6 new thread_name_prefix argument for portability reasons, and have to manually patch my

Re: Instagram: 40% Py3 to 99% Py3 in 10 months (Posting On Python-List Prohibited)

2017-06-21 Thread Michael Torrie
On 06/21/2017 12:25 AM, Chris Angelico wrote: > By "ships with", do you mean that it's not there by default, or that > you can't get it through yum? Because if it's just the former, you > should be able to declare that your program depends on Python 3. RHEL > 6 came out in 2010 and RHEL 7 in 2014,

[issue30723] IDLE parenmatch - left and right highlighting, independent flash-delay

2017-06-21 Thread Charles Wohlganger
New submission from Charles Wohlganger: Sorry, I'm new to this, and I've done it out of order. Commit #2306 covers the following: In IDLE, parenmatch extension: Add highlighting left and right parens to styles. Make flash-delay setting independent of parens highlighting style. Currently, the

[issue30183] [HPUX] compilation error in pytime.c with cc compiler

2017-06-21 Thread David Haney
Changes by David Haney : -- pull_requests: -2361 ___ Python tracker ___ ___

[issue30183] [HPUX] compilation error in pytime.c with cc compiler

2017-06-21 Thread David Haney
David Haney added the comment: I submitted a pull request for a possible fix for this issue but haven't received any feedback yet. Is there any additional information needed from me? -- pull_requests: +2361 ___ Python tracker

[issue29591] expat 2.2.0: Various security vulnerabilities in bundled expat (CVE-2016-0718 and CVE-2016-4472)

2017-06-21 Thread STINNER Victor
STINNER Victor added the comment: > Added pull_request2355 to address issues from upgrading to Expat 2.2.0 on > Windows 2.7 I would prefer to first fix the new vulnerabilities, by upgrading expat to 2.2.1, and then review your change. => https://github.com/python/cpython/pull/2312

[issue30368] [2.7] OpenSSL compilation fails on AMD64 Windows7 SP1 VS9.0 2.7

2017-06-21 Thread STINNER Victor
STINNER Victor added the comment: > Added PR to issue29591 to address issue building Expat. In short, the > project files were not updated along with the copy of Expat. I would prefer to first fix the new vulnerabilities, but upgrading expat to 2.2.1, and then review your change. =>

[issue30694] Update embedded copy of expat to 2.2.1

2017-06-21 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2360 ___ Python tracker ___ ___

[issue30694] Update embedded copy of expat to 2.2.1

2017-06-21 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2358 ___ Python tracker ___ ___

Re: Instagram: 40% Py3 to 99% Py3 in 10 months (Posting On Python-List Prohibited)

2017-06-21 Thread alister
On Wed, 21 Jun 2017 01:01:06 -0700, Lawrence D’Oliveiro wrote: > On Wednesday, June 21, 2017 at 6:59:21 PM UTC+12, wxjm...@gmail.com > wrote: >> Le mardi 20 juin 2017 15:41:27 UTC+2, bream...@gmail.com a écrit : >> > On Tuesday, June 20, 2017 at 12:18:50 PM UTC+1, wxjm...@gmail.com >> > wrote: >>

[issue30694] Update embedded copy of expat to 2.2.1

2017-06-21 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2359 ___ Python tracker ___ ___

[issue30722] Tools/demo/redemo.py broken

2017-06-21 Thread Roundup Robot
Changes by Roundup Robot : -- pull_requests: +2356 ___ Python tracker ___

  1   2   >