[issue36872] passing negative values through modules

2019-05-09 Thread David Collins
David Collins added the comment: This is an issue with python On Fri, 10 May 2019 at 3:52 pm, SilentGhost wrote: > > Change by SilentGhost : > > > -- > components: -IDLE > > ___ > Python tracker > >

[issue36872] passing negative values through modules

2019-05-09 Thread SilentGhost
SilentGhost added the comment: This bug tracker is for development of CPython, please ask your question on python-help mailing list, IRC or other similar forums. -- nosy: +SilentGhost resolution: -> not a bug stage: -> resolved status: open -> closed type: compile error -> behavior

[issue36872] passing negative values through modules

2019-05-09 Thread David Collins
David Collins added the comment: Not the coding On Fri, 10 May 2019 at 3:53 pm, David Collins wrote: > This is an issue with python > > On Fri, 10 May 2019 at 3:52 pm, SilentGhost > wrote: > >> >> Change by SilentGhost : >> >> >> -- >> components: -IDLE >> >>

[issue36872] passing negative values through modules

2019-05-09 Thread SilentGhost
Change by SilentGhost : -- components: -IDLE ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26317] Build Problem with GCC + Macintosh OS X 10.11 El Capitain

2019-05-09 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: Module/_scproxy.c compiles cleanly with clang 10.0.0 and fails with GNU gcc 8.3.0. Below is the relevant compiler error: building '_scproxy' extension gcc-8 -Wno-unused-result -Wsign-compare -g -Og -Wall -pipe -std=c99 -Wextra -Wno-unused-result

[issue36873] http.server: Document explicitly that symbolic links are followed

2019-05-09 Thread STINNER Victor
New submission from STINNER Victor : http.server documentation starts with a red warning: "Warning: http.server is not recommended for production. It only implements basic security checks." https://docs.python.org/dev/library/http.server.html It would help to be even more explicit on what

[issue36778] test_site.StartupImportTests.test_startup_imports fails if default code page is cp65001

2019-05-09 Thread STINNER Victor
STINNER Victor added the comment: > Since we aren't backporting ARM32 changes, I don't think it's important to > fix this test in 3.7. I am trying to get the buildbot tests for Windows > ARM32 to zero errors. Ok, thanks. I close the issue. -- resolution: -> fixed stage: patch

[issue24538] os.setxattr PermissionError on panfs propagates up causing `copystat`, `copytree`, and `pip install .` to fail unhepfully

2019-05-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +13144 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24538] os.setxattr PermissionError on panfs propagates up causing `copystat`, `copytree`, and `pip install .` to fail unhepfully

2019-05-09 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: New changeset 79efbb719383386051c72f2ee932eeca8e033e6b by Giampaolo Rodola (Olexa Bilaniuk) in branch 'master': bpo-24538: Fix bug in shutil involving the copying of xattrs to read-only files. (PR-13212)

[issue24538] os.setxattr PermissionError on panfs propagates up causing `copystat`, `copytree`, and `pip install .` to fail unhepfully

2019-05-09 Thread Giampaolo Rodola'
Change by Giampaolo Rodola' : -- versions: +Python 3.7, Python 3.8 -Python 3.2, Python 3.3, Python 3.4 ___ Python tracker ___ ___

[issue24538] os.setxattr PermissionError on panfs propagates up causing `copystat`, `copytree`, and `pip install .` to fail unhepfully

2019-05-09 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Patch LGTM. I'd like to point out one thing for posterity. Current shutil code catches EPERM but not EACCES. While reviewing the patch I wondered whether simply catching (and ignoring) both error codes instead, but it turns out they are supposed to have

[issue36872] passing negative values through modules

2019-05-09 Thread David Collins
David Collins added the comment: I have tested this in the Mac and PC versions of IDLE as well as in Spyder using Ipython. -- ___ Python tracker ___

[issue36872] passing negative values through modules

2019-05-09 Thread David Collins
New submission from David Collins : program_data.py file contains a list import list_function str_list4 = ['i', 't'] str_list4 = list_function.insert_value(str_list4, 's', -1) print(str_list4) list_function.py file def insert_value(my_list, value, insert_position): counter = 0

[issue36823] shutil.copytree copies directories and files but fails with that same directory with '[Errno 1] Operation not permitted')

2019-05-09 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: You should try to copy those offending files individually via shutil.copy2() instead copytree() in order to get the full exception. -- ___ Python tracker

[issue36778] test_site.StartupImportTests.test_startup_imports fails if default code page is cp65001

2019-05-09 Thread Paul Monson
Paul Monson added the comment: Thanks Victor! Since we aren't backporting ARM32 changes, I don't think it's important to fix this test in 3.7. I am trying to get the buildbot tests for Windows ARM32 to zero errors. Windows IoT Core runs on Raspberry Pi and similar devices:

[issue36345] Deprecate Tools/scripts/serve.py in favour of python -m http.server -d

2019-05-09 Thread STINNER Victor
STINNER Victor added the comment: Berker Peksag: > Please revert 360e1e4c519cfc139de707bcdd1e6c871eec79ee. It's not a good > example to put into the documentation. I looked at other examples: they are nice but far from a "real application". I like the last example which combines multiple

[issue36792] [Windows] time: crash on formatting time with de_DE locale

2019-05-09 Thread Jeremy Kloth
Jeremy Kloth added the comment: I've added another test executable (issue36792-2.zip) which should bring some insight into where things are going wrong. Please run and post the results. -- Added file: https://bugs.python.org/file48324/issue36792-2.zip

[issue14353] Proper gettext support in locale module

2019-05-09 Thread Benjamin Peterson
Benjamin Peterson added the comment: seems okay -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36818] Add PyInterpreterState.runtime.

2019-05-09 Thread STINNER Victor
STINNER Victor added the comment: I don't see the point of PyInterpreterState.runtime: * I understood that we should have and only one _PyRuntimeState instance: _PyRuntime. Why not accessing it directly? * I understood that most _PyRuntimeState fields should be moved to PyInterpreterState.

[issue33725] Python crashes on macOS after fork with no exec

2019-05-09 Thread STINNER Victor
STINNER Victor added the comment: I have no preference for the default on Linux, but please fix the default at least on macOS before Python 3.8 beta 1 ;-) -- ___ Python tracker

[issue36479] Exit threads when interpreter is finalizing rather than runtime.

2019-05-09 Thread STINNER Victor
STINNER Victor added the comment: IMHO PR 12679 change should wait until Py_EndInterpreter() is reworked to better cleanup its state and its threads. -- ___ Python tracker

[issue34408] possible null pointer dereference in pystate.c

2019-05-09 Thread STINNER Victor
STINNER Victor added the comment: > Any reason not to close this issue? Pablo: Do you want to backport your fix to Python 3.7? Python 3.7 has the same bug, no? (I didn't check.) -- ___ Python tracker

[issue32592] Drop support of Windows Vista in Python 3.8

2019-05-09 Thread STINNER Victor
STINNER Victor added the comment: > Before Vista, the code page 65001 behaved differently than official UTF-8 > codec. Vista changed that. Maybe it's time to remove Lib/encodings/cp65001.py > and make it an alias to utf_8 codec: see > https://bugs.python.org/issue36778#msg341531 FYI it's

[issue36814] posix_spawn explicit file_actions=None throws error

2019-05-09 Thread STINNER Victor
STINNER Victor added the comment: Matthew Tanous: Oops, I completely missed this case! Thanks for the bug report. Thanks Anthony Shaw for the fix. -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker

[issue36814] posix_spawn explicit file_actions=None throws error

2019-05-09 Thread STINNER Victor
STINNER Victor added the comment: New changeset 948ed8c96b6912541a608591efe3e00fb520429a by Victor Stinner (Anthony Shaw) in branch 'master': bpo-36814: ensure os.posix_spawn() handles None (GH-13144) https://github.com/python/cpython/commit/948ed8c96b6912541a608591efe3e00fb520429a

[issue26317] Build Problem with GCC + Macintosh OS X 10.11 El Capitain

2019-05-09 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: This is still an issue with the 3.7 and the master branches. The Objective-C portion of the build still fails with gcc 8.3.0 on OS X Mojave (14.x). Specifying OBJC and OBJC++ on the configure command line does nothing because there is nothing in the

[issue36841] Supporting customization of float encoding in JSON

2019-05-09 Thread Wei Lee
Change by Wei Lee : -- keywords: +patch pull_requests: +13143 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue15987] Provide a way to compare AST nodes for equality recursively

2019-05-09 Thread STINNER Victor
Change by STINNER Victor : -- versions: +Python 3.8 -Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue27497] csv module: Add return value to DictWriter.writeheader

2019-05-09 Thread STINNER Victor
STINNER Victor added the comment: I merged PR 12306. Thanks Ashish Nitin Patil for the initial patch, thanks Rémi Lapeyre to converting it to a PR, thanks Logan for the initial bug report ;-) Sadly, this change is a new feature and so cannot be backported to 2.7 or 3.7. The workaround is

[issue27497] csv module: Add return value to DictWriter.writeheader

2019-05-09 Thread STINNER Victor
STINNER Victor added the comment: New changeset fce5ff1e18b522cf52379934a6560583d840e7f9 by Victor Stinner (Rémi Lapeyre) in branch 'master': bpo-27497: Add return value to csv.DictWriter.writeheader (GH-12306) https://github.com/python/cpython/commit/fce5ff1e18b522cf52379934a6560583d840e7f9

[issue36601] signals can be caught by any thread

2019-05-09 Thread miss-islington
miss-islington added the comment: New changeset d237b3f0f61990c972b84c45eb4fe137db51a6a7 by Miss Islington (bot) (Jeroen Demeyer) in branch 'master': bpo-36601: clarify signal handler comment and remove unnecessary pid check. (GH-12784)

[issue36778] test_site.StartupImportTests.test_startup_imports fails if default code page is cp65001

2019-05-09 Thread STINNER Victor
STINNER Victor added the comment: Paul Monson: Your initial issue has been fixed in the master branch. I'm not sure what are Windows IoT Core and Windows Nano Server. Do you care of Python 3.7? If someone wants to support running test_site with ANSI code page set to 65001, I suggest to fix

[issue36310] pygettext3.7 Does Not Recognize gettext Calls Within fstrings

2019-05-09 Thread Eric V. Smith
Eric V. Smith added the comment: Of course, this wouldn't be any safer than eval'ing arbitrary user provided code. -- ___ Python tracker ___

[issue36778] test_site.StartupImportTests.test_startup_imports fails if default code page is cp65001

2019-05-09 Thread STINNER Victor
STINNER Victor added the comment: About the ANSI code page, Lib/encodings/__init__.py calls _winapi.GetACP() to avoid relying on locale.getpreferredencoding() which lies when UTF-8 Mode is enabled: import _winapi ansi_code_page = "cp%s" % _winapi.GetACP()

[issue36871] Misleading error from unittest.mock's assert_has_calls

2019-05-09 Thread Gregory P. Smith
Gregory P. Smith added the comment: If you use a debugger on this, you'll discover that what is happening inside of mock's assert_has_calls is that it is catching and swallowing an exception around the inspect.Signature instances bind() call complaining about 'b' being an unexpected keyword

[issue36601] signals can be caught by any thread

2019-05-09 Thread Gregory P. Smith
Gregory P. Smith added the comment: PR is approved with automerge, just awaiting CI to give it the green light now. -- ___ Python tracker ___

[issue36871] Misleading error from unittest.mock's assert_has_calls

2019-05-09 Thread Gregory P. Smith
New submission from Gregory P. Smith : Thing: mock_thing.method sig=(a=None, b=0) F == FAIL: test_has_calls_on_thing (__main__.MockCallTest) -- Traceback

[issue36778] test_site.StartupImportTests.test_startup_imports fails if default code page is cp65001

2019-05-09 Thread STINNER Victor
STINNER Victor added the comment: New changeset d267ac20c309e37d85a986b4417aa8ab4d05dabc by Victor Stinner in branch 'master': bpo-36778: cp65001 encoding becomes an alias to utf_8 (GH-13230) https://github.com/python/cpython/commit/d267ac20c309e37d85a986b4417aa8ab4d05dabc --

[issue36601] signals can be caught by any thread

2019-05-09 Thread Gregory P. Smith
Change by Gregory P. Smith : -- assignee: -> gregory.p.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36778] test_site.StartupImportTests.test_startup_imports fails if default code page is cp65001

2019-05-09 Thread Inada Naoki
Inada Naoki added the comment: > I dislike lying in the locale module. This change is basically useless with > my PR 13230. Note that Python produce "cpNNN" encoding name, not Windows.

[issue36084] Threading: add builtin TID attribute to Thread objects

2019-05-09 Thread STINNER Victor
STINNER Victor added the comment: It seems like the feature is only supported by a few operating systems and only if required functions are available: #ifdef __APPLE__ volatile uint64_t tid; pthread_threadid_np(NULL, ); #elif defined(__linux__) volatile pid_t tid; tid =

[issue36870] test_asyncio: test_drain_raises() fails randomly on Windows

2019-05-09 Thread STINNER Victor
New submission from STINNER Victor : https://ci.appveyor.com/project/python/cpython/builds/24376676 ERROR: test_drain_raises (test.test_asyncio.test_streams.StreamTests) -- Traceback (most recent call last): File

[issue24538] os.setxattr PermissionError on panfs propagates up causing `copystat`, `copytree`, and `pip install .` to fail unhepfully

2019-05-09 Thread Olexa Bilaniuk
Olexa Bilaniuk added the comment: This old bug now has a PR on Github authored by myself that may be reviewed. -- nosy: +giampaolo.rodola, obilaniu, tarek ___ Python tracker

[issue36778] test_site.StartupImportTests.test_startup_imports fails if default code page is cp65001

2019-05-09 Thread Paul Monson
Paul Monson added the comment: Sorry that was supposed to say: I can verify that PR 13230 fixes the issue with test_startup_imports on Windows IoT Core ARM32 -- ___ Python tracker

[issue36778] test_site.StartupImportTests.test_startup_imports fails if default code page is cp65001

2019-05-09 Thread Paul Monson
Paul Monson added the comment: I can verify that PR 13110 fixes the issue with test_startup_imports on Windows IoT Core ARM32 -- ___ Python tracker ___

[issue35723] Add "time zone index" cache to datetime objects

2019-05-09 Thread STINNER Victor
STINNER Victor added the comment: Paul started a discussion on python-dev: https://mail.python.org/pipermail/python-dev/2019-May/157337.html -- ___ Python tracker ___

[issue36858] f-string '=' debugging output needs to be documented

2019-05-09 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: Related issue where the '=' debug mode was implemented: https://bugs.python.org/issue36817 -- nosy: +Mariatta stage: -> needs patch ___ Python tracker

[issue24263] unittest cannot load module whose name starts with Unicode

2019-05-09 Thread STINNER Victor
STINNER Victor added the comment: What is the current error on test_dir.tar.gz? I'm not sure which problem is trying to be solved here. Why does PR 13149 use str.isidentifier() method? unittest doesn't allow arbitrary Unicode in filenames? --

[issue36869] Avoid warning of unused variables

2019-05-09 Thread Emmanuel Arias
New submission from Emmanuel Arias : When run ./configure && make -j4 there are two warnings on Object/dictobject.c file about ix and hash variable are not used. Zachary Ware make me note that when _PyObject_ASSERT is call and NDEBUG is defined that expand to ((void)0). So this PR add a

[issue36829] CLI option to make PyErr_WriteUnraisable abort the current process

2019-05-09 Thread STINNER Victor
STINNER Victor added the comment: > Defaulting to noop when the hook fails means I'll never notice the failure to > be able to debug it I'm not sure that I understood what you mean here. My PR 13187 logs a message into stderr is custom hook fails with a new exception. Well, then you have to

[issue36829] CLI option to make PyErr_WriteUnraisable abort the current process

2019-05-09 Thread Thomas Grainger
Thomas Grainger added the comment: > I'm not comfortable with forcing users to use a low-level debugger to debug "unraisable exceptions". Defaulting to noop when the hook fails means I'll never notice the failure to be able to debug it On Fri, 10 May 2019, 00:42 STINNER Victor, wrote: > >

[issue36725] Reference leak regression with Python3.8a3

2019-05-09 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +13139 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36719] regrtest --findleaks should fail if an uncollectable object is found

2019-05-09 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +13140 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34975] start_tls() difficult when using asyncio.start_server()

2019-05-09 Thread Ian Good
Ian Good added the comment: I added start_tls() to StreamWriter. My implementation returns a new StreamWriter that should be used from then on, but it could be adapted to modify the current writer in-place (let me know). I've added docs, an integration test, and done some additional

[issue36829] CLI option to make PyErr_WriteUnraisable abort the current process

2019-05-09 Thread STINNER Victor
STINNER Victor added the comment: > The point for me is that CI will fail if it happens, then I can use gdb to > find out the cause I'm not comfortable with forcing users to use a low-level debugger to debug "unraisable exceptions". I tried PR 13175 on the test suite by forcing the option

[issue36778] test_site.StartupImportTests.test_startup_imports fails if default code page is cp65001

2019-05-09 Thread Eryk Sun
Eryk Sun added the comment: > I dislike lying in the locale module. This change is basically useless > with my PR 13230. Yes, functionally it's no different than using 'cp65001' as an alias. That said, the CRT special cases 65001 as "utf8": >>> locale.setlocale(locale.LC_CTYPE, '')

[issue36814] posix_spawn explicit file_actions=None throws error

2019-05-09 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- nosy: +nanjekyejoannah ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36843] AIX build fails with failure to get random numbers

2019-05-09 Thread STINNER Victor
STINNER Victor added the comment: Robert Boehne: pyurandom() uses _Py_open_noraise("/dev/urandom", O_RDONLY) which uses O_CLOEXEC if available. If this flag available? Does it work? Please try to build attached urandom.c. Example on my Fedora 29: open O_RDONLY succeeded read(16) -> 16 open

[issue36778] test_site.StartupImportTests.test_startup_imports fails if default code page is cp65001

2019-05-09 Thread STINNER Victor
STINNER Victor added the comment: > Python could similarly special case CP_UTF8 as "utf-8" in > _locale._getdefaultlocale. I dislike lying in the locale module. This change is basically useless with my PR 13230. -- ___ Python tracker

[issue36602] Recursive directory list with pathlib.Path.iterdir

2019-05-09 Thread Laurie Opperman
Laurie Opperman added the comment: Would this change also have to copy implemented in the new ZipFile Pathlib API? https://bugs.python.org/issue36832 -- ___ Python tracker

[issue36778] test_site.StartupImportTests.test_startup_imports fails if default code page is cp65001

2019-05-09 Thread STINNER Victor
STINNER Victor added the comment: My PR 13110 (avoid functools) makes codecs.lookup('cp65001').encode() made 2.7x slower: https://github.com/python/cpython/pull/13110#issuecomment-491095964 417 ns +- 17 ns My PR 13230 (remove cp65001.py) makes it 1.5x faster :-)

[issue36837] Make il8n tools available from `python -m`

2019-05-09 Thread Toshio Kuratomi
Toshio Kuratomi added the comment: A note about the msgfmt problem. It looks like GNU gettext's msgfmt has a similar problem but the msgfmt from pybabel does not. This may mean that we need to change the gettext *Translation objects to be more tolerant of non-ascii encodings (perhaps

[issue36778] test_site.StartupImportTests.test_startup_imports fails if default code page is cp65001

2019-05-09 Thread STINNER Victor
STINNER Victor added the comment: I wrote PR 13230 to remove Lib/encodings/cp65001.py and simply reuse Lib/encodings/utf_8.py. -- ___ Python tracker ___

[issue36778] test_site.StartupImportTests.test_startup_imports fails if default code page is cp65001

2019-05-09 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +13138 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36829] CLI option to make PyErr_WriteUnraisable abort the current process

2019-05-09 Thread Thomas Grainger
Thomas Grainger added the comment: The point for me is that CI will fail if it happens, then I can use gdb to find out the cause On Thu, 9 May 2019, 23:17 STINNER Victor, wrote: > > STINNER Victor added the comment: > > Ok, let me come back to the initial issue: > > Thomas Grainger: > >

[issue33303] ElementTree Comment text isn't escaped

2019-05-09 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- keywords: +patch pull_requests: +13137 stage: needs patch -> patch review ___ Python tracker ___

[issue36868] New behavior of OpenSSL hostname verification not exposed, incorrectly documented

2019-05-09 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36866] Certificate verification errors in urllib.request become URLError

2019-05-09 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36239] gettext: GNUTranslations doesn't parse properly comments in description

2019-05-09 Thread STINNER Victor
STINNER Victor added the comment: Julien: Why not fixing Python 3.7? You approved https://github.com/python/cpython/pull/13218 (Python 3.7 backport) but then you closed it. Only Azure Pipelines PR failed on "ERROR: test_drain_raises (test.test_asyncio.test_streams.StreamTests)" which is

[issue33303] ElementTree Comment text isn't escaped

2019-05-09 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +websurfer5 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36829] CLI option to make PyErr_WriteUnraisable abort the current process

2019-05-09 Thread STINNER Victor
STINNER Victor added the comment: Ok, let me come back to the initial issue: Thomas Grainger: > Currently it's quite easy for these errors to go unnoticed. I'd like a way to > easily detect these in CI. nedbat suggested piping the process output to > another tool, and looking for 'Exception

[issue36829] CLI option to make PyErr_WriteUnraisable abort the current process

2019-05-09 Thread STINNER Victor
STINNER Victor added the comment: too_late_unraisable.py is an example where PyErr_WriteUnraisable() is called very lated during Python finalization to be handled by user code. A destructor (__del__) fails on print() because the stream has been closed. PyErr_WriteUnraisable() is called by

[issue36837] Make il8n tools available from `python -m`

2019-05-09 Thread Toshio Kuratomi
Toshio Kuratomi added the comment: Note, I've been doing some tests of how our gettext module differs from GNU gettext and run into a few bugs and lack of features which make msgfmt unusable and limit pygettext's usefulness. * msgfmt doesn't seem to store the charset from the .po file into

[issue36676] Make ET.XMLParser target aware of namespace prefixes

2019-05-09 Thread Stefan Behnel
Change by Stefan Behnel : -- pull_requests: +13136 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18387] Add 'symbols' link to pydoc's html menu bar.

2019-05-09 Thread Sanyam Khurana
Change by Sanyam Khurana : -- pull_requests: +13135 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing

[issue36802] Revert back StreamWriter awrite/aclose but provide await writer.write() and await writer.close()

2019-05-09 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue10536] Enhancements to gettext docs

2019-05-09 Thread Julien Palard
Change by Julien Palard : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list

[issue10536] Enhancements to gettext docs

2019-05-09 Thread miss-islington
miss-islington added the comment: New changeset 98b360e27b0be4646ed24c5a7ac07112ca020982 by Miss Islington (bot) in branch '3.7': [3.7] bpo-10536: Enhancements to gettext docs (GH-10324) (GH-13224) https://github.com/python/cpython/commit/98b360e27b0be4646ed24c5a7ac07112ca020982 --

[issue36853] inconsistencies in docs builds (Sphinx 2)

2019-05-09 Thread SilentGhost
SilentGhost added the comment: > Second, we should probably determine why the doc builds are failing on Sphinx > 2 and update the `suspicious` code to support Sphinx 2. They're failing because in sphinx 2 old and deprecated (since 1.6) custom logging API was removed. So all Builder.warn

[issue10536] Enhancements to gettext docs

2019-05-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +13134 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing

[issue36850] shutil.copy2 fails with even with source network filesystem not supporting extended attributes

2019-05-09 Thread Giampaolo Rodola'
Change by Giampaolo Rodola' : -- keywords: +patch pull_requests: +13133 stage: -> patch review ___ Python tracker ___ ___

[issue32523] inconsistent spacing in changelog.html

2019-05-09 Thread Julien Palard
Julien Palard added the comment: New changeset 137be34180a20dba53948d126b961069f299f153 by Julien Palard in branch 'master': bpo-32523: Simplifying news entries with multiple paragraphs. (GH-8154) https://github.com/python/cpython/commit/137be34180a20dba53948d126b961069f299f153 --

[issue36853] inconsistencies in docs builds (Sphinx 2)

2019-05-09 Thread Julien Palard
Julien Palard added the comment: Hi Jaraco, We're using sphinx 1.8 in production (docs.python.org) but we're ready for sphinx 2 so we should upgrade, and when we'll upgrade, we'll upgrade it everywhere. You're right, `make venv` does not specify a version, at the sphinx 2 bump we'll have

[issue36239] gettext: GNUTranslations doesn't parse properly comments in description

2019-05-09 Thread Julien Palard
Change by Julien Palard : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue36802] Revert back StreamWriter awrite/aclose but provide await writer.write() and await writer.close()

2019-05-09 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset a076e4f5e42b85664693191d04cfb33e2f9acfa5 by Andrew Svetlov in branch 'master': bpo-36802: Drop awrite()/aclose(), support await write() and await close() instead (#13099)

[issue36853] inconsistencies in docs builds (Sphinx 2)

2019-05-09 Thread Ned Deily
Change by Ned Deily : -- nosy: +mdk ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36866] Certificate verification errors in urllib.request become URLError

2019-05-09 Thread Ned Deily
Change by Ned Deily : -- nosy: +ned.deily ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36868] New behavior of OpenSSL hostname verification not exposed, incorrectly documented

2019-05-09 Thread Ned Deily
Change by Ned Deily : -- nosy: +ned.deily ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36310] pygettext3.7 Does Not Recognize gettext Calls Within fstrings

2019-05-09 Thread Eric V. Smith
Eric V. Smith added the comment: I was going to say "use eval()", but maybe we need some sort of "eval_fstring()" that basically only understood f-strings and produced a callable that captured all of the variables (like a closure), maybe that would help. --

[issue36780] Interpreter exit blocks waiting for futures of shut-down ThreadPoolExecutors

2019-05-09 Thread Brian Quinlan
Brian Quinlan added the comment: We can bike shed over the name in the PR ;-) -- ___ Python tracker ___ ___ Python-bugs-list

[issue36310] pygettext3.7 Does Not Recognize gettext Calls Within fstrings

2019-05-09 Thread Allie Fitter
Allie Fitter added the comment: Just as context, my use case for this is interpolating translated strings into HTML. html = f'''\ {_("Some Title")} {_("Some longer text")} ''' -- ___ Python tracker

[issue36868] New behavior of OpenSSL hostname verification not exposed, incorrectly documented

2019-05-09 Thread Josh Rosenberg
New submission from Josh Rosenberg : The What's New in 3.7 docs mention the change from #31399 to use OpenSSL's built-in hostname verification ( https://docs.python.org/3/whatsnew/3.7.html#ssl ), but aside from that, information about the change is largely undiscoverable and/or wrong.

[issue36867] Make semaphore_tracker track other system resources

2019-05-09 Thread Pierre Glaser
Change by Pierre Glaser : -- keywords: +patch pull_requests: +13132 stage: -> patch review ___ Python tracker ___ ___

[issue30262] Don't expose sqlite3 Cache and Statement

2019-05-09 Thread Berker Peksag
Change by Berker Peksag : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.8 -Python 3.7 ___ Python tracker ___

[issue30262] Don't expose sqlite3 Cache and Statement

2019-05-09 Thread Berker Peksag
Berker Peksag added the comment: New changeset e6576248e5174ca5daa362cfd610c07e7eb3a2ae by Berker Peksag (Aviv Palivoda) in branch 'master': bpo-30262: Don't expose private objects in sqlite3 (GH-1440) https://github.com/python/cpython/commit/e6576248e5174ca5daa362cfd610c07e7eb3a2ae

[issue36310] pygettext3.7 Does Not Recognize gettext Calls Within fstrings

2019-05-09 Thread Eric V. Smith
Eric V. Smith added the comment: Thanks for adding me, Toshio. foo = f'{_(f"{first}, bar, and {last}")}' Wow, that's extremely creative. I agree that this isn't the best we can do. PEP 501 has some ideas, but it might be too general purpose and powerful for this. Let me think about the

[issue36867] Make semaphore_tracker track other system resources

2019-05-09 Thread Pierre Glaser
New submission from Pierre Glaser : Hi all, Olivier Grisel, Thomas Moreau and myself are currently working on increasing the range of action of the semaphore_tracker in Python. multiprocessing.semaphore_tracker is a little known module, that launches a server process used to track the life

[issue26903] ProcessPoolExecutor(max_workers=64) crashes on Windows

2019-05-09 Thread Brian Quinlan
Change by Brian Quinlan : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue36865] FileInput does not allow 'rt' mode, but all its existing delegates do

2019-05-09 Thread Nathaniel Gaertner
Change by Nathaniel Gaertner : -- keywords: +patch pull_requests: +13131 stage: -> patch review ___ Python tracker ___ ___

[issue36851] Frame stack is not cleaned after execution is finished with return

2019-05-09 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

  1   2   >