On Wed, Jun 21, 2017 at 4:01 PM, Marko Rauhamaa wrote:
> No RHEL/CentOS release so far ships with Py3. Maybe RHEL 8 will.
>
> That's a big deal for where I work. We'd love to implement things in
> Python in our products but won't do it before Py3 is included on all
> customer platforms. RHEL 7 is
Chris Angelico :
> I don't know how to check RHEL package lists without having a license,
> but RHEL 4 and 5 came out before Py3 was released. So "we need to
> support RHEL 4" would be a legit reason to avoid Python 3 - but it's
> also a reason to avoid Python 2.7, as RHEL 4 ships with Python 2.3
Paul Rubin :
> How it works (i.e. what the implementation does) is quite simple and
> understandable. The amazing thing is that it doesn't leak memory
> catastrophically.
If I understand it correctly, the 32-bit Go language runtime
implementation suffered "catastrophically" at one point. The reas
On Wed, Jun 21, 2017 at 3:17 PM, Paul Rubin wrote:
> Steven D'Aprano writes:
>> genuinely good reason... (Which might include "the customer insists",
>> or "yeah, I know it sucks, but politics".)
>
> I think the current LTS versions of Ubuntu and Debian both come with
> Python 2. Not sure about
Cem Karan writes:
> I'm not too sure how much of performance impact that will have. My
> code generates a very large number of tiny, short-lived objects at a
> fairly high rate of speed throughout its lifetime. At least in the
> last iteration of the code, garbage collection consumed less than 1
Steven D'Aprano writes:
> genuinely good reason... (Which might include "the customer insists",
> or "yeah, I know it sucks, but politics".)
I think the current LTS versions of Ubuntu and Debian both come with
Python 2. Not sure about Centos/RHEL. Those seem like ok reasons to
me.
> if you wa
Shouldn't these beasts compare equal?
It seems like it, although I don't think they were ever intended to be
used side-by-side. cdecimal isn't part of the standard library and is
supposed to be a drop-in replacement. As of CPython 3.3, the decimal
module *is* cdecimal.
Got it, thanks. I have a f
On Jun 20, 2017, at 1:19 AM, Paul Rubin wrote:
> Cem Karan writes:
>> Can you give examples of how it's not reliable?
>
> Basically there's a chance of it leaking memory by mistaking a data word
> for a pointer. This is unlikely to happen by accident and usually
> inconsequential if it does ha
On Tue, Jun 20, 2017 at 2:49 PM, Skip Montanaro
wrote:
> I'd not used the Decimal classes before, but some data I was receiving
> from a database via pyodbc came that way. In writing some test cases,
> I had a hard time making things work out. I eventually figure out what
> was going on:
>
im
I'd not used the Decimal classes before, but some data I was receiving
from a database via pyodbc came that way. In writing some test cases,
I had a hard time making things work out. I eventually figure out what
was going on:
>>> import decimal, cdecimal
>>> decimal.Decimal('2226.48') == cdecimal.
pkts = sniff(prn=lambda x:x.sprintf("{IP:%IP.src% ->
%IP.dst%\n}{Raw:%Raw.load%\n}"), filter="tcp port 80")
for i in range(1,len(pkts)):
#if pkts[i][IP].sport == 80:
i,pkts[i][TCP].payload
i find pkts[10] do not have html source code
(8, )
(9, )
(10, )
(11, )
dir(pkts[10][TCP])
--
On Tuesday, June 20, 2017 at 12:18:50 PM UTC+1, wxjm...@gmail.com wrote:
> Le mardi 20 juin 2017 11:48:03 UTC+2, Steven D'Aprano a écrit :
>
> Python (3) on Windows just does not work. Period.
Complete drivel from the RUE. I, and many others, use Python3 on Windows on a
daily basis with not pro
Paul Rubin :
> The simplest way to start experimenting with GC in Python might be to
> redefine the refcount macros to do nothing, connect the allocator to
> the Boehm GC, and stop all the threads when GC time comes. I don't
> know if Guile has threads at all, but I know it uses the Boehm GC and
>
On Tue, 20 Jun 2017 00:11:25 -0700, Lawrence D’Oliveiro wrote:
> On Tuesday, June 20, 2017 at 6:16:05 PM UTC+12, wxjm...@gmail.com wrote:
>> - Py3 on Windows just does not work.
>
> Whose fault is that?
Pay no attention to wxjmfauth and his complaints that Python 3 does not
work. He's either
14 matches
Mail list logo