On Tue, 16 Apr 2013 12:20:18 -0600, Ian Kelly wrote:
This isn't a Python question. If you take a look at the csv file that
you download from Yahoo, you will see that it only contains 2 digits of
precision. There's no way to make Python print out 4 digits of
precision when it is only
On Tue, 16 Apr 2013 15:38:29 -0700, Mark Janssen wrote:
On Mon, Apr 15, 2013 at 3:32 PM, Chris Angelico ros...@gmail.com
wrote:
On Tue, Apr 16, 2013 at 8:12 AM, Rotwang sg...@hotmail.co.uk wrote:
Traceback (most recent call last):
File pyshell#2, line 1, in module
class C(type(lambda:
Τη Κυριακή, 14 Απριλίου 2013 12:28:32 μ.μ. UTC+3, ο χρήστης Cameron Simpson
έγραψε:
On 13Apr2013 23:00, nagia.rets...@gmail.com nagia.rets...@gmail.com wrote:
| root@nikos [/home/nikos/public_html/foo-py]# pwd
| /home/nikos/public_html/foo-py
| root@nikos
On Wed, Apr 17, 2013 at 4:40 PM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
On Tue, 16 Apr 2013 15:38:29 -0700, Mark Janssen wrote:
(Note this contrasts starkly with Java(script), which doesn't seem
to be based on anything -- can anyone clarify where Java actually comes
On Wed, Apr 17, 2013 at 12:23 AM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
On Tue, 16 Apr 2013 12:20:18 -0600, Ian Kelly wrote:
This isn't a Python question. If you take a look at the csv file that
you download from Yahoo, you will see that it only contains 2 digits of
On Wed, Apr 17, 2013 at 4:56 PM, nagia.rets...@gmail.com wrote:
can you help please or tell me what else i need to try?
You need to try trimming quoted text in replies, not double-spacing,
and paying for help.
ChrisA
--
http://mail.python.org/mailman/listinfo/python-list
On Tue, Apr 16, 2013 at 11:40 PM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
On Tue, 16 Apr 2013 15:38:29 -0700, Mark Janssen wrote:
snip
(Note this contrasts starkly with Java(script), which doesn't seem
to be based on anything -- can anyone clarify where Java actually
On Tue, Apr 16, 2013 at 8:57 PM, Bruce McGoveran
bruce.mcgove...@gmail.com wrote:
These are terms that appear in section 5 (Expressions) of the Python online
documentation. I'm having some trouble understanding what, precisely, these
terms mean. I'd appreciate the forum's thoughts on these
ANNOUNCING
eGenix.com mx Base Distribution
mxDateTime, mxTextTools, mxProxy, mxURL, mxUID,
mxBeeBase, mxStack, mxQueue, mxTools
Version 3.2.6
On Wed, Apr 17, 2013 at 4:56 PM, nagia.rets...@gmail.com wrote:
can you help please or tell me what else i need to try?
You need to try trimming quoted text in replies, not double-spacing,
and paying for help.
ChrisA
--
http://mail.python.org/mailman/listinfo/python-list
On Tue, 16 Apr 2013 15:19:25 -0700, Bruce McGoveran wrote:
Hello. I am new to this group. I've done a search for the topic about
which I'm posting, and while I have found some threads that are
relevant, I haven't found anything exactly on point that I can
understand. So, I'm taking the
Steven D'Aprano writes:
So paradoxically, that means that x or y counts as an and_test
(obviously!) but also as an or_test, since every and_test also
counts as an or_test. Here's some crappy ASCII art of a Venn diagram
I think you mean to say that x and y counts as an and_test and also
as an
rusi rustompmody at 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.
Hi everyone.
I have 3 grayscaled picture. These are Red, Green and Blue filtered.
I want to colorize it.
I'm a GNU/Linux user and I did it with imagemagick using this code:
convert r.png g.png b.png -set colorspace RGB -combine -set colorspace sRGB
rgb.gif
But I want to colorize it with using
Mark Janssen writes:
Having said that, theorists do want to unify concepts wherever possible
and wherever they make sense. Imperative programming types, which I
will call storage types, are semantically the same as classes.
I like that word storage type, it makes it much clearer what
On Tue, 16 Apr 2013 12:02:01 -0400, Rodrick Brown wrote:
I came across this article which sums up some of the issues I have with
modern programming languages. I've never really looked at Javascript for
anything serious or Node itself but I found this article really
informational.
The
On Wed, 17 Apr 2013 11:47:49 +0300, Jussi Piitulainen wrote:
Steven D'Aprano writes:
So paradoxically, that means that x or y counts as an and_test
(obviously!) but also as an or_test, since every and_test also counts
as an or_test. Here's some crappy ASCII art of a Venn diagram
I think
Mark Janssen writes:
From: en.wikipedia.org: Programming_paradigm:
A programming paradigm is a fundamental style of computer
programming. There are four main paradigms: object-oriented,
imperative, functional and declarative. Their foundations are distinct
models of computation: Turing
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info writes:
On Wed, 17 Apr 2013 11:47:49 +0300, Jussi Piitulainen wrote:
Steven D'Aprano writes:
So paradoxically, that means that x or y counts as an and_test
(obviously!) but also as an or_test, since every and_test also counts
as
17.04.13 07:57, Larry Hudson написав(ла):
So using a list comprehension you can do it in two lines:
def get_rule(num):
bs = bin(num)[2:]
return [0] * (8 - len(bs)) + [int(i) for i in bs]
You can do it in one line!
def get_rule(num):
return list(map(int, '{:08b}'.format(num)))
Hello,
Thanks for all your replies, things are getting clearer.
- copy/paste vs retyping:
Several people have remarked that I had retyped instead of copy/pasting.
This is exactly what happened, the fact is I haven't figured out yet how to
enable copy/pasting from urxvt to vim.
I'll try to get
Dear Colleague,
We are pleased to inform you that the submission of abstracts for the
International Conference VipIMAGE 2013 - IV ECCOMAS THEMATIC CONFERENCE ON
COMPUTATIONAL VISION AND MEDICAL IMAGE PROCESSING (www.fe.up.pt/~vipimage) to
be held October 14-16, 2013, in Melia Madeira Mare
On 04/16/2013 10:57 PM, Bruce McGoveran wrote:
These are terms that appear in section 5 (Expressions) of the Python online
documentation. I'm having some trouble understanding what, precisely, these
terms mean. I'd appreciate the forum's thoughts on these questions:
3. Section 5.3.1
aaB mecagonoisic...@gmail.com writes:
- copy/paste vs retyping:
Several people have remarked that I had retyped instead of copy/pasting.
This is exactly what happened, the fact is I haven't figured out yet how to
enable copy/pasting from urxvt to vim.
I used to use rxvt, but since a while I
On Tue, 16 Apr 2013 19:57:25 -0700, Bruce McGoveran wrote:
These are terms that appear in section 5 (Expressions) of the Python
online documentation. I'm having some trouble understanding what,
precisely, these terms mean. I'd appreciate the forum's thoughts on
these questions:
1.
Op 16-04-13 18:49, Terry Jan Reedy schreef:
On 4/16/2013 5:07 AM, Antoon Pardon wrote:
Op 16-04-13 05:17, Terry Jan Reedy schreef:
I will keep the above in mind if I write or review a patch. here are 4
non-subclassable builtin classes. Two are already documented. Bool in
one, forget which
My
client.service.gere(ri)
method call logs the below soap response in my log file.
?xml version=1.0 encoding=utf-8 ?soapenv:Envelope xmlns:soapenv=
http://schemas.xmlsoap.org/soap/envelope/; xmlns:xsi=
http://www.w3.org/2001/XMLSchema-instance;soapenv:Bodyns1:gere
*I installed tornado and he is functional, but when I execute the following
script:*
import tornado.ioloop
import tornado.web
import cgi
class MainHandler(tornado.web.
RequestHandler):
form = cgi.FieldStorage() # parse form data
print('Content-type: text/html\n')
If you have trouble getting hold of The Essence of Algol, ...
There seems to be a downloadable copy at:
www.cs.cmu.edu/~crary/819-f09/Reynolds81.ps
It's in PostScript, which is easily convertible to PDF if you wish.
Nikhil
On Wed, Apr 17, 2013 at 5:30 AM, Uday S Reddy
On Apr 17, 5:25 am, aaB mecagonoisic...@gmail.com wrote:
- the complement thing:
I haven't yet tried to reproduce this, but I will, and I will post back if I
see
this happening again, this time with a real log of python's interactive
console,
or a complete script which people can use.
I'm trying to find a way to have json emit float('NaN') as 'N/A'.
No. There is no way to represent NaN in JSON. It's simply not part of the
specification.
I know that. I'm trying to emit the *string* 'N/A' for every NaN.
--
http://mail.python.org/mailman/listinfo/python-list
Renato Barbosa Pim Pereira renato.barbosa.pim.pere...@gmail.com
writes:
*I installed tornado and he is functional, but when I execute the following
script:*
I think this is the wrong place to ask such a question, more appropriate
would be http://groups.google.com/group/python-tornado
Anyway,
On 17.04.2013 11:30, Uday S Reddy wrote:
Mark Janssen writes:
From: en.wikipedia.org: Programming_paradigm:
A programming paradigm is a fundamental style of computer
programming. There are four main paradigms: object-oriented,
imperative, functional and declarative. Their foundations are
In c37a3b9c-6fe8-48aa-b703-9b4f922c3...@googlegroups.com Miki Tebeka
miki.teb...@gmail.com writes:
I'm trying to find a way to have json emit float('NaN') as 'N/A'.
No. There is no way to represent NaN in JSON. It's simply not part of the
specification.
I know that. I'm trying to emit
Serhiy Storchaka於 2013年4月17日星期三UTC+8下午5時35分07秒寫道:
17.04.13 07:57, Larry Hudson написав(ла):
So using a list comprehension you can do it in two lines:
def get_rule(num):
bs = bin(num)[2:]
return [0] * (8 - len(bs)) + [int(i) for i in bs]
You can do it in one
Steven D'Aprano, 17.04.2013 11:16:
If you look at the node.js site, the first thing that jumps out at me is
that the culture encourages churning out packages rather than encouraging
quality packages. The front page offers author recognition for being
prolific, but not for writing good code.
Thank you all for your thoughtful replies. I appreciate your collective
insight. I didn't mean to cast the concept of recursion in a negative light -
I'm actually comfortable with the concept, at least to some extent, and I
appreciate the need for its use in this documentation. I also
On Apr 17, 8:50 am, Ombongi Moraa Fe moraa.lovetak...@gmail.com
wrote:
how do I use xml.etree.ElementTree to print the parameters address and
deliveryStatus? Or is there a better python method?
I'm sure there are prettier ways to do this, but you can use XPath
syntax to find all of your
Am 17.04.2013 19:55, schrieb darnold:
On Apr 17, 8:50 am, Ombongi Moraa Fe moraa.lovetak...@gmail.com
wrote:
how do I use xml.etree.ElementTree to print the parameters address and
deliveryStatus? Or is there a better python method?
I'm sure there are prettier ways to do this, but you
On 4/17/2013 12:10 PM, 8 Dihedral wrote:
Serhiy Storchaka於 2013年4月17日星期三UTC+8下午5時35分07秒寫道:
17.04.13 07:57, Larry Hudson написав(ла):
So using a list comprehension you can do it in two lines:
def get_rule(num):
bs = bin(num)[2:]
return [0] * (8 - len(bs)) + [int(i) for i in
On Thu, Apr 18, 2013 at 4:36 AM, Ned Batchelder n...@nedbatchelder.com wrote:
On 4/17/2013 12:10 PM, 8 Dihedral wrote:
Well, a new object is returned and can be used.
Then who is going to clean up the object when required?
This is a key thing to understand about Python: memory is
Wow, that's some impressive wall of text! Splitting your comments up into a
few paragraphs would make it much easier to read :-)
My comments below...
On Wed, 17 Apr 2013 10:15:02 -0700, Bruce McGoveran wrote:
Thank you all for your thoughtful replies. I appreciate your collective
insight.
Ned Batchelder wrote:
On 4/17/2013 12:10 PM, 8 Dihedral wrote:
Well, a new object is returned and can be used.
Then who is going to clean up the object when required?
This is a key thing to understand about Python: memory is managed
automatically, no one has to clean up the object.
Miki Tebeka miki.teb...@gmail.com writes:
I'm trying to find a way to have json emit float('NaN') as 'N/A'.
No. There is no way to represent NaN in JSON. It's simply not part of the
specification.
I know that. I'm trying to emit the *string* 'N/A' for every NaN.
Easiest way is probably to
On Apr 17, 1:05 pm, Christian Heimes christ...@python.org wrote:
Am 17.04.2013 19:55, schrieb darnold:
On Apr 17, 8:50 am, Ombongi Moraa Fe moraa.lovetak...@gmail.com
wrote:
how do I use xml.etree.ElementTree to print the parameters address and
deliveryStatus? Or is there a better
Hi,
Here's my script (from
http://brenda.moon.net.au/category/data-visualisation/:
#!/usr/bin/python
import pandas
import datetime
import numpy
datesList = [datetime.date(2011,12,1), \
datetime.date(2011,12,2), \
Registration is open for three upcoming PyCamps produced by the Triangle
Python Users Group:
- A five-day PyOhio PyCamp hosted by the Ohio State University Open
Source Club, July 22-26, 2013 the week prior to the PyOhio regional
Python conference weekend. PyCamp is a training program and
I'm trying to find a way to have json emit float('NaN') as 'N/A'.
Easiest way is probably to transform your object before you try to write
Yeah, that's what I ended up doing. Wondered if there's a better way ...
Thanks,
--
Miki
--
http://mail.python.org/mailman/listinfo/python-list
On 04/17/2013 03:05 PM, Johann Hibschman wrote:
Miki Tebeka miki.teb...@gmail.com writes:
I'm trying to find a way to have json emit float('NaN') as 'N/A'.
No. There is no way to represent NaN in JSON. It's simply not part of the
specification.
I know that. I'm trying to emit the *string*
On 04/17/13 16:50, Ombongi Moraa Fe wrote:
My
client.service.gere(ri)
method call logs the below soap response in my log file.
?xml version=1.0 encoding=utf-8 ?soapenv:Envelope
xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/;
I managed to compile sqlite with:
CPPFLAGS='-I/path_to_sqlite-3.7.16.2/include -I/path_to_tk8.6.0/include'
DFLAGS='-L/path_to_sqlite-3.7.16.2/lib -L/path_to_tk8.6.0/lib/'
./configure --prefix=/path_to_python-2.7.4 --enable-shared
However, _tkinter is still failing. I don't know what else to
Hi,
Easiest way is probably to transform your object before you try to write
Yeah, that's what I ended up doing. Wondered if there's a better way ...
yes, there is: subclass+extend the JSON-encoder, see pydoc json.
e.g.:
class JsonNanEncoder(json.JSONEncoder):
def default(self, obj):
On 14Apr2013 04:22, nagia.rets...@gmail.com nagia.rets...@gmail.com wrote:
| | Cameron would it be too much to ask to provide you with root
| | access to my VPS server so you can have a look there too?
| | i can pay you if you like if you wait a few days to gather some money.
|
| I really do
On Tue, Apr 16, 2013 at 8:55 PM, rusi rustompm...@gmail.com wrote:
On Apr 17, 7:57 am, Bruce McGoveran bruce.mcgove...@gmail.com wrote:
3. Section 5.3.1 offers this definition of an attributeref:
attributeref ::= primary . identifier
One general comment I will make is regarding your
On Apr 18, 9:40 am, Mark Janssen dreamingforw...@gmail.com wrote:
This is what this list (python) has not figured out yet, because they
look up to the theoretical C.S. field and it hasn't yet been
published.
No one here idolises the theoretical C.S. field. They *use* Python
to *get things
On Wed, Apr 17, 2013 at 5:40 PM, Mark Janssen dreamingforw...@gmail.com wrote:
Rercursion the bedrock of language-design. I don't think so. From
what I know, a well-defined language ends at its symbols. It makes no
use of infinities.
From what I know, you can't have a Turing-complete
On Wed, Apr 17, 2013 at 5:29 PM, alex23 wuwe...@gmail.com wrote:
On Apr 18, 9:40 am, Mark Janssen dreamingforw...@gmail.com wrote:
This is what this list (python) has not figured out yet, because they
look up to the theoretical C.S. field and it hasn't yet been
published.
No one here
On Wed, Apr 17, 2013 at 5:33 PM, Ian Kelly ian.g.ke...@gmail.com wrote:
On Wed, Apr 17, 2013 at 5:40 PM, Mark Janssen dreamingforw...@gmail.com
wrote:
Rercursion the bedrock of language-design. I don't think so. From
what I know, a well-defined language ends at its symbols. It makes no
On 18/04/2013 01:41, Mark Janssen wrote:
On Wed, Apr 17, 2013 at 5:29 PM, alex23 wuwe...@gmail.com wrote:
On Apr 18, 9:40 am, Mark Janssen dreamingforw...@gmail.com wrote:
This is what this list (python) has not figured out yet, because they
look up to the theoretical C.S. field and it hasn't
On 18/04/2013 02:04, Mark Janssen wrote:
On Wed, Apr 17, 2013 at 5:33 PM, Ian Kelly ian.g.ke...@gmail.com wrote:
On Wed, Apr 17, 2013 at 5:40 PM, Mark Janssen dreamingforw...@gmail.com wrote:
Rercursion the bedrock of language-design. I don't think so. From
what I know, a well-defined
[Roland]
yes, there is: subclass+extend the JSON-encoder, see pydoc json.
Please read the original post before answering. What you suggested does not
work since NaN is of float type.
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
yes, there is: subclass+extend the JSON-encoder, see pydoc json.
Please read the original post before answering. What you suggested does not
work since NaN is of float type.
ok, right, default does not work this way.
But I would still suggest to extend the JSON-encoder, since that is
On Thu, Apr 18, 2013 at 11:01 AM, Miki Tebeka miki.teb...@gmail.com wrote:
[Roland]
yes, there is: subclass+extend the JSON-encoder, see pydoc json.
Please read the original post before answering. What you suggested does not
work since NaN is of float type.
You may be able to override a bit
On Thu, Apr 18, 2013 at 11:39 AM, Roland Koebler r.koeb...@yahoo.de wrote:
as a quickhack, you
could even monkey patch json.encoder.floatstr with a wrapper which
returns N/A for NaN. (I've tested it: It works.)
Wait... you can do that? It's internal to iterencode, at least in
Python 3.3 and
On Thu, Apr 18, 2013 at 9:40 AM, Mark Janssen dreamingforw...@gmail.com wrote:
On Tue, Apr 16, 2013 at 8:55 PM, rusi rustompm...@gmail.com wrote:
On Apr 17, 7:57 am, Bruce McGoveran bruce.mcgove...@gmail.com wrote:
3. Section 5.3.1 offers this definition of an attributeref:
attributeref
On Thu, Apr 18, 2013 at 8:39 AM, James Jong ribonucle...@gmail.com wrote:
I managed to compile sqlite with:
CPPFLAGS='-I/path_to_sqlite-3.7.16.2/include -I/path_to_tk8.6.0/include'
DFLAGS='-L/path_to_sqlite-3.7.16.2/lib -L/path_to_tk8.6.0/lib/'
./configure --prefix=/path_to_python-2.7.4
On Wed, 17 Apr 2013 18:33:09 -0600, Ian Kelly wrote:
On Wed, Apr 17, 2013 at 5:40 PM, Mark Janssen
dreamingforw...@gmail.com wrote:
Rercursion the bedrock of language-design. I don't think so. From
what I know, a well-defined language ends at its symbols. It makes no
use of infinities.
On Wed, Apr 17, 2013 at 7:04 PM, Mark Janssen dreamingforw...@gmail.com wrote:
On Wed, Apr 17, 2013 at 5:33 PM, Ian Kelly ian.g.ke...@gmail.com wrote:
On Wed, Apr 17, 2013 at 5:40 PM, Mark Janssen dreamingforw...@gmail.com
wrote:
Rercursion the bedrock of language-design. I don't think so.
On Wed, Apr 17, 2013 at 8:14 PM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
Incorrect. Early Fortran, which was definitely Turing complete, was
incapable of using recursion. But that doesn't matter, since any
recursive algorithm can be re-written as iteration. So long as a
Τη Πέμπτη, 18 Απριλίου 2013 2:00:48 π.μ. UTC+3, ο χρήστης Cameron Simpson
έγραψε:
Reply to this message. I will email you my ssh public key. Please make me an
_ordinary_ user account called cameron and send me the ssh details of your
VPS.
Thank you very much Cameron, i appreciate all your
Good Day all, currently writing a script that ask the user for three things;
1.Name
2.Number
3.Description
I've gotten it to do this hurah!
print Type \q\ or \quit\ to quit
while raw_input != quit or q:
print
name = str(raw_input(Name: ))
number = str(raw_input(Number: ))
On Thu, Apr 18, 2013 at 2:06 PM, Bradley Wright
bradley.wright@gmail.com wrote:
Good Day all, currently writing a script that ask the user for three things;
1.Name
2.Number
3.Description
I've gotten it to do this hurah!
print Type \q\ or \quit\ to quit
while raw_input != quit or q:
Ian於 2013年4月17日星期三UTC+8下午3時21分00秒寫道:
On Tue, Apr 16, 2013 at 8:57 PM, Bruce McGoveran
wrote:
These are terms that appear in section 5 (Expressions) of the Python online
documentation. I'm having some trouble understanding what, precisely,
these terms mean. I'd appreciate the
paul j3 added the comment:
In this example:
p.add_argument('--foo', nargs='*', default=None)
p.parse_args([])
Namespace(foo=None)
p.parse_args(['--foo'])
Namespace(foo=[])
'p.parse_args([])' just assigns the default to 'foo' in the Namespace.
p.parse_args(['--foo'])
Guilherme Simões added the comment:
I actually removed something I shouldn't have in the first patch so I'm
attaching a new one.
--
Added file: http://bugs.python.org/file29899/17532MenuOptions-1.patch
___
Python tracker rep...@bugs.python.org
Antoine Pitrou added the comment:
length_hint() looks ok as well.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16694
___
___
Python-bugs-list
Antoine Pitrou added the comment:
As a sidenote, I find it a bit scary that test_site even *tries* to create
USER_SITE. The test suite shouldn't touch anything outside of test-specific
temp files.
--
nosy: +christian.heimes, pitrou
type: enhancement - behavior
versions: +Python 2.7
Christian Heimes added the comment:
Don't be scared ... :)
I'll think about a solution.
--
assignee: - christian.heimes
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17758
___
New submission from Matthias Klose:
test_gdb skipped -- gdb not built with embedded python support
$ gdb --version
GNU gdb (GDB) 7.5.91.20130408
$ ldd /usr/bin/gdb|grep python
libpython3.3m.so.1.0 = /usr/lib/libpython3.3m.so.1.0
--
messages: 187151
nosy: dmalcolm, doko
New submission from Matthias Klose:
these are failures not seen with 3.x, running with -S doesn't help.
test_pydoc
test test_pydoc failed -- multiple errors occurred; run in verbose mode for
details
1 test failed:
test_pydoc
Re-running failed tests in verbose mode
Re-running test
Changes by Matthias Klose d...@debian.org:
--
dependencies: +test_pydoc fails with the installed testsuite (2.7)
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17750
___
Ronald Oussoren added the comment:
The tests look good, thanks for writing them.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17353
___
___
Roundup Robot added the comment:
New changeset 65623d7dc76e by Giampaolo Rodola' in branch '3.3':
Fix issue #17707: multiprocessing.Queue's get() method does not block for short
timeouts.
http://hg.python.org/cpython/rev/65623d7dc76e
--
nosy: +python-dev
Roundup Robot added the comment:
New changeset 87882c96d138 by Giampaolo Rodola' in branch 'default':
Fix issue #17707: multiprocessing.Queue's get() method does not block for short
timeouts.
http://hg.python.org/cpython/rev/87882c96d138
--
___
Changes by Giampaolo Rodola' g.rod...@gmail.com:
--
keywords: +3.2regression, 3.3regression
resolution: - fixed
status: open - closed
versions: -Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17707
Tim Golden added the comment:
Attached is a qd script to produce the list of extension - mimetype maps for
a version of the mimetypes module.
--
Added file: http://bugs.python.org/file29900/mt.py
___
Python tracker rep...@bugs.python.org
Tim Golden added the comment:
Three outputs produced by mt.py: tip as-is; tip without registry; tip
with new approach to registry. The results for 2.7 are near-enough
identical. Likewise the results for an elevated prompt.
--
Added file: http://bugs.python.org/file29901/mt-tip.txt
Added
Tim Golden added the comment:
There seems to be a consensus that the current behaviour is undesirable,
indeed broken for any meaningful use.
The critical argument against the current Registry approach is that it
returns unexpected (or outright incorrect) mimetypes for very standard
extensions.
Marc-Andre Lemburg added the comment:
I think it's important to stick to established standards for
MIME types and to make sure that Python returns the same values
on all platforms using the default settings.
Apache comes with a mime.types file which includes both the
official IANA types and
New submission from Matthias Klose:
it is not possible to disable -r in run_tests.py. Other options like -u or -j
can be overwritten, but not removing -r.
--
components: Tests
messages: 187160
nosy: doko
priority: normal
severity: normal
stage: needs patch
status: open
title: unable to
Changes by Max Mautner max.maut...@gmail.com:
--
resolution: - invalid
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17724
___
New submission from David Walker:
I'm brand new to Python (and programming in general) and I'm reading Python
for Dummies while trying to learn this. I downloaded 3.3.1 and when I entered
the command
print Hello, World!
it would give the following error:
SyntaxError: invalid syntax
File
Serhiy Storchaka added the comment:
After a more careful look of the b85encode code I say that it's implementation
is not optimal. For the sake of simplicity the entire volume of data is copied
several times. This can affect the processing of a large volume of data. On
other hand, this dumb
Ramchandra Apte added the comment:
Python 3 and Python 2 have different syntax (same code won't work with both
versions).
You would have to run print(Hello, World)
Please close this bug as invalid.
--
nosy: +Ramchandra Apte
type: compile error - behavior
Changes by David Walker walka...@gmail.com:
--
resolution: - invalid
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17775
___
Ramchandra Apte added the comment:
Yes.
--
nosy: +Ramchandra Apte
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17768
___
___
Python-bugs-list
New submission from Damien Marié:
Following the issue 17760
Internationalization should be implemented.
I propose to implement it as an optionnal settings first. And with the gettext
library.
I'm not experienced with the idlelib module but here is a first patch, don't
hesitate to comment it.
Mark Lawrence added the comment:
The first error raised is TypeError: 'str' object cannot be interpreted as an
integer, followed by ValueError: length of metavar tuple does not match
nargs. Therefore the code has already been changed to reflect the title of
this issue. If other code changes
Dave Chambers added the comment:
Enough with the bikeshedding... it's been 10 months... fix the bug.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15207
___
Brian Curtin added the comment:
Just an FYI, but if it takes 10 more months to get it right, we'll do that.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15207
___
1 - 100 of 165 matches
Mail list logo