07.06.21 06:05, Inada Naoki пише:
> Since Python 3.8, PyArg_Parse*() APIs and Py_BuildValue() APIs emitted
> DeprecationWarning when
> '#' format is used without PY_SSIZE_T_CLEAN defined.
> In Python 3.10, they raise a RuntimeError, not a warning. Extension
> modules can not use '#' format with int
>
> I'm having a hard time debugging some virtual machine code because GDB
> won't break where it's supposed to.
>
A quick follow-up. The GDB folks were able to reproduce this in an XUbuntu
20.04 VM. I don't know if they tried straight Ubuntu, but as the main
difference between the two is the user
On Fri, 4 Jun 2021, 4:17 am Gregory P. Smith, wrote:
> Overall agreement. Your list of ast and code objects and bytecode
> instructions are things that I'd _hope_ people already consider unstable so
> declaring them as such just makes sense if we're not doing that already.
>
Another example of a
On Sun, Jun 06, 2021 at 04:07:57PM -0700, Dan Stromberg wrote:
> I've got a comparison of sort algorithms in both Cython and Pure Python (your
> choice) at:
> https://stromberg.dnsalias.org/~strombrg/sort-comparison/
> ...including a version of timsort that is in Cython or Pure Python.
>
Interes
On Mon, 7 Jun 2021 06:49:24 -0700
Senthil Kumaran wrote:
> On Sun, Jun 06, 2021 at 04:07:57PM -0700, Dan Stromberg wrote:
> > I've got a comparison of sort algorithms in both Cython and Pure Python
> > (your
> > choice) at:
> > https://stromberg.dnsalias.org/~strombrg/sort-comparison/
> > ...inc
On Sun, Jun 6, 2021 at 7:09 PM Dan Stromberg wrote:
> I've got a comparison of sort algorithms in both Cython and Pure Python
> (your choice) at:
> https://stromberg.dnsalias.org/~strombrg/sort-comparison/
> ...including a version of timsort that is in Cython or Pure Python.
>
Thanks for sharing
On Tue, May 18, 2021 at 4:27 PM Nick Coghlan wrote:
> Thanks for the update!
>
> I know this request is a little ironic coming from me, but would it be
> possible to state the PEP titles the first time they're mentioned each
> month?
>
Yep. I usually do this, not sure why I forgot this time. The
> So how about making PY_SSIZE_T_CLEAN not mandatory in Python 3.11?
> Extension modules can use '#' format with ssize_t, without
> PY_SSIZE_T_CLEAN defined.
> Or should we wait one more version?
Hi, Inada,
I suggest we should wait until at least Python 3.12 or Python 4.0.
There have an another q
Dear Python Developers,
I have found that default IDLE can't open .py files on double click and
IDLE isn't shown in "Open with" menu. I have solved this problem by
converting idle.bat in \lib\idlelibs\ into .exe file.
If you are interested in my help, you can learn more in my GitHub repo -
https://
On 6/6/21 9:14 AM, Irit Katriel via Python-Dev wrote:
> On 6 Jun 2021, at 16:58, Andrei Kulakov wrote:
>> In Math / CompSci there is a definition that almost exactly matches this:
Exact Cover -
>> https://en.wikipedia.org/wiki/Exact_cover
>>
>> The difference is that, IIRC, solving the problem i
On Mon, Jun 7, 2021 at 1:36 PM Ethan Furman wrote:
> On 6/6/21 9:14 AM, Irit Katriel via Python-Dev wrote:
> > On 6 Jun 2021, at 16:58, Andrei Kulakov wrote:
>
> >> In Math / CompSci there is a definition that almost exactly matches
> this: Exact Cover -
> >> https://en.wikipedia.org/wiki/Exac
Andrei is suggesting to look at each enum value as the set of "bits set to
1" in this value, and then apply a set-thoery term to the problem. A set of
"cardinality 1" in this context is an enum value with only one "1", what
you called canonical. The condition you defined is that any bit that is set
[Dan Stromberg ]
> ...
> Timsort added the innovation of making mergesort in-place, plus a little
> (though already common) O(*n^2) sorting for small sublists.
Actually, both were already very common in mergesorts. "timsort" is
much more a work of engineering than of insight ;-) That is, it
combin
On Mon, Jun 7, 2021 at 11:20 AM Tim Peters wrote:
> [Dan Stromberg ]
> > ...
> > Timsort added the innovation of making mergesort in-place, plus a little
> > (though already common) O(*n^2) sorting for small sublists.
>
> Actually, both were already very common in mergesorts. "timsort" is
> much
On 6/7/2021 12:20 PM, MatroCholo wrote:
Dear Python Developers,
I have found that default IDLE can't open .py files on double click
After installing with the python.org Windows installer, double-clicking
x.py should run x.py with the default python. It does for me. The file
should be design
On Mon, Jun 7, 2021 at 4:52 PM Serhiy Storchaka wrote:
>
> Many users still use 3.6 or 3.7. Jumping from 3.7 to 3.11 could break
> extensions in bad way (crash, truncated data, leaked sensitive
> information, execution of arbitrary code). Also, deprecation warnings in
> 3.8 and 3.9 can be easily i
On Tue, Jun 8, 2021 at 12:53 AM Hai Shi wrote:
>
> > So how about making PY_SSIZE_T_CLEAN not mandatory in Python 3.11?
> > Extension modules can use '#' format with ssize_t, without
> > PY_SSIZE_T_CLEAN defined.
> > Or should we wait one more version?
>
> Hi, Inada,
> I suggest we should wait unt
Irit Katriel via Python-Dev writes:
> Andrei is suggesting to look at each enum value as the set of "bits set to
> 1" in this value, and then apply a set-thoery term to the problem.
> [...] Anyway, I don't know whether this kind of terminology is
> widely accessible.
I think the everyday mea
18 matches
Mail list logo