Re: Triggered By Mediocre Code (Posting On Python-List Prohibited)

Liste des GroupesRevenir à cl python 
Sujet : Re: Triggered By Mediocre Code (Posting On Python-List Prohibited)
De : no.email (at) *nospam* nospam.invalid (Paul Rubin)
Groupes : comp.lang.python
Date : 26. Aug 2024, 23:06:03
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <875xrn0wj8.fsf@nightsong.com>
References : 1 2 3 4 5
User-Agent : Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Lawrence D'Oliveiro <ldo@nz.invalid> writes:
Note that “04d” is not quite the same as “0.4d”.

For non-negative numbers, I think 04d does what the original verbose
code did.  0.4d for an integer isn't valid in an f-string.  With
old-style formatting and negative numbers, 0.4d pads differently than
04d, and the original verbose code appears to be plain wrong, formatting
-1 as "00-1" if I'm not mistaken.

Python has ASGI, which offers your choice of Web frameworks founded on
async/await and asyncio. Instead of running as an addon module in the Web
server, the Python code runs in a separate process, with its own
independent flow of control. This is much more versatile.

Yes, and the separate processes use more machine resources which is why
low end hosting places prefer PHP. 

Date Sujet#  Auteur
25 Aug 24 * Triggered By Mediocre Code (Posting On Python-List Prohibited)13Lawrence D'Oliveiro
26 Aug 24 +* Re: Triggered By Mediocre Code (Posting On Python-List Prohibited)11Paul Rubin
26 Aug 24 i`* Re: Triggered By Mediocre Code (Posting On Python-List Prohibited)10Lawrence D'Oliveiro
26 Aug 24 i +- Re: Triggered By Mediocre Code (Posting On Python-List Prohibited)1rbowman
26 Aug 24 i `* Re: Triggered By Mediocre Code (Posting On Python-List Prohibited)8Paul Rubin
26 Aug 24 i  `* Re: Triggered By Mediocre Code (Posting On Python-List Prohibited)7Lawrence D'Oliveiro
27 Aug 24 i   `* Re: Triggered By Mediocre Code (Posting On Python-List Prohibited)6Paul Rubin
27 Aug 24 i    `* Re: Triggered By Mediocre Code (Posting On Python-List Prohibited)5Lawrence D'Oliveiro
27 Aug 24 i     `* Re: Triggered By Mediocre Code (Posting On Python-List Prohibited)4Paul Rubin
28 Aug 24 i      `* Re: Triggered By Mediocre Code (Posting On Python-List Prohibited)3Lawrence D'Oliveiro
28 Aug 24 i       `* Re: Triggered By Mediocre Code (Posting On Python-List Prohibited)2Paul Rubin
28 Aug 24 i        `- Re: Triggered By Mediocre Code (Posting On Python-List Prohibited)1Lawrence D'Oliveiro
27 Aug 24 `- Re: Triggered By Mediocre Code (Posting On Python-List Prohibited)1Piergiorgio Sartor

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal