Re: Support

2020-08-13 Thread Igor Korot
Hi, On Thu, Aug 13, 2020 at 5:46 PM dn via Python-list wrote: > > On 14/08/2020 08:31, Alexa Oña wrote: > > Helo, I am already subscribed. > > > > I > > De: Alexa Oña > > Enviado: jueves, 13 de agosto de 2020 18:51 > > Para: python-list@python.org > > Asunto: Sup

Re: Support

2020-08-13 Thread dn via Python-list
On 14/08/2020 08:31, Alexa Oña wrote: Helo, I am already subscribed. I De: Alexa Oña Enviado: jueves, 13 de agosto de 2020 18:51 Para: python-list@python.org Asunto: Support Hello, I am Alexa I have tried to install PYTHON 3.8.5, but could not install it on my

RE: Support

2020-08-13 Thread Alexa Oña
Helo, I am already subscribed. I De: Alexa Oña Enviado: jueves, 13 de agosto de 2020 18:51 Para: python-list@python.org Asunto: Support Hello, I am Alexa I have tried to install PYTHON 3.8.5, but could not install it on my computer. I would like to receive help

Re: Support both asyncio and synchronous callers

2020-07-28 Thread Barry Scott
> On 26 Jul 2020, at 02:36, Damian Johnson wrote: > > Hi. I'm the author of Stem, Tor's python library [1]. Recently we > migrated to asyncio, but desire to still be usable by synchronous > callers. > > We wrote a mixin [2][3] that transparently makes any class usable by > both asyncio and sy

Re: support for boost::python for build double object

2014-11-03 Thread Mark Lawrence
On 03/11/2014 13:53, Joseph Shen wrote: In the boost::python library there is a function boost::python::long_ and this function return a boost::python::object variable I'm trying to wrap a double variale but I can't find something just like boost::python::double_ can someone help me to

Re: support for boost::python for build double object

2014-11-03 Thread Joseph Shen
On Monday, November 3, 2014 10:11:01 PM UTC+8, Skip Montanaro wrote: > On Mon, Nov 3, 2014 at 7:53 AM, Joseph Shen wrote: > > In the boost::python library there is a function > > > > >>> boost::python::long_ > > > > and this function return a boost::python::object variable > > > > I'm tr

Re: support for boost::python for build double object

2014-11-03 Thread Skip Montanaro
On Mon, Nov 3, 2014 at 7:53 AM, Joseph Shen wrote: > In the boost::python library there is a function > > >>> boost::python::long_ > > and this function return a boost::python::object variable > > I'm trying to wrap a double variable but I can't find > something just like > > >> boost::python::d

Re: Support for Windows 7 ?

2009-09-06 Thread jkn
On Sep 5, 4:45 pm, Pascale Mourier wrote: > YES IT IS! Sorry for the inconvenience. I usually start from this > assumption. Yesterday this new student was really agressive, and I > assumed he was right! > I suggest that (in general) you don't allow the first clause of this last sentence to lead

Re: Support for Windows 7 ? Thread closed please

2009-09-06 Thread Pascale Mourier
Many thanks to all contributors! I learnt sth I never realized before: Windows indeed maintains a "current directory" for each drive! As you may guess, I'm not very fond of DOS / Windows. My training with those OS started with "hands-on" experience on a machine w/ a single "C:" drive (namely a

Re: Support for Windows 7 ?

2009-09-06 Thread Michel Claveau - MVP
Bonjour ! Plusieurs points : - Python (ainsi que Pywin32) fonctionne TRÈS bien sous Windows-7 (je l'utilise depuis plus d'un an, sur Win-7 beta, RC, RTM, en 32 bits et en 64 bits). Résultats : AUCUN problème. - Il existe des sources françaises (newsgroups, sites, forums, etc.) qui peuvent

Re: Support for Windows 7 ?

2009-09-06 Thread Pascale Mourier
Michel Claveau - MVP a écrit : Bonjour ! Plusieurs points : - Python (ainsi que Pywin32) fonctionne TRÈS bien sous Windows-7 (je l'utilise depuis plus d'un an, sur Win-7 beta, RC, RTM, en 32 bits et en 64 bits). Résultats : AUCUN problème. - Il existe des sources françaises (newsgroups, si

Re: Support for Windows 7 ?

2009-09-05 Thread Grant Edwards
On 2009-09-05, Pascale Mourier wrote: > Well, os.listdir('C:') instead of raising an exception, for > some reason behaves like os.listdir('.'). Windows (and DOS) have worked like that for decades. A lone drive letter always refers to the "current directory" on that drive. It's been that way si

Re: Support for Windows 7 ?

2009-09-05 Thread Tim Roberts
Pascale Mourier wrote: > >YES IT IS! Sorry for the inconvenience. I usually start from this >assumption. Yesterday this new student was really agressive, and I >assumed he was right! > >Here's his mistake: with Windows the name of the directory rooted at a >drive name (say C:) is called 'C:\' n

Re: Support for Windows 7 ?

2009-09-05 Thread Thorsten Kampe
* MRAB (Sat, 05 Sep 2009 17:54:00 +0100) > Pascale Mourier wrote: > > Martin v. Löwis a écrit : > > > >> Without having seen any details, I refuse to guess. Most likely, it is > >> a user mistake. > > > > YES IT IS! Sorry for the inconvenience. I usually start from this > > assumption. Yesterday

Re: Support for Windows 7 ?

2009-09-05 Thread MRAB
Pascale Mourier wrote: Martin v. Löwis a écrit : Without having seen any details, I refuse to guess. Most likely, it is a user mistake. YES IT IS! Sorry for the inconvenience. I usually start from this assumption. Yesterday this new student was really agressive, and I assumed he was right!

Re: Support for Windows 7 ?

2009-09-05 Thread Pascale Mourier
Martin v. Löwis a écrit : Without having seen any details, I refuse to guess. Most likely, it is a user mistake. YES IT IS! Sorry for the inconvenience. I usually start from this assumption. Yesterday this new student was really agressive, and I assumed he was right! Here's his mistake: wi

Re: Support for Windows 7 ?

2009-09-04 Thread Martin P. Hellwig
Michel Claveau - MVP wrote: Du coup, j'ai envie de déduire : - Que certains étudiants d'écoles de commerce françaises préfèrent travailler avec "l'étranger" plutôt qu'avec "le français". - Il faudra dire à d'autres étudiants d'écoles de commerce françaises que le fait de ne pas arriver/sav

Re: Support for Windows 7 ?

2009-09-04 Thread Martin v. Löwis
> Given that the problem is with reading the file system, it is likely to > be w/ sth else > > than Windows 7, maybe some weird HD partition combination? Without having seen any details, I refuse to guess. Most likely, it is a user mistake. Regards, Martin -- http://mail.python.org/mailman/lis

Re: Support for Windows 7 ?

2009-09-04 Thread Pascale Mourier
Martin v. Löwis a écrit : If there is a specific problem, we would need a specific test case, to be reported to bugs.python.org. Tks for the name above. I asked my student to prepare the bug demo package, but I didn't know how to send it! Given that the problem is with reading the file syst

Re: Support for Windows 7 ?

2009-09-04 Thread Martin v. Löwis
> On of my students has installed Windows 7 RTM on his cherished computer, > and claims that Python 2.6.2 doesn't support it. > The sample program had a problem with the library function > os.listdir(dirarg) always returning the same result for different values > of dirarg. > > DO YOU KNOW HOW FAR

Re: Support for new items in set type

2007-04-26 Thread Raymond Hettinger
[Alex Martelli] > In your shoes, I would write a class whose instances hold three sets: > -- the "master set" is what you originally read from the file > -- the "added set" is the set of things you've added since then > -- the "deleted set" is the set of things you've deleted since them FWIW, I've

Re: Support for new items in set type

2007-04-23 Thread Prateek
> I don't see where your SeaSet class is used. > Actually that is the point. According to the hotshot profile, the problem code doesn't use the SeaSet implementation. Yet that same code was running much faster earlier. I tried multiple time (2-3 times). >From what I can fathom, nothing else changed

Re: Support for new items in set type

2007-04-23 Thread Gabriel Genellina
En Mon, 23 Apr 2007 02:17:49 -0300, Prateek <[EMAIL PROTECTED]> escribió: > Oh dear god, I implemented this and it overall killed performance by > about 50% - 100%. The same script (entering 3000 items) takes between > 88 - 109s (it was running in 55s earlier). > > Here is the new Set implementati

Re: Support for new items in set type

2007-04-22 Thread Prateek
Oh dear god, I implemented this and it overall killed performance by about 50% - 100%. The same script (entering 3000 items) takes between 88 - 109s (it was running in 55s earlier). Here is the new Set implementation: class SeaSet(set): __slots__ = ['master', 'added', 'deleted'] de

Re: Support for new items in set type

2007-04-22 Thread Aahz
In article <[EMAIL PROTECTED]>, Prateek <[EMAIL PROTECTED]> wrote: > >Thanks Alex, but we're actually implementing a (non-relational) >database engine. Why are you reinventing the wheel? Why not just implement your functionality on top of an existing database as your backing store? -- Aahz ([E

Re: Support for new items in set type

2007-04-22 Thread Prateek
> > 2) Maintaining a copy wastes memory > > 3) I don't have a good solution if I delete items from the set > > (calculating the difference will return an empty set but I need to > > actually delete stuff). > > (3) is easy -- the difference originalset-finalset is the set of things > you have to de

Re: Support for new items in set type

2007-04-22 Thread Prateek
On Apr 22, 11:09 am, Steven D'Aprano <[EMAIL PROTECTED]> wrote: > On Sat, 21 Apr 2007 20:13:44 -0700, Prateek wrote: > > I have a bit of a specialized request. > > > I'm reading a table of strings (specifically fixed length 36 char > > uuids generated via uuid.uuid4() in the standard library) from

Re: Support for new items in set type

2007-04-21 Thread Steven D'Aprano
On Sat, 21 Apr 2007 20:13:44 -0700, Prateek wrote: > I have a bit of a specialized request. > > I'm reading a table of strings (specifically fixed length 36 char > uuids generated via uuid.uuid4() in the standard library) from a file > and creating a set out of it. > Then my program is free to ma

Re: Support for new items in set type

2007-04-21 Thread Alex Martelli
Prateek <[EMAIL PROTECTED]> wrote: > I have a bit of a specialized request. > > I'm reading a table of strings (specifically fixed length 36 char > uuids generated via uuid.uuid4() in the standard library) from a file > and creating a set out of it. > Then my program is free to make whatever modi

Re: Support SSL for Solaris 10

2007-04-11 Thread John J. Lee
"campos" <[EMAIL PROTECTED]> writes: > Hi all, > > Last time I installed Python 2.5 by default, it didn't support SSL. > When I tried to use HTTPS, the following error occured: > AttributeError: 'module' object has no attribute 'ssl' ISTR that the sunfreeware.com 2.5 build supports that, if you

Re: Support SSL for Solaris 10

2007-04-05 Thread Trent Mick
campos wrote: > Last time I installed Python 2.5 by default, it didn't support SSL. > When I tried to use HTTPS, the following error occured: > AttributeError: 'module' object has no attribute 'ssl' The ActivePython 2.5 builds for Solaris on SPARC (the "solaris8-sparc" build) supports OpenSSL. No

Re: Support of IPv6 extension headers

2006-12-20 Thread Martin v. Löwis
cychong schrieb: > BTW, is there any way to send the packet with the IPV6 extension header > w/o using sendmsg? That depends on your operating system. Find out whether your operating system supports that; if it does, it is easy to tell whether that is exposed in Python or not. Regards, Martin --

Re: Support of IPv6 extension headers

2006-12-20 Thread cychong
Thanks for your reply. BTW, is there any way to send the packet with the IPV6 extension header w/o using sendmsg? Chae-yong Jean-Paul Calderone wrote: > On 20 Dec 2006 07:07:02 -0800, cychong <[EMAIL PROTECTED]> wrote: > >Hi, > > > >There is no probleming in programming the basic IPv6 socket prog

Re: Support of IPv6 extension headers

2006-12-20 Thread Jean-Paul Calderone
On 20 Dec 2006 07:07:02 -0800, cychong <[EMAIL PROTECTED]> wrote: >Hi, > >There is no probleming in programming the basic IPv6 socket program >with the python. >Then how about the IPv6 extension header? The RFC 2292 and man pages >from the unix/linux advise >to use the sendmsg to send the packet wi