[issue34047] IDLE: on macOS, scroll slider 'sticks' at bottom of file

2018-07-05 Thread Tal Einat
Tal Einat added the comment: With Python 3.6.5 on OSX, I'm seeing all of the issues (including the originally reported one) except the issue with the scroll direction inversion on two-finger swipe. -- versions: +Python 3.6 ___ Python tracker

[issue34047] IDLE: on macOS, scroll slider 'sticks' at bottom of file

2018-07-05 Thread Tal Einat
Tal Einat added the comment: On OSX with Python 3.7.0 behavior is the same as current master. -- ___ Python tracker ___ ___ Python-

[issue34047] IDLE: on macOS, scroll slider 'sticks' at bottom of file

2018-07-05 Thread Tal Einat
Tal Einat added the comment: Confirmed on latest master on OSX. I'm also experiencing many other kinds of erratic scrolling behavior: 1. Dragging the scrollbar isn't possible immediately after opening the file Lib/idlelib/editor.py. Also later after scrolling to the top. 2. Scrolling via two

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

2018-07-05 Thread Benjamin Peterson
Change by Benjamin Peterson : -- keywords: +patch pull_requests: +7708 stage: -> patch review ___ Python tracker ___ ___ Python-bug

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

2018-07-05 Thread Benjamin Peterson
Benjamin Peterson added the comment: I see. Thanks for being an early adopter! We can probably hack something together for imp. I'll send a PR in a moment. Filing bugs about imp usage would be valuable, especially if it flushes out any cases where imp provides functionality that our newer AP

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

2018-07-05 Thread Patrick McCarty
Patrick McCarty added the comment: Thanks for the response. I would like to avoid using imp, but I work on a distro team that ships many packages that still use the module. We wanted to start using checked-hash invalidation right away after upgrading to 3.7.0, but some of our release tests

[issue34043] Optimize tarfile uncompression performance

2018-07-05 Thread INADA Naoki
INADA Naoki added the comment: New changeset 8d130913cb9359c01de412178f9942419e921170 by INADA Naoki in branch 'master': bpo-34043: Optimize tarfile uncompress performance (GH-8089) https://github.com/python/cpython/commit/8d130913cb9359c01de412178f9942419e921170 -- ___

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

2018-07-05 Thread Benjamin Peterson
Benjamin Peterson added the comment: Can you not use imp? It's been deprecated since 3.4 and gradually become more and more broken and useless as this and other import improvements (e.g., namespace packages) have happened. -- nosy: +benjamin.peterson

[issue34059] multiprocessing deadlock

2018-07-05 Thread Guillaume Perrault-Archambault
New submission from Guillaume Perrault-Archambault : The simple code attached causes a deadlock in Linux. Problem is I have to slightly muck around with it depending on the distro and python version to get it to deadlock. On the cluster I use the most (python 3.6.3, CentOS Linux release 7.4.1

[issue34051] Update multiprocessing example

2018-07-05 Thread Windson Yang
Change by Windson Yang : -- nosy: +zach.ware ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue34058] Default Python 3.7 install broken on openSUSE Leap 42.3: $PYTHONHOME/lib64/python3.7/lib-dynload/ not linked to $PYTHONHOME/lib/python3.7/lib-dynload/

2018-07-05 Thread Ted Kandell
New submission from Ted Kandell : The default Python 3.7 install (./configure with no parameters) does not work (at least) on openSUSE Leap 42.3. Python3 gives a ModuleNotFoundError: No module named 'readline' error, and pip3 has a ModuleNotFoundError: No module named '_socket' error, becau

[issue34047] IDLE: on macOS, scroll slider 'sticks' at bottom of file

2018-07-05 Thread Bruce Elgort
Bruce Elgort added the comment: Terry, Here is a video I made showing the problem I’m having. I have no clue about the other things you are asking about. https://www.youtube.com/watch?v=BpyMhdjTNvQ Bruce > On Jul 5, 2018, at 3:21 PM, Terry J. R

[issue34019] webbrowser: wrong arguments for Opera browser.

2018-07-05 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +7707 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue28657] cmd.Cmd.get_help() implementation can't see do_*() methods added dynamically by setattr()

2018-07-05 Thread Raymond Hettinger
Change by Raymond Hettinger : -- resolution: later -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[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

[issue28657] cmd.Cmd.get_help() implementation can't see do_*() methods added dynamically by setattr()

2018-07-05 Thread Raymond Hettinger
Raymond Hettinger added the comment: > That method would then perform an assignment with setattr() calls: > setattr(self, "do_" + command, func). Could this have been done with: setattr(self.__class__, "do_" + command, func)? I'm concerned that attaching functions to the instance is fightin

[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 ___

[issue34051] Update multiprocessing example

2018-07-05 Thread Raymond Hettinger
Change by Raymond Hettinger : -- assignee: docs@python -> davin nosy: +davin ___ Python tracker ___ ___ Python-bugs-list mailing lis

[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: https://mail.py

[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 er

[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 mailin

[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 Un

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

2018-07-05 Thread Patrick McCarty
New submission from Patrick McCarty : OS: Clear Linux build 23460 Python version: 3.7.0 Description: I am seeing an uncaught exception in Python 3.7.0 when using the "imp" module to import a module that has a checked hash-based pyc file. See the attached source files. Steps to reproduce: 1)

[issue34047] IDLE: on macOS, scroll slider 'sticks' at bottom of file

2018-07-05 Thread Terry J. Reedy
Change by Terry J. Reedy : -- stage: -> test needed title: Scrolling in IDLE for OS X is not working correctly when reaching end of file -> IDLE: on macOS, scroll slider 'sticks' at bottom of file ___ Python tracker

[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 '#'? (Are

[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 __

[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' lines

[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 c

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

2018-07-05 Thread STINNER Victor
STINNER Victor added the comment: Sebastian Bank: Thank you for your bug report and your example! I used your example to write an unit test. I fixed the bug in 3.7 and master branches. The fix will be part of the future 3.7.1 release. -- resolution: -> fixed stage: patch review -> r

[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 -- __

[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: https://ma

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

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

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

2018-07-05 Thread miss-islington
Change by miss-islington : -- pull_requests: +7705 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[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 Yury Selivanov
Change by Yury Selivanov : -- keywords: +patch pull_requests: +7704 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-l

[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: https://mail.py

[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 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 its

[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: https://ma

[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

[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

[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

[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

[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

[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

[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 https://build.opensuse.org/pac

[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 ___ ___ Py

[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

[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

[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 -- __

[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 _

[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 Wi

[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 ___ _

[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 ___ ___ Python-bugs-l

[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()

[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 __

[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 __

[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: https://mail.pyt

[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: https://mail.pyt

[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: https://mail.pyt

[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: https://mail.pyth

[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: https://mail.pyt

[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: https://mail.pyt

[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: https://mail.pyth

[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: https://mail.pyt

[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 cons

[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 cons

[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: https://mail.pyt

[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: https://mail.pyt

[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: https://mail.pyt

[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 _

[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: https://mail.pyt

[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: https://mail.pyth

[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 sourc

[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, 1).strftim

[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: https://mail.pyt

[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: https://mail.pyt

[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: https://mail.pyt

[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: https://mail.pyth

[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: https://mail.pyt

[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: https://mail.pyt

[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: https://mail.pyt

[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: https://mail.pyt

[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 Unsubs

[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: https://mail.pyt

[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 s

[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 th

[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 ___ ___

[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 ___

[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 p

[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 t

[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] https://src.fedoraproject.org/r

[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 __

[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 an

[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 ___ __

[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 https://pypi.org/project/pycoun

[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 ___ ___ Python-bugs-

[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 (

  1   2   >