Well, what got me interested in Python was the fact that it had support for
reading mail files and for the curses library. When I found out there was a
need for folks to work on this module I thought I would start contributing,
I would love to become a primary maintainer of this particular module
Bill Janssen wrote:
Bill Janssen wrote:
Dan Mahn wrote:
3) Regarding the following code fragment in urlencode():
k = quote_plus(str(k))
if isinstance(v, str):
v = quote_plus(v)
l.append(k + '=' + v)
Bill Janssen wrote:
> Dan Mahn wrote:
>
> > 3) Regarding the following code fragment in urlencode():
> >
> >k = quote_plus(str(k))
> > if isinstance(v, str):
> >v = quote_plus(v)
> >l.append(k + '=' + v)
> >elif isinstance(v, st
Dan Mahn wrote:
> 3) Regarding the following code fragment in urlencode():
>
>k = quote_plus(str(k))
> if isinstance(v, str):
>v = quote_plus(v)
>l.append(k + '=' + v)
>elif isinstance(v, str):
># is there a reason
> Do Python 2.6 and 3.0 support building with Tcl/Tk 8.5?
Yes, that works fine. The Windows binaries ship with 8.5,
and there weren't any complaints (in this respect).
Regards,
Martin
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python
Hi. I've been using Py3K successfully for a while now, and have some
questions about urlencode().
1) The docs mention that items sent to urlencode() are quoted using
quote_plus(). However, instances of type "bytes" are not handled like
they are with quote_plus() because urlencode() converts
On Sat, Feb 28, 2009 at 09:53:10PM +1000, Nick Coghlan wrote:
> Is pydotorg-www still the place for website questions?* If so, I should
> probably take this over there...
Just 'pydotorg' is the current list
(http://mail.python.org/mailman/listinfo/pydotorg).
Looking at the access logs, mail.pytho
Guido van Rossum wrote:
On Mon, Feb 23, 2009 at 3:16 PM, "Martin v. Löwis" wrote:
Don't I remember the previous restricted module dying a similar "death
of 1,000 cuts" before it was concluded to be unsafe at any height and
abandoned?
I think you are slightly misremembering. It got cu
On 27 Feb, 2009, at 1:57, Ned Deily wrote:
In article ,
"Russell E. Owen" wrote:
I want to follow up on this a bit. In the past if the Mac Python
installer was built on a machine that did NOT have a locally
installed
Tcl/Tk then it would fail to work with a locally installed Tcl/Tk:
Python
Victor Stinner wrote:
About m.read_byte(), we have two choices:
(a) Py_BuildValue("b", value) => 0
(b) Py_BuildValue("y#", &value, 1) => b"\x00"
About m.write_byte(x), we have also two choices:
(a) PyArg_ParseTuple(args, "b:write_byte", &value): write_byte(0)
(b) PyArg_ParseTuple(args, "y#:
Le Saturday 28 February 2009 15:06:38 Hirokazu Yamamoto, vous avez écrit :
> I greped py3k source tree with "c", I found another Py_BuildValue("c" in
> curse module. But this function returns unicode in else clause, so
> probably this is correct usage.
I used different regex on to catch "...c..."
About m.read_byte(), we have two choices:
(a) Py_BuildValue("b", value) => 0
(b) Py_BuildValue("y#", &value, 1) => b"\x00"
About m.write_byte(x), we have also two choices:
(a) PyArg_ParseTuple(args, "b:write_byte", &value): write_byte(0)
(b) PyArg_ParseTuple(args, "y#:write_byte", &value, &len
It certainly seems like mmap should be playing in an all-bytes world
(where only already encoded strings are allowed).
Agreed.
On the specific
question of whether it would be better for read_byte()/write_byte to use
1-length bytes objects or integers, I have no strong opinion (the former
is cl
On Sat, Feb 28, 2009 at 10:37:09AM +, Antoine Pitrou wrote:
> have the following HTML tag in them:
>
> which explicitly instructs Web spiders *not* to index contents nor follow
> links.
I believe this makes spiders not index this page, but does follow
links. Individual messages have "in
Nick Coghlan gmail.com> writes:
>
> >
> > which explicitly instructs Web spiders *not* to index contents nor follow
links.
>
> That's not quite true - that meta tag says not to index the current
> page, but *do* follow the links to other pages. The archive page and the
> monthly summary pa
Hirokazu Yamamoto wrote:
> Hello. I noticed mmap.read_byte returns 1-length unicode on py3k. I felt
> this was strange, so I created issue on bug tracker
> (http://bugs.python.org/issue5391) and Martin proposed this is suitable
> for discussion on python-dev. I'll quote messages on bug tracker here
Antoine Pitrou wrote:
> Georg Brandl gmx.net> writes:
>> Guido van Rossum schrieb:
>>> I think the better syntax would be to add site:mail.python.org to the
>>> query, but you're right, that doesn't seem to find recent messages.
>>> Maybe the absence of a robots.txt file on mail.python.org could b
Hello. I noticed mmap.read_byte returns 1-length unicode on py3k. I felt
this was strange, so I created issue on bug tracker
(http://bugs.python.org/issue5391) and Martin proposed this is suitable
for discussion on python-dev. I'll quote messages on bug tracker here.
I wrote:
On Python3000, m
Georg Brandl gmx.net> writes:
>
> Guido van Rossum schrieb:
> > I think the better syntax would be to add site:mail.python.org to the
> > query, but you're right, that doesn't seem to find recent messages.
> > Maybe the absence of a robots.txt file on mail.python.org could be a
> > partial explan
Guido van Rossum schrieb:
> I think the better syntax would be to add site:mail.python.org to the
> query, but you're right, that doesn't seem to find recent messages.
> Maybe the absence of a robots.txt file on mail.python.org could be a
> partial explanation?
Doesn't the absence of a robots.txt
20 matches
Mail list logo