Hi Stefan
On Mon, 29 Jun 2020 15:27:01 +0200
Stefan Krah wrote:
> Hi,
>
> I've released mpdecimal-2.5.0:
>
>http://www.bytereef.org/mpdecimal/index.html
>
> 15417edc8e12a57d1d9d75fa7e3f22b158a3b98f44db9d694cfd2acde8dfa0ca
> mpdecimal-2.5.0.tar.gz
>
> Starting with Python 3.9, this ver
Hi Tom,
Tom Kent gmail.com> writes:
>
> I'm getting an error output when I call the C-API's Py_Finalize() from a
different C-thread than I made a
> python call on.
Can you please post a bug on https://bugs.python.org ?
Be sure to upload your example there.
Thank you
Antoine.
--
https://ma
Christian Heimes python.org> writes:
>
> The article doesn't state if the writer is referring to virtual memory
> or resident set size.
Actually the article mentions the following recipe:
resource.getrusage(resource.RUSAGE_SELF).ru_maxrss
which means the author is probably looking at residen
Hello,
Croepha gmail.com> writes:
>
> Question:
>
> Does python in general terms (apart from extensions or gc manipulation),
exhibit a "high water" type leak of allocated memory in recent python
versions (2.7+)?
It is not a leak. It is a quite common pattern of memory fragmentation.
The artic
Hi,
Chris Angelico gmail.com> writes:
>
> On Tue, Sep 9, 2014 at 5:04 AM, Travis Griggs
gmail.com> wrote:
> > Does anyone have experience with using newer versions of python debian
packages (in particular, python3
> and python3-bson-ext from ‘testing’) on older stable versions (‘wheezy’ in
thi
kjs riseup.net> writes:
>
> I have come to believe that the growing number of weakrefs is slowing
> down execution. Is my analysis misguided? How can I introspect further?
> If the slowdown can be attributed to weakref escalation, what are some
> next steps?
The way to analyze this is to build s
Hi,
ISE Development gmail.com> writes:
> 'code' object 'function' object
>
> co_name: test __qualname__: test
> co_name: T__qualname__: T
> co_name: method __qualname__: test..T.method
>
> The second call corresponds to th
Hello,
I am announcing the release of pathlib 1.0.1. This version makes pathlib
Python 2.6-compatible. Note that 2.6 compatibility may not have been as
well tested as more recent Python versions (especially on non-Unix
platforms).
As a reminder, the standalone (PyPI) version of pathlib will no
Terry Reedy udel.edu> writes:
>
> On 5/13/2014 8:53 PM, Ethan Furman wrote:
> > On 05/13/2014 05:10 PM, Steven D'Aprano wrote:
> >> On Tue, 13 May 2014 10:08:42 -0600, Ian Kelly wrote:
> >>
> >>> Because Python 3 presents stdin and stdout as text streams however, it
> >>> makes them more difficul
Grant Edwards invalid.invalid> writes:
>
> Experiments show that when calling ssl.wrap_socket() I have to specify
> ssl_version=PROTOCOL_TLSv1 to avoid the above error.
>
> How do I tell imaplib to use TLS1 instead of SSL3?
Use Python 3 and pass the ssl_context parameter to IMAP_SSL:
https://do
Oh, and of course it is published on PyPI:
https://pypi.python.org/pypi/pathlib/
Regards
Antoine.
--
https://mail.python.org/mailman/listinfo/python-list
Hello,
I am announcing the release of pathlib 1.0. This version brings pathlib
up to date with the official Python 3.4 release, and also fixes a couple of
2.7-specific issues. Detailed changelog can be found further below.
In the future, I expect the standalone (PyPI) version of pathlib to re
Hi,
Felix Yan gmail.com> writes:
>
> A minimized snippet to reproduce:
>
> #!/usr/bin/python
> import threading
> def stale():
> import time
> time.sleep(1000)
> t = threading.Thread(target=stale)
> t.start()
> t._stop()
>
> This works correctly with Python 3.3, the program exits imme
Chris Angelico gmail.com> writes:
>
> It's not strictly an implementation detail, beyond that there are
> certain optimizations. For instance...
>
> > For CPython 3.4 I guess strings and other atomic types such as ints are
> > not, as well as raw object() instances. Custom class instances on t
Sturla Molden gmail.com> writes:
>
> Antoine Pitrou pitrou.net> wrote:
>
> > Yes, why use a library when you can rewrite it all yourself?
>
> This assumes something equivalent to the library will have to be written.
> But if it can be replaced with somethin
Sturla Molden gmail.com> writes:
>
> Chris Withers simplistix.co.uk> wrote:
> > Hi All,
> >
> > I see python now has a plethora of async frameworks and I need to try
> > and pick one to use from:
> >
> > - asyncio/tulip
> > - tornado
> > - twisted
>
> I'd go for using iocp, epoll and kqueue/
Chris Withers simplistix.co.uk> writes:
>
> The protocols are all financial (do we really not have a pure-python FIX
> library?!) but none are likely to have existing python implementations.
If you are mostly writing protocol implementations (aka parsers and
serializers), then you should consid
Hi,
Mark Summerfield qtrac.plus.com> writes:
>
> My guess is that on Debian, the packagers install a full SQLite 3 and the
Python package uses that. But on
> Windows I think the Python packagers bundle their own SQLite (quite
rightly since it might not already be installed).
>
> I'd like the W
Terry Reedy udel.edu> writes:
>
> On 1/6/2014 11:29 AM, Antoine Pitrou wrote:
>
> > People don't use? According to available figures, there are more
downloads of
> > Python 3 than downloads of Python 2 (Windows installers, mostly):
> > http://www.python.org/we
Mark Lawrence yahoo.co.uk> writes:
> [...]
>
> And as I started this thread, I'll say what I please, throwing my toys
> out of my pram in just the same way that your pal Armin is currently doing.
I'll join Ned here: please stop it. You are doing a disservice to
everyone.
Thanks in advance
An
Ned Batchelder nedbatchelder.com> writes:
>
>
> I never said they were the whole community, of course. But they are not
> outliers either. By your own statistics above, 23% of respondents think
> Python 3 was a mistake. Armin and Kenneth are just two very visible
> people.
Indeed, they are
Chris Angelico gmail.com> writes:
>
> On Tue, Jan 7, 2014 at 3:29 AM, Antoine Pitrou pitrou.net>
wrote:
> > People don't use? According to available figures, there are more
downloads of
> > Python 3 than downloads of Python 2 (Windows installers, mostly):
>
Ned Batchelder nedbatchelder.com> writes:
>
> You can look through his problems and decide that he's "wrong," or that
> he's "ranting," but that doesn't change the fact that Python 3 is
> encountering friction. What happens when a significant fraction of your
> customers are "wrong"?
Well, y
On Sun, 05 Jan 2014 08:22:38 -0500
Ned Batchelder wrote:
> On 1/5/14 8:14 AM, Mark Lawrence wrote:
> > http://lucumr.pocoo.org/2014/1/5/unicode-in-2-and-3/
> >
> > Please don't shoot the messenger :)
> >
>
> With all of the talk about py 2 vs. py3 these days, this is the blog
> post that I think
Hi,
Robin Becker reportlab.com> writes:
>
> For fairly sensible reasons we changed the internal default to use unicode
> rather than bytes. After doing all that and making the tests compatible
etc etc
> I have a version which runs in both and passes all its tests. However, for
> whatever rea
Steven D'Aprano pearwood.info> writes:
>
> I expect that as excuses for not migrating get fewer, and the deadline for
> Python 2.7 end-of-life starts to loom closer, more and more haters^W
> Concerned People will whine about the lack of version 2.8 and ask for
> *somebody else* to fork Python.
>
Hello,
As you may know, pathlib has recently been accepted for inclusion into
the Python 3.4 standard library. You can view the new module's
documentation here: http://docs.python.org/dev/library/pathlib.html
As part of the inclusion process, many API changes were done to the
original pathlib A
Zero Piraeus etiol.net> writes:
>
> I don't believe that killfiles are a sufficient response in this
> situation.
>
> I can, of course, stop Nikos' posts reaching me, and without too much
> hassle also stop replies to his posts reaching me. He would, however,
> continue to pollute the list in pu
Steven D'Aprano pearwood.info> writes:
>
> On Fri, 25 Oct 2013 21:36:42 +0100, Mark Lawrence wrote:
>
> > Mind you, the thought of a bot with a Ph.D. is mind boggling.
>
> You can buy degrees on the Internet quite cheaply:
>
> http://en.wikipedia.org/wiki/List_of_animals_with_fraudulent_diplom
> gmail.com> writes:
>
> I am starting to have doubts as to whether Python 3.x will ever be
actually adopted by the Python community at
> large as their standard.
We're planning to start the switch on 25th December 2013, 14h UTC.
It should be finished at most 48 hours later. You should expect so
Steven D'Aprano pearwood.info> writes:
>
> On Tue, 22 Oct 2013 08:55:15 +, Antoine Pitrou wrote:
>
> > If you don't implement exec() and eval() then people won't be able to
> > use namedtuples, which are a common datatype factory.
>
> Philip
Philip Herron googlemail.com> writes:
>
> Its interesting a few things come up what about:
>
> exec and eval. I didn't really have a good answer for this at my talk at
PYCon IE 2013 but i am going to say no. I am
> not going to implement these. Partly because eval and exec at least to me
are mos
Steven D'Aprano pearwood.info> writes:
>
> I don't consider either of these solutions to be satisfactory. If you
> agree, I urge you to try it out for yourself, and then leave a comment on
> the bug tracker asking for tab completion to still insert tabs at the
> beginning of the line:
Such a
Hello,
I'm pleased to announce the first release of Obelus, a MIT-licensed
library to interact with Asterisk using the AMI and AGI protocols.
This is version 0.1, and as such some APIs are a bit draftish and not
guaranteed to be stable accross future releases. Also, documentation is
far from ex
Le Mon, 9 Sep 2013 14:30:50 +0200,
Victor Stinner a écrit :
> 2013/9/9 Larry Hastings :
> > Python 3.4 includes a range of improvements of the 3.x series,
> > including hundreds of small improvements and bug fixes. Major new
> > features and changes in the 3.4 release series so far include:
> >
>
Le Mon, 9 Sep 2013 08:16:06 -0400,
Brett Cannon a écrit :
> On Mon, Sep 9, 2013 at 8:02 AM, Larry Hastings
> wrote:
>
> >
> > On behalf of the Python development team, I'm chuffed to announce
> > the second alpha release of Python 3.4.
> >
> > This is a preview release, and its use is not recomm
Jack Bates nottheoilrig.com> writes:
> >
> > An alternative is to use multiprocessing.Pipe():
> > http://docs.python.org/3.3/library/multiprocessing.html#multiprocessing.Pipe
> >
> > In any case, Python doesn't lack facilities for doing what you want.
>
> Thank you for your help, I need to sati
Nobody nowhere.com> writes:
>
> On Tue, 13 Aug 2013 16:10:41 -0700, Jack Bates wrote:
>
> > Is there anything like os.pipe() where you can read/write both ends?
>
> There's socket.socketpair(), but it's only available on Unix.
>
> Windows doesn't have AF_UNIX sockets, and anonymous pipes (like
Frank Millman chagford.com> writes:
>
> Thanks for that, Antoine. It is an improvement over tobytes(), but i am
> afraid it is still not ideal for my purposes.
I would suggest asking the psycopg2 project why they made this choice, and
if they would reconsider. Returning a memoryview doesn't mak
Frank Millman chagford.com> writes:
>
> I have some binary data (a gzipped xml object) that I want to store in a
> database. For PostgreSQL I use a column with datatype 'bytea', which is
> their recommended way of storing binary strings.
>
> I use psycopg2 to access the database. It returns bi
Le Mon, 29 Jul 2013 00:55:53 -0700,
Ethan Furman a écrit :
> Excerpt from http://meta.stackoverflow.com/q/190442/176681:
>
> Janrain no longer actively supports MyOpenID, and announced on
> Twitter that their users should proceed with caution.
>
> This decision was made by Janrain, [snip]
>
> I
gmail.com> writes:
>
> Hi:
>
>Previously, we found that our python scripts consume too much memory.
So I use
python's resource module to
> restrict RLIMIT_AS's soft limit and hard limit to 200M.
> On my RHEL5.3(i386)+python2.6.2, it works OK. But on CentOS
6.2(x86_64)+python2.6.6, it repor
Joshua Landau landau.ws> writes:
>
> > The same with Unicode. We hate French people,
>
> And for good damn reason too. They're ruining our language, á mon avis.
We do!
Regards
Antoine.
--
http://mail.python.org/mailman/listinfo/python-list
Benedict Verheyen gmail.com> writes:
>
> Hi,
>
> for a project, I need to post data to some aspx pages.
> The aspx pages are hosted by another company.
> I develop on a virtual Debian Wheezy (Virtual box) running on Windows.
> I couldn't get the code to run either on Windows nor Linux.
>
> On m
Roy Smith panix.com> writes:
>
> Every line which contains 'ENQ' also matches the full regex (61425
> lines match, out of 2.1 million total). I don't understand why the
> first way is so much slower.
One invokes a fast special-purpose substring searching routine (the
str.__contains__ operator),
Hi,
Wolfgang Maier biologie.uni-freiburg.de> writes:
>
> Dear all,
> I was just experimenting for the first time with os.posix_fadvise(), which
> is new in Python3.3 . I'm reading from a really huge file (several GB) and I
> want to use the data only once, so I don't want OS-level page caching.
Dan Stromberg gmail.com> writes:
>
> What kind of ordered dictionaries? Sorted by key.
Calling them "sorted dictionaries" avoids any confusions with Python's
standard OrderedDict class:
http://docs.python.org/3.3/library/collections.html#ordereddict-objects
Regards
Antoine.
--
http://mail.
rusi gmail.com> writes:
>
> Just what I said: ecosystem matters. We may or may not argue about
> "more than language", but it surely matters. Some examples:
>
> 1. In the link that Roderick originally posted there is a long comment
> that adds perl to the languages the author discussed. As a la
rusi gmail.com> writes:
>
> Hmm I see some cut-paste goofup on my part.
> I was meaning to juxtapose this thread where we put up with inordinate
> amount of nonsense from OP
> along with the recent thread in which a newcomer who thinks he has
> found a bug in pdb is made fun of.
>
> Then thought
Nick Gnedin gmail.com> writes:
> I expect it to behave the same way as if I was running it as a
> standalone program. On Windows this is indeed the case, but on my Linux
> box (Python 3.3.1 (default, Apr 8 2013, 22:33:31) [GCC 4.1.2 20080704
> (Red Hat 4.1.2-51)]) I get a different behavior in
Dave Angel davea.name> writes:
>
> Note he didn't say the python buffers would be flushed. It's the OS
> buffers that are flushed.
Now please read my message again. The OS buffers are *not* flushed according
to POSIX.
--
http://mail.python.org/mailman/listinfo/python-list
pathlib 0.8 has been released at https://pypi.python.org/pypi/pathlib/
Changes
---
- Add PurePath.name and PurePath.anchor.
- Add Path.owner and Path.group.
- Add Path.replace().
- Add Path.as_uri().
- Issue #10: when creating a file with Path.open(), don't set the executable
bit.
- Issue
Grant Edwards invalid.invalid> writes:
>
> > I assume that the memory used by the Python process will be reclaimed
> > by the operating system, but other resources such as opened files may
> > not be.
>
> All open files (including sockets, pipes, serial ports, etc) will be
> flushed (from an OS
W. Martin Borgert debian.org> writes:
> >
> > There is already the ssl_context option for that:
> > http://docs.python.org/3.3/library/imaplib.html#imaplib.IMAP4_SSL
>
> Many thanks! Two more questions:
>
> 1. Is there any plan to backport this Python >= 3.3 feature to
> Python 2?
No, we
Steven D'Aprano pearwood.info> writes:
>
> I just quit an interactive session using Python 2.7 on Linux. It took in
> excess of twelve minutes to exit, with the load average going well past 9
> for much of that time.
>
> I think the reason it took so long was that Python was garbage-collecting
Steven D'Aprano pearwood.info> writes:
>
> On Wed, 27 Feb 2013 13:26:18 +, Antoine Pitrou wrote:
>
> > For the record, binary files are thread-safe in Python 3, but text files
> > are not.
>
> Where is this documented please?
In the documentation, of c
Jens Thoms Toerring toerring.de> writes:
>
> Paul Rubin nospam.invalid> wrote:
> > jt toerring.de (Jens Thoms Toerring) writes:
> > > in garbled output (i.e. having some output from A inside a
> > > line written by B or vice versae) because the "main thread" or
>
> > Yes they do get garbled li
Mitya Sirenef lightbird.net> writes:
> I think the issue with python documentation is that it ignores the 95/5
> rule: 95% of people who land on a module's page are only looking for 5%
> of its information.
The 95/5 rule is generally a fallacy which ignores that the 5% which the
readers are expec
Steven D'Aprano pearwood.info> writes:
>
> It is valuable to contrast and compare the PHP and Python docs:
>
> http://php.net/manual/en/index.php
> http://www.python.org/doc/
I suppose you should compare it with http://docs.python.org/3/ instead.
> There's no doubt that one of PHP's strengths,
W. Martin Borgert debian.org> writes:
>
> When I add an ssl_version argument to the call to
> ssl.wrap_socket() in imaplib.IMAP4_SSL.open(), I can connect to
> the Exchange server without problems:
>
> self.sslobj = ssl.wrap_socket(self.sock, self.keyfile, self.certfile,
>
Steven D'Aprano pearwood.info> writes:
>
> A programmer had a problem, and thought Now he has "I know, I'll solve
> two it with threads!" problems.
Host: Last week the Royal Festival Hall saw the first performance of a new
logfile by one of the world's leading modern programmers, Steven
"Two t
Jonathan Hayward pobox.com> writes:
>
> What needs changing here and how should I change it so that handle_signal()
> is called and then things keep on ticking?
So that it is called when exactly? Your message isn't clear as to what isn't
working for you.
Regards
Antoine.
--
http://mail.pyt
Andrew Robinson r3dsolutions.com> writes:
>
> When Python3.2 is running, is there an easy way within Python to capture
> the *total* amount of heap space the program is actually using (eg:real
> memory)?
I'm not sure what you mean with "real memory" or how precise you want that
measurement t
Hello,
Christophe Vandeplas vandeplas.com> writes:
>
> From the documentation I understand that deques are thread-safe:
> > Deques are a generalization of stacks and queues (the name is pronounced
“deck”
> > and is short for “double-ended queue”). Deques support thread-safe, memory
> > efficie
Hello,
Wayne Werner waynewerner.com> writes:
>
> So... curiouser and curiouser - it looks like it's not *actually* execve's
> fault after all. I just compiled the code from the man page, tweaked it to
> run 'hg root', and passed it a new environment. No problems. Well, then I
> manually call
css322 gmail.com> writes:
>
> (1) A worker thread calls Py_AddPendingCall and assigns a handler function.
> (2) When the Python interpreter runs, it calls the handler function whenever
it yields control to another thread
Not exactly. As the documentation says: "If successful, func will be called
Chris Angelico gmail.com> writes:
>
> On Wed, Sep 5, 2012 at 5:16 AM, Terry Reedy udel.edu> wrote:
> > io.open depends on a function the returns an open file descriptor. opener
> > exposes that dependency so it can be replaced.
>
> I skimmed the bug report comments but didn't find an answer to
Laszlo Nagy shopzeus.com> writes:
>
> There are just so many IPC modules out there. I'm looking for a solution
> for developing a new a multi-tier application. The core application will
> be running on a single computer, so the IPC should be using shared
> memory (or mmap) and have very short
gmail.com> writes:
>
> Pick up a random text and see the probability this
> text match the most optimized case 1 char / 1 byte,
> practically never.
Funny that you posted a text which does just that:
http://mail.python.org/pipermail/python-list/2012-August/629554.html
> In a funny way, this is
Ramchandra Apte gmail.com> writes:
>
> The zen of python is simply a guideline
What's more, the Zen guides the language's design, not its implementation.
People who think CPython is a complicated implementation can take a look at
PyPy
:-)
Regards
Antoine.
--
Software development and contr
Hello,
Gustavo Baratto gmail.com> writes:
>
> SSL.Socket.getpeercert() doesn't return essential information present in the
> client certificate (issuer, serial number, not before, etc), and it looks it
> is
> by design:
It does, in Python 3.2:
http://docs.python.org/py3k/library/ssl.html#clie
J gmail.com> writes:
>
> Now, the problem I have is that linux tends to buffer data writes to a
> device, and I want to work around that. When run in normal non-stress
> mode, the program is slow enough that the linux buffers flush and put
> the file on disk before the hash occurs. However, whe
bucket.org/pitrou/pathlib/
Regards
Antoine Pitrou.
--
Software development and contracting: http://pro.pitrou.net
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
Thiébaud Weksteen weksteen.fr> writes:
>
> I wrote a patch for Python 3.2.3 to expose the function
> SSL_CTX_set_msg_callback in the module _ssl.
>
[...]
>
> Let me know your opinion on that. Does it worth being included?
Yes, it sounds useful. Your patch will have to be written against
Simon Pirschel abusix.org> writes:
>
> Hi,
> I'm currently experimenting with IMAP using Python 2.7.3 and IMAP4
> from imaplib. I noticed the performance to be very bad. I read 5000
> files from a directory and append them to an IMAP INBOX. The hole
> procedure of reading and
Roy Smith panix.com> writes:
>
> What's the smallest/cheapest/lowest-power hardware platform I can run
> Python on today? I'm looking for something to use as a hardware
> controller in a battery-powered device and want to avoid writing in C
> for this project.
It depends *which* Python. Comp
Alek Storm gmail.com> writes:
>
> Connecting with either Firefox 11 or Chrome (which both support NPN) causes
> this to print None, rather than a protocol name. What's going on?
Ok, I've just tried with Firefox 11. You have to go in "about:config" and set
"network.http.spdy.enabled" to true. The
Hello,
Eric Frederich gmail.com> writes:
>
> 1)Is calling Py_Initialize twice correct, or will I run into other problems
> down the road?
It's fine in practice (spurious calls are ignored).
> I am not sure if there is a mechanism to get something called at the end of
the
> user's session wit
Hello,
Sophie Sperner gmail.com> writes:
>
> Let me ask here please. I'm a first-year PhD student in Ireland. My
> background is in mathematics, though I'm going to stream my career
> into programming with Python, Java and C++ languages. I have some good
> experience with C++ what allowed me to
On Fri, 21 Jan 2011 22:59:33 +
"McNutt Jr, William R" wrote:
> I am attempting to install Mailman on a Sun Sunfire x4100 box running Solaris
> ten. I keep running into brick walls that the Mailman group looks at, shrugs,
> and says, that's a Python problem.
>
> Has ANYBODY actually made thi
On 20 Jan 2011 17:20:14 GMT
Helmut Jarausch wrote:
> Thanks Robert,
> probably I wasn't too clear about my issue.
> I couldn't "print" any non-ascii character to my console although
> my console has an en_US.iso88591 locale.
Well, if you want a correct answer, you should paste actual code as
well
On Wed, 19 Jan 2011 19:18:49 + (UTC)
Tim Harig wrote:
> On 2011-01-19, Antoine Pitrou wrote:
> > On Wed, 19 Jan 2011 18:02:22 + (UTC)
> > Tim Harig wrote:
> >> Converting to a fixed byte
> >> representation (UTF-32/UCS-4) or separating all of the byte
On Wed, 19 Jan 2011 18:02:22 + (UTC)
Tim Harig wrote:
> On 2011-01-19, Antoine Pitrou wrote:
> > On Wed, 19 Jan 2011 16:03:11 + (UTC)
> > Tim Harig wrote:
> >>
> >> For many operations, it is just much faster and simpler to use a single
> >> c
On Wed, 19 Jan 2011 08:30:12 -0800 (PST)
jmfauth wrote:
> Yes, I can launch a pyc, when I have a single file.
> But what happens, if one of your cached .pyc file import
> a module with a name as defined in the parent directory?
> The machinery is broken. The parent dir is not in the
> sys.path.
W
On Wed, 19 Jan 2011 16:03:11 + (UTC)
Tim Harig wrote:
>
> For many operations, it is just much faster and simpler to use a single
> character based container opposed to having to process an entire byte
> stream to determine individual letters from the bytes or to having
> adaptive size contai
On 19 Jan 2011 14:42:14 GMT
Steven D'Aprano wrote:
> On Tue, 18 Jan 2011 00:58:14 -0800, jmfauth wrote:
>
> > It is now practically impossible to launch a Python application via a
> > .pyc file.
>
>
> When has that ever been possible?
>
>
> .pyc files are Python byte-code. You can't run them
On Wed, 19 Jan 2011 14:00:13 + (UTC)
Tim Harig wrote:
>
> - Q: Can a UTF-8 data stream contain the BOM character (in UTF-8 form)? If
> - yes, then can I still assume the remaining UTF-8 bytes are in big-endian
> ^^
> - or
On Wed, 19 Jan 2011 11:34:53 + (UTC)
Tim Harig wrote:
> That is why the FAQ I linked to
> says yes to the fact that you can consider UTF-8 to always be in big-endian
> order.
It certainly doesn't. Read better.
> Essentially all byte based data is big-endian.
This is pure nonsense.
--
htt
On Tue, 18 Jan 2011 10:33:45 -0800 (PST)
rantingrick wrote:
>
> On Jan 18, 11:56 am, Antoine Pitrou wrote:
> > On Tue, 18 Jan 2011 09:10:48 -0800 (PST)
> >
> > rantingrick wrote:
> >
> > > Well don't get wrong i want to join in --not that i have a
On Tue, 18 Jan 2011 09:10:48 -0800 (PST)
rantingrick wrote:
>
> Well don't get wrong i want to join in --not that i have all the
> solutions--
Take a look at http://docs.python.org/devguide/#contributing
--
http://mail.python.org/mailman/listinfo/python-list
On Mon, 17 Jan 2011 21:20:48 -0800 (PST)
Raymond Hettinger wrote:
> On Jan 17, 6:51 pm, nn wrote:
> > ...But the api on this baffles me a bit:
> >
> > >>> d = OrderedDict.fromkeys('abcde')
> > >>> d.move_to_end('b', last=False)
> > >>> ''.join(d.keys)
> >
> > 'bacde'
> >
> > I understand that "en
On Mon, 17 Jan 2011 14:19:13 -0800 (PST)
carlo wrote:
> Is it true UTF-8 does not have any "big-endian/little-endian" issue
> because of its encoding method?
Yes.
> And if it is true, why Mark (and
> everyone does) writes about UTF-8 with and without BOM some chapters
> later? What would be the
On Mon, 17 Jan 2011 11:08:52 -0800 (PST)
AlexLBasso wrote:
> I am recruiting for a 9 month contract (with contract extension
> potential) for a company in North Austin.
Please post on the job board instead:
http://python.org/community/jobs/
Thank you
Antoine.
--
http://mail.python.org/mailma
On Fri, 14 Jan 2011 06:29:27 -0800 (PST)
leoboiko wrote:
>
> And it generally doesn’t try to pick good places to break lines
> at all, just making the assumption that 1 character = 1 column
> and that breaking on ASCII whitespaces/hyphens is enough. We
> can’t really blame textwrap for that, it
On 14 Jan 2011 22:10:02 GMT
Steven D'Aprano wrote:
>
> This is good, helpful advice, and far more useful to the OP than just
> ignoring his post. You have jumped to his defense (or rather, you have
> jumped to criticise me) but I see that you haven't replied to his
> question or given him any
Hey,
On 14 Jan 2011 16:07:12 GMT
Steven D'Aprano wrote:
>
> > I also see no reason to reply to a simple question with such
> > discourtesy, and cannot understand why someone would be so aggressive to
> > a stranger.
>
> If you think my reply was aggressive and discourteous, you've got a lot
>
On Wed, 5 Jan 2011 11:27:02 -0500
Eric Frederich wrote:
> I have read through all the documentation here:
>
> http://docs.python.org/extending/newtypes.html
>
> I have not seen any documentation anywhere else explaining how to
> create custom defined objects from C.
> I have this need to cre
On Mon, 3 Jan 2011 16:17:00 -0800 (PST)
Alex Willmer wrote:
> I've created a spreadsheet that compares the built ins, features and modules
> of the CPython releases so far. For instance it shows:
A couple of errors:
- BufferError is also in 3.x
- IndentationError is also in 3.x
- object is also
On 31 Dec 2010 04:20:59 GMT
Steven D'Aprano wrote:
> On Thu, 30 Dec 2010 23:04:33 -0500, Robert wrote:
>
> > The
> > second way the Tcl community irks me is the "not invented here"
> > attitude. I like the syntax of Tcl and I like the community. They are
> > some good folks. Try asking "I want to
On Wed, 22 Dec 2010 09:35:48 -0500
Adam Tauno Williams wrote:
>
> IMO, the "object model" isn't "leaky", it is simply "adhoc" and not
> really a "model" at all [write as many 800 page books as you want: if it
> walks like a zombie duck, smells like a zombie duck - it is still a
> zombie duck]. P
1 - 100 of 284 matches
Mail list logo