[issue34029] tkinter.filedialog.askdirectory() crashing before dialog opens when importing pywinauto

2018-07-05 Thread Tal Einat
Tal Einat added the comment: Confirmed with Python 3.6.3 on Windows 10 64-bit: It hangs showing an empty window. Debugging a bit, the hang happens in Lib/tkinter/commondialog.py, line 43: s = w.tk.call(self.command, *w._options(self.options)) The value of self.command is

[issue34049] abs() method accept argument that implement __abs__()

2018-07-05 Thread Windson Yang
New submission from Windson Yang : Just like callable() method in https://docs.python.org/3/library/functions.html#callable > ...instances are callable if their class has a __call__() method. I think we should also mention this in abs(), abs(x) Return the absolute value of a number. If x

[issue33955] Implement PyOS_CheckStack on macOS using pthread_get_stack*_np

2018-07-05 Thread Dong-hee Na
Dong-hee Na added the comment: benchmark result: 22.63911402298 secs master (+0%) 22.806662271 secs PR 8046 (-0.74%) def fib(n): if n == 0: return 0 if n == 1: return 1 return fib(n-2) + fib(n-1) if __name__ == '__main__': import timeit

[issue33720] test_marshal: crash in Python 3.7b5 on Windows 10

2018-07-05 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +7701 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34050] Broken links to "OpenSSL cipher list format" in documentation

2018-07-05 Thread Christian Heimes
Christian Heimes added the comment: Thanks for your report. Do you want to work on a patch, too? -- keywords: +easy nosy: +christian.heimes stage: -> needs patch versions: +Python 2.7, Python 3.6, Python 3.7, Python 3.8 ___ Python tracker

[issue34050] Broken links to "OpenSSL cipher list format" in documentation

2018-07-05 Thread Roland Weber
Roland Weber added the comment: I'm afraid I don't have the time to work on a patch. -- ___ Python tracker ___ ___

[issue33735] test_multiprocessing_spawn leaked [1, 2, 1] memory blocks on AMD64 Windows8.1 Refleaks 3.7

2018-07-05 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: We have some similar failures on the x86 Gentoo Refleaks 3.7 buildbots: http://buildbot.python.org/all/#/builders/114/builds/157/steps/4/logs/stdio http://buildbot.python.org/all/#/builders/114/builds/155/steps/4/logs/stdio

[issue34049] abs() method accept argument that implement __abs__()

2018-07-05 Thread Raymond Hettinger
Raymond Hettinger added the comment: This is a reasonable request. Would you like to make a PR? -- nosy: +rhettinger ___ Python tracker ___

[issue33720] test_marshal: crash in Python 3.7b5 on Windows 10

2018-07-05 Thread miss-islington
Change by miss-islington : -- pull_requests: +7700 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34051] Update multiprocessing example

2018-07-05 Thread Windson Yang
New submission from Windson Yang : The docs at https://docs.python.org/3.8/library/multiprocessing.html#synchronization-between-processes give an example: from multiprocessing import Process, Lock def f(l, i): l.acquire() try: print('hello world', i) finally:

[issue33720] test_marshal: crash in Python 3.7b5 on Windows 10

2018-07-05 Thread miss-islington
miss-islington added the comment: New changeset 3f121a40c7526aedb2a40a1be8f0ae96b267bf26 by Miss Islington (bot) in branch '3.7': bpo-33720: Improve tests for the stack overflow in marshal.loads(). (GH-7336) https://github.com/python/cpython/commit/3f121a40c7526aedb2a40a1be8f0ae96b267bf26

[issue34042] Reference loss for local classes

2018-07-05 Thread Kay Hayen
Kay Hayen added the comment: Just to confirm, this is also happening on Windows as well, with both 32 and 64 bits. -- ___ Python tracker ___

[issue34049] abs() method accept argument that implement __abs__()

2018-07-05 Thread Windson Yang
Change by Windson Yang : -- keywords: +patch pull_requests: +7697 stage: -> patch review ___ Python tracker ___ ___

[issue34050] Broken links to "OpenSSL cipher list format" in documentation

2018-07-05 Thread Roland Weber
New submission from Roland Weber : The docs for SSLContext.set_ciphers [1] in Python 3 and ssl.wrap_socket [2] in Python 2 contain a link for "OpenSSL cipher list format", which points to an empty wiki page at https://wiki.openssl.org/index.php/Manual:Ciphers(1)#CIPHER_LIST_FORMAT The

[issue33720] test_marshal: crash in Python 3.7b5 on Windows 10

2018-07-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset fc05e68d8fac70349b7ea17ec14e7e0cfa956121 by Serhiy Storchaka in branch 'master': bpo-33720: Improve tests for the stack overflow in marshal.loads(). (GH-7336) https://github.com/python/cpython/commit/fc05e68d8fac70349b7ea17ec14e7e0cfa956121

[issue34053] Support localization of unicode descriptions

2018-07-05 Thread Pander
New submission from Pander : Please, support localization for Unicode block description and character description. Translations are available from https://github.com/unicode-table/unicode-table-data/tree/master/loc If possible, use a gettext approach similar to

[issue34052] sqlite's create_function() raises exception on unhashable callback, but creates function

2018-07-05 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- assignee: -> serhiy.storchaka nosy: +ghaering, serhiy.storchaka versions: +Python 3.6, Python 3.7 ___ Python tracker ___

[issue34049] abs() method accept argument that implement __abs__()

2018-07-05 Thread Windson Yang
Windson Yang added the comment: I'd love to. (BTW, @rhettinger I just watched your fantastic multiprocessing tutorial. :D) -- ___ Python tracker ___

[issue1327594] Static Windows Build fails to locate existing installation

2018-07-05 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33720] test_marshal: crash in Python 3.7b5 on Windows 10

2018-07-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 9720f60f2aba457121bfe42d09aa3ed91f28b86f by Serhiy Storchaka in branch '2.7': [2.7] bpo-33720: Improve tests for the stack overflow in marshal.loads(). (GH-7336). (GH-8107)

[issue33720] test_marshal: crash in Python 3.7b5 on Windows 10

2018-07-05 Thread miss-islington
miss-islington added the comment: New changeset 878c4fe40e8954372e9bf80ae555045ecae68e73 by Miss Islington (bot) in branch '3.6': bpo-33720: Improve tests for the stack overflow in marshal.loads(). (GH-7336) https://github.com/python/cpython/commit/878c4fe40e8954372e9bf80ae555045ecae68e73

[issue34052] sqlite's create_function() raises exception on unhashable callback, but creates function

2018-07-05 Thread Sergey Fedoseev
Change by Sergey Fedoseev : -- keywords: +patch pull_requests: +7702 stage: -> patch review ___ Python tracker ___ ___

[issue34049] abs() method accept argument that implement __abs__()

2018-07-05 Thread Windson Yang
Change by Windson Yang : -- assignee: -> docs@python components: +Documentation -Library (Lib) nosy: +docs@python ___ Python tracker ___

[issue33720] test_marshal: crash in Python 3.7b5 on Windows 10

2018-07-05 Thread miss-islington
Change by miss-islington : -- pull_requests: +7699 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34052] sqlite's create_function() raises exception on unhashable callback, but creates function

2018-07-05 Thread Sergey Fedoseev
New submission from Sergey Fedoseev : In [1]: import sqlite3 In [2]: con = sqlite3.connect(':memory:') In [3]: con.execute('SELECT f()') --- OperationalError Traceback (most recent call last) in

[issue34028] Python 3.7.0 wont compile with SSL Support 1.1.0 > alledged missing X509_VERIFY_PARAM_set1_host() support

2018-07-05 Thread simon
simon added the comment: Thanks I have found teh root cause of the problem ... --with-openssl=[my_dir] The configure scripts has an assumption you are compiling against a binary packaged version of openssl and that there is a /lib folder under [my_dir]. This simply does not exist under

[issue33735] test_multiprocessing_spawn leaked [1, 2, 1] memory blocks on AMD64 Windows8.1 Refleaks 3.7

2018-07-05 Thread STINNER Victor
STINNER Victor added the comment: Ok ok, let me be honest with myself, my *workaround* change is not reliable :-) -- resolution: fixed -> status: closed -> open ___ Python tracker

[issue34053] Support localization of unicode descriptions

2018-07-05 Thread STINNER Victor
STINNER Victor added the comment: > Thanks, posted it at > https://groups.google.com/forum/#!topic/python-ideas/g2jj4WRVDFA Thanks! -- ___ Python tracker ___

[issue1327594] Static Windows Build fails to locate existing installation

2018-07-05 Thread Steve Dower
Steve Dower added the comment: Not sure, though I have thought about it a bit. And as with the embeddable package, I wouldn't want it finding a global install anyway. So this probably isn't an issue. (I'm pretty sure I also changed the version string to be statically initialised, so maybe

[issue34042] Reference loss for local classes

2018-07-05 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I ran git bisect with @Serhiy reproducer and it yielded commit 3929499914d47365ae744df312e16da8955c90ac as the first bad commit that has this problem. I did not look more into that but the bisect is reproducible (yields the same commit if you run it

[issue32521] NIS module fails to build due to the removal of interfaces related to Sun RPC from glibc.

2018-07-05 Thread Charalampos Stratakis
Charalampos Stratakis added the comment: Matej is this about Python 2? Because the solution didn't actually work for Python 2 and on Fedora we had to implement a workaround [0]. Unfortunately there weren't enough free cycles so far to investigate further. [0]

[issue34053] Support localization of unicode descriptions

2018-07-05 Thread Pander
Pander added the comment: Thanks, posted it at https://groups.google.com/forum/#!topic/python-ideas/g2jj4WRVDFA -- ___ Python tracker ___

[issue33941] datetime.strptime not able to recognize invalid date formats

2018-07-05 Thread Paul Ganssle
Change by Paul Ganssle : -- nosy: +p-ganssle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34028] Python 3.7.0 wont compile with SSL Support 1.1.0 > alledged missing X509_VERIFY_PARAM_set1_host() support

2018-07-05 Thread Christian Heimes
Christian Heimes added the comment: autoconf's --with-library options typically don't support build directories and work with installed versions only. The --with-openssl is no different. I suggest that you install OpenSSL to a local directory and then configure Python to fetch OpenSSL from

[issue34053] Support localization of unicode descriptions

2018-07-05 Thread STINNER Victor
STINNER Victor added the comment: I don't think that such feature belongs to the stdlib. I suggest you to start a project on PyPI and comes back once the module is popular enough to justify to be added to the stdlib. Moreover, IMHO python-ideas is a better place, than this bug tracker, to

[issue29097] [Windows] datetime.fromtimestamp(t) when 0 <= t <= 86399 fails on Python 3.6

2018-07-05 Thread Paul Ganssle
Change by Paul Ganssle : -- nosy: +p-ganssle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24954] No way to generate or parse timezone as produced by datetime.isoformat()

2018-07-05 Thread Paul Ganssle
Paul Ganssle added the comment: I believe this can be consolidated with #15873 and closed, since that is finished and available in Python 3.7. -- nosy: +p-ganssle ___ Python tracker

[issue13305] datetime.strftime("%Y") not consistent for years < 1000

2018-07-05 Thread Paul Ganssle
Change by Paul Ganssle : -- nosy: +p-ganssle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22005] datetime.__setstate__ fails decoding python2 pickle

2018-07-05 Thread Paul Ganssle
Change by Paul Ganssle : -- nosy: +p-ganssle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33627] test-complex of test_numeric_tower.test_complex() crashes intermittently on Ubuntu buildbots

2018-07-05 Thread STINNER Victor
STINNER Victor added the comment: I didn't see the bug since at least one month. I close the issue. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue33701] test_datetime crashed (SIGSEGV) on Travis CI

2018-07-05 Thread STINNER Victor
STINNER Victor added the comment: I didn't see the bug since at least one month. I close the issue. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue34054] multiprocessing should use time.monotonic() for timeout

2018-07-05 Thread STINNER Victor
New submission from STINNER Victor : In different functions, the multiprocessing module uses the system clock: time.time(). The system clock can be updated manually by the system administrator or automatically by NTP (for example). Attached PR modifies multiprocessing to use time.monotonic()

[issue10381] Add timezone support to datetime C API

2018-07-05 Thread Paul Ganssle
Paul Ganssle added the comment: This can be closed now, I think. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue23607] Inconsistency in datetime.utcfromtimestamp(Decimal)

2018-07-05 Thread Paul Ganssle
Change by Paul Ganssle : -- nosy: +p-ganssle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12750] add cross-platform support for %s strftime-format code

2018-07-05 Thread Paul Ganssle
Change by Paul Ganssle : -- nosy: +p-ganssle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25729] update pure python datetime.timedelta creation

2018-07-05 Thread Paul Ganssle
Change by Paul Ganssle : -- nosy: +p-ganssle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27400] Datetime NoneType after calling Py_Finalize and Py_Initialize

2018-07-05 Thread Paul Ganssle
Paul Ganssle added the comment: Oops, that previous comment was intended for a completely different ticket. My mistake. -- ___ Python tracker ___

[issue30155] Add ability to get/set tzinfo on datetime instances in C API

2018-07-05 Thread Paul Ganssle
Paul Ganssle added the comment: Hmm. I never noticed this. In the past I have used the (undocumented) PyDateTimeAPI struct, which the official macros wrap. I'm not sure how official that struct is considering it doesn't show up in the documentation. I agree that it should be possible to

[issue10381] Add timezone support to datetime C API

2018-07-05 Thread STINNER Victor
STINNER Victor added the comment: I tested manually "./python -m test test_datetime test_datetime" in 3.6, 3.7 and master branches: I confirm that the test no longer crash. It has been fixed by the commit 58dc03c737a71de93edef7723c9f6186116288ef. Moreover, I don't recall a recent crash on

[issue15443] datetime module has no support for nanoseconds

2018-07-05 Thread Paul Ganssle
Change by Paul Ganssle : -- nosy: +p-ganssle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33381] Incorrect documentation for strftime()/strptime() format code %f

2018-07-05 Thread Paul Ganssle
Paul Ganssle added the comment: I don't believe this is a duplicate if #32267, which is actually about the %z directive. I think the implementation here is correct and the documentation is semi-correct, it depends on how you look at it, consider: >>> datetime(2018, 1, 1, 0, 0, 0,

[issue9305] Don't use east/west of UTC in date/time documentation

2018-07-05 Thread Paul Ganssle
Change by Paul Ganssle : -- nosy: +p-ganssle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue9004] datetime.utctimetuple() should not set tm_isdst flag to 0

2018-07-05 Thread Paul Ganssle
Change by Paul Ganssle : -- nosy: +p-ganssle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28730] __reduce__ not being called in dervied extension class from datetime.datetime

2018-07-05 Thread Paul Ganssle
Change by Paul Ganssle : -- nosy: +p-ganssle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34054] multiprocessing should use time.monotonic() for timeout

2018-07-05 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +7703 stage: -> patch review ___ Python tracker ___ ___

[issue27400] Datetime NoneType after calling Py_Finalize and Py_Initialize

2018-07-05 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- Removed message: https://bugs.python.org/msg32 ___ Python tracker ___ ___ Python-bugs-list

[issue27400] Datetime NoneType after calling Py_Finalize and Py_Initialize

2018-07-05 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- Removed message: https://bugs.python.org/msg321110 ___ Python tracker ___ ___ Python-bugs-list

[issue34023] timedelta(seconds=x) strange results when type(x) == np.int32

2018-07-05 Thread Paul Ganssle
Change by Paul Ganssle : -- nosy: +p-ganssle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue6280] calendar.timegm() belongs in time module, next to time.gmtime()

2018-07-05 Thread Paul Ganssle
Change by Paul Ganssle : -- nosy: +p-ganssle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31839] datetime: add method to parse isoformat() output

2018-07-05 Thread Paul Ganssle
Paul Ganssle added the comment: This is a duplicate of #15873 and #24954 and can be closed, as `fromisoformat()` was added in Python 3.7. -- nosy: +p-ganssle ___ Python tracker

[issue16322] time.tzname on Python 3.3.0 for Windows is decoded by wrong encoding

2018-07-05 Thread Paul Ganssle
Change by Paul Ganssle : -- nosy: +p-ganssle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5516] equality not symmetric for subclasses of datetime.date and datetime.datetime

2018-07-05 Thread Paul Ganssle
Change by Paul Ganssle : -- nosy: +p-ganssle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22426] strptime accepts the wrong '2010-06-01 MSK' string but rejects the right '2010-06-01 MSD'

2018-07-05 Thread Paul Ganssle
Change by Paul Ganssle : -- nosy: +p-ganssle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27741] datetime.datetime.strptime functionality description incorrect

2018-07-05 Thread Paul Ganssle
Change by Paul Ganssle : -- nosy: +p-ganssle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34054] multiprocessing should use time.monotonic() for timeout

2018-07-05 Thread STINNER Victor
STINNER Victor added the comment: Monotonic clock: https://docs.python.org/dev/library/time.html#time.monotonic -- ___ Python tracker ___

[issue33701] test_datetime crashed (SIGSEGV) on Travis CI

2018-07-05 Thread Paul Ganssle
Change by Paul Ganssle : -- nosy: +p-ganssle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33381] Incorrect documentation for strftime()/strptime() format code %f

2018-07-05 Thread Paul Ganssle
Change by Paul Ganssle : -- nosy: +p-ganssle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33988] [EASY] [3.7] test_platform fails when run with -Werror

2018-07-05 Thread STINNER Victor
STINNER Victor added the comment: Thank you Karthikeyan Singaravelan for your fix! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue33988] [EASY] [3.7] test_platform fails when run with -Werror

2018-07-05 Thread STINNER Victor
STINNER Victor added the comment: New changeset f5770f354cb982303237d581ad2b296486475965 by Victor Stinner (Xtreak) in branch '3.7': bpo-33988: Fix test_warnings using -W error (GH-7985) https://github.com/python/cpython/commit/f5770f354cb982303237d581ad2b296486475965 --

[issue34042] Reference loss for local classes

2018-07-05 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I investigated that commit but I cannot find anything :(. -- ___ Python tracker ___ ___

[issue33940] datetime.strptime have no directive to convert date values with Era and Time Zone name

2018-07-05 Thread Paul Ganssle
Change by Paul Ganssle : -- nosy: +p-ganssle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31898] Add a `recommended-packages.txt` file

2018-07-05 Thread Paul Ganssle
Paul Ganssle added the comment: > datetime.timezone -> pytz.timezone (updates driven by IANA timezone database) I will note that `pytz.timezone` and `datetime.timezone` are not really comparable (they do two very different things), and as of Python 3.6, `dateutil.tz` is the recommended

[issue27400] Datetime NoneType after calling Py_Finalize and Py_Initialize

2018-07-05 Thread Paul Ganssle
Paul Ganssle added the comment: Hmm. I never noticed this. In the past I have used the (undocumented) PyDateTimeAPI struct, which the official macros wrap. I'm not sure how official that struct is considering it doesn't show up in the documentation. I agree that it should be possible to

[issue22377] %Z in strptime doesn't match EST and others

2018-07-05 Thread Paul Ganssle
Change by Paul Ganssle : -- nosy: +p-ganssle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15390] PEP 3121, 384 refactoring applied to datetime module

2018-07-05 Thread Paul Ganssle
Change by Paul Ganssle : -- nosy: +p-ganssle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33944] Deprecate and remove pth files

2018-07-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: This issue, as stated, looks like a severe regression to me. In each of my python installs, Lib/site-packages has a file called 'python.pth' containing 'F:/Python'. This is not a glob of inscrutable code. It is not even Python code. Just a path. Is this

[issue34055] IDLE inserts extra blank line in prompt after SyntaxError

2018-07-05 Thread Grant Jenks
New submission from Grant Jenks : IDLE inserts an extra blank line after the prompt after encountering a SyntaxError: ``` >>> 1 + 2 3 >>> print('Hello') Hello v-- Missing single quote! >>> d = {1: 'uno', 2: 'dos', 3: 'tres} SyntaxError: EOL while

[issue34042] Reference loss for local classes

2018-07-05 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I think I found it. After doing the bisect manually (as redirecting stdout/stderr) seems to affect somehow the test) I found commit b0a7a037b8fde56b62f886d5188bced7776777b4 as the culprit. Reverting this commit on the current master seem to solve the

[issue15443] datetime module has no support for nanoseconds

2018-07-05 Thread Steve Holden
Change by Steve Holden : -- nosy: -holdenweb ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34042] Reference loss for local classes

2018-07-05 Thread Antoine Pitrou
Antoine Pitrou added the comment: Agreed, if it was a real reference bug, the interpreter should crash before the total reference count gets negative ;-) -- ___ Python tracker

[issue34042] Reference loss for local classes

2018-07-05 Thread Antoine Pitrou
Antoine Pitrou added the comment: I've bisected myself and the culprit seems to be b0a7a037b8fde56b62f886d5188bced7776777b4 ("""bpo-31179: Make dict.copy() up to 5.5 times faster."""). -- nosy: +yselivanov ___ Python tracker

[issue24954] No way to generate or parse timezone as produced by datetime.isoformat()

2018-07-05 Thread Guido van Rossum
Change by Guido van Rossum : -- nosy: -gvanrossum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34042] Reference loss for local classes

2018-07-05 Thread Yury Selivanov
Yury Selivanov added the comment: This isn't a real reference bug, but rather a bug in total refs accountability. It seems that I missed the fact that we track refs to the keys table with a DK_INCREF macro. The new `clone_combined_dict` uses `memcpy` to clone the keys table (along with

[issue32521] NIS module fails to build due to the removal of interfaces related to Sun RPC from glibc.

2018-07-05 Thread Matej Cepl
Matej Cepl added the comment: > Matej is this about Python 2? I am currently ONLY on building python 3.7.0, nothing else bothers me at the moment. Let me summarize my findings, or what I think is the situation (of course, I could be completely wrong): * See

[issue34042] Reference loss for local classes

2018-07-05 Thread Yury Selivanov
Yury Selivanov added the comment: > Agreed, if it was a real reference bug, the interpreter should crash before > the total reference count gets negative ;-) First thing I checked with Serhiy's script :) A PR with a fix: https://github.com/python/cpython/pull/8119 --

[issue34042] Reference loss for local classes

2018-07-05 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: @Antoine Wow, it seems that we both foundb0a7a037b8fde56b62f886d5188bced7776777b4 with one minute of difference :D I added Yuri to the noise list as is the author of that PR. -- ___ Python tracker

[issue34047] Scrolling in IDLE for OS X is not working correctly when reaching end of file

2018-07-05 Thread Bruce Elgort
Bruce Elgort added the comment: 2.7.15 scrolling is working just fine. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue34042] Reference loss for local classes

2018-07-05 Thread Yury Selivanov
Change by Yury Selivanov : -- keywords: +patch pull_requests: +7704 stage: -> patch review ___ Python tracker ___ ___

[issue34055] IDLE: erroneous 'smart' indents in shell

2018-07-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: The SyntaxError is not relevant. Interactive CPython: >>> d=[] >>> d=() >>> d={} >>> Erroneous extra lines in IDLE 3.6+ Shell but not editor: >>> d = [] >>> d=() >>> d={} >>> d=[i for i in [1]] >>> The 'blank'

[issue34047] Scrolling in IDLE for OS X is not working correctly when reaching end of file

2018-07-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: 1 down, but how about my other questions? Is there only a problem if the slider is the first thing touched? Is there still a problem if the line "return 'break'" in idlelib.editor.EditorWindow.handle_yview is deleted or disabled by prefixig it with '#'?

[issue34057] Py_Initialize aborts when using static Python version. Windows

2018-07-05 Thread Alberto
New submission from Alberto : Hi, I've followed the build instructions to get a statically linked Python library in windows. The compilation works great and I get a big fat statically linked .lib file. When I use it and in my code I call Py_Initialize() the program aborts and I get this

[issue34057] Py_Initialize aborts when using static Python version. Windows

2018-07-05 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34019] webbrowser: wrong arguments for Opera browser.

2018-07-05 Thread Bumsik Kim
Bumsik Kim added the comment: I also believe this can be backported to 2.7 as well. -- ___ Python tracker ___ ___ Python-bugs-list

[issue34044] subprocess: reusing STARTUPINFO breaks under 3.7 (Windows)

2018-07-05 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +7706 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33944] Deprecate and remove pth files

2018-07-05 Thread Ivan Pozdeev
Ivan Pozdeev added the comment: > They are very difficult to debug because they're processed too early. .pth's are processed by site.py, so no more difficult than site/sitecustomize. You can e.g. run `site.addpackage(,,None)' to debug the logic. > They usually contain globs of inscrutable

[issue34056] checked hash-based pyc files not working with imp module

2018-07-05 Thread Patrick McCarty
Change by Patrick McCarty : Added file: https://bugs.python.org/file47672/imp-test-mod.py ___ Python tracker ___ ___ Python-bugs-list

[issue34044] subprocess: reusing STARTUPINFO breaks under 3.7 (Windows)

2018-07-05 Thread Sebastian Bank
Sebastian Bank added the comment: Perfect, thanks for the quick fix. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue34049] abs() method accept argument that implement __abs__()

2018-07-05 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue34044] subprocess: reusing STARTUPINFO breaks under 3.7 (Windows)

2018-07-05 Thread STINNER Victor
STINNER Victor added the comment: New changeset 29be3bd3c9aed0190e60096a603120cacda82375 by Victor Stinner in branch '3.7': bpo-34044: subprocess.Popen copies startupinfo (GH-8090) (GH-8121) https://github.com/python/cpython/commit/29be3bd3c9aed0190e60096a603120cacda82375 --

[issue34055] IDLE: erroneous 'smart' indents in shell

2018-07-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: def funcname(param = 'somestring) # Indent for next param. is another situation where \n is treating as closing '. -- ___ Python tracker

  1   2   >