[issue33379] PyImport_Cleanup is called with builtins_copy == NULL in test_embed

2018-04-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: PyImport_Cleanup() is called in Py_EndInterpreter(), but Py_NewInterpreter() doesn't call _PyImport_Init() which initializes builtins_copy. -- ___ Python tracker

[issue33379] PyImport_Cleanup is called with builtins_copy == NULL in test_embed

2018-04-28 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- versions: +Python 3.6 ___ Python tracker ___

[issue33373] Tkinter ttk Label background ignored on MacOS

2018-04-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: ttk.Label is just a think wrapper around Tk's ttk::label. If there are problems with setting background on MacOS, it should be reported on the Tk bagtracker. -- resolution: -> third party stage: -> resolved status:

[issue33380] Update module attribute on namedtuple methods for introspection.

2018-04-28 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- assignee: -> rhettinger nosy: +serhiy.storchaka ___ Python tracker ___

[issue33382] make [profile-opt] failed with --enable-optimizations

2018-04-28 Thread Patrick Young
Patrick Young added the comment: modify build_all_merge_profile to absolutely: true then modify build running shell to: zsh -- ___ Python tracker

[issue33382] make [profile-opt] failed with --enable-optimizations

2018-04-28 Thread Patrick Young
Change by Patrick Young : -- stage: -> resolved status: open -> closed ___ Python tracker ___

[issue33382] make [profile-opt] failed with --enable-optimizations

2018-04-28 Thread Patrick Young
Change by Patrick Young : -- title: make [profile-opt] failde with --enable-optimizations -> make [profile-opt] failed with --enable-optimizations type: -> compile error ___ Python tracker

[issue33257] Race conditions in Tkinter with non-threaded Tcl

2018-04-28 Thread Ivan Pozdeev
Ivan Pozdeev added the comment: Finally dug up the reason but unsure how to fix it. Here's the trace. The format is `$TID: $FUNCTION [some of the args]' 0x1A34: Tkapp_Call(_object *, _object *) 0x1A34: PythonCmd(void *, Tcl_Interp *, int, const char * *)

[issue33382] make [profile-opt] failde with --enable-optimizations

2018-04-28 Thread Patrick Young
Patrick Young added the comment: $ uname -a Linux PatrickY 4.9.0-deepin13-amd64 #1 SMP PREEMPT Deepin 4.9.57-1 (2017-10-19) x86_64 GNU/Linux $ lsb_release -a Distributor ID: Deepin Description:Deepin 15.5 Release:15.5 Based on Debian sid --

[issue33382] make [profile-opt] failde with --enable-optimizations

2018-04-28 Thread Patrick Young
New submission from Patrick Young : 0:14:07 load avg: 1.26 [406/406] test_zlib Total duration: 14 min 9 sec Tests result: SUCCESS make[1]: Leaving directory '/home/kmahyyg/Desktop/py36/Python-3.6.5' make build_all_merge_profile make[1]: Entering directory

[issue31727] FTP_TLS errors when use certain subcommands

2018-04-28 Thread Dong-hee Na
Dong-hee Na added the comment: I can not reproduce this issue on Python 3.8.0a0 with OpenSSL 0.9.8zh 14 Jan 2016 and OpenSSL 1.0.2o 27 Mar 2018 import ssl import ftplib print(ssl.OPENSSL_VERSION) ftps = ftplib.FTP_TLS('test.rebex.net', timeout=2) ftps.ssl_version =

[issue29652] Fix evaluation order of keys/values in dict comprehensions

2018-04-28 Thread janzert
janzert added the comment: Just as a note so the email discussion isn't forever lost to the void. In an unrelated thread on python-dev recently there was a short discussion on this topic in which both Guido van Rossum[1] and Tim Peters[2] gave the opinion that this

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

2018-04-28 Thread Judy Wang
New submission from Judy Wang : According to https://docs.python.org/3/library/datetime.html, %f is zero-padded on the left. But actual Python 3 behavior is puts the zero padding on the right. -- files: Bug description.py messages: 315873 nosy: jujuwoman priority:

[issue33378] Add Korean to the language switcher

2018-04-28 Thread Dong-hee Na
Dong-hee Na added the comment: https://github.com/python/cpython/pull/6629 3.6 needs backport patch also. -- ___ Python tracker

[issue33378] Add Korean to the language switcher

2018-04-28 Thread Dong-hee Na
Change by Dong-hee Na : -- pull_requests: +6325 stage: resolved -> patch review ___ Python tracker ___

[issue33217] x in enum.Flag member is True when x is not a Flag

2018-04-28 Thread Ethan Furman
Ethan Furman added the comment: Rahul Jha, sure, go ahead! -- ___ Python tracker ___

[issue33380] Update module attribute on namedtuple methods for introspection.

2018-04-28 Thread Allan Feldman
Allan Feldman added the comment: Attached is a proposed change. -- keywords: +patch Added file: https://bugs.python.org/file47555/0001-bpo-33380-Update-module-attribute-on-namedtuple-meth.patch ___ Python tracker

[issue33380] Update module attribute on namedtuple methods for introspection.

2018-04-28 Thread Allan Feldman
New submission from Allan Feldman : Python 3.7 made several performance improvements to the namedtuple class as part of https://bugs.python.org/issue28638 Prior to the implementation of bpo-28638, the __module__ attribute for a namedtuple's methods (e.g. _asdict)

[issue33379] PyImport_Cleanup is called with builtins_copy == NULL in test_embed

2018-04-28 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : PyImport_Cleanup is called with builtins_copy == NULL in run_embedded_interpreter() in Lib/test/test_embed.py. This error was silenced by calling PyErr_Clear(), but it still looks as error to me. It was exposed by PR 6606.

[issue33378] Add Korean to the language switcher

2018-04-28 Thread Julien Palard
Change by Julien Palard : -- stage: backport needed -> resolved ___ Python tracker ___

[issue33378] Add Korean to the language switcher

2018-04-28 Thread miss-islington
miss-islington added the comment: New changeset 1487c37e7e85e7221adc3030f0f7de023cc99ced by Miss Islington (bot) in branch '3.7': bpo-33378: Add Korean to the language switcher. (GH-6627)

[issue33378] Add Korean to the language switcher

2018-04-28 Thread Julien Palard
Change by Julien Palard : -- resolution: -> fixed stage: patch review -> backport needed ___ Python tracker ___

[issue33378] Add Korean to the language switcher

2018-04-28 Thread miss-islington
Change by miss-islington : -- pull_requests: +6324 ___ Python tracker ___

[issue33378] Add Korean to the language switcher

2018-04-28 Thread Julien Palard
Julien Palard added the comment: New changeset 577948329976985ea9bef23d9a6c3dd7108211bf by Julien Palard (Dong-hee Na) in branch 'master': bpo-33378: Add Korean to the language switcher. (GH-6627)

[issue33378] Add Korean to the language switcher

2018-04-28 Thread Dong-hee Na
Change by Dong-hee Na : -- keywords: +patch pull_requests: +6323 stage: -> patch review ___ Python tracker ___

[issue33378] Add Korean to the language switcher

2018-04-28 Thread Dong-hee Na
New submission from Dong-hee Na : looks great -- nosy: +corona10 ___ Python tracker ___

[issue33378] Add Korean to the language switcher

2018-04-28 Thread Julien Palard
Change by Julien Palard : -- assignee: mdk components: Documentation nosy: mdk priority: normal severity: normal status: open title: Add Korean to the language switcher ___ Python tracker

[issue33377] add new triplets for mips r6 and riscv variants

2018-04-28 Thread Matthias Klose
Change by Matthias Klose : Added file: https://bugs.python.org/file47554/riscv64.diff ___ Python tracker ___

[issue33377] add new triplets for mips r6 and riscv variants

2018-04-28 Thread Matthias Klose
New submission from Matthias Klose : Late last year / early this year, Debian defined new triplets for some mips r6 and riscv variants. Please still consider these for the 3.7 release. These patches are in use in Debian for a while and show no regressions. The new variants

[issue19213] platform.linux_distribution detects Oracle Linux as Red Hat Enterprise Linux

2018-04-28 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +6322 stage: -> patch review ___ Python tracker ___

[issue33281] ctypes.util.find_library not working on macOS

2018-04-28 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +6321 stage: needs patch -> patch review ___ Python tracker

[issue33217] x in enum.Flag member is True when x is not a Flag

2018-04-28 Thread Rahul Jha
Rahul Jha added the comment: Hi Ethan, The only thing which is left is to change the Deprecation Warning to raise a `TypeError` and alter the tests accordingly. Seeing that most of the work for the issue has already been done, can I take it forward from here on wards,

[issue32790] Keep trailing zeros in precision for string format option g

2018-04-28 Thread Bharat Chhabra
Change by Bharat Chhabra : -- keywords: +patch pull_requests: +6320 stage: needs patch -> patch review ___ Python tracker ___

[issue33370] Addition of mypy cache to gitignore

2018-04-28 Thread Naman Sharma
Change by Naman Sharma : -- pull_requests: +6319 ___ Python tracker ___ ___

[issue33376] [pysqlite] Duplicate rows can be returned after rolling back a transaction

2018-04-28 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +berker.peksag, serhiy.storchaka ___ Python tracker ___

[issue33375] warnings: get filename from frame.f_code.co_filename

2018-04-28 Thread Thomas Kluyver
Change by Thomas Kluyver : -- keywords: +patch pull_requests: +6318 stage: -> patch review ___ Python tracker ___