[issue44920] Support UUIDv6, UUIDv7, and UUIDv8 from the new version of RFC4122

2021-08-15 Thread Steve Simmons
New submission from Steve Simmons : Three new types of UUIDs have been proposed in the latest draft of the next version of RFC4122. Full text of that draft is in [1] (published 21 April 2021; draft period ends 21 Oct 2021). Support for these should be included in uuid.py for Python 3.11

Re: Users banned

2018-07-16 Thread Steve Simmons
ion) with irritating persistence. Wonder how many of the non-banned members have been guilty of the same thing in one way or another. Steve Simmons -- https://mail.python.org/mailman/listinfo/python-list

Re: JSON confusion

2016-08-17 Thread Steve Simmons
On 17/08/2016 17:49, Jon Ribbens wrote: On 2016-08-17, Steve Simmons <square.st...@gmail.com> wrote: I'm trying to write a small utility to find the closest railway station to a given (UK) postcode but the result is in JSON and I'm not familiar with it. I've got as far as extracting th

JSON confusion

2016-08-17 Thread Steve Simmons
I'm trying to write a small utility to find the closest railway station to a given (UK) postcode but the result is in JSON and I'm not familiar with it. I've got as far as extracting the JSON object and I can print the first level elements ("success" and "result") but I've totally confused

Re: Slightly OT - using PyUIC from Eclipse

2014-05-01 Thread Steve Simmons
On 01/05/2014 02:50, Steven D'Aprano wrote: On Thu, 01 May 2014 01:49:25 +0100, Steve Simmons wrote: html head meta content=text/html; charset=UTF-8 http-equiv=Content-Type /head body bgcolor=#FF text=#00 br div class=moz-cite-prefixOn 30/04/2014 23:49, Fabio

Slightly OT - using PyUIC from Eclipse

2014-04-30 Thread Steve Simmons
a difference in the directory structure betwee PyQt4 PyQt5. I'm more interested to learn how to read the traceback (insightfully) and track it to the source of the problem, although it would be good to have it working too!! Steve Simmons PS Also posted to PyQT list. -- https://mail.python.org

Re: Slightly OT - using PyUIC from Eclipse

2014-04-30 Thread Steve Simmons
On 30/04/2014 23:49, Fabio Zadrozny wrote: On Wed, Apr 30, 2014 at 8:39 AM, Steve Simmons square.st...@gmail.com wrote: I'm trying to set up a new dev environment using Windows 7; Eclipse

Re: Experiences/guidance on teaching Python as a first programming language

2013-12-11 Thread Steve Simmons
On 11/12/2013 11:45, Chris Angelico wrote: And then, shortly after the beginning of the story, you need to introduce the villain. Thanks, jmf, for taking that position in our role-play storytelling scenario! A round of applause for jmf, folks, for doing a brilliant impression of the

Re: Trouble with Multi-threading

2013-12-11 Thread Steve Simmons
On 11/12/2013 11:37, Steven D'Aprano wrote: When did this forum become so intolerant of even the tiniest, most minor breaches of old-school tech etiquette? [... Giant Snip...] Well said Steven. I've only been member of this list for (maybe) a year, mainly lurking to learn about Python and

Re: Experiences/guidance on teaching Python as a first programming language

2013-12-11 Thread Steve Simmons
On 11/12/2013 13:02, Chris Angelico wrote: On Wed, Dec 11, 2013 at 10:33 PM, Steve Simmons square.st...@gmail.com wrote: On 11/12/2013 11:45, Chris Angelico wrote: And then, shortly after the beginning of the story, you need to introduce the villain. Thanks, jmf, for taking that position

Re: Got a Doubt ! Wanting for your Help ! Plz make it ASAP !

2013-11-23 Thread Steve Simmons
By the same logic the plural of spouse is spice and most men that have had more than one wife will tell you that, whilst it may be the expectation, it ain't necessarily so ;-) On 23/11/2013 16:44, Dennis Lee Bieber wrote: On

Re: Got a Doubt ! Wanting for your Help ! Plz make it ASAP !

2013-11-23 Thread Steve Simmons
On 23/11/2013 17:35, Chris Angelico wrote: On Sun, Nov 24, 2013 at 3:35 AM, Tim Chase python.l...@tim.thechases.com wrote: Mice/Mouse Rice/*Rouse Wordplay is one of my worst vouse. ;-) Yeah, some people can come up with bad puns in a trouse. ChrisA Well! That wasn't very nouse!

Re: To whoever hacked into my Database

2013-11-13 Thread Steve Simmons
On 13/11/2013 19:27, superchromix wrote: hi all, I've been thinking about learning Python for scientific programming.. but all of these flame war type posts make the user community look pretty lame. How did all of these nice packages get written when most of the user interaction is

Re: To whoever hacked into my Database

2013-11-07 Thread Steve Simmons
Ferrous Cranus nikos.gr...@gmail.com wrote: Τη Πέμπτη, 7 Νοεμβρίου 2013 12:11:20 π.μ. UTC+2, ο χρήστης Mark Lawrence έγραψε: On 06/11/2013 21:26, Νίκος Γκρ33κ wrote: Στις 6/11/2013 5:25 μμ, ο/η Νίκος Γκρ33κ έγραψε: Okey let the hacker try again to mess with my database!!! He is

Re: To whoever hacked into my Database

2013-11-07 Thread Steve Simmons
Ian Kelly ian.g.ke...@gmail.com wrote: On Thu, Nov 7, 2013 at 2:20 PM, Denis McMahon denismfmcma...@gmail.com wrote: I think the hacker is a figment of Nick's imagination, or rather a consequence of his broken python code corrupting his data. Unless the Python installation on Nikos' system has

Re: To whoever hacked into my Database

2013-11-06 Thread Steve Simmons
On 06/11/2013 16:40, Alister wrote: On Wed, 06 Nov 2013 17:25:04 +0200, Νίκος Γκρ33κ wrote: Okey let the hacker try again to mess with my database!!! He is done it twice, lets see if he will make it again! I'am waiting! (sorry every one I tried not to reply to Nicos but finally lost it)

Re: Cookie aint retrieving when visiting happens from a backlink.

2013-10-25 Thread Steve Simmons
On 25/10/2013 16:34, Chris Angelico wrote: Do you understand: 1) what cookies are? 2) how the browser receives them? 3) how the server gets them back? 4) when #3 happens and when it does not? If not, go to Wikipedia and start reading. If you get to the end of Wikipedia without comprehending

Re: Code golf challenge: XKCD 936 passwords

2013-10-08 Thread Steve Simmons
Chris Angelico ros...@gmail.com wrote: On Tue, Oct 8, 2013 at 5:48 PM, sprucebond...@gmail.com wrote: And if we were actually trying then that filename should just be /w. Would get rid of another 19 chars. I'm working this on the assumption that the dictionary file already exists (that's where

Re: Stack Overflow moderator “animuson”

2013-07-10 Thread Steve Simmons
Steven D'Aprano st...@pearwood.info wrote: On Wed, 10 Jul 2013 07:55:05 +, Mats Peterson wrote: A moderator who calls himself “animuson” on Stack Overflow doesn’t want to face the truth. He has deleted all my postings regarding Python regular expression matching being extremely slow

Re: Important features for editors

2013-07-04 Thread Steve Simmons
Νίκος ni...@superhost.gr wrote: Στις 4/7/2013 11:34 πμ, ο/η Dave Angel έγραψε: On 07/04/2013 03:59 AM, Νίκος wrote: Στις 4/7/2013 10:32 πμ, ο/η cutems93 έγραψε: I am researching on editors for my own reference. I found that each of them has some features that other don't, but I am not sure

Re: Important features for editors

2013-07-04 Thread Steve Simmons
rusi rustompm...@gmail.com wrote: On Thursday, July 4, 2013 7:03:19 PM UTC+5:30, Steve Simmons wrote: Boy oh boy! You really are a slow learner Nicos. You have just offered to commit a crime and to include dozens of others in that crime ON A PUBLIC FORUM. Please think before you post

Re: Important features for editors

2013-07-04 Thread Steve Simmons
To Rurpy and cutems93, My apologies too. I reacted before I thought about creating a new thread. To your question: One thing that I don't use daily but find very useful to have in an editor is 'Hex View' (or better yet a 'Hex Editor'). Whilst it has been 'dissed' recently on this list, I

Re: Python list code of conduct

2013-07-03 Thread Steve Simmons
. Thanks Ben for that. Lets not stymie Steve Simmons original suggestion for a CoC by making it into a formal CoC and then saying its impossible. There is a good deal of informal enforcement already. Consider eg: - Mark's footnote reminding about GG problems and their solutions link - Steven's

Re: python adds an extra half space when reading from a string or list

2013-07-03 Thread Steve Simmons
On 03/07/2013 15:12, feedthetr...@gmx.de wrote: Am Mittwoch, 3. Juli 2013 12:00:14 UTC+2 schrieb Νίκος: Στις 3/7/2013 12:45 μμ, ο/η Chris Angelico έγραψε: ] You have betrayed the trust of all your customers. ... I just received a call form on of my customers asking me to explain your mail

Re: python adds an extra half space when reading from a string or list

2013-07-03 Thread Steve Simmons
On 03/07/2013 16:44, Chris Angelico wrote: On Thu, Jul 4, 2013 at 1:36 AM, Νίκος ni...@superhost.gr wrote: I will *not* give away my root pass to anyone for any reason but i will open a norla user account for someone if i feel like trusting him and copy my python file to his homr dir to take

Re: python adds an extra half space when reading from a string or list

2013-07-02 Thread Steve Simmons
Νίκος ni...@superhost.gr wrote: Στις 1/7/2013 12:31 μμ, ο/η Steve Simmons έγραψε: I don't know about the other members of this list but I am becoming increasingly disturbed by the rudeness and especially the foul language that is being perpetrated on this thread. Please, if you have any

Python list code of conduct

2013-07-02 Thread Steve Simmons
are enthusiasts who choose to discuss Python and *voluntarily* help solve problems with Python for the less experienced members. [Runs for cover] Steve Simmons Sent from a Galaxy far far away-- http://mail.python.org/mailman/listinfo/python-list

Re: python adds an extra half space when reading from a string or list

2013-07-01 Thread Steve Simmons
Νίκος ni...@superhost.gr wrote: Στις 1/7/2013 11:54 πμ, ο/η Antoon Pardon έγραψε: So shut your piehole and start proving yourself useful in this list. Or sod off. Preferably do the latter. Oh we do have illusions of grandeur, don't we? You are in no position to judge who is useful on this

Re: Debugging memory leaks

2013-06-13 Thread Steve Simmons
Giorgos Tzampanakis giorgos.tzampana...@gmail.com wrote: On 2013-06-13, dieter wrote: ... Anyway, my real question is how to go about debugging memory leak problems in Python, particularly for a long running server process written with Twisted. I'm not sure how to use heapy or guppy, and

Re: Why do Perl programmers make more money than Python programmers

2013-05-07 Thread Steve Simmons
Fábio Santos fabiosantos...@gmail.com wrote: - 1) The memory gain for many of us (usually non ascii users) just become irrelevant. sys.getsizeof('maçã') 41 sys.getsizeof('abcd') 29 2) More critical, Py 3.3, just becomes non unicode compliant, (eg European languages or ascii

Re: Comparison Style

2013-04-25 Thread Steve Simmons
Chris Angelico ros...@gmail.com wrote: With the sort of thinking you're demonstrating here, you should consider a job working with Spike Milligna (the well known typing error). Errr , I think you'll find that he's joined the choir invisibule. Mind you, he did say he was ill! Sent from a

Re: Comparison Style

2013-04-25 Thread Steve Simmons
llanitedave llanited...@veawb.coop wrote: On Thursday, April 25, 2013 11:31:04 AM UTC-7, Steve Simmons wrote: Chris Angelico ros...@gmail.com wrote: With the sort of thinking you're demonstrating here, you should consider a job working with Spike Milligna (the well known typing error

Re: Performance of int/long in Python 3

2013-04-02 Thread Steve Simmons
On 02/04/2013 10:43, Mark Lawrence wrote: On 02/04/2013 10:24, jmfauth wrote: On 2 avr, 10:35, Steven D'Aprano steve +comp.lang.pyt...@pearwood.info wrote: On Tue, 02 Apr 2013 19:03:17 +1100, Chris Angelico wrote: So what? Who cares if it takes 0.2 second to insert a character instead of

Re: Performance of int/long in Python 3

2013-04-02 Thread Steve Simmons
On 02/04/2013 15:03, Steven D'Aprano wrote: On Tue, 02 Apr 2013 11:58:11 +0100, Steve Simmons wrote: It seems to me that jmf *might* be moving towards a vindicated position. There is some interest now in duplicating, understanding and (hopefully!) extending his test results, which can only

Re: Performance of int/long in Python 3

2013-04-02 Thread Steve Simmons
On 02/04/2013 15:12, Mark Lawrence wrote: I've already raised an issue about performance and Neil Hodgson has raised a new one. Recognised in a separate post To balance this out perhaps we should have counter issues asking for the amount of memory being used to be increased to old levels and

Re: PSF News: Guido van Rossum quitting Python to develop new, more difficult to learn, language.

2013-04-01 Thread Steve Simmons
It's in recognition of the gap between English and French - it helps you to bridge it. Mark Lawrence breamore...@yahoo.co.uk wrote: On 01/04/2013 16:30, Pierre O'Dee wrote: Some features have already been hinted at for the new language. No Unicode -- BAUDOT is expected to be the new

Re: Python Newbie

2013-02-23 Thread Steve Simmons
On 22/02/2013 22:37, piterrr.dolin...@gmail.com wrote: So far I am getting the impression that Python is a toy language of some kind (similar to Basic of the early 80's), not really suitable for serious work. The only difference between these languages (admittedly, a serious one) is the

Re: Python Newbie

2013-02-23 Thread Steve Simmons
On 23/02/2013 16:51, Chris Angelico wrote: Steve, why do you say you're not a developer? A score of languages under your belt, choosing to write code in your spare time, and speaking competently on the comparative merits of different languages and why you made the decision you made - sounds

Re: Python Newbie

2013-02-23 Thread Steve Simmons
On 23/02/2013 18:32, Gene Heskett wrote: I am here because I was hoping some knowledge leakage would help me to understand python, but at my age I am beginning to have to admit the level of abstraction is something I may never fully grok. If I ever find a python book that literally starts at

Re: Python Newbie

2013-02-22 Thread Steve Simmons
Dear Mr D'Aprano, I thank you for your post but I must complain in the strongest possible terms that it was not enclosed in the correct delimeters. It should have been enclosed in a humour... /humour pair (or humor.../humor if you are American). I was drinking coffee at the time I started

Re: Python Newbie

2013-02-22 Thread Steve Simmons
On 22/02/2013 15:26, Duncan Booth wrote: Rui Maciel rui.mac...@gmail.com wrote: Chris Angelico wrote: On Fri, Feb 22, 2013 at 10:58 PM, Rui Maciel rui.mac...@gmail.com wrote: Mitya Sirenef wrote: Looks very unclear and confusing to me. Whether it's C# or ruby or anything else, most devs

Re: Is there a graphical GUI builder?

2013-02-21 Thread Steve Simmons
On 21/02/2013 11:08, Chris Angelico wrote: On Thu, Feb 21, 2013 at 8:20 PM, PythonAB pyt...@rgbaz.eu wrote: On 21 feb 2013, at 04:45, Michael Torrie wrote: On 02/20/2013 12:44 AM, Steve Simmons wrote: 2. Qt isn't 'free' (depending on what you are going to be doing with it) - read

Re: Is Python venerable?

2013-02-20 Thread Steve Simmons
On 20/02/2013 12:03, Albert Hopkins wrote: On Tue, Feb 19, 2013, at 11:10 PM, Gene Heskett wrote: [...] And even us old (78) farts are calling things Kewl now. 78??? Is that the year you were born or the years since you were born? -a Yeah, 2078 - Marty McFly, Back From the Future. Kewl !!

Re: Is there a graphical GUI builder?

2013-02-19 Thread Steve Simmons
. Steve Simmons -- http://mail.python.org/mailman/listinfo/python-list

Best approach to OO Style (only slightly off topic)?

2013-02-01 Thread Steve Simmons
I'm relatively new to OO (and Python and QT ) and I am learning as I go along. As I slowly come up to speed, I have some questions about the best approach to program/module structure so I'm looking for some pointers (URL's or replies). I have copied some code from 'Rapid GUI Programming with

Re: handling return codes from CTYPES

2013-01-22 Thread Steve Simmons
Duncan, Mike, MRAB, Thank you. New technology set, same forgotten lesson - RTFM (all of it!). Thanks also for the clarification on discarding objects and Garbage Collection. Looks like I'll have to turn a large chunk of my previous understanding of (mainframe) languages 'inside out'. I'm

handling return codes from CTYPES

2013-01-21 Thread Steve Simmons
PY33, Win7, Python Newbie, Not homework:-) I'm trying to use some 'C' DLLs from Python using ctypes and I have a minor issue with the return valuesbut I am new to Python; ctypes and using DLLs so I am at the bottom of so many learning curves, I'm not sure where or how to find my mistake.

Re: handling return codes from CTYPES

2013-01-21 Thread Steve Simmons
Mike, Thanks for your response - I was puzzled by one part of it though... On 21/01/2013 15:14, Mike C. Fletcher wrote: That's because you've just discarded the object you created I (mis?)understood from the ctypes documentation that ' initResult = c_short(0)' would result in the

Re: please i need explanation

2013-01-11 Thread Steve Simmons
I read the question as I've got this function and it does what I expect but I don't understand the code. On that basis... The function creates a factorialfor the input number 'n' (i.e. 1*2*3*4.*n) The first 2 lines checks to see that the input is less than 2 and, if so, returns a value

Help accessing COM .dll from Python

2012-12-01 Thread Steve Simmons
First time post - be gentle with me :-) I am trying to write a Python script to access a scanning device. I have an SDK for the scanner but the documentation is a bit limited and the supplier doesn't support Python

Re: Help accessing COM .dll from Python

2012-12-01 Thread Steve Simmons
Gunther - Sorry about that, hoping this response comes through as plain text. Chris - Thanks for the translation and the response. Unfortunately, I don't speak 'C', and I think the learning curve for Python + COM should be slightly less steep. The scanner is supplied by Card Scanning