[Python-Dev] Re: Declarative imports

2022-04-08 Thread Carl Meyer via Python-Dev
ith multiple uses are a middle ground.) Carl ___________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.or

[Python-Dev] Re: Declarative imports

2022-04-08 Thread Carl Meyer via Python-Dev
its. Carl _______ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.o

[Python-Dev] Re: Declarative imports

2022-04-09 Thread Carl Meyer via Python-Dev
CLIs just by making imports lazy. We've also opened an issue to discuss the possibility of upstreaming this. [2] [1] https://github.com/facebookincubator/cinder/#strict-modules [2] https://bugs.python.org/issue46963 ___________ Python-Dev mailing list -- pyth

[Python-Dev] Re: Declarative imports

2022-04-09 Thread Carl Meyer via Python-Dev
If you want to catch errors earlier, use a static analysis tool to help catch them. Carl ___ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev

[Python-Dev] Re: Need help on security vulnerability zlib 1.2.11

2022-04-19 Thread Ronald Oussoren via Python-Dev
please provide some input on this Please ask the pyinstaller developers about this. Ronald — Twitter / micro.blog: @ronaldoussoren Blog: https://blog.ronaldoussoren.net/ _______________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an

[Python-Dev] Re: Proto-PEP part 1: Forward declaration of classes

2022-04-23 Thread Rob Cliffe via Python-Dev
e in case anyone wants to experiment with it further. Also, it's intentionally delicate; it only works on git checkout trees, and only with one specific revision id:     7b87e8af0cb8df0d76e8ab18a9b12affb4526103 Postscript Thanks to Eric V. Smith and Barry Warsaw for proofreading and

[Python-Dev] Re: Proto-PEP part 1: Forward declaration of classes

2022-04-24 Thread Carl Meyer via Python-Dev
en if not all names referenced in them are defined yet at the time of introspection, is much less invasive and more practical. Carl ___ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org h

[Python-Dev] Re: Proto-PEP part 1: Forward declaration of classes

2022-04-24 Thread Carl Meyer via Python-Dev
rebound, as in plain name binding, when the second part > is declared. I've stated that amidst my ramblings, > but Nick Coghlan managed to keep it suscint at > https://mail.python.org/archives/list/python-dev@python.org/message/DMITVTUIQKJW6RYVOPQXHD54VSYE7QHA/ I don't think name

[Python-Dev] Re: Proto-PEP part 1: Forward declaration of classes

2022-04-25 Thread Rob Cliffe via Python-Dev
t;Python without typing". Best wishes Rob Cliffe ___________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail

[Python-Dev] Re: Proto-PEP part 4: The wonderful third option

2022-04-26 Thread Ronald Oussoren via Python-Dev
ython code (non-empty ``__slots__`` in a type subclass is rejected at runtime), but you can do this in C code. Ronald — Twitter / micro.blog: @ronaldoussoren Blog: https://blog.ronaldoussoren.net/ ___ Python-Dev mailing list -- python-dev@python.org To unsubscr

[Python-Dev] Re: Proto-PEP part 4: The wonderful third option

2022-04-26 Thread Ronald Oussoren via Python-Dev
ct. Ronald — Twitter / micro.blog: @ronaldoussoren Blog: https://blog.ronaldoussoren.net/ _______ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.o

[Python-Dev] Re: Proto-PEP part 4: The wonderful third option

2022-04-26 Thread Ronald Oussoren via Python-Dev
ly waving his hands). Ronald — Twitter / micro.blog: @ronaldoussoren Blog: https://blog.ronaldoussoren.net/ ___________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message ar

[Python-Dev] Re: Proto-PEP part 4: The wonderful third option

2022-04-26 Thread Carl Meyer via Python-Dev
its reliance on import side effects causing global changes at a distance. See https://mail.python.org/archives/list/python-dev@python.org/message/NMCS77YFM2V54PUB66AXEFTE4NXFHWPI/ for details. Under PEP 649, forward references are a small problem confined to the edge case of early resolution of

[Python-Dev] Re: Proto-PEP part 1: Forward declaration of classes

2022-04-26 Thread Carl Meyer via Python-Dev
orting some other module, causes very specific problems in being able to locally reason about code. I think it is more useful to discuss the specific behavior and its consequences than what it is called. Carl _______ Python-Dev mailing list -- python-dev@python.

[Python-Dev] Re: Proto-PEP part 4: The wonderful third option

2022-04-26 Thread Rob Cliffe via Python-Dev
On 26/04/2022 20:48, Carl Meyer via Python-Dev wrote: On Tue, Apr 26, 2022 at 1:25 PM Guido van Rossum wrote: I also would like to hear more about the problem this is trying to solve, when th real-world examples. (E.g. from pydantic?) Yes please. I think these threads have jumped far too

[Python-Dev] Re: Proto-PEP part 4: The wonderful third option

2022-05-01 Thread Carl Meyer via Python-Dev
probably in the form of an update to PEP 649?) sometime after PyCon. Carl _______ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Me

[Python-Dev] Re: Python 3.11 bytecode and exception table

2022-07-05 Thread Irit Katriel via Python-Dev
m wondering how this plays with > pseudo-instruction: in particular are pseudo-instructions generated for all > entries in the exception table ? > > My initial idea was to have a SETUP_FINALLY/SETUP_CLEANUP - POP_BLOCK pair > for each line in the exception table and label for the ju

[Python-Dev] Re: Python 3.11 bytecode and exception table

2022-07-05 Thread Irit Katriel via Python-Dev
> Would you be interested in being posted about my progress ? > > Best > > Matthieu _______ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/p

[Python-Dev] Re: [SPAM] Re: Switching to Discourse

2022-07-15 Thread Rob Boehne via Python-Dev
100% agree – dealing with 5 or more platforms for discussion groups is a nightmare, and I tend not to follow any of them as closely for that reason. From: Skip Montanaro Date: Friday, July 15, 2022 at 9:26 AM To: Petr Viktorin Cc: python-dev@python.org Subject: [SPAM] [Python-Dev] Re

[Python-Dev] Re: Switching to Discourse

2022-07-15 Thread Peter Wang via Python-Dev
.g. the WebAssembly group is: https://discuss.python.org/c/webassembly/28 And its corresponding RSS feed is: https://discuss.python.org/c/webassembly/28.rss Cheers, Peter ___________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...

[Python-Dev] Re: [SPAM] Re: Switching to Discourse

2022-07-15 Thread Phil Thompson via Python-Dev
On 15/07/2022 16:09, Rob Boehne via Python-Dev wrote: 100% agree – dealing with 5 or more platforms for discussion groups is a nightmare, and I tend not to follow any of them as closely for that reason. I agree. I don't mind having to use Discourse if I want to take part in a discussio

[Python-Dev] compiling errors, SSL

2022-07-19 Thread Kevin T via Python-Dev
@,/usr/local/bin/python3.10," < ./Misc/python-config.in >python-config.py LC_ALL=C sed -e 's,\$(\([A-Za-z0-9_]*\)),\$\{\1\},g' < Misc/python-config.sh >python-config make[1]: Leaving directory '/home/kevin/Sources/Python-3.10.5' This looks to me like it

[Python-Dev] Re: A proposal to modify `None` so that it hashes to a constant

2022-12-02 Thread Rob Cliffe via Python-Dev
ne) 4429 The motivation for this and other threads is to bring determinism in the *narrow* sense. Others (including me) have made references to other kinds of determinism that have derailed the threads by misunderstanding exactly what Yoni is referring to. The *stronger* sense of determinism would be useful

[Python-Dev] Re: A proposal to modify `None` so that it hashes to a constant

2022-12-04 Thread Rob Cliffe via Python-Dev
e. A singleton class can have a hash function that matches identity based equality without using id: any constant hash function will do. -- Oscar ___________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python

[Python-Dev] Re: A proposal to modify `None` so that it hashes to a constant

2022-12-09 Thread Rob Cliffe via Python-Dev
You're right of course.  Oh well, it *was* a wild idea.😁 Rob Cliffe On 04/12/2 On 04/12/2022 18:16, Chris Angelico wrote: On Mon, 5 Dec 2022 at 05:11, Rob Cliffe via Python-Dev wrote: Wild suggestion: Make None.__hash__ writable. E.g. None.__hash__ = lambda : 0 # Curr

[Python-Dev] Re: A proposal to modify `None` so that it hashes to a constant

2022-12-11 Thread Rob Cliffe via Python-Dev
wrote: On Thu, Dec 01, 2022 at 10:18:49PM +, Rob Cliffe via Python-Dev wrote: Wild suggestion:     Make None.__hash__ writable. E.g.     None.__hash__ = lambda : 0 # Currently raises AttributeError: 'NoneType' object attribute '__hash__' is read-only You would have to

[Python-Dev] Re: PEP 701 – Syntactic formalization of f-strings

2022-12-22 Thread Rob Cliffe via Python-Dev
r your time! Regards from rainy London, Pablo Galindo Salgado ___ Python-Dev mailing list --python-dev@python.org To unsubscribe send an email topython-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived a

[Python-Dev] Re: Switching to Discourse

2023-01-26 Thread Alex Krupp via Python-Dev
but others will be mangled or missing text. This means you would still need to maintain the Malman archive as the canonical source of truth. Once fixed, not only would the [Python-Dev] archives be searchable within Discourse, but they should also rank better in search than they do in

[Python-Dev] Re: Feature Suggestion: "repeat" statement in loops

2023-01-27 Thread Jen Kris via Python-Dev
atement in the following sense > > for _ in range(n): >     ... >     if not A: >         repeat # repeat current iteration > > Notice the "not" in the if clause. I am really looking forwars to hear your > opinions. > > Best regards > Thomas > > __

[Python-Dev] Re: please consider changing --enable-unicode default to ucs4

2023-03-14 Thread Jonathan Benson via Python-Dev
 Sent from my iPhone ___ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives

[Python-Dev] Re: PEP 572 TargetScopeError

2019-08-08 Thread Ivan Pozdeev via Python-Dev
ed with an explanation text. Something like "Cannot assign `i` because this name is already used as a comprehension's loop variable" would clarify what exactly they did wrong. I-am-the-Walrus-lyrics-won’t-help-you-at-all-ly y’rs, -Barry _________

[Python-Dev] Re: PEP 572 TargetScopeError

2019-08-08 Thread Rob Cliffe via Python-Dev
nts and KeywordArgumentsDisallowed. I guess I'm agreeing with you to the extent that I'm proposing more (specific) exceptions. Rob Cliffe ___ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org

[Python-Dev] Re: typing: how to use names in result-tuples?

2019-08-09 Thread Ronald Oussoren via Python-Dev
> On 8 Aug 2019, at 17:42, Christian Tismer wrote: > > On 08.08.19 17:20, Ronald Oussoren via Python-Dev wrote: >> >> >>> On 8 Aug 2019, at 17:12, Christian Tismer >> <mailto:tis...@stackless.com>> wrote: >>> >>> Hi Ronald, &

[Python-Dev] Re: PEP 572 TargetScopeError

2019-08-09 Thread Rob Cliffe via Python-Dev
not always obvious. I suggest the only watertight definition of a syntax error is something which raises an exception at compile time.  Obviously this can depend not only on the code, but also on the compiler. Rob Cliffe _______________ Python-Dev mailing list -- pyth

[Python-Dev] Re: What to do about invalid escape sequences

2019-08-10 Thread Rob Cliffe via Python-Dev
On 06/08/2019 23:41:25, Greg Ewing wrote: Rob Cliffe via Python-Dev wrote: Sorry, that won't work.  Strings are parsed at compile time, open() is executed at run-time. It could check for control characters, which are probably the result of a backslash accident. Maybe even auto-co

[Python-Dev] Re: What to do about invalid escape sequences

2019-08-10 Thread Rob Cliffe via Python-Dev
y system that runs in terminal session 0 (i.e. the system services session). The per-logon directory is located at "\\Sessions\\0\\DosDevices\\". In the Windows API, it's accessible as "//?/" or "//./", or with any mix of forward slashes or backslashes, but only the all-bac

[Python-Dev] Re: What to do about invalid escape sequences

2019-08-10 Thread Rob Cliffe via Python-Dev
On 10/08/2019 23:30:18, Greg Ewing wrote: Rob Cliffe via Python-Dev wrote: Also, the former is simply more *informative* - it tells the reader that baz is expected to be a directory, not a file. On Windows you can usually tell that from the fact that filenames almost always have an

[Python-Dev] Re: What to do about invalid escape sequences

2019-08-15 Thread Rob Cliffe via Python-Dev
ter of the delimiting string should not be a letter:     let s = r?@!Could this string could contain almost anything? Yes!?@     # The text in this string is:     #       Could this string could contain almost anything?  Yes! I can dream ... A point about the current syntax: It is n

[Python-Dev] Re: [Webmaster] Python for Mac OS X Catalina

2019-08-16 Thread Ronald Oussoren via Python-Dev
t; > Many thanks > > Ana Simion > > > ___ > Webmaster mailing list > webmas...@python.org <mailto:webmas...@python.org> > https://mail.python.org/mailman/listinfo/webmaster > <https://mail.python.org/mailman/listin

[Python-Dev] Re: [Webmaster] Python for Mac OS X Catalina

2019-08-17 Thread Ana Simion via Python-Dev
> > -- > Ned Deily > n...@python.org <mailto:n...@python.org> -- [] _______ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/p

[Python-Dev] Missing license for file Modules/ossaudiodev.c

2019-08-19 Thread mihaela olteanu via Python-Dev
statements?Please note that we need this information for our OSS clearance report. Thank you,    Mihaela _______ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/li

[Python-Dev] Re: Missing license for file Modules/ossaudiodev.c

2019-08-19 Thread Ivan Pozdeev via Python-Dev
.h and Modules/_hashopenssl.c in which a copyright notice correctly comes bare and is followed by a license grant compatible with PSFLA. -- Regards, Ivan ___________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...

[Python-Dev] Re: Missing license for file Modules/ossaudiodev.c

2019-08-20 Thread mihaela olteanu via Python-Dev
Is it possible to contact the contributors and have their explicit agreement or is the LICENSE file at the top level of the repo already covering this scenario? Thank you,Mihaela On Tuesday, August 20, 2019, 12:22:04 AM GMT+3, Ivan Pozdeev via Python-Dev wrote: On 19.08.2019 23:30

[Python-Dev] Re: Missing license for file Modules/ossaudiodev.c

2019-08-21 Thread mihaela olteanu via Python-Dev
p. On Tue, Aug 20, 2019 at 7:48 AM mihaela olteanu via Python-Dev wrote: Is it possible to contact the contributors and have their explicit agreement or is the LICENSE file at the top level of the repo already covering this scenario? Thank you,Mihaela On Tuesday, August 20, 2019, 12:22:0

[Python-Dev] Re: PEP 601: discussion-to discuss.python.org

2019-09-07 Thread Rob Cliffe via Python-Dev
ot;Since this is the removal of a feature teaching users will be one by the raising of a SyntaxError if/when the forbidden feature is used." Rob Cliffe ___________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-d

[Python-Dev] Re: python3 -bb and hash collisions

2019-09-10 Thread Ivan Pozdeev via Python-Dev
I intended for "all manner of debugging techniques"? ChrisA _______ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archiv

[Python-Dev] Re: The Python 2 death march

2019-09-16 Thread Chris Barker via Python-Dev
fference to anyone's workflow. -CHB On Fri, Sep 13, 2019 at 6:39 PM Sumana Harihareswara wrote: > Hi. I've joined python-dev to participate in this thread (I don't have > email delivery turned on; I'll be checking back via the web). > > Benjamin, I am sorry that I di

[Python-Dev] Re: The Python 2 death march

2019-09-17 Thread Chris Barker via Python-Dev
Peter, I think that went just to me, which I suspect was not what you intended, so I've brought it back on the list: On Tue, Sep 17, 2019 at 12:06 PM Peter Wang wrote: > On Mon, Sep 16, 2019 at 5:55 PM Chris Barker via Python-Dev < > python-dev@python.org> wrote: > >>

[Python-Dev] Re: The Python 2 death march

2019-09-18 Thread Chris Barker via Python-Dev
voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception chris.bar...@noaa.gov _______ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.pytho

[Python-Dev] static variables in CPython - duplicated _Py_IDENTIFIERs?

2019-09-20 Thread Vinay Sajip via Python-Dev
ule? After all, they seem for the most part to be well-known constant strings that don't need to be encapsulated in any particular C compilation unit. Regards, Vinay Sajip ___________ Python-Dev mailing list -- python-dev@python.org To unsubscribe

[Python-Dev] Re: static variables in CPython - duplicated _Py_IDENTIFIERs?

2019-09-20 Thread Vinay Sajip via Python-Dev
rted internal APIs, but then they're on their own, right?) Regards, Vinay Sajip ___ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.pytho

[Python-Dev] Re: static variables in CPython - duplicated _Py_IDENTIFIERs?

2019-09-20 Thread Vinay Sajip via Python-Dev
es this discipline/approach not apply to CPython? Regards, Vinay Sajip _______________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message

[Python-Dev] Re: static variables in CPython - duplicated _Py_IDENTIFIERs?

2019-09-23 Thread Vinay Sajip via Python-Dev
ple. That's my motivation for looking at this area - I spent a bit of time working with Eric at the recent core dev sprint, and wanted to explore the problems in this area. Regards, Vinay ___________ Python-Dev mailing list -- python-dev@python.org To unsu

[Python-Dev] Re: static variables in CPython - duplicated _Py_IDENTIFIERs?

2019-09-23 Thread Vinay Sajip via Python-Dev
esumably, a PEP would be required, even though it's an implementation detail from the point of view of the language itself? Regards, Vinay Sajip _______________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...

[Python-Dev] Re: static variables in CPython - duplicated _Py_IDENTIFIERs?

2019-09-23 Thread Vinay Sajip via Python-Dev
s it's still work in progress - which is why I'm asking these questions. Regards, Vinay Sajip _______________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailm

[Python-Dev] Re: static variables in CPython - duplicated _Py_IDENTIFIERs?

2019-09-23 Thread Vinay Sajip via Python-Dev
ef. I will check when I get a chance. Regards, Vinay Sajip ___________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archiv

[Python-Dev] Re: static variables in CPython - duplicated _Py_IDENTIFIERs?

2019-09-23 Thread Vinay Sajip via Python-Dev
Ah - I checked, and it's there OK ... (head scratch) Regards, Vinay Sajip ___ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.pytho

[Python-Dev] Re: static variables in CPython - duplicated _Py_IDENTIFIERs?

2019-09-23 Thread Vinay Sajip via Python-Dev
OK - but that's just one I picked at random. There are others like it - what would be the process for deciding which ones need to be made private and moved? Should an issue be raised to track this? Regards, Vinay Sajip ___ Python-Dev mailing

[Python-Dev] Re: static variables in CPython - duplicated _Py_IDENTIFIERs?

2019-09-23 Thread Vinay Sajip via Python-Dev
Fair enough. Pull request created: https://github.com/python/cpython/pull/16347 Regards, Vinay Sajip ___ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3

[Python-Dev] Re: The Python 2 death march

2019-09-25 Thread Rob Cliffe via Python-Dev
On 24/09/2019 04:21:45, Benjamin Peterson wrote: On Fri, Sep 13, 2019, at 18:18, Sumana Harihareswara wrote: Hi. I've joined python-dev to participate in this thread (I don't have email delivery turned on; I'll be checking back via the web). sorry :) Benjamin, I am sorr

[Python-Dev] Re: PEP 587 (Python Initialization Configuration) updated to be future proof again

2019-10-06 Thread Ronald Oussoren via Python-Dev
nimal changes over the years. I’ve basically only needed to recompile to support new macOS architectures and to add support for Python 3. That said, py2app’s stub executable is basically just “simple PyRun_SimpleString-based embedding” with ugly code to make it possible to use dlopen to load its d

[Python-Dev] Re: PEP 587 (Python Initialization Configuration) updated to be future proof again

2019-10-08 Thread David Cuthbert via Python-Dev
rry for the bad timing. I dislike working under pressure. The > discussion on python-dev, the bug tracker and pull requests was really > interesting. > > The issue has been fixed: the whole idea of stable ABI for PyConfig > has been abandoned. If you want to switch to a different vers

[Python-Dev] Python Profilers documentation - typo?

2019-10-08 Thread Rob Cliffe via Python-Dev
st wishes Rob Cliffe _______ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/p

[Python-Dev] Re: How official binaries are built?

2019-10-17 Thread Ronald Oussoren via Python-Dev
better than older compilers, but that requires some source changes and testing to ensure that the build still works on older versions of macOS. At this point in time nobody seems to have available time and need to work on this, including myself. Ronald ___

[Python-Dev] Re: EnHackathon 2019 - seeking core dev support

2019-10-20 Thread Lewis Gaul via Python-Dev
business days before (it's often the longest blocker for > first-time contributions): > https://devguide.python.org/pullrequest/#licensing > > Looking forward to your help! > > Brandt > _______ > Python-Dev mailing list -- python-d

[Python-Dev] Re: Helpers for dynamic bytecode generation

2019-10-25 Thread Joe Jevnik via Python-Dev
I think this probably belongs on python-list instead of python-dev because python-dev is for development _of_ python, not _with_ python. To answer your question though, there are a few tools that do this: - https://github.com/vstinner/bytecode - https://github.com/ll/codetransformer I

[Python-Dev] Requesting PR review on locale module

2019-11-17 Thread Cédric Krier via Python-Dev
://bugs.tryton.org/issue8574 Thanks, -- Cédric Krier - B2CK SPRL Email/Jabber: cedric.kr...@b2ck.com Tel: +32 472 54 46 59 Website: http://www.b2ck.com/ ___ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le

[Python-Dev] Re: Travis CI for backports not working.

2019-11-24 Thread Ivan Pozdeev via Python-Dev
in the official documentation. (Current text says that it should be preinstalled but not for which languages.) saying pyenv: python3.8: command not found pyenv: version `3.7.1' not installed -- Regards, Ivan ___________ Python-Dev mailing list -- python

[Python-Dev] Re: Travis CI for backports not working.

2019-11-25 Thread Ivan Pozdeev via Python-Dev
On 25.11.2019 9:50, Terry Reedy wrote: On 11/24/2019 7:30 PM, Ivan Pozdeev via Python-Dev wrote: On 25.11.2019 1:10, Terry Reedy wrote: Travis passed https://github.com/python/cpython/pull/17366 but a half hour later twice failed https://github.com/python/cpython/pull/17370 This is build

[Python-Dev] arm64 python 3.5.6 test case failure - ctypes/test/test_structures.py (test_pass_by_value)

2019-11-28 Thread Peter Morrow via Python-Dev
Hi Folks, Python-dev seemed to be the most appropriate email alias for this, though please do point me somewhere else if this is not appropriate. We are using a custom arm64 based distro built using yocto and as such we are currently using python 3.5.6. We are hitting a failure in a python3

[Python-Dev] Re: arm64 python 3.5.6 test case failure - ctypes/test/test_structures.py (test_pass_by_value)

2019-11-28 Thread Peter Morrow via Python-Dev
d the hint). This is fair - let me do this. Peter. On Thu, Nov 28, 2019 at 7:41 AM Peter Morrow via Python-Dev mailto:python-dev@python.org>> wrote: Hi Folks, Python-dev seemed to be the most appropriate email alias for this, though please do point me somewhere else if this is not appr

[Python-Dev] Re: PEP proposal to limit various aspects of a Python program to one million.

2019-12-04 Thread David Cuthbert via Python-Dev
te them. This is more useful for documenting format limits, but probably doesn't achieve what you're trying to achieve. 3. Realistically, this is probably what you'd have to do in the first version for PEP adoption to get non-readers of python-dev@ ready, but, again, it doesn&#

[Python-Dev] Emit a SyntaxWarning for unhashables literals in hashable dependant literals.

2019-12-12 Thread mental na via Python-Dev
I'm not sure if this is the right place to bring this up, python-ideas seemed like language issues and python-dev seemed like CPython issues. There are several unhashable builtin types present in CPython, as of today the ones I've noticed are: lists, dicts, sets, and bytearrays. Tw

[Python-Dev] Re: Emit a SyntaxWarning for unhashables literals in hashable dependant literals.

2019-12-12 Thread mental na via Python-Dev
it was an implementation issue, but as you've pointed out it's most certainly a language issue; and one that can be detected statically. Now I'd like to suggest that instead of relying on linters and static type checkers to catch these bad patterns. Python shouldn't have allowed

[Python-Dev] Re: PEP 611: The one million limit.

2019-12-13 Thread Chris Barker via Python-Dev
topher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception chris.bar...@noaa.gov _______ Python-Dev mai

[Python-Dev] Re: Emit a SyntaxWarning for unhashables literals in hashable dependant literals.

2019-12-15 Thread mental na via Python-Dev
ttps://github.com/python/mypy/issues/8150 ___________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python

[Python-Dev] Re: Should set objects maintain insertion order too?

2019-12-16 Thread David Cuthbert via Python-Dev
o-cross-platform/ _______ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@py

[Python-Dev] Re: Something wrong with the bug tracker?

2019-12-22 Thread Martin (gzlist) via Python-Dev
vate tab, it makes > no difference. > > Anyone else having problems? > > Cheers, > Mark. > _______ > Python-Dev mailing list -- python-dev@python.org > To unsubscribe send an email to python-dev-le...@python.org > https://mail.pytho

[Python-Dev] Re: Something wrong with the bug tracker?

2019-12-22 Thread Ivan Pozdeev via Python-Dev
On 22.12.2019 18:21, Martin (gzlist) via Python-Dev wrote: Logging in with openid using launchpad just worked for me, so transient or related to google's openid support presumably. I have been unable to log in with google for a long time; had to reset the password to be able to l

[Python-Dev] Re: Why doesn't venv also install python3*-config?

2020-01-08 Thread Ivan Pozdeev via Python-Dev
v/peps/pep-0394/. Of course I can "properly" install different Python versions by using different "configure --prefix" directories. But I like the venv so much in general that this rubs me the wrong way. Thanks! _______ Pyth

[Python-Dev] Re: Why doesn't venv also install python3*-config?

2020-01-08 Thread Matt Billenstein via Python-Dev
path/to/source/python -m venv > env_dir. I'd suggest https://github.com/pyenv/pyenv -- this handles this more seamlessly. m -- Matt Billenstein m...@vazor.com http://www.vazor.com/ _______________ Python-Dev mailing list -- python-dev@python.org To unsubscri

[Python-Dev] Re: Requesting PR review on locale module

2020-01-09 Thread Cédric Krier via Python-Dev
wed it up after his requested changes were > > apparently addressed, despite a couple of "pings". > > > > The experts index[1] lists Marc-Andre Lemburg as the expert for the locale > > module, so perhaps he'd be interested in taking a look. > > > >

[Python-Dev] Re: Why doesn't venv also install python3*-config?

2020-01-12 Thread Ivan Pozdeev via Python-Dev
pthread -ldl -lutil' sysconfig.get_config_var('LINKFORSHARED') '-Xlinker -export-dynamic' """ ___________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https

[Python-Dev] Re: Why doesn't venv also install python3*-config?

2020-01-13 Thread Ivan Pozdeev via Python-Dev
On 13.01.2020 16:21, Daniel Haude wrote: Am 12.01.2020 23:39 schrieb Ivan Pozdeev via Python-Dev: Virtualenv does create `python-config` shim in Linux. Python3 doesn't. Definetely. Not on RHEL7 and Debian, that's where I tested it. You are right, I've got it mixed up. Vir

[Python-Dev] PEP 587

2020-01-21 Thread Zak Mabbott via Python-Dev
I am really confused on writing python and what app I need to write it in any tips or any ideas for apps?? ___ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3

[Python-Dev] Comparing UUID objects to strings: why not?

2020-01-23 Thread Michael Anckaert via Python-Dev
aws in my reasoning. If other people support this change I'd start the work of creating an issue and PR to get this change implemented. -- Michael Anckaert +32 474 066 467 https://www.sinax.be ___________ Python-Dev mailing list -- python-dev@python.org T

[Python-Dev] Re: Comparing UUID objects to strings: why not?

2020-01-23 Thread Michael Anckaert via Python-Dev
, and, by proxy, this idea. > _______ > Python-Dev mailing list -- python-dev@python.org > To unsubscribe send an email to python-dev-le...@python.org > https://mail.python.org/mailman3/lists/python-dev.python.org/ > Message archived at > https://mail.python.org

[Python-Dev] Re: Request to postpone some Python 3.9 incompatible changes to Python 3.10

2020-01-24 Thread Ivan Pozdeev via Python-Dev
k will be easier to choose. So the dilemma is essentially how hard we push users to abandon 2.7 -- how much tax we incur on them for keeping its support. ___________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le..

[Python-Dev] Re: Are PyObject_RichCompareBool shortcuts part of Python or just CPython quirks?

2020-01-24 Thread Ivan Pozdeev via Python-Dev
seem unique in a way it isn't, and doesn't resolve the fundamental issue:  is this language behavior, or implementation behavior? Which I don't want to argue about.  But you certainly should ;-) ___ Python-Dev mailing l

[Python-Dev] Merge bugs.python.org accounts

2020-01-28 Thread Ivan Pozdeev via Python-Dev
Who should I contact on subj? BPO UI doesn't have any contact information. -- Regards, Ivan ___ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/p

[Python-Dev] pickle.reduce and deconstruct functions

2020-02-08 Thread Andrew Barnert via Python-Dev
.kwargs.items())) return f"{func.__name__}({', '.join(args)})" cls.__repr__ = __repr__ return cls [1]: https://mail.python.org/archives/list/python-id...@python.org/thread/RTZGM7L7JOTKQQICN6XDSLOAMU4A62CA/ [2]: https://mail.python.org/archives/list/python-id...@py

[Python-Dev] Re: pickle.reduce and deconstruct functions

2020-02-09 Thread Andrew Barnert via Python-Dev
ps://mail.python.org/archives/list/python-id...@python.org/thread/RTZGM7L7JOTKQQICN6XDSLOAMU4A62CA/ ___________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.py

[Python-Dev] Re: PEP 584: Add Union Operators To dict

2020-02-16 Thread Andrew Barnert via Python-Dev
onstruction call instead of post-hooking it, the cost might be reduced enough to change that calculation. But again, I'm not sure if there is such a way.) ___ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to

[Python-Dev] Re: Merging PRs without CLA signed

2020-02-23 Thread Ivan Pozdeev via Python-Dev
then_ sign the CLA, the label is not updated (at least, that's what I experienced before I did). So this list is likely inaccurate. _______ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org http

[Python-Dev] Re: Merging PRs without CLA signed

2020-02-24 Thread Ivan Pozdeev via Python-Dev
rwise use), and that other aspects of the work are likely similarly chaotic. It's not even uncommon when they make the meaning unclear. Or e.g. typos or inconsistency in a term make it hard to locate other references to it or deduce if the phrase is being used as a term or as a common phrase.

[Python-Dev] Re: [bpo-22699] Cross-compiling and fixing sysconfig

2020-03-19 Thread Ivan Pozdeev via Python-Dev
me on the bug. Thanks, Steve ___________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/6DBYMDCD

[Python-Dev] Re: PEP 616 -- String methods to remove prefixes and suffixes

2020-03-21 Thread Rob Cliffe via Python-Dev
___ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message

[Python-Dev] Re: PEP 616 -- String methods to remove prefixes and suffixes

2020-03-21 Thread Rob Cliffe via Python-Dev
Eric *If* no python implementation would have a problem with the "is" test (and from a position of total ignorance I would guess that this is the case :-)), then it would be a useful feature and it is easier to define it now than try to force conformance later.  I have no probl

[Python-Dev] Re: PEP 616 -- String methods to remove prefixes and suffixes

2020-03-21 Thread Rob Cliffe via Python-Dev
On 21/03/2020 20:16, Ned Batchelder wrote: On 3/21/20 12:51 PM, Rob Cliffe via Python-Dev wrote: On 21/03/2020 16:15, Eric V. Smith wrote: On 3/21/2020 11:20 AM, Ned Batchelder wrote: On 3/20/20 9:34 PM, Cameron Simpson wrote: On 20Mar2020 13:57, Eric Fahlgren wrote: On Fri, Mar 20

[Python-Dev] Re: PEP 616 -- String methods to remove prefixes and suffixes

2020-03-21 Thread Ivan Pozdeev via Python-Dev
ds work with substrings, so re-using "strip" here should be avoided. Reference Implementation ======== See the pull request on GitHub [#pr]_. References == .. [#pr] GitHub pull request with implementation (https://github.com/python/cpython/

<    3   4   5   6   7   8   9   10   >