[issue43710] Access violations in C extension modules on Python 3.9.3

2021-04-02 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +Mark.Shannon, lukasz.langa ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue43710] Access violations in C extension modules on Python 3.9.3

2021-04-02 Thread Christoph Gohlke
New submission from Christoph Gohlke : First reported at https://github.com/numpy/numpy/issues/18720 After upgrading to Python 3.9.3, 32-bit on Windows, importing numpy (installed via `pip install numpy`) crashes: ``` Microsoft Windows [Version 10.0.19041.906] C:\Python39-32>python -X dev

[issue43689] difflib: mention other "problematic" characters in documentation

2021-04-02 Thread Tim Peters
Tim Peters added the comment: Lines beginning with "?" are entirely synthetic: they were not present in either input. So that's what that part means. I'm not clear on what else could be materially clearer without greatly bloating the text. For example, >>> d = difflib.Differ() >>> for L

[issue43699] ERROR: Could not find a version that satisfies the requirement MetaTrader5

2021-04-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Andre', direct issue like this to discussion forums like python-list. -- nosy: +terry.reedy stage: -> resolved status: pending -> closed ___ Python tracker

[issue43689] difflib: mention other "problematic" characters in documentation

2021-04-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: The quote is in the following section. https://docs.python.org/3/library/difflib.html#difflib.Differ I do not really understand the previous line "Lines beginning with ‘?’ attempt to guide the eye to intraline differences, and were not present in either input

[issue43684] Add combined opcodes

2021-04-02 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +terry.reedy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43671] segfault when using pygame for ~5 minutes

2021-04-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: I would not be surprised if using the gui features of both tkinter and pygame together did cause a crash, as both would be competing for the screen. Ditto if both were handling key and mouse events. That might be closed instead as "won't fix" --

[issue43671] segfault when using pygame for ~5 minutes

2021-04-02 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: segfault when using tkinter + pygame for ~5 minutes -> segfault when using pygame for ~5 minutes ___ Python tracker ___

[issue43671] segfault when using tkinter + pygame for ~5 minutes

2021-04-02 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue43656] StackSummary.format fails if str(value) fails

2021-04-02 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: -Python 3.6, Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue43634] Extensions build does not respect --jobs setting

2021-04-02 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +ncoghlan, petr.viktorin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43705] [docs] Document that SyntaxError's offsets are 1-indexed

2021-04-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Should we mention that the 4 attributes are also available as a 4-tuple that is the 2nd item of the args tuple, after the message? Doing so will help when illustrating the following. For syntax errors in f-string fields, the expanded doc is still

[issue19080] Enrich SyntaxError with additional information

2021-04-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am closing because 2 of your 3 examples (and many others) have had the messages changed in an effort to be more informative. But Pablo can reverse this if he wants. In 3.10: >>> * 2 SyntaxError: can't use starred expression here +2 and -2 are also

[issue43684] Add combined opcodes

2021-04-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: > Statically, in the stdlib, about 1 in a 1000 opcodes > is an ADD_INT candidate. I would expect that ADD_INT would typically occur in loops, so even if it is a rare opcode statically, it will really count when it used. -- nosy: +rhettinger

[issue43154] code.InteractiveConsole can crash if sys.excepthook is broken

2021-04-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: code.InteractiveInterpreter handles SyntaxErrors separately in showsyntaxerror rather than showtraceback. The same problem arises with a bad excepthook in line 129. -- ___ Python tracker

[issue43705] [docs] Document that SyntaxError's offsets are 1-indexed

2021-04-02 Thread miss-islington
miss-islington added the comment: New changeset 06653f8d15a8a84ee0f43f739704a9a63c27de54 by Miss Islington (bot) in branch '3.8': bpo-43705: Document that SyntaxError's offsets are 1-indexed (GH-25153) https://github.com/python/cpython/commit/06653f8d15a8a84ee0f43f739704a9a63c27de54

[issue43705] [docs] Document that SyntaxError's offsets are 1-indexed

2021-04-02 Thread miss-islington
miss-islington added the comment: New changeset 63c69440c7adb0de1d191a8d3d100b335d5c2f81 by Miss Islington (bot) in branch '3.9': bpo-43705: Document that SyntaxError's offsets are 1-indexed (GH-25153) https://github.com/python/cpython/commit/63c69440c7adb0de1d191a8d3d100b335d5c2f81

[issue43684] Add combined opcodes

2021-04-02 Thread Guido van Rossum
Guido van Rossum added the comment: Statically, in the stdlib, about 1 in a 1000 opcodes is an ADD_INT candidate. I'll have to do some more work to come up with a dynamic count. -- ___ Python tracker

[issue43684] Add combined opcodes

2021-04-02 Thread Tim Peters
Tim Peters added the comment: """ My philosophy here (which I learned from Tim Peters in the early 2000s) is that even though each individual improvement has no measurable effect on a general benchmark (as shown in the same comment), the combined effect of a number of tiny improvements can

[issue29672] `catch_warnings` context manager causes all warnings to be printed every time, even after exiting

2021-04-02 Thread Tom Aldcroft
Tom Aldcroft added the comment: I encountered this issue today and want to +1 getting some attention on this. The disconnected nature of this issue makes it especially difficult to understand -- any package in the stack can change this hidden global variable `_filters_version` in the

[issue43709] Windows Tools\buildbot\clean.bat misses some needed pyc/pyo removal

2021-04-02 Thread David Bolen
Change by David Bolen : -- keywords: +patch pull_requests: +23904 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25157 ___ Python tracker ___

[issue43705] [docs] Document that SyntaxError's offsets are 1-indexed

2021-04-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +23903 pull_request: https://github.com/python/cpython/pull/25156 ___ Python tracker ___

[issue43705] [docs] Document that SyntaxError's offsets are 1-indexed

2021-04-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +23902 pull_request: https://github.com/python/cpython/pull/25155 ___ Python tracker ___

[issue43705] [docs] Document that SyntaxError's offsets are 1-indexed

2021-04-02 Thread miss-islington
miss-islington added the comment: New changeset b2a91e0c9ee18b50cc86b21211c2258520a9f5d0 by Ammar Askar in branch 'master': bpo-43705: Document that SyntaxError's offsets are 1-indexed (GH-25153) https://github.com/python/cpython/commit/b2a91e0c9ee18b50cc86b21211c2258520a9f5d0 --

[issue43684] Add combined opcodes

2021-04-02 Thread Guido van Rossum
Guido van Rossum added the comment: Microbench results for ADD_INT: https://github.com/python/cpython/pull/25090#issuecomment-810441738 I have a few others like this lined up -- Mark recommended submitting them one at a time to make review easier. My philosophy here (which I learned from

[issue43709] Windows Tools\buildbot\clean.bat misses some needed pyc/pyo removal

2021-04-02 Thread David Bolen
David Bolen added the comment: Something like this is a quick 'n dirty minimal fix - at least it seems to solve the problem that arose in issue #27129 on the Win10 buildbot: --- a/Tools/buildbot/clean.bat +++ b/Tools/buildbot/clean.bat @@ -11,6 +11,8 @@ call "%pcbuild%\build.bat" -t Clean -k

[issue27129] Wordcode, part 2

2021-04-02 Thread David Bolen
David Bolen added the comment: I've opened issue #43709 for fixing the buildbot clean script under Windows. It needs to clean the Tools and Parser trees, not just Lib (and there are a few other folders involved besides clinic) -- ___ Python

[issue43709] Windows Tools\buildbot\clean.bat misses some needed pyc/pyo removal

2021-04-02 Thread David Bolen
New submission from David Bolen : The Tools\buildbot\clean.bat script used on Windows only removes pyc/pyo files from the Lib tree, leaving some files beneath Tools (clinic and peg_generator) and Parser (asdl). This can cause failures following commits that affect those files, such as

[issue43708] Tkinter theme settings object schema is missing

2021-04-02 Thread WHK
New submission from WHK : By example style = ttk.Style() style.theme_settings('default', settings={ '.': [] }) Tkinter settings schema or typed data is missing. By example: _tkinter.TclError: Invalid state name d This error message does not provide the missing parameter information, by

[issue43707] onerror in tempfile has an invalid raise expression

2021-04-02 Thread Maximilian Roos
Maximilian Roos added the comment: I see @eryksun — by convention `onerror` is always called in an except block, and so having a bare `raise` outside of an explicit except block is OK. Thanks for clarifying. I'll close this. -- resolution: -> not a bug stage: -> resolved status:

[issue42248] Raised exception in Enum keeping user objects alive unnecessarily

2021-04-02 Thread Mark Dickinson
Mark Dickinson added the comment: Here's a cut-down example, at the prompt: Python 3.9.2 (default, Mar 31 2021, 05:47:22) [Clang 11.0.3 (clang-1103.0.32.62)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import signal >>> class App: pass ... >>> def

[issue42135] [importlib] Deprecate find_module() & find_loader() mplementations

2021-04-02 Thread Brett Cannon
Change by Brett Cannon : -- title: [importlib] Deprecate find_module() implementations -> [importlib] Deprecate find_module() & find_loader() mplementations ___ Python tracker

[issue43672] Raise ImportWarning when calling find_loader()

2021-04-02 Thread Brett Cannon
Change by Brett Cannon : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue43672] Raise ImportWarning when calling find_loader()

2021-04-02 Thread Brett Cannon
Brett Cannon added the comment: New changeset f97dc800689ba98783dac8dc51f87f7c6f413ac6 by Brett Cannon in branch 'master': bpo-43672: raise ImportWarning when calling find_loader() (GH-25119) https://github.com/python/cpython/commit/f97dc800689ba98783dac8dc51f87f7c6f413ac6 --

[issue42248] Raised exception in Enum keeping user objects alive unnecessarily

2021-04-02 Thread Mark Dickinson
Mark Dickinson added the comment: I'm running into this, too, on Python 3.9.2; in my case it's causing segmentation faults in a wxPython-based application. Those segfaults aren't the fault of the reference cycle, of course; they're a result of wxPython being finicky about object cleanup

[issue43704] ShareableList() raises TypeError when passing "name" keyword

2021-04-02 Thread Steve Newcomb
Steve Newcomb added the comment: And again with 3.8.8, with the same result. I also tried just using the same shared memory manager again within the same process, just as shown in the documentation. Same result: TypeError: ShareableList() got an unexpected keyword argument 'name' I must

[issue43707] onerror in tempfile has an invalid raise expression

2021-04-02 Thread Eryk Sun
Eryk Sun added the comment: > It'll still raise, given it's invalid, though not with the > exception it should be raising with... onerror() is always called to handle an exception, and `raise` will re-raise that exception. Is there a specific case where this isn't working as expected for

[issue43707] onerror in tempfile has an invalid raise expression

2021-04-02 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: Adding Serhiy, who added the code in question in commit e9b51c0ad81da1da11ae65840ac8b50a8521373c (GH-10320, bpo-26660, bpo-35144). -- nosy: +erlendaasland, serhiy.storchaka ___ Python tracker

[issue31842] pathlib: "Incorrect function" during resolve()

2021-04-02 Thread _
_ added the comment: Still happening on Python 3.9.2 on Win10 when using a Ram Drive. Any chance of getting this fixed? -- nosy: +riffitos ___ Python tracker ___

[issue27129] Wordcode, part 2

2021-04-02 Thread David Bolen
David Bolen added the comment: I'm out of time for a bit, but it appears that the root issue is old pyc files in Tools/clinic/__pycache__ that aren't removed during a clean process, and appear to be the source of all of the errors. Manually pruning that folder fixes things. I believe the

[issue43704] ShareableList() raises TypeError when passing "name" keyword

2021-04-02 Thread Steve Newcomb
Steve Newcomb added the comment: I just tried the same thing on Python-3.10.0a6. Same behavior. -- ___ Python tracker ___ ___

[issue42380] Build windows binaries with MS VS2019 16.8+ / MSVC 19.28+

2021-04-02 Thread Steve Dower
Steve Dower added the comment: Closing this as not a bug, since the toolchain used to build CPython itself has no impact on the toolchain that extensions can use. If your build tool is not detecting newer versions of MSVC, you'll need to file that against whichever backend you are using.

[issue27129] Wordcode, part 2

2021-04-02 Thread David Bolen
David Bolen added the comment: Ah, Victor, that helps. I was having trouble reproducing the problem on a different system. I was suspecting a small difference in compiler version, but I hadn't considered it being because I started fresh. >From what I can see, a particular build tree can

[issue43707] onerror in tempfile has an invalid raise expression

2021-04-02 Thread Maximilian Roos
New submission from Maximilian Roos : The raise expression [here](https://github.com/python/cpython/blob/ad442a674ca443feec43a88a2d3671784712e550/Lib/tempfile.py#L826) isn't valid, since it isn't in an except block. It'll still raise, given it's invalid, though not with the exception it

[issue43706] enumerate() instantiation time reducing by using PEP 590 vectorcall

2021-04-02 Thread Dong-hee Na
Change by Dong-hee Na : -- keywords: +patch pull_requests: +23901 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25154 ___ Python tracker ___

[issue43706] enumerate() instantiation time reducing by using PEP 590 vectorcall

2021-04-02 Thread Dong-hee Na
Change by Dong-hee Na : -- type: -> performance versions: +Python 3.10 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue43706] enumerate() instantiation time reducing by using PEP 590 vectorcall

2021-04-02 Thread Dong-hee Na
New submission from Dong-hee Na : Finally, I success to implement PEP 590 for enumerate type which is the well-used type in Python. Amazingly enhanced! +-+++ | Benchmark | enumerate_bench_master |

[issue43705] [docs] Document that SyntaxError's offsets are 1-indexed

2021-04-02 Thread Ammar Askar
Change by Ammar Askar : -- keywords: +patch pull_requests: +23900 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25153 ___ Python tracker ___

[issue27129] Wordcode, part 2

2021-04-02 Thread STINNER Victor
STINNER Victor added the comment: I get two crashes on Windows with Python built in debug mode: * I got a crash. I wasn't sure if it was an issue of incremental build, so I rebuilt Python. * On a fresh build, Python crashed on the CALL_FUNCTION_KW opcode, when loading names, names was equal

[issue43705] [docs] Document that SyntaxError's offsets are 1-indexed

2021-04-02 Thread Ammar Askar
New submission from Ammar Askar : As pointed out by Guido in https://bugs.python.org/issue43555, we switched to making the column offsets for SyntaxError be 1-indexed consistently in https://bugs.python.org/issue34683 The rationale is explained by Guido and expanded upon in follow up

[issue43704] ShareableList() raises TypeError when passing "name" keyword

2021-04-02 Thread Steve Newcomb
New submission from Steve Newcomb : This is especially weird because the Python source code says: class ShareableList: [...] def __init__(self, sequence=None, *, name=None): -- components: Library (Lib) files: shareableListBug.txt messages: 390080 nosy: steve.newcomb priority:

[issue33757] Failed separate test_pdb_next_command_in_generator_for_loop in test_pdb

2021-04-02 Thread Irit Katriel
Change by Irit Katriel : -- superseder: Missing (optional) argument `start` and `end` in documentation for list.index -> Pdb sometimes raises exception when trying to remove a breakpoint defined in a different debugger session ___ Python tracker

[issue24160] Pdb sometimes raises exception when trying to remove a breakpoint defined in a different debugger session

2021-04-02 Thread Irit Katriel
Irit Katriel added the comment: Thanks! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue33757] Failed separate test_pdb_next_command_in_generator_for_loop in test_pdb

2021-04-02 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> duplicate stage: patch review -> resolved status: open -> closed superseder: -> Missing (optional) argument `start` and `end` in documentation for list.index ___ Python tracker

[issue40012] Avoid Python 2 documentation to appear in Web search results

2021-04-02 Thread Ammar Askar
Ammar Askar added the comment: This has been fixed as part of https://github.com/python/docsbuild-scripts/pull/99 Thank you to Julien, our Google results are much cleaner now :) -- resolution: -> fixed stage: -> resolved status: open -> closed

[issue24160] Pdb sometimes raises exception when trying to remove a breakpoint defined in a different debugger session

2021-04-02 Thread Guido van Rossum
Guido van Rossum added the comment: New changeset ad442a674ca443feec43a88a2d3671784712e550 by Irit Katriel in branch 'master': bpo-24160: Fix breakpoints persistence across multiple pdb sessions (GH-21989) https://github.com/python/cpython/commit/ad442a674ca443feec43a88a2d3671784712e550

[issue29505] Submit the re, json, csv, & struct modules to oss-fuzz testing

2021-04-02 Thread Ammar Askar
Ammar Askar added the comment: All the modules prescribed in the original bug are now actively being fuzzed, thank you to Devin for the original work on this and Gregory for reviewing all these changes. I'm closing this now, feel free to make a new bug and nosy me in if there are any other

[issue41283] The parameter name for imghdr.what in the documentation is wrong

2021-04-02 Thread Ammar Askar
Change by Ammar Askar : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue40705] use-after-free in _zoneinfo.c's module_free function

2021-04-02 Thread Ammar Askar
Change by Ammar Askar : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue40932] subprocess docs should warn of shlex use on Windows

2021-04-02 Thread Ammar Askar
Ammar Askar added the comment: Thank you Steve and Zachary for reviewing, this warning is in the docs now. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue34398] Docs search should prominently show definitions and glossary items

2021-04-02 Thread Ammar Askar
Ammar Askar added the comment: Thank you to Julien for reviewing, we ended up going with our own solution instead of waiting on Sphinx and I think it looks good :) -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___

[issue41670] ceval traces code differently with USE_COMPUTED_GOTOS

2021-04-02 Thread Ammar Askar
Change by Ammar Askar : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue36207] robotsparser deny all with some rules

2021-04-02 Thread STINNER Victor
Change by STINNER Victor : -- Removed message: https://bugs.python.org/msg338298 ___ Python tracker ___ ___ Python-bugs-list

[issue36207] robotsparser deny all with some rules

2021-04-02 Thread STINNER Victor
STINNER Victor added the comment: I removed almost all messages of this issue since most of them looked list SPAM. I also blocked user accounts who posted SPAM. If it was a mistake, contact me. This is the Python bug tracker, not a forum to ask questions how to use Python, or to report

[issue36207] robotsparser deny all with some rules

2021-04-02 Thread STINNER Victor
Change by STINNER Victor : -- Removed message: https://bugs.python.org/msg365770 ___ Python tracker ___ ___ Python-bugs-list

[issue36207] robotsparser deny all with some rules

2021-04-02 Thread STINNER Victor
Change by STINNER Victor : -- Removed message: https://bugs.python.org/msg370275 ___ Python tracker ___ ___ Python-bugs-list

[issue36207] robotsparser deny all with some rules

2021-04-02 Thread STINNER Victor
Change by STINNER Victor : -- Removed message: https://bugs.python.org/msg377058 ___ Python tracker ___ ___ Python-bugs-list

[issue36207] robotsparser deny all with some rules

2021-04-02 Thread STINNER Victor
Change by STINNER Victor : -- Removed message: https://bugs.python.org/msg377125 ___ Python tracker ___ ___ Python-bugs-list

[issue36207] robotsparser deny all with some rules

2021-04-02 Thread STINNER Victor
Change by STINNER Victor : -- Removed message: https://bugs.python.org/msg374642 ___ Python tracker ___ ___ Python-bugs-list

[issue36207] robotsparser deny all with some rules

2021-04-02 Thread STINNER Victor
Change by STINNER Victor : -- Removed message: https://bugs.python.org/msg376032 ___ Python tracker ___ ___ Python-bugs-list

[issue36207] robotsparser deny all with some rules

2021-04-02 Thread STINNER Victor
Change by STINNER Victor : -- Removed message: https://bugs.python.org/msg366509 ___ Python tracker ___ ___ Python-bugs-list

[issue36207] robotsparser deny all with some rules

2021-04-02 Thread STINNER Victor
Change by STINNER Victor : -- Removed message: https://bugs.python.org/msg367546 ___ Python tracker ___ ___ Python-bugs-list

[issue36207] robotsparser deny all with some rules

2021-04-02 Thread STINNER Victor
Change by STINNER Victor : -- Removed message: https://bugs.python.org/msg374629 ___ Python tracker ___ ___ Python-bugs-list

[issue36207] robotsparser deny all with some rules

2021-04-02 Thread STINNER Victor
Change by STINNER Victor : -- Removed message: https://bugs.python.org/msg372112 ___ Python tracker ___ ___ Python-bugs-list

[issue36207] robotsparser deny all with some rules

2021-04-02 Thread STINNER Victor
Change by STINNER Victor : -- Removed message: https://bugs.python.org/msg378070 ___ Python tracker ___ ___ Python-bugs-list

[issue36207] robotsparser deny all with some rules

2021-04-02 Thread STINNER Victor
Change by STINNER Victor : -- Removed message: https://bugs.python.org/msg379615 ___ Python tracker ___ ___ Python-bugs-list

[issue36207] robotsparser deny all with some rules

2021-04-02 Thread STINNER Victor
Change by STINNER Victor : -- Removed message: https://bugs.python.org/msg379616 ___ Python tracker ___ ___ Python-bugs-list

[issue36207] robotsparser deny all with some rules

2021-04-02 Thread STINNER Victor
Change by STINNER Victor : -- Removed message: https://bugs.python.org/msg385859 ___ Python tracker ___ ___ Python-bugs-list

[issue36207] robotsparser deny all with some rules

2021-04-02 Thread STINNER Victor
Change by STINNER Victor : -- Removed message: https://bugs.python.org/msg381443 ___ Python tracker ___ ___ Python-bugs-list

[issue36207] robotsparser deny all with some rules

2021-04-02 Thread STINNER Victor
Change by STINNER Victor : -- title: référencement naturel -> robotsparser deny all with some rules ___ Python tracker ___ ___

[issue36207] référencement naturel

2021-04-02 Thread STINNER Victor
Change by STINNER Victor : -- Removed message: https://bugs.python.org/msg390071 ___ Python tracker ___ ___ Python-bugs-list

[issue36207] référencement naturel

2021-04-02 Thread STINNER Victor
Change by STINNER Victor : -- Removed message: https://bugs.python.org/msg390072 ___ Python tracker ___ ___ Python-bugs-list

[issue36207] référencement naturel

2021-04-02 Thread Eric Gavrel
Eric Gavrel added the comment: Le sujet n'était il pas à l'origine le référencement naturel comme indiqué sur ce site www.myseosimple.com ? L'automation peut aussi être d'utilité en SEE si on a la bonne librairie. -- ___ Python tracker

[issue36207] référencement naturel

2021-04-02 Thread Eric Gavrel
Eric Gavrel added the comment: Le sujet n'était il pas à l'origine https://myseosimple.com/> le référencement naturel ? L'automation peut aussi être d'utilité en SEE si on a la bonne librairie. -- nosy: +EricG -ideeanimationanniversaire, jeanotlapin, nico702 title: robotsparser deny

[issue31956] Add start and stop parameters to the array.index()

2021-04-02 Thread Dong-hee Na
Dong-hee Na added the comment: New changeset afd12650580725ac598b2845384771c14c4f952e by Zackery Spytz in branch 'master': bpo-31956: Add start and stop parameters to array.index() (GH-25059) https://github.com/python/cpython/commit/afd12650580725ac598b2845384771c14c4f952e --

[issue43693] Logically merge cell and locals array. They are already contiguous in memory

2021-04-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: This doesn't look simpler to me. We will forever lose mental clock cycles disentangling the locals and cells. So, I don't think they should be commingled. -- nosy: +rhettinger ___ Python tracker

[issue41111] [C API] Convert a few stdlib extensions to the limited C API (PEP 384)

2021-04-02 Thread STINNER Victor
STINNER Victor added the comment: New changeset 240bcf82a11fe7433a61da70605e924c53b88096 by Victor Stinner in branch 'master': bpo-4: xxlimited.c defines Py_LIMITED_API (GH-25151) https://github.com/python/cpython/commit/240bcf82a11fe7433a61da70605e924c53b88096 --

[issue43688] [C API] Support the limited C API in debug mode (Py_INCREF and Py_DECREF)

2021-04-02 Thread STINNER Victor
STINNER Victor added the comment: New changeset 9bb5658bd122d40fff9f34a912be3297b303d18b by Victor Stinner in branch 'master': bpo-43688: Support "make regen-limited-abi" in debug mode (GH-25133) https://github.com/python/cpython/commit/9bb5658bd122d40fff9f34a912be3297b303d18b --

[issue43703] xml.etree parser does not accept valid control characters

2021-04-02 Thread Romuald Brunet
Romuald Brunet added the comment: Thanks for the quick reply We're getting data from about a hundred different providers around the world; some of them not really keen on standards, so we already have some hacks to fix invalid XML. We'll add one to the list In that particular case, the XML

[issue43703] xml.etree parser does not accept valid control characters

2021-04-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It is a known issue, see issue11804 and issue39512. In short, the underlying library for XML parsing (expat) does not support XML 1.1 and does not have plans to support it. And seems that XML 1.1 is a dead standard if it is not supported in popular

[issue43693] Logically merge cell and locals array. They are already contiguous in memory

2021-04-02 Thread Mark Shannon
Change by Mark Shannon : -- keywords: +patch pull_requests: +23899 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/25152 ___ Python tracker

[issue41111] [C API] Convert a few stdlib extensions to the limited C API (PEP 384)

2021-04-02 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +23898 pull_request: https://github.com/python/cpython/pull/25151 ___ Python tracker ___

[issue43688] [C API] Support the limited C API in debug mode (Py_INCREF and Py_DECREF)

2021-04-02 Thread STINNER Victor
STINNER Victor added the comment: New changeset 3359cab038968935b40344fad7c30d211f9692e4 by Victor Stinner in branch 'master': bpo-43688: Support the limited C API in debug mode (GH-25131) https://github.com/python/cpython/commit/3359cab038968935b40344fad7c30d211f9692e4 --

[issue36465] Make release and debug ABI compatible

2021-04-02 Thread STINNER Victor
STINNER Victor added the comment: New changeset 3359cab038968935b40344fad7c30d211f9692e4 by Victor Stinner in branch 'master': bpo-43688: Support the limited C API in debug mode (GH-25131) https://github.com/python/cpython/commit/3359cab038968935b40344fad7c30d211f9692e4 --

[issue43688] [C API] Support the limited C API in debug mode (Py_INCREF and Py_DECREF)

2021-04-02 Thread STINNER Victor
STINNER Victor added the comment: In release mode, I get the libraries: * xxlimited.cpython-310-x86_64-linux-gnu.so * xxlimited_35.cpython-310-x86_64-linux-gnu.so In debug mode, I get the libraries: * xxlimited.cpython-310d-x86_64-linux-gnu.so * xxlimited_35.cpython-310d-x86_64-linux-gnu.so

[issue43687] use unicode_state empty string before unicode_init. without define WITH_DOC_STRINGS

2021-04-02 Thread STINNER Victor
STINNER Victor added the comment: It's now fixed, thanks for the bug report. -- components: +Interpreter Core resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue43687] use unicode_state empty string before unicode_init. without define WITH_DOC_STRINGS

2021-04-02 Thread STINNER Victor
STINNER Victor added the comment: New changeset 442ad74fc2928b095760eb89aba93c28eab17f9b by Victor Stinner in branch 'master': bpo-43687: Py_Initialize() creates singletons earlier (GH-25147) https://github.com/python/cpython/commit/442ad74fc2928b095760eb89aba93c28eab17f9b --

[issue37804] Remove Thread.isAlive in Python 3.9

2021-04-02 Thread STINNER Victor
STINNER Victor added the comment: > we should probably also deprecate the setter/getter methods that you mention You can deprecate them. Please open a new issue for that, this one is closed and specific to Thread.isAlive. -- ___ Python tracker

[issue43568] Drop support for Mac OS X < 10.3 module linking

2021-04-02 Thread Joshua Root
Joshua Root added the comment: Here's the PR for pypa/distutils, which is just relaxing the MDT check since it has to work with older Python versions: https://github.com/pypa/distutils/pull/36 -- ___ Python tracker

[issue43688] [C API] Support the limited C API in debug mode (Py_INCREF and Py_DECREF)

2021-04-02 Thread STINNER Victor
STINNER Victor added the comment: I modified my PR 25131 to only implement Py_INCREF/Py_DECREF as opaque function calls under two conditions: * Python is built in debug mode * Py_LIMITED_API macro targets Python 3.10 or newer So this PR 25131 now only has an impact on performance if Python

  1   2   >