[issue36175] Identity of bound methods

2019-03-03 Thread Abe Leite
Abe Leite added the comment: Thank you for the explanation. I looked up the documentation for descriptors and I understand better now. I appreciate it! -Abe -- ___ Python tracker

[issue36175] Identity of bound methods

2019-03-03 Thread Inada Naoki
Inada Naoki added the comment: > > Could you explain (or send me a link to) what happens when an instance method > is accessed descriptor of function object creates bound method. You can google "descriptor python". > and why this should be different from what happens when an unbound

[issue20906] Issues in Unicode HOWTO

2019-03-03 Thread miss-islington
Change by miss-islington : -- pull_requests: +12153 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34484] Unicode HOWTO incorrectly refers to Private Use Area for surrogateescape

2019-03-03 Thread miss-islington
Change by miss-islington : -- keywords: +patch pull_requests: +12154 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue20906] Issues in Unicode HOWTO

2019-03-03 Thread A.M. Kuchling
A.M. Kuchling added the comment: New changeset 97c288df614dd7856f5a0336925f56a7a2a5bc74 by Andrew Kuchling in branch 'master': bpo-20906: Various revisions to the Unicode howto (#8394) https://github.com/python/cpython/commit/97c288df614dd7856f5a0336925f56a7a2a5bc74 --

[issue34484] Unicode HOWTO incorrectly refers to Private Use Area for surrogateescape

2019-03-03 Thread A.M. Kuchling
A.M. Kuchling added the comment: New changeset 97c288df614dd7856f5a0336925f56a7a2a5bc74 by Andrew Kuchling in branch 'master': bpo-20906: Various revisions to the Unicode howto (#8394) https://github.com/python/cpython/commit/97c288df614dd7856f5a0336925f56a7a2a5bc74 --

[issue36175] Identity of bound methods

2019-03-03 Thread Abe Leite
Abe Leite added the comment: Hi Inada-san, Could you explain (or send me a link to) what happens when an instance method is accessed and why this should be different from what happens when an unbound method is accessed? The `is` keyword has been very useful for me in introspection cases

[issue36175] Identity of bound methods

2019-03-03 Thread Inada Naoki
Inada Naoki added the comment: It is a designed behavior. I agree that it looks strange to some users who don't know implementation. And that's why people should not use `is` normally, except some use cases (e.g. `is None`.) -- nosy: +inada.naoki resolution: -> not a bug stage: ->

[issue36176] Make IDLE Autocomplete / Calltip Window Colors Configurable

2019-03-03 Thread Kristoffer Law
New submission from Kristoffer Law : IDLE utilizes the foreground text color from KDE/Qt (Window Text) for the autocomplete and calltip windows. If a dark theme is selected and the window text changed to white or another bright color, it can be difficult or impossible to see due to lack of

[issue33944] Deprecate and remove pth files

2019-03-03 Thread Ivan Pozdeev
Ivan Pozdeev added the comment: On 02.03.2019 9:01, Barry A. Warsaw In all the cases you've described, Python is no different from any other Linux software. E.g. I can install something into /etc/profile.d that would break the shell or set an envvar that would change the behavior of

[issue36175] Identity of bound methods

2019-03-03 Thread Abe Leite
New submission from Abe Leite : The following code produces unexpected behavior in all versions of Python I have tested. >>> class a: ... def method(self): pass >>> inst = a() >>> inst.method is inst.method False It appears that id(inst.method) changes each time inst.method is accessed

[issue26707] plistlib fails to parse bplist with 0x80 UID values

2019-03-03 Thread Jon Janzen
Jon Janzen added the comment: I recently upgraded my python version and my hot-patch broke due to changes in bpo-32072 (GH-4455). It reminded me of this b.p.o., and after reading through the messages to remind myself where the patch stood I realized that my tone friendly towards the end

[issue31861] add aiter() and anext() functions to operator module

2019-03-03 Thread Dima Tisnek
Dima Tisnek added the comment: https://www.python.org/dev/peps/pep-0525/#aiter-and-anext-builtins kinda promised `aiter` and `anext` built-ins. This ticket seems idle. Perhaps it's time for the decider club to either remove that language from PEP-525 or make a plan for aiter/anext?

[issue36174] Remove licenseUrl field from nuget packages

2019-03-03 Thread Steve Dower
New submission from Steve Dower : The licenseUrl field in the nuget packages has been deprecated. We should link to the license from the description or summary fields. -- components: Windows messages: 337060 nosy: paul.moore, steve.dower, tim.golden, zach.ware priority: normal

[issue35899] '_is_sunder' function in 'enum' module fails on empty string

2019-03-03 Thread Ethan Furman
Ethan Furman added the comment: Thank you, everyone! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.6, Python 3.8 ___ Python tracker

[issue26707] plistlib fails to parse bplist with 0x80 UID values

2019-03-03 Thread Jon Janzen
Change by Jon Janzen : -- pull_requests: +12152 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36171] tkinter scrollbar missing 'state' option

2019-03-03 Thread Cheryl Sabella
Cheryl Sabella added the comment: You're welcome. -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___

[issue36171] tkinter scrollbar missing 'state' option

2019-03-03 Thread Anthony Zeeman
Anthony Zeeman added the comment: Cheryl, thank you for your help. On Sunday, March 3, 2019, 7:02:47 p.m. EST, Cheryl Sabella wrote: Cheryl Sabella added the comment: That's because state isn't an option.  :-) I should have included the link to the ttk scrollbar manpage.

[issue33329] sigaddset() can fail on some signal numbers

2019-03-03 Thread Larry Hastings
Larry Hastings added the comment: Now fixed in 3.4 and 3.5. I can cut the RCs. Huzzah! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue36171] tkinter scrollbar missing 'state' option

2019-03-03 Thread Cheryl Sabella
Cheryl Sabella added the comment: That's because state isn't an option. :-) I should have included the link to the ttk scrollbar manpage. https://www.tcl.tk/man/tcl/TkCmd/ttk_scrollbar.htm You'll see on that page that 'state' is listed as a Widget Command and not an Option: STANDARD

[issue33329] sigaddset() can fail on some signal numbers

2019-03-03 Thread Larry Hastings
Larry Hastings added the comment: New changeset 2226139aa2b69047cb54dbcfd79f5c2e36f98653 by larryhastings (Cheryl Sabella) in branch '3.4': [3.4] bpo-33329: Fix multiprocessing regression on newer glibcs (GH-6575) (#12145)

[issue33329] sigaddset() can fail on some signal numbers

2019-03-03 Thread Larry Hastings
Larry Hastings added the comment: New changeset 8ec1fd11f2d524859cfefae76458fcfd22decf65 by larryhastings (Cheryl Sabella) in branch '3.5': [3.5] bpo-33329: Fix multiprocessing regression on newer glibcs (GH-6575) (#12144)

[issue36171] tkinter scrollbar missing 'state' option

2019-03-03 Thread Anthony Zeeman
Anthony Zeeman added the comment: Cheryl, here is the option listing from the ttk scrollbar configure method: TTK Scrollbar options: {'command': ('command', 'command', 'Command', '', '140274415153928offsetChanged'), 'orient': ('orient', 'orient', 'Orient', , ), 'takefocus': ('takefocus',

[issue36171] tkinter scrollbar missing 'state' option

2019-03-03 Thread Cheryl Sabella
Cheryl Sabella added the comment: You need to use the ttk Scrollbar to access state. The standard tk Scrollbar doesn't have it. Take a look at the doc page for ttk: https://docs.python.org/3/library/tkinter.ttk.html And the New Mexico Institute pages for ttk:

[issue35843] importlib.util docs for namespace packages innaccurate

2019-03-03 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: +1 -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23460] Decimals do not obey ':g' exponential notation formatting rules

2019-03-03 Thread Brennan D Baraban
Brennan D Baraban <3...@holbertonschool.com> added the comment: Hi Stefan. Is there an update you would like me to make on this PR? Otherwise, pinging for review. -- ___ Python tracker

[issue36173] apam

2019-03-03 Thread Ned Deily
Change by Ned Deily : -- title: BROTHER PRINTER CENTER -> apam ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue35899] '_is_sunder' function in 'enum' module fails on empty string

2019-03-03 Thread miss-islington
Change by miss-islington : -- pull_requests: +12151 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35899] '_is_sunder' function in 'enum' module fails on empty string

2019-03-03 Thread miss-islington
Change by miss-islington : -- pull_requests: +12150 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35899] '_is_sunder' function in 'enum' module fails on empty string

2019-03-03 Thread miss-islington
miss-islington added the comment: New changeset 8b914d2767acba3a9e78f1dacdc2d61dbfd7e304 by Miss Islington (bot) (Brennan D Baraban) in branch 'master': bpo-35899: Fix Enum handling of empty and weird strings (GH-11891)

[issue36173] BROTHER PRINTER CENTER

2019-03-03 Thread Steven D'Aprano
New submission from Steven D'Aprano : No details given and a spammy, irrelevant title. Closing. Dianmatang, if you are an actual person and not a spam bot, please try adding details of the bug, and using a more informative title. -- nosy: +steven.daprano resolution: -> not a bug

[issue36169] Add overlap() method to statistics.NormalDist()

2019-03-03 Thread Raymond Hettinger
Change by Raymond Hettinger : -- keywords: +patch pull_requests: +12149 stage: -> patch review ___ Python tracker ___ ___

[issue36172] csv module internal consistency

2019-03-03 Thread Martin Panter
Martin Panter added the comment: The documentation says you should “open the files with newline=''.” IMO this is an unfortunate quirk of the CSV module. Everything else that I know of in the Python built-in library either works

[issue36114] test_multiprocessing_spawn dumps core in AMD64 FreeBSD CURRENT Shared custom

2019-03-03 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: This is the state of the thread interpreter: gdb) p tstate $3 = (PyThreadState *) 0x80262ba10 (gdb) p tstate->interp $4 = (PyInterpreterState *) 0xdbdbdbdbdbdbdbdb -- ___ Python tracker

[issue36114] test_multiprocessing_spawn dumps core in AMD64 FreeBSD CURRENT Shared custom

2019-03-03 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Apparently is the Thread 1 the one that is causing the core dump -- nosy: +pitrou, vstinner ___ Python tracker ___

[issue36114] test_multiprocessing_spawn dumps core in AMD64 FreeBSD CURRENT Shared custom

2019-03-03 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I managed to access the core file and this is the traceback: Thread 3 (LWP 100629): #0 0x0008007d4828 in _accept4 () from /lib/libc.so.7 #1 0x000800672eda in ?? () from /lib/libthr.so.3 #2 0x0008016f7b75 in ?? () #3 0x000800acca10

[issue36173] BROTHER PRINTER CENTER

2019-03-03 Thread Dian saputra
Change by Dian saputra : -- components: Installation nosy: Dianmatang priority: normal severity: normal status: open title: BROTHER PRINTER CENTER type: behavior ___ Python tracker

[issue36172] csv module internal consistency

2019-03-03 Thread Shane
New submission from Shane : It occurred to me there is a slight mismatch in the behavioral consistency of the csv module (at least on Windows, Python 3.X). Specifically, csv.writer() and csv.reader() treat the line terminator slightly differently. To boil it down to a concise example:

[issue36171] tkinter scrollbar missing 'state' option

2019-03-03 Thread SilentGhost
Change by SilentGhost : -- nosy: +gpolo, serhiy.storchaka type: -> enhancement versions: +Python 3.8 ___ Python tracker ___ ___

[issue36171] tkinter scrollbar missing 'state' option

2019-03-03 Thread Anthony Zeeman
New submission from Anthony Zeeman : The scrollbars in both tkinter and Tkinter don't have the 'state' option and cannot be disabled. -- components: Tkinter messages: 337041 nosy: azeeman priority: normal severity: normal status: open title: tkinter scrollbar missing 'state' option

[issue29539] [smtplib] collect response data for all recipients

2019-03-03 Thread sls
sls added the comment: I opened a new PR. I picked up some of FirefighterBlu3's suggestions and added some unittests and refactoring to assist. Hope this helps. -- ___ Python tracker

[issue29539] [smtplib] collect response data for all recipients

2019-03-03 Thread sls
Change by sls : -- keywords: +patch pull_requests: +12148 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue36116] test_multiprocessing_spawn fails on AMD64 Windows8 3.x

2019-03-03 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: See also https://bugs.python.org/issue36114 -- ___ Python tracker ___ ___

[issue36114] test_multiprocessing_spawn dumps core in AMD64 FreeBSD CURRENT Shared custom

2019-03-03 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: After some investigation, this turns out to be more complicated, as this 'python.core' turns to be a core dumped from some of the processes spawned by test_multiprocessing_spawn. So the real problem is that test_multiprocessing_spawn segfaults, as in

[issue36170] posix_spawn doesn't exist in 3.7

2019-03-03 Thread Ned Deily
Ned Deily added the comment: Thanks for the report, Mark! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue36170] posix_spawn doesn't exist in 3.7

2019-03-03 Thread Ned Deily
Ned Deily added the comment: New changeset 8b50400fbe607ef558d6c0033efa697c99417507 by Ned Deily (Mark Williams) in branch 'master': bpo-36170: posix_spawn doesn't exist on 3.7 (GH-12143) https://github.com/python/cpython/commit/8b50400fbe607ef558d6c0033efa697c99417507 -- nosy:

[issue21478] mock calls don't propagate to parent (autospec)

2019-03-03 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue21478] mock calls don't propagate to parent (autospec)

2019-03-03 Thread miss-islington
Change by miss-islington : -- pull_requests: +12147 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36091] clean up async generator from types module

2019-03-03 Thread Henry Chen
Change by Henry Chen : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue36114] test_multiprocessing_spawn changes the execution environment

2019-03-03 Thread Henry Chen
Henry Chen added the comment: Another example of this, same bot: https://buildbot.python.org/all/#/builders/168/builds/669 -- nosy: +scotchka ___ Python tracker ___

[issue36125] Cannot cross-compile to more featureful but same tune

2019-03-03 Thread Xavier de Gaye
Xavier de Gaye added the comment: Re-opening and setting the stage as 'needs patch': at least the cross-compilation should fail with a clear message when the cross-built libraries names and those of the native interpreter have the same suffix. > Assuming that you can rely on the loader to

[issue36091] clean up async generator from types module

2019-03-03 Thread miss-islington
miss-islington added the comment: New changeset cd0416466f8a6d5333d6ea52f6907c39b8a6c3bc by Miss Islington (bot) in branch '3.7': bpo-36091: Remove reference to async generator in Lib/types.py. (GH-11996) https://github.com/python/cpython/commit/cd0416466f8a6d5333d6ea52f6907c39b8a6c3bc

[issue36091] clean up async generator from types module

2019-03-03 Thread miss-islington
Change by miss-islington : -- pull_requests: +12146 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36091] clean up async generator from types module

2019-03-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 0a6a412fb27d6874a0db5cc82a97f54d7c5fd0f2 by Serhiy Storchaka (Henry Chen) in branch 'master': bpo-36091: Remove reference to async generator in Lib/types.py. (GH-11996)

[issue21074] Too aggressive constant folding

2019-03-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Fixed in issue30416. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed superseder: Build-out an AST optimizer, moving some functionality out of the peephole optimizer -> constant folding opens compiler to quadratic

[issue35889] sqlite3.Row doesn't have useful repr

2019-03-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I have the same doubts as Berker. sqlite3.Row represents a data from a database. Databases are used in particularly for storing a large amount of data which can not be all loaded in RAM. Therefore sqlite3.Row can contain a data with a very long repr. If

[issue36125] Cannot cross-compile to more featureful but same tune

2019-03-03 Thread Ross Burton
Ross Burton added the comment: That's exactly the glitch. I'm cross-compiling to a more powerful IA process from IA. This *is* a cross-compilation but the triple is the same. Assuming that you can rely on the loader to not open target binaries when they're on the path to load from is

[issue33329] sigaddset() can fail on some signal numbers

2019-03-03 Thread Cheryl Sabella
Change by Cheryl Sabella : -- pull_requests: +12145 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33329] sigaddset() can fail on some signal numbers

2019-03-03 Thread Cheryl Sabella
Change by Cheryl Sabella : -- pull_requests: +12144 stage: needs patch -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue36170] posix_spawn doesn't exist in 3.7

2019-03-03 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This was merged into 3.7 and later reverted after 3.7 first beta as per https://bugs.python.org/issue20104#msg316588 . Adding Pablo for review. -- nosy: +pablogsal, xtreak ___ Python tracker