ieve it's accidental that match-case sequence patterns won't
match str, bytes or bytearrray objects - regexen are the tool already
optimised for that purpose, so it's quite impressive that you are
managing to approach the same level of performance!
Kind regards,
Steve
On Wed,
;s sad (I am, after all, a GNU Mailman developer), but
it's reality.
Personally, I'm sad because some people whose contributions I enjoy (you
being one of them :-)) didn't move to Discourse. But like you say, it's
how things are.
Christian - you can make named consta
On 02.08.23 13:23, Barry wrote:
On 2 Aug 2023, at 12:03, Christian Tismer-Sperling
wrote:
Hi folks,
I just used Structural Pattern Matching quite intensively and I'm
pretty amazed of the new possibilities.
But see this code, trying to implement Mark Pilgrim's regex
algorithm
return 4 * 1000, r
So what is missing seems to be a notion of const-ness, which
could be dynamically deduced. Am I missing something?
--
Christian Tismer-Sperling:^) tis...@stackless.com
Software Consulting : http://www.stackless.com/
Strandstraße 37
rts of the dev guide confuses you and which
section you had a hard time to understand. This would help us greatly to
identify problems with the dev guide and help other people that want to
contribute.
Regards,
Christian
___
Python-Dev mailing list --
es? How do I have to set up my build environment? Which commands
do I have to execute? Is there a container image available that comes
with everything pre-installed?
You mentioned well-documented process by the Android team. Could you
please provide links to the rele
On 10/05/2022 13.18, Victor Stinner wrote:
On Tue, May 10, 2022 at 11:28 AM Christian Heimes wrote:
Right now, Python still uses distutils internally for multiple use
cases. I propose to start with renaming the distutils package to
_distutils in the stdlib:
* https://github.com/python/cpython
tup.stdlib. The remaining modules should be done in a couple
of weeks. I recommend that we do not rename distutils and instead remove
it entirely.
Christian
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-
tup.stdlib. The remaining modules should be done in a couple
of weeks. I recommend that we do not rename distutils and instead remove
it entirely.
Christian
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-
s GNU make features that are
not supported by BSD make. Could you please open a bug at
https://github.com/sphinx-doc/sphinx ?
Christian
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
nd of
info. But a Python enhancement proposal is even weirder.
+1 for our main docs (cpython/Doc/)
Platform support is Python versions specific. Python 3.10 may support
different version than 3.11 or 3.12. It makes sense to keep the support
information with the code.
Chri
. I wouldn't list compiler
versions, though. Compiler features like C99 support should be
sufficient.
Then what more would you want than what's listed in PEP 7 already?
Nothing in particular other than a link to the PEP, so people can
discover the requirement more easily.
orm? CentOS 7
comes with an old GCC, but has newer GCC versions in SCL (Developer
Toolset 8). I'm asking because CentOS 7's default gcc does not support
stdatomic.h. The official manylinux2014 OSCI container image ships GCC
from devtoolset-8.
Christian
_
e set of urllib to core
HTTP (no ftp, proxy, HTTP auth) and a partial rewrite with stricter,
more standard conform parsers for urls, query strings, and RFC 2822
instead of RFC 822 for headers.
Christian
___
Python-Dev mailing list -- python-dev@python
PyPy
might create much interest for both projects.
Cheers - Chris
--
Christian Tismer-Sperling:^) tis...@stackless.com
Software Consulting : http://www.stackless.com/
Strandstraße 37 : https://github.com/PySide
24217 Schönberg : GPG key -> 0xF
think to send an official announce when this is available on pip.
This effort marks the completion of my PyPy support, which began
in 2003 and ended involuntarily in 2006 due to a stroke.
All the best -- Chris
--
Christian Tismer-Sperling:^) tis...@stackless.com
Software Consulting
2) look for each symbol in Cython sources
Christian
___
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://m
I would prefer if we can get Cython and all the other code generator and
bindings library off the unstable C-API. They should use the limited API
instead. If they require any C-APIs outside the limited API, then we
should investigate and figure something out.
On 24/01/2022 14.34, Miro Hrončok wrote:
Hello Pythonistas.
In (development branch of) Fedora, we have juts upgraded to GCC 12.
It seems that the presence of AC_C_CHAR_UNSIGNED in Python's autotools
files (configure.ac?) is causing the __CHAR_UNSIGNED__ symbol to be
defined in pyconfig.h and
On 10/01/2022 17.01, Miro Hrončok wrote:
On 09. 01. 22 19:39, Christian Heimes wrote:
Hi,
I would like to remind everybody that Python's support for OpenSSL 3.0
is preliminary [1]. Python compiles with OpenSSL 3.0.0 and simple code
kinda works. However there are known performance regres
On 11/01/2022 12.02, Antoine Pitrou wrote:
Hi Christian,
On Sun, 9 Jan 2022 19:39:06 +0100
Christian Heimes wrote:
Hi,
I would like to remind everybody that Python's support for OpenSSL 3.0
is preliminary [1]. Python compiles with OpenSSL 3.0.0 and simple code
kinda works. However ther
me is currently limited, too.
Christian
[1] https://docs.python.org/3/whatsnew/3.10.html#ssl
___
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
+= !(ob_refcnt >> 63)
instead of
ob_refcnt++
The code performs "ob_refcnt += 1" when the highest bit is not set and
"ob_refcnt += 1" when the bit is set. I have neither tested if the
approach actually works nor it's performance.
Christian
___
g file (sha256sum --tag)
and sign it with OpenGPG. The signature of a sha256 checksum file is as
good as signing the files directly.
Christian
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python
On 10/12/2021 03.08, Jim J. Jewett wrote:
Christian Heimes wrote:
On 09/12/2021 19.26, Petr Viktorin wrote:
If the code is the authoritative source of truth, we need a proper
parser to extract the information. ... unfortunately I don't trust it
enough to let it define the API. Bugs i
PyObject *) PyLong_FromLong(long);
and dumps the declaration as:
extern struct PyObject * PyLong_FromLong (long int); "abi_func"
Christian
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-
common on
LTS/Enterprise Linux distros.
If the current stable ABI makes performance improvements too complex
then we should consider to define a new stable ABI with less symbols.
Christian
[1] https://pypi.org/project/cryptography/#files
___
Python-Dev
On 20/10/2021 09.43, Robin Becker wrote:
On 19/10/2021 16:45, Christian Heimes wrote:
We use the standard AX_CHECK_OPENSSL() m4 macro from autoconf-archive
to detect OpenSSL. The macro uses pkg-config to detect OpenSSL. It
doesn't check for specific version, though. We don't want
On 19/10/2021 17.26, Robin Becker wrote:
On 19/10/2021 11:21, Christian Heimes wrote:
On 19/10/2021 11.57, Robin Becker wrote:
..
For PEP 644 I added new instructions how to build Python 3.10 with
custom OpenSSL builds. The instructions should work on all major Linux
distributions
On 19/10/2021 11.57, Robin Becker wrote:
On 18/10/2021 18:50, Senthil Kumaran wrote:
Your configure script did pick up openssl as the support version was not
found.
What is your operating system? Make sure you have supported version of
ssl. Python requires openssl 1.1.1 or higher.
...
I t
out the right environment variables to add correct
rpath yourself.
I'm sorry for the inconvenience. We don't have any CI for OpenBSD.
Apparently this feature was never tested on OpenBSD during the release
candidate phase either.
Christian
___
Pyth
atest OpenSSL 1.1.1 version.
Regards,
Christian
___
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
On 27/09/2021 16.32, Ronald Oussoren via Python-Dev wrote:
On 26 Sep 2021, at 19:03, Christian Heimes <mailto:christ...@python.org>> wrote:
On 26/09/2021 13.07, jack.jan...@cwi.nl <mailto:jack.jan...@cwi.nl> wrote:
The problem with the stable ABI is that very few developers ar
ython. Stable releases of Cython do not support
stable ABI yet. It's an experimental feature in Cython 3.0.0 alpha.
Christian
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python
),
can't we think of replacing it somehow by functions in the case
of the Limited API? The API is so often used that it would make sense
to _always_ don't crash deeply nested structures.
Or do you think it makes no sense at all? Then let's turn it
into a no-op. But the current mixed
or Python about twenty years ago. Tim a
first generation Python core dev. Other languages like Java adopted
timsort from Python later.
Christian
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.
f Bus Error in hashlib test: test_gil
The problem is already fixed. I forgot to close the release blocker bug
after Greg and I took care of https://bugs.python.org/issue36515.
Christian
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe sen
ed users of Python.
I have contacted the SC in the beginning of this year and asked them to
work with Debian maintainers. Some issues have been addressed and will
be available in future releases. Matthias' talk at the language summit
is related to the effort of improving Debian packa
On 30/03/2021 13.46, Pablo Galindo Salgado wrote:
> Hi Christian,
>
> Thank you for submitting PEP 644 (Require OpenSSL 1.1.1). After evaluating
> the situation and discussing the PEP, the Steering Council is happy with
> the PEP,
> and hereby accepts it. The SC is of the opinio
tdlib than C, too. In my personal opinion C++ won't give us any
net benefits. I'd much rather go for Rust than C++ to gain memory safety.
Christian
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to
$ time make -j10
...
real0m2,072s
user0m4,715s
sys 0m2,333s
./configure -C and ccache are fantastic.
Christian
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mai
hon.
In particular I don't think that -S (no site module) is the right way to
disable __sitecustomize__. It disables too much useful features. It
might be a good idea to disable __sitecustomize__ with -I (isolated mode).
There should be a new au
lder clients and servers.
Christian
___
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/
e this:
void
Py_auto_decref(PyObject **o)
{
if (!o || !*o)
return;
Py_DECREF(*o);
*o = NULL;
}
PyObject *
func(PyObject self)
{
PyObject *spam __attribute__((cleanup(Py_auto_decref)));
...
Py_RETURN_NONE;
// spam gets automatically decrefed
}
It's too bad that the featu
On 11/03/2021 00.38, Mike Miller wrote:
>
> On 2021-03-10 13:45, David Mertz wrote:
>> In contrast, the "master" used in version control directly borrows
>> from so-called "master/slave network architecture."
>
>
> It was shown upthread that this isn't the case. Do you have more
> accurate docu
On 10/03/2021 10.30, Antoine Pitrou wrote:
> On Wed, 10 Mar 2021 10:30:43 +0900
> Inada Naoki wrote:
>> On Wed, Mar 10, 2021 at 10:10 AM Ivan Pozdeev via Python-Dev
>> wrote:
>>>
>>> On 10.03.2021 3:53, Chris Angelico wrote:
On Wed, Mar 10, 2021 at 11:47 AM Damian Shaw
wrote:
>
inology,
https://github.com/bitkeeper-scm/bitkeeper/blob/master/doc/HOWTO.ask#L232
> We are then going to modify the file on both
> the master and slave repository and then merge the work. For the sake
> of simplicity, we are doing work in the master repository.
Christian
on the matter. My days of XML processing are
long gone. Fixing it for "fame and glory" doesn't motivate me either.
Christian
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@py
On 24/02/2021 20.03, Christian Heimes wrote:
> On 24/02/2021 19.17, Steve Dower wrote:
>> On 2/24/2021 4:26 PM, Christian Heimes wrote:
>>> On 24/02/2021 15.16, Random832 wrote:
>>>> On Wed, Feb 24, 2021, at 06:27, Christian Heimes wrote:
>>>>> Separate
On 24/02/2021 19.17, Steve Dower wrote:
> On 2/24/2021 4:26 PM, Christian Heimes wrote:
>> On 24/02/2021 15.16, Random832 wrote:
>>> On Wed, Feb 24, 2021, at 06:27, Christian Heimes wrote:
>>>> Separate directories don't prevent clashes and system breakage. But
On 24/02/2021 15.16, Random832 wrote:
> On Wed, Feb 24, 2021, at 06:27, Christian Heimes wrote:
>> Separate directories don't prevent clashes and system breakage. But they
>> provide an easy way to *recover* from a broken system.
>
> I think it could be turned into
of these installations.
There are tools like https://rdfind.pauldreik.se/rdfind.1.html that
create hard links to deduplicate files. Some files systems have
deduplicated baked in, too.
Christian
___
Python-Dev mailing list -- python-dev@python.org
To
f Python, and the following
>> statement stood out for me as shocking:
>>
>> Christian Heimes wrote:
>>> Core dev and PyPA has spent a lot of effort in promoting venv because we
>>> don't want users to break their operating system with sudo pip install.
>>
On 21/02/2021 13.47, glaub...@debian.org wrote:
> Rust doesn't keep any user from building Rust for Tier 2 or Tier 3 platforms.
> There is no separate configure guard. All platforms that Rust can build for,
> are always enabled by default. No one in Rust keeps anyone from
> cross-compiling code
fails unless users explicitly opt-in.
The checker serves two purposes:
1) It gives users an opportunity to provide full PEP 11 support
(buildbot, engineering time) for a platform.
2) It gives us the leverage to remove a flagged platform in the future
or refuse support on BPO.
Christian
_
On 19/02/2021 23.22, Stestagg wrote:
> The thing that stood out from this conversation, for me, is: Releases
> are too hard, and there’s a risk of not having enough volunteers as a
> result.
>
> How hard is it to fix that?
Actually it's easy to fix!
The PSF needs needs sufficient money to hire
thon | wc -l
4264
$ grep -R wcslen /usr/bin/ /usr/sbin/ | grep -v python | wc -l
92
$ find /usr/lib64/ -name '*.so' -not -name '*python*' | wc -l
5478
$ find /usr/lib64/ -name '*.so' -not -name '*python*' | xargs grep
wcslen | wc -l
34
Christian
__
he issue.
Benjamin's fix has landed two days ago. The fixes will be included in
3.7.10 and 3.6.13.
Christian
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman
n many years. I haven't seen him
in quite some time, too.
How about you put your name in the expert index instead of him? :)
Christian
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
h
9 release, Fedora has plans to fix this
> <https://src.fedoraproject.org/rpms/python3.10/pull-request/13>, and
> Christian Heimes has opened a bug on the Ubuntu launchpad
> <https://bugs.launchpad.net/ubuntu/+source/python3.9/+bug/1904271> for
> this. I will figure o
I very much second this opinion
/Christian
On Sat, 14 Nov 2020, 15.16 Joao S. O. Bueno, wrote:
>
>
> On Sat, 14 Nov 2020 at 10:16, Nick Coghlan wrote:
>
>> On Fri, 13 Nov 2020 at 09:39, David Mertz wrote:
>> >
>> > I have read a great deal of discuss
or Solaris support and stable build bots, I'm all
in favor to remove the platforms.
Christian
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman
;> b = b'bytes'
>>> f"{b}"
Traceback (most recent call last):
File "", line 1, in
BytesWarning: str() on a bytes instance
>>> str(b)
Traceback (most recent call last):
File "", line 1, in
BytesWarning: str() on a bytes instance
Christian
and extensions, so clang should be doable with
manageable amount of effort, too. After X86_64 I'd consider AArch64
(ARM64) and MSVC next.
Christian
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to pyt
On 21/10/2020 11.37, Steven D'Aprano wrote:
> On Wed, Oct 21, 2020 at 09:06:58AM +0200, Christian Heimes wrote:
>> On 21/10/2020 00.14, Steven D'Aprano wrote:
>>> On Tue, Oct 20, 2020 at 06:04:37PM +0100, Paul Moore wrote:
>>>
>>>> What I don
On 21/10/2020 09.35, Paul Moore wrote:
> On Wed, 21 Oct 2020 at 08:14, Christian Heimes wrote:
>>
>> On 21/10/2020 00.14, Steven D'Aprano wrote:
>>> On Tue, Oct 20, 2020 at 06:04:37PM +0100, Paul Moore wrote:
>>>
>>>> What I don't see is wh
7;t think Mark is asking for you or I to fund the exercise. He's
> asking for the PSF to fund it.
No, he is not. Mark is asking the PSF to organize a fund raiser and keep
half the money.
Christian
___
Python-Dev mailing list -- python-dev
On 09/10/2020 15.48, Antoine Pitrou wrote:
> On Fri, 9 Oct 2020 05:04:55 +0300
> Ivan Pozdeev via Python-Dev wrote:
>> I don't see the point of requiring to "write an apology", especially *before
>> a 12-month ban*. If they understand that their behavior is
>> wrong, there's no need for a ban, a
n's behavior I feel that an apology is the first step to
reconcile and rebuild trust.
Christian
___
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/pyt
er has abandoned python-dev last week.
Others have stopped participating and posting on python-dev years ago. I
will follow their example now.
Goodbye
Christian
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...
ion in _ssl.c and test_ssl.y that SSL 1.1 will
> be threaded
> but this may not be true (as in my case).
Python requires a thread-safe OpenSSL build. I have pushed PR
https://github.com/python/cpython/pull/19953 to 3.7, 3.8, and master.
The hashlib and ssl module will now fail when OpenSSL is not
Hi,
we had issued a PR for bpo-36226 almost a year ago, but the PR [1]
review has been stalling for 4+ months.
Would it be possible to get a new review on this PR?
Thanks!
[1] https://github.com/python/cpython/pull/12214
--
This email and any attachments are intended for the sole use of the n
qlite3 has two APIs to query thread safety and three different settings
for threading:
sqlite3_threadsafe()
sqlite3_config()
SQLITE_CONFIG_SINGLETHREAD
SQLITE_CONFIG_MULTITHREAD
SQLITE_CONFIG_SERIALIZED
Only serialized is fully thread safe.
I would
t; True
>
> The `<` operator try to use `__lt__`, but if it is not defined falls
> back to `__gt__`.
The operation "a < b" also fallback back to B.__gt__, when A.__lt__
returns NotImplemented for instances of B.
Christian
___
Pardon, I meant "there is no Python 3.8 version, yet".
And this is wrong, the MacOS pip install shows
PyQt5-5.13.2-5.13.2-cp35.cp36.cp37.cp38-abi3-macosx_10_6_intel.whl
So probably we have some bad oversight, somewhere.
Cheers -- Chris
On 12.12.19 13:48, Christian Tismer w
ited API a bit, because we have to dynamically
figure that out in order to be version-independent.
I am not so sure if that whole change was worth to break it?
Cheers -- Chris
--
Christian Tismer-Sperling:^) tis...@stackless.com
Software Consulting : http://www.stackless.com/
S
e same problem, since there is no 5.14 version yet ;-)
> On 2019-12-11 23:48, Christian Tismer wrote:
>> Hi all,
>>
>> Sorry for the noise, I was wrong, and I retract.
>> I was somehow mislead and hunted a phantom.
>
> Does that mean that there was never a problem?
&
Hi all,
Sorry for the noise, I was wrong, and I retract.
I was somehow mislead and hunted a phantom.
Best - Chris
On 10.12.19 00:29, Christian Tismer wrote:
> On 09.12.19 23:26, Nick Coghlan wrote:
>>
>>
>> On Tue., 10 Dec. 2019, 5:17 am MRAB, > <mailto:pyt...@
Thanks in advance,
> Victor
>
> Le mar. 10 déc. 2019 à 14:18, Christian Tismer a écrit
> :
>>
>> Hi Łukasz,
>>
>> tonite I found a critical bug that affects all heaptype extension
>> classes with a custom (not PyType_Type) type.
>>
>> the b
On 10.12.19 14:28, Łukasz Langa wrote:
>
>> On 10 Dec 2019, at 14:16, Christian Tismer > <mailto:tis...@stackless.com>> wrote:
>>
>> Please let me know how you want to proceed.
>> This is a critical error, producing negative refcounts.
>
> Is there
Sorry, I sent the fixed version.
These two incref's are missing!
On 10.12.19 14:16, Christian Tismer wrote:
> Hi Łukasz,
>
> tonite I found a critical bug that affects all heaptype extension
> classes with a custom (not PyType_Type) type.
>
> the bug is i
t; 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/IGJ6ZOAOT2WFY5ZIPRQNTHOSUMPUAO2H/
> Code of Conduct: http://
On 09.12.19 23:26, Nick Coghlan wrote:
>
>
> On Tue., 10 Dec. 2019, 5:17 am MRAB, <mailto:pyt...@mrabarnett.plus.com>> wrote:
>
> On 2019-12-09 18:22, Christian Tismer wrote:
> >
> >
> > Hi Nick,
> >
> > afte
On 08.12.19 09:49, Nick Coghlan wrote:
> On Fri., 6 Dec. 2019, 3:31 am Christian Tismer, <mailto:tis...@stackless.com>> wrote:
>
> Hi guys,
>
> during the last few weeks I have been struggling quite much
> in order to make PySide run with Python 3.8 at
On 08.12.19 09:49, Nick Coghlan wrote:
> On Fri., 6 Dec. 2019, 3:31 am Christian Tismer, <mailto:tis...@stackless.com>> wrote:
>
> Hi guys,
>
> during the last few weeks I have been struggling quite much
> in order to make PySide run with Python 3.8 at
I would really like to understand the reason for this unexpected effect.
Does this ring a bell? I have no clue what is wrong with PySide, if it
is wrong at all.
Thanks -- Chris
--
Christian Tismer :^) tis...@stackless.com
Software Consulting : http://www.stackless.com/
Ka
or Ubuntu
18.04 LTS, 2024 for RHEL 8.0, and 2028 for SUSE SLES 15.
Christian
___
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.
little value. Let’s just
> call it a wart until Python 4000.
I'm 100% with Barry. We can certainly document the "u" string prefix
as deprecated. I'm strongly against removing it from Python 3 or even
raising a deprecation warning. L
ay. It
was my intent to provide an explanation why there is not much adoption
of the new hooks yet. Please go ahead, put the paddle to the metal and
play around with the new features!
For example you could look into the new config system and figure out
what is missing to build an spython interpreter
target in
the same security context except for debugging. If an attacker is able
to compromise the interpreter, then the attacker most likely gains
enough privileges to wipe the file. That's why Steve uses the Windows
event log in his examples and I'm going for syslog and journald. The
://bugs.python.org/issue37702 and
https://bugs.python.org/issue35941 for more details.
As a workaround I suggest that you create a single SSLContext with
ssl.create_default_context() and reuse the context in all HTTP queries.
You can share the context across threads w/o locking
On 12.08.19 10:52, Ivan Levkivskyi wrote:
> On Thu, 8 Aug 2019 at 17:17, Christian Tismer <mailto:tis...@stackless.com>> wrote:
>
> Yes, that's what I mean.
> Probably retval or whatever people prefer would be adequate,
> with a special rule if that na
ot! Especially the builtins idea
is really great :-P
Cheers - Chris
p.s.: How about adding @private as well?
There are cases where I would like to do the opposite:
__all__ = dir()
@private
_some_private_func_1(...): ...
...
@private
_some_private_func_n(...): ...
not-too-serio
approach is to go with the
> generic SyntaxError as Barry suggests. I'll update my PRs accordingly.
Totally agree. It is fine to have SyntaxError now and go for
one or more new subclasses for a whole bunch of errors at
a later time, fixing more things in a more consistent way
xError after the parser is finished, in a
> subsequent pass. Is it really a syntax error if pgen doesn't object to
> it? In current CPython, the answer is yes.
...
OT: Thanks for the interesting read!
I am excited which way it will continue.
--
Christian Tismer :^)
hy not name it 'return_value' or 'result' or
> 'retval' or something like that?
>
> On Thu, Aug 8, 2019 at 1:43 AM Christian Tismer <mailto:tis...@stackless.com>> wrote:
>
> Hi Guido,
>
> If a C++ function already has a return value,
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,
>>
>> sure, the tuple is usually not very interesting; people look it up
>>
t; someclass) -> (bool, int)
>
> I rarely, if ever, see code that actually stores the return tuple as-is.
> The return tuple is just deconstructed immediately, like “x, y =
> getpoint(mypoint)”.
>
> Ronald
> —
>
> Twitter: @ronaldoussoren
> Blog: https://blog.ronaldou
gt; https://mail.python.org/mailman3/lists/python-dev.python.org/
> Message archived at
> https://mail.python.org/archives/list/python-dev@python.org/message/V2EDFDJGXRIDMKJU3FKIWC2NDLMUZA2Y/
>
--
Christian Tismer :^) tis...@stackless.com
Software Consulting :
e
> checker about the number of anonymous fields.
>
> --Guido
>
> On Wed, Aug 7, 2019 at 1:51 AM Christian Tismer <mailto:tis...@stackless.com>> wrote:
>
> Hi all,
>
> Ok, I am about to implement generation of such structures
> automatically usi
1 - 100 of 1220 matches
Mail list logo