[issue44076] issue with list in Python 3.8.5

2021-05-10 Thread Mohamed
Mohamed added the comment: This statement in the main program which is calling a subprogram, to control for multiple runs. Even I close this statement, the issue is same. del sys.modules['cm_asset_add'] I've contacted Microsoft support team, they have different opinions, about the i

[issue44095] Add suffix property to zipfile.Path

2021-05-10 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +jaraco ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue44076] issue with list in Python 3.8.5

2021-05-10 Thread Mohamed
Mohamed added the comment: I chose Python to develop a huge information system. I completed about 47%, and made a demonstration, so everything was working correctly, as evidenced by presence of the data Now, I can't go back, and I can't move forward -- ___

[issue44097] add configure option to control the groups of .pyc files to install

2021-05-10 Thread Peixing Xin
New submission from Peixing Xin : Currently when building and installing Python out of source, unoptimized .pyc files and 2 types of optimized .pyc files(*.opt-1.pyc and *.opt-2.pyc) are all compiled out and installed. So to reduce package size and build and installation time, we should provi

[issue44076] issue with list in Python 3.8.5

2021-05-10 Thread Shreyan Avigyan
Shreyan Avigyan added the comment: Are they saying this error is result of Windows update? (It may be. I didn't notice you're talking about 21H1, I thought you're talking about other patch updates.) -- ___ Python tracker

[issue44097] add configure option to control the groups of .pyc files to install

2021-05-10 Thread Peixing Xin
Change by Peixing Xin : -- nosy: +gregory.p.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue44076] issue with list in Python 3.8.5

2021-05-10 Thread Christian Heimes
Christian Heimes added the comment: For your information Python 3.8 is now in security fix-only mode and no longer receives regular updates. That means that any potential compatibility issues with Windows updates will not be addressed. Could you please update to Python 3.9 and try again? --

[issue44076] issue with list in Python 3.8.5

2021-05-10 Thread Mohamed
Mohamed added the comment: These are the latest updates: May 08, 2021, Microsoft Edge May 06, 2021, Microsoft OneDrive May 01, 2021, Update Health Tools There is no an option to uninstall the following: May 01, 2021-KB4023057: Update for Windows 10 Update Service components

[issue44076] issue with list in Python 3.8.5

2021-05-10 Thread Shreyan Avigyan
Shreyan Avigyan added the comment: Shortcut is store the output of pip in a file using, pip freeze > file.txt And then after installing Python 3.9 py -3.9 -m pip install -m file.txt -- nosy: -christian.heimes ___ Python tracker

[issue44076] issue with list in Python 3.8.5

2021-05-10 Thread Shreyan Avigyan
Change by Shreyan Avigyan : -- nosy: +christian.heimes ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue44076] issue with list in Python 3.8.5

2021-05-10 Thread Mohamed
Mohamed added the comment: Thanks a lot -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue44097] add configure option to control the groups of .pyc files to install

2021-05-10 Thread Peixing Xin
Peixing Xin added the comment: For the configure option name used in PR# 23930, change it to "--enable-pyc-groups" is better? What is your advice? -- ___ Python tracker ___ _

[issue43743] BlockingIOError: [Errno 11] Resource temporarily unavailable: on GPFS.

2021-05-10 Thread Pablo Conesa
Pablo Conesa added the comment: So, is it ok, when the fast copy fails, not to _GiveupOnFastCopy(err)? I can understand that fast copy might fail, but then the Giveup part should happen and it wasn't. Additionally, _USE_CP_SENDFILE could be taken, optionally from an environment variable to

[issue44097] add configure option to control the groups of .pyc files to install

2021-05-10 Thread Christian Heimes
Christian Heimes added the comment: Please hold off with PR until we have agreed if we want this feature request makes sense at all. Linux distributions typically provide all pyc variants. There are also better ways to shrink code size, e.g. deduplication or compression. -- nosy: +c

[issue512981] readline /dev/tty problem

2021-05-10 Thread Pierre
Pierre added the comment: Please, let me know if I should re-open a new bug for this one. -- ___ Python tracker ___ ___ Python-bug

[issue44092] [sqlite3] consider removing special rollback handling

2021-05-10 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: BTW, the patch also removes resetting of cursors upon close, which is a little bit out of scope of this bpo. -- ___ Python tracker ___ __

[issue37373] Configuration of windows event loop for libraries

2021-05-10 Thread Min RK
Min RK added the comment: A hiccup to using uvloop is that it doesn't support Windows yet (https://github.com/MagicStack/uvloop/issues/14), so it can't be used in the affected environment. I'm exploring this again for pyzmq / Jupyter, and currently investigating relying on tornado's AddThr

[issue44055] NamedTemporaryFile opened twice on Windows

2021-05-10 Thread Lumír Balhar
Lumír Balhar added the comment: I understand, thanks for the explanation. I'd like to improve the documentation to make it more clear that the file actually can be reopened on Windows when you use delete=False but I cannot find the right words :/ What about: That name can be retrieved from

[issue44076] issue with list in Python 3.8.5

2021-05-10 Thread Shreyan Avigyan
Change by Shreyan Avigyan : -- nosy: +erlendaasland ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue44076] issue with list in Python 3.8.5

2021-05-10 Thread Shreyan Avigyan
Change by Shreyan Avigyan : -- nosy: -erlendaasland ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue44076] issue with list in Python 3.8.5

2021-05-10 Thread Shreyan Avigyan
Shreyan Avigyan added the comment: Today the nosy list is not working. When I don't even mean to add or remove someone, that person is automatically being added. -- ___ Python tracker __

[issue44076] issue with list in Python 3.8.5

2021-05-10 Thread Shreyan Avigyan
Shreyan Avigyan added the comment: Sorry, for the disturbance in the nosy list but it's glitching. -- ___ Python tracker ___ ___ Py

[issue40222] "Zero cost" exception handling

2021-05-10 Thread Mark Shannon
Mark Shannon added the comment: Thanks everyone for the triaging and fixing. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue44098] Remove ParamSpec from __parameters__ of most typing generics

2021-05-10 Thread Ken Jin
New submission from Ken Jin : ``typing.List`` includes ``ParamSpec`` in ``__parameters__`` but the builtin ``list`` doesn't. The behavior of the latter is correct, as PEP 612 states that: "As before, parameters_expressions by themselves are not acceptable in places where a type is expected".

[issue44098] Remove ParamSpec from __parameters__ of most typing generics

2021-05-10 Thread Ken Jin
Change by Ken Jin : -- keywords: +patch pull_requests: +24664 stage: -> patch review pull_request: https://github.com/python/cpython/pull/26013 ___ Python tracker ___

[issue44099] Introduce a new slot in PyModuleDef to hold the classes

2021-05-10 Thread Shreyan Avigyan
New submission from Shreyan Avigyan : It's tedious to add classes one by one using PyModule_AddObject in PyInit_module function. Wouldn't it be much easier if there's a slot that has an array of all the classes in their PyObject form and it'll automatically add those classes. Since this is a

[issue26110] Speedup method calls 1.2x

2021-05-10 Thread Ken Jin
Change by Ken Jin : -- nosy: +kj nosy_count: 21.0 -> 22.0 pull_requests: +24665 pull_request: https://github.com/python/cpython/pull/26014 ___ Python tracker ___ __

[issue44100] test_subinterpreters fails in AMD64 Fedora Stable 3.x

2021-05-10 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : Example failure: https://buildbot.python.org/all/#/builders/543/builds/133 test_already_destroyed (test.test__xxsubinterpreters.DestroyTests) ... ok test_bad_id (test.test__xxsubinterpreters.DestroyTests) ... ok test_does_not_exist (test.test__xxsubi

[issue44100] test_subinterpreters fails in AMD64 Fedora Stable 3.x: "Fatal Python error: Py_EndInterpreter: thread still has a frame"

2021-05-10 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +nanjekyejoannah ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue44100] test_subinterpreters fails in AMD64 Fedora Stable 3.x: "Fatal Python error: Py_EndInterpreter: thread still has a frame"

2021-05-10 Thread STINNER Victor
Change by STINNER Victor : -- title: test_subinterpreters fails in AMD64 Fedora Stable 3.x -> test_subinterpreters fails in AMD64 Fedora Stable 3.x: "Fatal Python error: Py_EndInterpreter: thread still has a frame" ___ Python tracker

[issue44100] test__xxsubinterpreters: test_one() fails in AMD64 Fedora Stable 3.x: "Fatal Python error: Py_EndInterpreter: thread still has a frame"

2021-05-10 Thread STINNER Victor
Change by STINNER Victor : -- title: test_subinterpreters fails in AMD64 Fedora Stable 3.x: "Fatal Python error: Py_EndInterpreter: thread still has a frame" -> test__xxsubinterpreters: test_one() fails in AMD64 Fedora Stable 3.x: "Fatal Python error: Py_EndInterpreter: thread still

[issue43933] Regression in python3.10 with traceback frame having lineno of -1

2021-05-10 Thread Mark Shannon
Mark Shannon added the comment: Ned, no line numbers should never be None. (Except under very unusual circumstances, like the trace function raising an error) Taking a look at the disassembly of execsitecustomize, there is a return with no line number, which shouldn't happen. -- __

[issue44101] Generation of an executable's library file when python is built is static

2021-05-10 Thread Christian Rendina
New submission from Christian Rendina : When linking any windows application with pythoncore built as a static library, such executable will automatically export all python c api functions and generate a static library. Exporting functions from a static library is a strange behavour, as I am

[issue44102] mock_open does not support the use of 'seek()'

2021-05-10 Thread Niko
New submission from Niko : Using 'mock_open' to unit test a code that uses the 'seek()' function for the file object does not work. This would be a great addition for mock_open functionality as this use case happens occasionally. Test file contains: def test_one(self): with patch("builtin

[issue43760] The DISPATCH() macro is not as efficient as it could be.

2021-05-10 Thread Miro Hrončok
Miro Hrončok added the comment: I am afraid the "Speed up check for tracing in interpreter dispatch" brought some backwards incompatible changes: yappi/_yappi.c:1261:9: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘use_tracing’; did you mean ‘tracing’? 1261 | ts->use_tra

[issue43804] "Building C and C++ Extensions on Windows" docs are very out-of-date

2021-05-10 Thread Shreyan Avigyan
Shreyan Avigyan added the comment: Ping -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue23750] doc: Clarify difference between os.system/subprocess.call in section "Replacing os.system()"

2021-05-10 Thread So Ukiyama
Change by So Ukiyama : -- nosy: +uniocto nosy_count: 4.0 -> 5.0 pull_requests: +24666 pull_request: https://github.com/python/cpython/pull/26016 ___ Python tracker ___

[issue23750] doc: Clarify difference between os.system/subprocess.call in section "Replacing os.system()"

2021-05-10 Thread So Ukiyama
So Ukiyama added the comment: I created a PR which apply Martin Panter's patch. So If I have offended you with my rudeness, I hope you will forgive me for taking this down. -- ___ Python tracker __

[issue43350] [sqlite3] Active statements are reset twice in _pysqlite_query_execute()

2021-05-10 Thread Berker Peksag
Berker Peksag added the comment: Serhiy is right. Without a proper research on why it was added in the first place, simply removing the second call won't make code any better and it may introduce regressions (we've already introduced two in 3.10) Maybe doing some digging in pysqlite commits

[issue44102] mock_open does not support the use of 'seek()'

2021-05-10 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: See also https://bugs.python.org/issue25690 . https://github.com/nivbend/mock-open has support for seek. As stated in the other issue supporting all operations of a filesystem might add more complexity. -- components: +Library (Lib) nosy:

[issue43350] [sqlite3] Active statements are reset twice in _pysqlite_query_execute()

2021-05-10 Thread Greg Stein
Change by Greg Stein : -- nosy: +gstein nosy_count: 3.0 -> 4.0 pull_requests: +24667 pull_request: https://github.com/python/cpython/pull/26015 ___ Python tracker ___ _

[issue43760] The DISPATCH() macro is not as efficient as it could be.

2021-05-10 Thread Miro Hrončok
Miro Hrončok added the comment: Fedora packages affected (that we know of now): greenlet: https://bugzilla.redhat.com/show_bug.cgi?id=1957784 dipy: https://bugzilla.redhat.com/show_bug.cgi?id=1958203 yappi: https://bugzilla.redhat.com/show_bug.cgi?id=1958896 smartcols: https://bugzilla.redhat.c

[issue43760] The DISPATCH() macro is not as efficient as it could be.

2021-05-10 Thread Mark Shannon
Mark Shannon added the comment: At yappi/_yappi.c:1261 sets an undocumented field on a CPython internal data structure. What did you believe that was supposed to do? use_tracing is not documented anywhere. We could add the field back and ignore it, but I doubt that would help you much. ---

[issue43350] [sqlite3] Active statements are reset twice in _pysqlite_query_execute()

2021-05-10 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- Removed message: https://bugs.python.org/msg393386 ___ Python tracker ___ ___ Python-bugs-list mail

[issue43350] [sqlite3] Active statements are reset twice in _pysqlite_query_execute()

2021-05-10 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: Relevant historical commits: - https://github.com/ghaering/pysqlite/commit/a471f0495956c3b8e3f45895b172e522a9ecd683 - https://github.com/ghaering/pysqlite/commit/5a009ed6fb2e90b952438f5786f93cd1e8ac8722 - 191321d11bc7e064e1a07830a43fa600de310e1bj (in cpyth

[issue43350] [sqlite3] Active statements are reset twice in _pysqlite_query_execute()

2021-05-10 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: Relevant historical commits: - https://github.com/ghaering/pysqlite/commit/a471f0495956c3b8e3f45895b172e522a9ecd683 - https://github.com/ghaering/pysqlite/commit/5a009ed6fb2e90b952438f5786f93cd1e8ac8722 - 191321d11bc7e064e1a07830a43fa600de310e1b (in cpytho

[issue43933] Regression in python3.10 with traceback frame having lineno of -1

2021-05-10 Thread Mark Shannon
Mark Shannon added the comment: If there is no C-API function that supports your needs, feel free to suggest one. -- ___ Python tracker ___ __

[issue43933] Regression in python3.10 with traceback frame having lineno of -1

2021-05-10 Thread Mark Shannon
Change by Mark Shannon : -- Removed message: https://bugs.python.org/msg393388 ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue43760] The DISPATCH() macro is not as efficient as it could be.

2021-05-10 Thread Mark Shannon
Mark Shannon added the comment: If there is no C-API function that supports your needs, feel free to suggest one. -- ___ Python tracker ___ __

[issue43558] The dataclasses documentation should mention how to call super().__init__

2021-05-10 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +24668 pull_request: https://github.com/python/cpython/pull/26018 ___ Python tracker _

[issue43558] The dataclasses documentation should mention how to call super().__init__

2021-05-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +24669 pull_request: https://github.com/python/cpython/pull/26019 ___ Python tracker ___ __

[issue43760] The DISPATCH() macro is not as efficient as it could be.

2021-05-10 Thread Miro Hrončok
Miro Hrončok added the comment: Disclaimer: I have not written the code nor do I understand what is trying to achieve. I merely collect the data and report the problems to the package maintainers. It just seems to me that a non-underscored (and hence public) member variable on a non-undersco

[issue43558] The dataclasses documentation should mention how to call super().__init__

2021-05-10 Thread Eric V. Smith
Eric V. Smith added the comment: New changeset 4d532d3f8f7970493442d7c217220f60312f92e1 by Miss Islington (bot) in branch '3.9': bpo-43558: Add note about base class initialization to dataclasses doc (GH-25967) (GH-26019) https://github.com/python/cpython/commit/4d532d3f8f7970493442d7c217220

[issue43558] The dataclasses documentation should mention how to call super().__init__

2021-05-10 Thread Eric V. Smith
Eric V. Smith added the comment: New changeset f47305aa1fa41c38f744e9a16ae33b74c6fd45e7 by Miss Islington (bot) in branch '3.10': bpo-43558: Add note about base class initialization to dataclasses doc (GH-25967) (GH-26018) https://github.com/python/cpython/commit/f47305aa1fa41c38f744e9a16ae3

[issue43558] The dataclasses documentation should mention how to call super().__init__

2021-05-10 Thread Eric V. Smith
Eric V. Smith added the comment: Thanks, @dhoekstra! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue43350] [sqlite3] Active statements are reset twice in _pysqlite_query_execute()

2021-05-10 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: Tests that exercise this branch: Lib/sqlite3/test/dbapi.py: test_in_transaction Lib/sqlite3/test/dbapi.py: test_last_row_id_insert_o_r Lib/sqlite3/test/dbapi.py: test_on_conflict_abort_raises_with_explicit_transactions Lib/sqlite3/test/dbapi.py: test_on_con

[issue41324] Add a minimal decimal capsule API

2021-05-10 Thread Daniele Varrazzo
Daniele Varrazzo added the comment: FYI, will try to use this API in psycopg3, which supports the PostgreSQL decimal binary format. Thank you very much: it seems exactly what needed. Binary conversion with Python Decimal currently has disappointing performances and is slower than the text fo

[issue41324] Add a minimal decimal capsule API

2021-05-10 Thread Daniele Varrazzo
Daniele Varrazzo added the comment: Ah, just noticed that this has been now reverted. Oh well, I'll see what to do then :( -- ___ Python tracker ___ _

[issue43350] [sqlite3] Active statements are reset twice in _pysqlite_query_execute()

2021-05-10 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: Adding fprintf's in pysqlite_statement_reset: diff --git a/Modules/_sqlite/statement.c b/Modules/_sqlite/statement.c --- a/Modules/_sqlite/statement.c +++ b/Modules/_sqlite/statement.c @@ -347,19 +363,23 @@ int pysqlite_statement_reset(pysqlite_Statement* s

[issue43350] [sqlite3] Active statements are reset twice in _pysqlite_query_execute()

2021-05-10 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: fprintf debugging patch added, for reference -- Added file: https://bugs.python.org/file50032/fprintf.diff ___ Python tracker ___

[issue43350] [sqlite3] Active statements are reset twice in _pysqlite_query_execute()

2021-05-10 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: Complete fprintf log added, for reference. -- Added file: https://bugs.python.org/file50033/log.txt ___ Python tracker ___ ___

[issue43350] [sqlite3] Active statements are reset twice in _pysqlite_query_execute()

2021-05-10 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: Grep for SECONDRESET in log.txt to get the complete "API context". As far as I can see, there is no harm in removing the redundant reset statement. -- ___ Python tracker ___

[issue43760] The DISPATCH() macro is not as efficient as it could be.

2021-05-10 Thread Miro Hrončok
Miro Hrončok added the comment: scikit-learn: https://bugzilla.redhat.com/show_bug.cgi?id=1958976 gcc: sklearn/cluster/_k_means_fast.c In file included from /usr/lib64/python3.10/site-packages/numpy/core/include/numpy/ndarraytypes.h:1944, from /usr/lib64/python3.10/site-packa

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

2021-05-10 Thread Ma Lin
Ma Lin added the comment: Erlend, please take a look at this bug. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue43760] The DISPATCH() macro is not as efficient as it could be.

2021-05-10 Thread Petr Viktorin
Petr Viktorin added the comment: PEP 0497 is rejected; the active one is PEP 387, which says "backwards incompatibility" means preexisting code ceases to comparatively function after a change. So, this does look like a backwards-incompatible change. Unfortunately, not all of the C API is doc

[issue43760] The DISPATCH() macro is not as efficient as it could be.

2021-05-10 Thread Mark Shannon
Mark Shannon added the comment: But what does "use it" mean? What does setting `tstate->use_tracing = 1` do? There is no documented behavior, so how do we know what assumptions people are making about what happens when they set some field to 1? As I said, we could keep the field and ignore it

[issue43804] "Building C and C++ Extensions on Windows" docs are very out-of-date

2021-05-10 Thread William Pickard
William Pickard added the comment: I'm quite familiar with MSVC's command line and I'm quite confused on what you mean "the above commands are specific to 32-bit Python" "/LD" is available for both 32-bit and 64-bit compilations, it implies "/MT" to the compiler and "/DLL" to the linker. "/

[issue43804] "Building C and C++ Extensions on Windows" docs are very out-of-date

2021-05-10 Thread Zachary Ware
Zachary Ware added the comment: Since the removal of Rietveld from the tracker, it's not easy to review a patch as a patch file. Please open a PR instead. As I said on the first PR, and as William says above, I don't see any indication that your assertion that some commands are 32-bit only

[issue43760] The DISPATCH() macro is not as efficient as it could be.

2021-05-10 Thread Raymond Hettinger
Raymond Hettinger added the comment: I don't think the PEP meant to restrict individual struct member such as this. For example, we were able to switch from byte code to word code without violating the intended rules. Consider asking Brett and Benjamin for clarification. I would think tha

[issue44076] issue with list in Python 3.8.5

2021-05-10 Thread Steve Dower
Change by Steve Dower : -- nosy: -steve.dower ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue44076] issue with list in Python 3.8.5

2021-05-10 Thread Zachary Ware
Zachary Ware added the comment: Given that 3.8 is in security-fix-only mode and that it's not clear that this is actually a Python bug, I'm closing the issue. If you can reproduce the issue in Python 3.9 with a short script, do please open a new issue (or reopen this one) with the reproducer

[issue43804] "Building C and C++ Extensions on Windows" docs are very out-of-date

2021-05-10 Thread Steve Dower
Steve Dower added the comment: I still don't think the patch goes anywhere near far enough to be useful. Most likely we should preface that section with a "we recommend using a third-party build backend for your package, such as ... and refer to packaging.python.org for up to date suggestion

[issue43760] The DISPATCH() macro is not as efficient as it could be.

2021-05-10 Thread STINNER Victor
STINNER Victor added the comment: I understand that some projects manually call the profile and/or trace functions, and temporarily set use_tracing 0 while calling these functions. Some projects restore use_tracing to the correct value (compute the efficient value), some projects simply set

[issue43760] The DISPATCH() macro is not as efficient as it could be (move PyThreadState.use_tracing)

2021-05-10 Thread STINNER Victor
Change by STINNER Victor : -- title: The DISPATCH() macro is not as efficient as it could be. -> The DISPATCH() macro is not as efficient as it could be (move PyThreadState.use_tracing) versions: +Python 3.10 ___ Python tracker

[issue43760] The DISPATCH() macro is not as efficient as it could be (move PyThreadState.use_tracing)

2021-05-10 Thread STINNER Victor
Change by STINNER Victor : -- components: +C API, Interpreter Core ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue44092] [sqlite3] consider removing special rollback handling

2021-05-10 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: Quoting pysqlite commit 5a009ed message (https://github.com/ghaering/pysqlite/commit/5a009ed6fb2e90b952438f5786f93cd1e8ac8722): "Implemented a function that resets all statements in the connection's statement cache. After calling this function it is alway

[issue43804] "Building C and C++ Extensions on Windows" docs are very out-of-date

2021-05-10 Thread Shreyan Avigyan
Shreyan Avigyan added the comment: Zachary: > As I said on the first PR, and as William says above, I don't see any > indication that your assertion that some commands are 32-bit only is true. > Please provide some evidence for your claim. cl.exe by default points to the 32-bit cl.exe not t

[issue44096] Bad clang detection in configure script

2021-05-10 Thread Ned Deily
Change by Ned Deily : -- assignee: -> ned.deily nosy: +ned.deily ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue43804] "Building C and C++ Extensions on Windows" docs are very out-of-date

2021-05-10 Thread William Pickard
William Pickard added the comment: Then it appears you're using a version of the compiler that is built for building 32-bit exes/dlls, you need to use the x64 version. For this you need to start either the x86 Cross Tools console or the x64 native console (VS 2019) or use vcvarsall.cmd/Enter

[issue43804] "Building C and C++ Extensions on Windows" docs are very out-of-date

2021-05-10 Thread Shreyan Avigyan
Shreyan Avigyan added the comment: I'm aware of that. But anyway I'm removing it since there are ways to overcome it. -- ___ Python tracker ___ __

[issue43804] "Building C and C++ Extensions on Windows" docs are very out-of-date

2021-05-10 Thread William Pickard
William Pickard added the comment: Correction: You can use either VsDevCmd.bat/Enter-VsDevShell on VS versions that provide them (2017 and 2019 are known to include it), but to get the x64 tools you need to pass command line arguments (They default to x86 native tools). Otherwise you must u

[issue44103] Python 3.10 docs are visually broken

2021-05-10 Thread Jelle Zijlstra
New submission from Jelle Zijlstra : In the 3.10 docs (but not 3.11 or 3.9) I see an extra copy of the table of contents at the top of the page. Attached a screenshot. -- assignee: docs@python components: Documentation files: Screen Shot 2021-05-10 at 9.11.51 AM.png messages: 393416 no

[issue31604] unittest.TestLoader().loadTestsFromTestCase(...) fails when adding test cases with the expectedFailure decorator

2021-05-10 Thread Irit Katriel
Irit Katriel added the comment: I can't reproduce the issue on 3.10, I believe it was fixed by this: https://github.com/python/cpython/commit/c9b3ef2df06818f055e555c1d23e3ff2d5bf2d74 in particular: - def expectedFailure(func): - @functools.wraps(func) - def wrapper(*args, **kwargs):

[issue44096] Bad clang detection in configure script

2021-05-10 Thread Ned Deily
Ned Deily added the comment: Thanks for the report. Let’s hold off on writing a patch for now until I’ve had a chance to investigate the multiple issues here. That should be a few days after some imminent PyCon events. -- ___ Python tracker

[issue43804] "Building C and C++ Extensions on Windows" docs are very out-of-date

2021-05-10 Thread Shreyan Avigyan
Change by Shreyan Avigyan : -- pull_requests: +24670 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/26020 ___ Python tracker ___ __

[issue40222] "Zero cost" exception handling

2021-05-10 Thread Mark Shannon
Change by Mark Shannon : -- pull_requests: +24671 pull_request: https://github.com/python/cpython/pull/26021 ___ Python tracker ___

[issue43743] BlockingIOError: [Errno 11] Resource temporarily unavailable: on GPFS.

2021-05-10 Thread Gregory P. Smith
Gregory P. Smith added the comment: The logic for bailing out to a slow copy is currently: https://github.com/python/cpython/blob/main/Lib/shutil.py#L158 that condition appears to not be happening in Alexei's test. Suggesting that either at least one sendfile call succeeded and thus offset

[issue44103] Python 3.10 docs are visually broken

2021-05-10 Thread Shreyan Avigyan
Shreyan Avigyan added the comment: That's odd. What do you think is causing this? Python's 3.10 docs were fine even yesterday. Why is it suddenly broken? Can it be related to Sphinx version or some other bug? -- nosy: +shreyanavigyan ___ Python tr

[issue44103] Python 3.10 docs are visually broken

2021-05-10 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: > Can it be related to Sphinx version That's a good guess since Sphinx 4 was released on May 8. I'm not sure if Python would immediately pick that up though. -- ___ Python tracker

[issue44103] Python 3.10 docs are visually broken

2021-05-10 Thread Zachary Ware
Zachary Ware added the comment: This is likely an artifact of the new version of the theme and browser caching issues; try a full reload (Ctrl + Shift + R in Firefox). See also https://github.com/python/python-docs-theme/issues/78; I'll close this as a duplicate of that issue. -- n

[issue44103] Python 3.10 docs are visually broken

2021-05-10 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: Thanks, hard refresh does fix it. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue44103] Python 3.10 docs are visually broken

2021-05-10 Thread Shreyan Avigyan
Shreyan Avigyan added the comment: Yes, hard refresh fixes it. Thanks a lot. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue43760] The DISPATCH() macro is not as efficient as it could be (move PyThreadState.use_tracing)

2021-05-10 Thread Raymond Hettinger
Raymond Hettinger added the comment: +1 for Victor's suggestions. It provides a reasonable way forward without locking in eval-loop implementation details that weren't intended to be public and frozen in time. -- ___ Python tracker

[issue44104] http.cookies.CookieError: Illegal key

2021-05-10 Thread ra1nb0w
New submission from ra1nb0w : The issue arises when there are multiple web applications using the same hostname and a "bad" cookie is stored; the first one (ex. tvheadend) sets a cookie like 'ys-api/mpegts/service=blabla' and the second is a python one that crash with the following: May 10 1

[issue44074] patchcheck checks against branch "master" not "main"

2021-05-10 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +24672 pull_request: https://github.com/python/cpython/pull/26022 ___ Python tracker _

[issue44074] patchcheck checks against branch "master" not "main"

2021-05-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +24673 pull_request: https://github.com/python/cpython/pull/26023 ___ Python tracker ___ __

[issue44074] patchcheck checks against branch "master" not "main"

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

[issue44074] patchcheck checks against branch "master" not "main"

2021-05-10 Thread miss-islington
miss-islington added the comment: New changeset fbd9b9939cffda4936a986bc729833c69b61f4cb by Miss Islington (bot) in branch '3.9': bpo-44074: let patchcheck infer the base branch name (GH-25991) https://github.com/python/cpython/commit/fbd9b9939cffda4936a986bc729833c69b61f4cb -- ___

[issue44074] patchcheck checks against branch "master" not "main"

2021-05-10 Thread miss-islington
miss-islington added the comment: New changeset 4cc836983ecc643be776026049bd1bcc826c7a0e by Miss Islington (bot) in branch '3.10': bpo-44074: let patchcheck infer the base branch name (GH-25991) https://github.com/python/cpython/commit/4cc836983ecc643be776026049bd1bcc826c7a0e -- __

[issue43743] BlockingIOError: [Errno 11] Resource temporarily unavailable: on GPFS.

2021-05-10 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: > The question seems to be is if it should be okay to _GiveUpOnFastCopy after a > partial (incomplete) copy has already occurred via sendfile. I think it should not. For posterity: my rationale for introducing _USE_CP_SENDFILE was to allow monkey patching

  1   2   >