Re: Python, Be Bold!

2020-01-06 Thread DL Neil via Python-list
ssible interest: Episode #245: Python packaging landscape in 2020 https://talkpython.fm/episodes/show/245/python-packaging-landscape-in-2020 -- Regards =dn -- https://mail.python.org/mailman/listinfo/python-list

Re: Removing reference to local installed package

2020-01-07 Thread DL Neil via Python-list
ies that the IDE claimed 'weren't there'. It took quite a bit of circling around to determine the problem, and yet more to be sure of fixing it without causing 'collateral damage'!) -- Regards =dn -- https://mail.python.org/mailman/listinfo/python-list

Re: [Python-ideas] Re: Enhancing Zipapp

2020-01-08 Thread Andrew Barnert via Python-list
have any idea who to trust to get it right.) -- https://mail.python.org/mailman/listinfo/python-list

Re: [Python-ideas] Re: Enhancing Zipapp

2020-01-08 Thread Andrew Barnert via Python-list
ly in the sense that it starts running and quickly fails with an exception for most users. -- https://mail.python.org/mailman/listinfo/python-list

Coding technique: distinguish using type or abc?

2020-01-08 Thread DL Neil via Python-list
ck through the code-base... Meantime, faced with such a challenge, would you recommend utilising one of these ideas over the other, or perhaps some other solution? Are there perhaps circumstances where you would use one solution, and others the other? -- Regards, =dn -- https://mail.python.org/mailman/listinfo/python-list

Re: Understanding of GIL

2020-01-16 Thread Amitesh Sahay via Python-list
mails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAD%3DM5eRWh9-EB180f2OzvnPLHh969vgaCzFyniFRSFa1-CwUHA%40mail.gmail.com. -- https://mail.python.org/mailman/listinfo/python-list

Extension type inherit from Python int

2020-01-16 Thread Mathias Enzensberger via Python-list
yLongObject. Has anyone already done something like that? Is there some trick to work around that issue, or is it simply not possible to inherit from PyLongObject? Thank you, Mathias -- https://mail.python.org/mailman/listinfo/python-list

Re: problem

2020-01-17 Thread DL Neil via Python-list
? How did you try to download MySQL^h^h^h^h^hKivy? etc Be aware that this is a cooperative list not a paid-support system. -- Regards =dn -- https://mail.python.org/mailman/listinfo/python-list

Re: Modules Objects in Python

2020-01-18 Thread DL Neil via Python-list
bove and retrieve via indexes/ToCs) The question is very vague/broad. If the above do not satisfy, then please ask again, giving a rationale for the question and/or objective for an answer... -- Regards =dn -- https://mail.python.org/mailman/listinfo/python-list

Re: Sandboxing eval() (was: Calculator)

2020-01-19 Thread Jon Ribbens via Python-list
want to do this you need to write your own interpreter that runs your own domain-specific language. -- https://mail.python.org/mailman/listinfo/python-list

Re: How to hide warning about drop table message to MariaDB

2020-01-19 Thread DL Neil via Python-list
re also some (rather thin) tutorials - but better than nothing!). Section 7.9 "Connector/Python API Reference" offers additional MySQL 'commands' which you might use to suppress the Warning before it is raised. -- Regards =dn -- https://mail.python.org/mailman/listinfo/python-list

Re: problem with python 3.8.1

2020-01-20 Thread DL Neil via Python-list
udent - if so, where? This is a volunteer community. Help us to help you... Which Operating System? From where are you downloading Python? What did you do (that appeared to work)? What was the error message? -- Regards =dn -- https://mail.python.org/mailman/listinfo/python-list

Re: TensorFlow with 3.8.1

2020-01-20 Thread DL Neil via Python-list
/python-list

Re: installation issue.

2020-01-20 Thread DL Neil via Python-list
welcome to the Python list. This is a volunteer community. Help us to help you... Are you a student - if so, where? Which Operating System? What was the error message? -- Regards =dn -- https://mail.python.org/mailman/listinfo/python-list

Re: Python login screen for MariaDB db

2020-01-20 Thread DL Neil via Python-list
to my user's table? Please refer previous response, re 'tutorials' - if the above credentials fail, then an exception will be raised. If MariaDB do not provide suitable documentation, then use MySQL's (Maria was forked from MySQL). Are you asking for code, or techniques?

Re: Clarification on Immutability please

2020-01-21 Thread Jon Ribbens via Python-list
e that concept. It's a bit weird that you took the bit where he realised exactly what is actually happening and replied "incorrect". -- https://mail.python.org/mailman/listinfo/python-list

Re: Clarification on Immutability please

2020-01-21 Thread Jon Ribbens via Python-list
On 2020-01-21, Chris Angelico wrote: > On Wed, Jan 22, 2020 at 8:01 AM Jon Ribbens via Python-list > wrote: >> On 2020-01-21, Chris Angelico wrote: >> > On Wed, Jan 22, 2020 at 4:42 AM Stephen Tucker >> > wrote: >> >> I am left concluding that mytup

Re: Terry Jones

2020-01-22 Thread DL Neil via Python-list
er Mr Jones? Sorry, I had to ask... I shall resume my familiar seat, outside the Principal's office! -- Regards =dn -- https://mail.python.org/mailman/listinfo/python-list

Re: A small quiz

2020-01-23 Thread DL Neil via Python-list
On 23/01/20 9:54 PM, Z wrote: what is PLR? Context? Trolling? What does this have to do with Python? https://duckduckgo.com/?q=meaning+plr&t=ffab&ia=web -- Regards =dn -- https://mail.python.org/mailman/listinfo/python-list

Friday Finking: Enum by gum

2020-01-23 Thread DL Neil via Python-list
python.org/3.7/library/enum.html PEP 354 (superseded): https://www.python.org/dev/peps/pep-0354/ PEP 435 (accepted): https://www.python.org/dev/peps/pep-0435/ -- Regards, =dn PS: life has been 'exciting' here. Some thoughtless person cut-through our local fiber back-haul, and even since the service was restored, there have been throughput problems, connection issues, ... Apologies if I haven't caught-up with you amongst the massive backlog - it's not you, it's me! -- https://mail.python.org/mailman/listinfo/python-list

Re: I need help for multidimensional loop

2020-01-26 Thread DL Neil via Python-list
ve of erostothenses using arrays in integers [0..maxint] in size. +1 Unfortunately, (given that this is a Python list) I would suggest that (full-fat) SQL already offers solutions to such 'relationship issues'. (hah!) I'm not sufficiently familiar with SQL-Lite to know if/how well

Re: Nested Loop Code Help

2020-01-26 Thread DL Neil via Python-list
one 'inside' the other) - or the email messed-up the indentation. However, why "nest" or have more than one loop, in any case? >>> for i in range( 0, 10 ): ... print( "*"*i ) ... * ** *** * ** *** **** ***** -- Regards =dn -- https://mail.python.org/mailman/listinfo/python-list

PEP-Dilbert

2020-01-26 Thread DL Neil via Python-list
Looks as if Dilbert is about to draft a PEP to change Python's world-view: https://dilbert.com/strip/2020-01-24 Curiously, "canard" whilst a French word for "duck", in English describes a rumor or false-story! -- Regards, =dn -- https://mail.python.org/mailman/listinfo/python-list

Re: Nested Loop Code Help

2020-01-26 Thread DL Neil via Python-list
On 27/01/20 1:53 PM, Richard Damon wrote: On 1/26/20 6:52 PM, DL Neil via Python-list wrote: On 27/01/20 4:15 AM, ferzan saglam wrote: Hello people, I have written the code below which works fine, but it has one small problem. Instead of printing one (x) on the first line, it prints two. I

Re: Python-list Digest, Vol 196, Issue 26

2020-01-27 Thread DL Neil via Python-list
subject to faithful reproduction) eases 'visual indexing', it still breaks the "threading" of email conversations (for those of us wot use it on our local machines AND in the archives). -- Regards =dn -- https://mail.python.org/mailman/listinfo/python-list

Re: on sorting things

2020-01-28 Thread Tony Flury via Python-list
re ARE good reasons to do weird things with sorting, and a custom key object (either with cmp_to_key or directly implemented) can do that. Indeed. -- https://mail.python.org/mailman/listinfo/python-list

Re: [docs] Dynamic Data type assignment

2020-01-28 Thread DL Neil via Python-list
created issue 39476 created -- Thanks & Regards, - Sushma Mob:9740055884 ___ docs mailing list -- d...@python.org To unsubscribe send an email to docs-le...@python.org https://mail.python.org/mailman3/lists/docs.python.org/ -- Regards =dn -- https://mail.python.org/mailman/listinfo/python-list

Re: Suggestions on mechanism or existing code - maintain persistence of file download history

2020-01-29 Thread DL Neil via Python-list
d and probably think/write SQL more readily than Python - oops! -- Regards =dn -- https://mail.python.org/mailman/listinfo/python-list

Re: Help on dictionaries...

2020-01-29 Thread DL Neil via Python-list
NoSQL' database such as MongoDB. -- Regards =dn -- https://mail.python.org/mailman/listinfo/python-list

Was: Dynamic Data type assignment

2020-01-29 Thread DL Neil via Python-list
pe INPUT data in FORTRAN, back in the ?good old days! (don't over-excite me or I'll threaten you with my walking-stick...) -- Regards =dn -- https://mail.python.org/mailman/listinfo/python-list

Re: Suggestions on mechanism or existing code - maintain persistence of file download history

2020-01-30 Thread DL Neil via Python-list
7; dislikes SQL/RDBMS and would rather have 'someone else' handle that side of things. Most of those ascribed their attitude to not having been able to 'get [their] heads around SQL' - which left me baffled because I 'just see it'. However, my mental processes have been queried (more than once)! Upon reflection, this 'discovery' made me happy - found me another niche to occupy... -- Regards =dn -- https://mail.python.org/mailman/listinfo/python-list

Re: Suggestions on mechanism or existing code - maintain persistence of file download history

2020-01-31 Thread DL Neil via Python-list
ecall a recent posting - or maybe they've ex-communicated me for requiring them to shout very (very) loudly to reach me... Thanks for the challenge! -- Regards =dn -- https://mail.python.org/mailman/listinfo/python-list

Re: Suggestions on mechanism or existing code - maintain persistence of file download history

2020-01-31 Thread DL Neil via Python-list
- even if it is not 'better'. (for any definitions of "right" or "better", or ...) As sent to the OP. I appreciate these discussions, in the expectation of learning something-new. (and with rust-removal paints at the ready!) Be aware that formation rules for URLs are not congruent with OS FS rules! Yup. Though I seldom see that happen. Though I guess I should have mentioned that ... :-| I'd show you the marks where that came back to bite me once - but fortunately for you, the list doesn't allow graphic attachments (nor should distressed (and distressing) images of such parts of one's anatomy EVER be seen, even by qualified medical professionals...) -- Regards =dn -- https://mail.python.org/mailman/listinfo/python-list

Re: Please answer fast.....

2020-01-31 Thread DL Neil via Python-list
hope that as you ask questions and learn for yourself, we might also learn (from you)! (the bulk of the membership read far more posts than they ever post/contribute answers) Here's hoping someone smarter than I (and five times cuter - hah, "Qt5"!) will be able to help... -- Regards =dn -- https://mail.python.org/mailman/listinfo/python-list

Re: data sequencing

2020-02-01 Thread DL Neil via Python-list
egards =dn -- https://mail.python.org/mailman/listinfo/python-list

Re: Suggestions on mechanism or existing code - maintain persistence of file download history

2020-02-01 Thread DL Neil via Python-list
-- https://mail.python.org/mailman/listinfo/python-list

Re: JavaScript's void operator in Python?

2020-02-02 Thread Jon Ribbens via Python-list
- but "None and foo" is an expression that will return None regardless of the value of "foo". -- https://mail.python.org/mailman/listinfo/python-list

Re: Pyqt5 help

2020-02-02 Thread Alan Gauld via Python-list
f you need a reference -- Alan G Author of the Learn to Program web site http://www.alan-g.me.uk/ http://www.amazon.com/author/alan_gauld Follow my photo-blog on Flickr at: http://www.flickr.com/photos/alangauldphotos -- https://mail.python.org/mailman/listinfo/python-list

Re: Pyqt5 help

2020-02-02 Thread Alan Gauld via Python-list
Flickr at: http://www.flickr.com/photos/alangauldphotos -- https://mail.python.org/mailman/listinfo/python-list

Re: Please answer fast.....

2020-02-02 Thread DL Neil via Python-list
? Why prefer that over native-Python constructs, eg two 40-element lists, a list of (pairs) lists, or indeed a dict with name as 'key' and date as 'value'? -- Regards =dn -- https://mail.python.org/mailman/listinfo/python-list

Re: JavaScript's void operator in Python?

2020-02-02 Thread Jon Ribbens via Python-list
places where an expression is allowed. Why does it matter if the return value is None? "print(2), print(3)" is an expression that will evaluate all of its sub-expressions. If the sub-expressions return None then I guess you could do "(x, y, z)[0]" too. -- https://mail.python.org/mailman/listinfo/python-list

Re: JavaScript's void operator in Python?

2020-02-02 Thread Jon Ribbens via Python-list
*x: None >>> f(print(2), print(3)) 2 3 Or if you're writing it inline then: >>> (None, print(2), print(3))[0] 2 3 -- https://mail.python.org/mailman/listinfo/python-list

The source of the PSL*

2020-02-02 Thread DL Neil via Python-list
peans) -- Regards, =dn -- https://mail.python.org/mailman/listinfo/python-list

Re: How to instlal pyodbc, without pip

2020-02-04 Thread DL Neil via Python-list
stalling-to-the-user-site -- Regards =dn -- https://mail.python.org/mailman/listinfo/python-list

Re: Pkg iter_module for different versions of python

2020-02-09 Thread DL Neil via Python-list
pSys) -- Regards =dn -- https://mail.python.org/mailman/listinfo/python-list

Re: Software not working

2020-02-10 Thread DL Neil via Python-list
python.org/mailman/listinfo/python-list

Re: datetime seems to be broken WRT timezones (even when you add them)

2020-02-10 Thread Jon Ribbens via Python-list
x27;1580434245' If you need to know the seconds since the epoch then in Python 3.3+ you can do that with dt.timestamp(). In Python 2.7 you can use the UTC class you created: (dt - datetime(1970, 1, 1, 0, 0, 0, 0, GMT())).total_seconds() -- https://mail.python.org/mailman/listinfo/python-list

Re: datetime seems to be broken WRT timezones (even when you add them)

2020-02-11 Thread Jon Ribbens via Python-list
anyone should have been starting any new projects using Python 2, there are plenty of projects that are older than that and still need supporting, and often it'd take some pretty huge unavoidable requirement to motivate a port to Python 3. -- https://mail.python.org/mailman/listinfo/python-list

Re: datetime seems to be broken WRT timezones (even when you add them)

2020-02-11 Thread Jon Ribbens via Python-list
On 2020-02-11, Chris Angelico wrote: > On Tue, Feb 11, 2020 at 10:01 PM Jon Ribbens via Python-list > wrote: >> So while it's been about 6 years since anyone should have been >> starting any new projects using Python 2, there are plenty of >> projects that are o

Re: Technical debt - was Re: datetime seems to be broken WRT timezones (even when you add them)

2020-02-12 Thread Jon Ribbens via Python-list
On 2020-02-12, Chris Angelico wrote: > But you CAN rewrite code such that it reduces technical debt. You can > refactor code to make it more logical. ... but if doing so costs more than the debt, you shouldn't do it. -- https://mail.python.org/mailman/listinfo/python-list

RE: Technical debt - was Re: datetime seems to be broken WRT timezones (even when you add them)

2020-02-12 Thread Avi Gross via Python-list
to do unless the goal is to maintain and migrate those using it to version 3. Are there any serious new projects being built NOW using version 2? -Original Message- From: Python-list On Behalf Of Rhodri James Sent: Wednesday, February 12, 2020 8:16 AM To: python-list@python.org Subjec

Re: Technical debt - was Re: datetime seems to be broken WRT timezones (even when you add them)

2020-02-12 Thread DL Neil via Python-list
27;Technical Debt' ("Marginal Cost") for the organisation! (absences, turn-over, ... you've been-there, seen-that...). There again, would user-members of the team notice if 'we'd' padded our estimates so as to have plenty of time for 'other things'? It's by no means a cut-and-dried situation. What 'works' in one case may not even get-of-the-ground in another! Thanks for provoking the grey-matter to ponder... -- Regards =dn -- https://mail.python.org/mailman/listinfo/python-list

Re: Can anyone share experience about python backend developer?

2020-02-17 Thread DL Neil via Python-list
s and Coursera's (and possibly others) on-line training courses. IIRC there's at least one that aims specifically at the 'back-end' stack. -- Regards =dn -- https://mail.python.org/mailman/listinfo/python-list

Re: insert data in python script

2020-02-17 Thread DL Neil via Python-list
where the 'mainline' can find (and import) it! -- Regards =dn -- https://mail.python.org/mailman/listinfo/python-list

Re: insert data in python script

2020-02-18 Thread DL Neil via Python-list
an be found. In the same way that we might say: if someone in Antarctica wants to see Alberto, (s)he will have to go to Italy to find him... Don't hesitate to say if you think my reply is too complicated/advanced. People here are happy to help... -- Regards =dn -- https://mail.python.org/mailman/listinfo/python-list

Re: insert data in python script

2020-02-18 Thread DL Neil via Python-list
uage, even for professional programmers - and more-so if English is not one's native-language. Well done! Now, if you could tell us how to capture and control methane, perhaps the world would become a better place... Ciao! -- Regards =dn -- https://mail.python.org/mailman/listinfo/python-list

Re: Idiom for partial failures

2020-02-20 Thread DL Neil via Python-list
ing to locate errors. Perhaps, like my good-looks, my expectations of a professional standard are higher-than-average? -- Regards =dn -- https://mail.python.org/mailman/listinfo/python-list

Re: Help with oop

2020-02-23 Thread DL Neil via Python-list
-Tutor Discussion List? -- Regards =dn -- https://mail.python.org/mailman/listinfo/python-list

Re: Help with oop

2020-02-23 Thread DL Neil via Python-list
def add_item(self, item_object):  if len(self.inventory) <= self.capacity:  self.inventory.append(item_object)  return True  else:  print("Reached max capacity")  return False on behalf of DL Neil via Python-list *Sent:* Sunday, February 23, 2020 4:41:54 PM *To:* python-list@

Managing plug-ins

2020-02-23 Thread DL Neil via Python-list
of plug-ins from which users may select to suit their particular research objective. -- Regards, =dn -- https://mail.python.org/mailman/listinfo/python-list

Re: Logging all the requests into a specific file

2020-02-27 Thread DL Neil via Python-list
"handlers" to decide where each message to go, "filters" to determine 'levels' of messages, and "formatters" to organise the output. -- Regards =dn -- https://mail.python.org/mailman/listinfo/python-list

Re: Mental model of lookahead assertions

2020-02-28 Thread Jon Ribbens via Python-list
multiple matches it knows once it's found a match at position to start looking for the next potential match at position ? -- https://mail.python.org/mailman/listinfo/python-list

Friday Finking: Poly more thick

2020-02-28 Thread DL Neil via Python-list
g ) ) print_dict( arg ) for k, v in kwargs.items(): # handle key-value pairs print( "\t\t", k, v ) g( a=1, b=2 ) # arguments as key-value pairs ### () {'a': 1, 'b': 2} ### a 1 ### b 2 g( d ) # argument as a dictionary ### {'a': 1, 'b': 2},) {} ### {'a': 1, 'b': 2} ### a 1 ### b 2 -- Regards, =dn -- https://mail.python.org/mailman/listinfo/python-list

Have you some experience / link about difference between Python builded with gcc and clang?

2020-03-01 Thread Marco Sulla via Python-list
As title. Currently I'm using gcc 9.2.0 and its compilation seems to work well and fast. But I would know by your experience if clang can produce, on a *nix system, a "faster Python". -- https://mail.python.org/mailman/listinfo/python-list

Re: Have you some experience / link about difference between Python builded with gcc and clang?

2020-03-01 Thread Marco Sulla via Python-list
1.08x slower (+8%)| > +-----+-+---+ > | xml_etree_generate | 118 ms | 125 ms: 1.06x slower (+6%)| > +-+-+---+ > | xml_etree_process | 95.5 ms | 100 ms: 1.05x slower (+5%)| > +-+-+---+ > > Skip > -- https://mail.python.org/mailman/listinfo/python-list

Re: Have you some experience / link about difference between Python builded with gcc and clang?

2020-03-01 Thread Skip Montanaro via Python-list
led it optimized (--enable-optimizations --with-lto)? > > > > > > Nope, just ./configure. Further investigation is left as an exercise for > the reader. :-) > > > > Skip > -- https://mail.python.org/mailman/listinfo/python-list

Re: Have you some experience / link about difference between Python builded with gcc and clang?

2020-03-02 Thread Marco Sulla via Python-list
2 Mar 2020 at 00:58, Skip Montanaro wrote: >> >> Have you compiled it optimized (--enable-optimizations --with-lto)? > > > Nope, just ./configure. Further investigation is left as an exercise for the > reader. :-) > > Skip -- https://mail.python.org/mailman/listinfo/python-list

Re: Have you some experience / link about difference between Python builded with gcc and clang?

2020-03-02 Thread Skip Montanaro via Python-list
> > Have you compiled it optimized (--enable-optimizations --with-lto)? > Nope, just ./configure. Further investigation is left as an exercise for the reader. :-) Skip > -- https://mail.python.org/mailman/listinfo/python-list

Re: Data model and attribute resolution in subclasses

2020-03-02 Thread Marco Sulla via Python-list
On Fri, 28 Feb 2020 at 08:28, Adam Preble wrote: > > I have been making some progress on my custom interpreter project Is your project published somewhere? What changes have you done to the interpreter? -- https://mail.python.org/mailman/listinfo/python-list

Why this message was rejected?

2020-03-02 Thread Marco Sulla via Python-list
, and the python list address to the Cc field. I don't added any Bcc. I do not understand why my message was blocked. -- https://mail.python.org/mailman/listinfo/python-list

Re: Why this message was rejected?

2020-03-02 Thread Marco Sulla via Python-list
On Mon, 2 Mar 2020 at 22:36, Ethan Furman wrote: > Questions like this should go to python-list-owner at python dot org. If > this message hadn't been flagged we may not have noticed it. Sorry, I posted to python-list-owner before reading this message. > When the mailing

Re: Why this message was rejected?

2020-03-02 Thread Marco Sulla via Python-list
Ok, I sent a message as I did before to the discussion "Re: Friday Finking: Poly more thick", with only "test" as body. On Mon, 2 Mar 2020 at 22:48, Marco Sulla wrote: > > On Mon, 2 Mar 2020 at 22:36, Ethan Furman wrote: > > Questions like this should go to

Why there's no __json__()?

2020-03-02 Thread Marco Sulla via Python-list
As title. For example, `copy.copy` can use the __copy__() method of a class, if defined. Is this not possible with `json`? -- https://mail.python.org/mailman/listinfo/python-list

`async def` breaks encapsulation?

2020-03-04 Thread Marco Sulla via Python-list
ly a function with a `yield`. If it quacks... Why can't an asynchronous coroutine be simply a coroutine that has an `async` or an `await` in its code, without `async` in the signature? -- https://mail.python.org/mailman/listinfo/python-list

Re: Help building python application from source

2020-03-04 Thread Marco Sulla via Python-list
Mh. I hoped not, but unluckily I expected a response like this. People of Python List, I strongly discourage you to support this user. He is quite suspicious for the following reasons: 1. he go so far as he offers money for, IMHO, a trivial task 2. he does not trust binaries from pip. He is so

Re: ÿ in Unicode

2020-03-06 Thread Jon Ribbens via Python-list
> b'\xff\x00' >> >>>> 'ÿ'.encode('utf-32-le') >> > b'\xff\x00\x00\x00' > >> That all looks as expected. > Yes > >>Is there something about the output that puzzles you? > No > >>Did you have a question? > No, only a comment > > This buggy language is very amusing. What's the bug, or source of amusement? -- https://mail.python.org/mailman/listinfo/python-list

Re: ÿ in Unicode

2020-03-06 Thread Jon Ribbens via Python-list
ing. >> >> What's the bug, or source of amusement? > > The bug is in the mental world of the OP. Quite possibly. I must admit I was just interested to learn what they thought was wrong or amusing in the above. There's plenty of room to have reasonable differing opinions on Unicode strings and how they're implemented in languages, but it's not at all obvious what could be different in those specific expressions. -- https://mail.python.org/mailman/listinfo/python-list

Re: ÿ in Unicode

2020-03-06 Thread Jon Ribbens via Python-list
y amusing. >> >> What's the bug, or source of amusement? > > The bug is in the mental world of the OP. Quite possibly. I must admit I was just interested to learn what they thought was wrong or amusing in the above. There's plenty of room to have reasonable differing opinions on Unicode strings and how they're implemented in languages, but it's not at all obvious what could be different in those specific expressions. -- https://mail.python.org/mailman/listinfo/python-list

Re: ÿ in Unicode

2020-03-06 Thread Jon Ribbens via Python-list
t;> > b'\xff\x00' >> >>>> 'Ä¿'.encode('utf-32-le') >> > b'\xff\x00\x00\x00' > >> That all looks as expected. > Yes > >>Is there something about the output that puzzles you? > No > >>Did you have a question? > No, only a comment > > This buggy language is very amusing. What's the bug, or source of amusement? -- https://mail.python.org/mailman/listinfo/python-list

Re: ÿ in Unicode

2020-03-06 Thread Jon Ribbens via Python-list
27;) >> > b'\xff\x00' >> >>>> 'Ääâ¿'.encode('utf-32-le') >> > b'\xff\x00\x00\x00' > >> That all looks as expected. > Yes > >>Is there something about the output that puzzles you? > No > >>Did you have a question? > No, only a comment > > This buggy language is very amusing. What's the bug, or source of amusement? -- https://mail.python.org/mailman/listinfo/python-list

Re: ÿ in Unicode

2020-03-06 Thread Jon Ribbens via Python-list
is very amusing. >> >> What's the bug, or source of amusement? > > The bug is in the mental world of the OP. Quite possibly. I must admit I was just interested to learn what they thought was wrong or amusing in the above. There's plenty of room to have reasonable differing opinions on Unicode strings and how they're implemented in languages, but it's not at all obvious what could be different in those specific expressions. -- https://mail.python.org/mailman/listinfo/python-list

Re: How to POST html data to be handled by a route endpoint

2020-03-06 Thread DL Neil via Python-list
...html... ''' % app.get_url( '/mailform ) Can someone explain why?! Please post the full error message and traceback. To clarify: is the error coming from Python or from the web server? -- Regards =dn -- https://mail.python.org/mailman/listinfo/python-list

Re: ÿ in Unicode

2020-03-06 Thread Jon Ribbens via Python-list
On 2020-03-06, Jon Ribbens wrote: > What's the bug, or source of amusement? Oh, that's fun. There's a Russian Fidonet gateway, that somehow still exists, that's re-injecting usenet posts back into the group. -- https://mail.python.org/mailman/listinfo/python-list

Re: How to POST html data to be handled by a route endpoint

2020-03-07 Thread DL Neil via Python-list
t; WHILE if i try the following way, i receive no error. > > ...html... ''' % app.get_url( '/mailform ) > > Can someone explain why?! Please post the full error message and traceback. To clarify: is the error coming from Python or from the web server? -- Regards =dn -- https://mail.python.org/mailman/listinfo/python-list

Re: Possible Addition to Python Language: Marked Sub-condition

2020-03-08 Thread DL Neil via Python-list
/mailman/listinfo/python-list

Re: How to POST html data to be handled by a route endpoint

2020-03-08 Thread DL Neil via Python-list
ce for-free!) Remember also, to configure the web server to provide similarly... -- Regards =dn -- https://mail.python.org/mailman/listinfo/python-list

Re: pip UX Studies - help improve the usability of pip

2020-03-10 Thread Marco Sulla via Python-list
Subscribed. I have a little suggestion IMHO "What is you favourite pip command or functionality?" is not very useful... of course the most useful command is "install" :-) -- https://mail.python.org/mailman/listinfo/python-list

Re: pip UX Studies - help improve the usability of pip

2020-03-10 Thread Marco Sulla via Python-list
gt; https://social.ei8fdb.org/@bernard/103778645553767728 > > > Thank you for your attention! > > Best wishes, > > Bernard > -- > > Bernard Tyers, User research & Interaction Design > > T: @bernardtyers > M: @bern...@social.ei8fdb.org > PGP Key: keybase.io/ei8fdb > > > I work on User-Centred Design, Open Source Software and Privacy. > -- > https://mail.python.org/mailman/listinfo/python-list -- https://mail.python.org/mailman/listinfo/python-list

Re: Error while installing a python code

2020-03-10 Thread Marco Sulla via Python-list
: error: struct "_ts" has no field > "exc_value" > tmp_value = tstate->exc_value; > ^ > > PoissonSolver/MV_2D_cy/matvec2D.c(17591): error: struct "_ts" has no field > "exc_traceback" > tmp_tb = tstate->exc_traceback; >^ > > PoissonSolver/MV_2D_cy/matvec2D.c(17592): error: struct "_ts" has no field > "exc_type" > tstate->exc_type = *type; > ^ > > PoissonSolver/MV_2D_cy/matvec2D.c(17593): error: struct "_ts" has no field > "exc_value" > tstate->exc_value = *value; > ^ > > PoissonSolver/MV_2D_cy/matvec2D.c(17594): error: struct "_ts" has no field > "exc_traceback" > tstate->exc_traceback = *tb; > ^ > > compilation aborted for PoissonSolver/MV_2D_cy/matvec2D.c (code 2) > error: command 'icc' failed with exit status 2 > === > -- > https://mail.python.org/mailman/listinfo/python-list -- https://mail.python.org/mailman/listinfo/python-list

Re: [Python-ideas] Re: Magnitude and ProtoMagnitude ABCs — primarily for argument validation

2020-03-10 Thread Tim Peters via Python-list
is thread, so don't know what you mean. The message of mine you're replying to here said nothing about exceptions or NaNs. -- https://mail.python.org/mailman/listinfo/python-list

Re: [Python-ideas] Re: Magnitude and ProtoMagnitude ABCs — primarily for argument validation

2020-03-10 Thread Marco Sulla via Python-list
ing a NanError seems to me the only way to eliminate the NaN problem. Indeed NaN was created for languages like C, that does not support exceptions. -- https://mail.python.org/mailman/listinfo/python-list

Re: [Python-ideas] Re: New explicit methods to trim strings

2020-03-10 Thread Marco Sulla via Python-list
gt; Python-ideas mailing list -- python-id...@python.org > To unsubscribe send an email to python-ideas-le...@python.org > https://mail.python.org/mailman3/lists/python-ideas.python.org/ > Message archived at > https://mail.python.org/archives/list/python-id...@python.org/message/JKBILM3G2C4TQ7XEVIH3V7M7CKCJ4R6Y/ > Code of Conduct: http://python.org/psf/codeofconduct/ -- https://mail.python.org/mailman/listinfo/python-list

Re: pip UX Studies - help improve the usability of pip

2020-03-10 Thread Marco Sulla via Python-list
On Mon, 9 Mar 2020 at 16:09, Paul Moore wrote: > We've had some questions as to whether this survey is legitimate. I > can confirm it is (speaking as a pip core developer). Thank you a lot! -- https://mail.python.org/mailman/listinfo/python-list

Re: Python question

2020-03-10 Thread Marco Sulla via Python-list
is message before in Gmail. Didn't your Gmail warned about this, Souvik Dutta? -- https://mail.python.org/mailman/listinfo/python-list

Re: Error while installing a python code

2020-03-10 Thread Marco Sulla via Python-list
struct "_ts" has no field > > "exc_traceback" > > tstate->exc_traceback = local_tb; > > ^ > > > > PoissonSolver/MV_2D_cy/matvec2D.c(17589): error: struct "_ts" has no field > > "exc_type" > > tmp_type = tstate->exc_type; > > ^ > > > > PoissonSolver/MV_2D_cy/matvec2D.c(17590): error: struct "_ts" has no field > > "exc_value" > > tmp_value = tstate->exc_value; > > ^ > > > > PoissonSolver/MV_2D_cy/matvec2D.c(17591): error: struct "_ts" has no field > > "exc_traceback" > > tmp_tb = tstate->exc_traceback; > >^ > > > > PoissonSolver/MV_2D_cy/matvec2D.c(17592): error: struct "_ts" has no field > > "exc_type" > > tstate->exc_type = *type; > > ^ > > > > PoissonSolver/MV_2D_cy/matvec2D.c(17593): error: struct "_ts" has no field > > "exc_value" > > tstate->exc_value = *value; > > ^ > > > > PoissonSolver/MV_2D_cy/matvec2D.c(17594): error: struct "_ts" has no field > > "exc_traceback" > > tstate->exc_traceback = *tb; > > ^ > > > > compilation aborted for PoissonSolver/MV_2D_cy/matvec2D.c (code 2) > > error: command 'icc' failed with exit status 2 > > === > > -- > > https://mail.python.org/mailman/listinfo/python-list -- https://mail.python.org/mailman/listinfo/python-list

Re: Python question

2020-03-10 Thread DL Neil via Python-list
On 11/03/20 7:34 AM, Michael Torrie wrote: On 3/10/20 6:40 AM, Chris Angelico wrote: On Tue, Mar 10, 2020 at 11:22 PM Marco Sulla via Python-list ... I'm also reading this in Gmail, and I didn't get any such warning. I'm going to call that a spurious warning, a false positive

Re: Installation of python

2020-03-10 Thread Marco Sulla via Python-list
error: struct "_ts" has no field > "exc_type" > tmp_type = tstate->exc_type; > ^ > > PoissonSolver/MV_2D_cy/matvec2D.c(17590): error: struct "_ts" has no field > "exc_value" > tmp_value = t

Re: [Python-ideas] Re: Magnitude and ProtoMagnitude ABCs — primarily for argument validation

2020-03-10 Thread Marco Sulla via Python-list
;s like teaching physics to Fermi. -- https://mail.python.org/mailman/listinfo/python-list

Re: link to venv python sees a different sys.path

2020-03-11 Thread Jon Ribbens via Python-list
the link work properly. No. Unless you count making a shell script in the place you want which does nothing except exec the python binary inside the venv, i.e.: cat >pythonish #!/bin/sh exec some/other/python "$@" ^D -- https://mail.python.org/mailman/listinfo/python-list

Re: Python question

2020-03-11 Thread DL Neil via Python-list
once claim "do no harm"? There are two sides to every story! Rather than changing the (Discussion List) server, which affects everyone; ask those who don't like Google's tactics/behavior to change their (email) client! -- Regards =dn -- https://mail.python.org/mailman/listinfo/python-list

<    32   33   34   35   36   37   38   39   40   41   >