Scott David Daniels scott.dani...@acm.org added the comment:
Help / Python31
Instead of docs showing up, all Idle windows closed.
To demonstrate for yourself, edit ~/.idlerc/config-main.cfg
add a line at the end (where additional docs show up), like:
4 =
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
the HTTP response should be a bytes string:
self.wfile.write(b'test')
--
nosy: +amaury.forgeotdarc
resolution: - invalid
status: open - closed
___
Python tracker rep...@bugs.python.org
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
I'm curious to whether this needs to be embedded in the compiler or
whether a standalone tool can be offered. See
http://code.activestate.com/recipes/277940/ for an example of processing
the bytecodes directly. FWIW,
Omri Shaked omri.sha...@gmail.com added the comment:
Silly me... Thanks!
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6282
___
New submission from Tarek Ziadé ziade.ta...@gmail.com:
upload is base on httplib and doesn't use the http_proxy envrionment
variable. So it's impossible to upload a file behind a firewall.
Let's change the command so it uses a proxy if set
--
assignee: tarek
components: Distutils
Antoine Pitrou pit...@free.fr added the comment:
I haven't read the patch in detail but I don't think you should have
changed read1(). read1() is there for optimization purposes and its
current behaviour makes sense IMO.
--
versions: +Python 2.7
___
Nick Coghlan ncogh...@gmail.com added the comment:
The doc revision definitely does a better job of characterising the
current underspecified behaviour :)
I agree with Antoine that at most a single read would be better wording.
--
___
Python tracker
Lucas Prado Melo lukepada...@gmail.com added the comment:
Ok
A new patch without read1() changes.
Only one test fails, a read1() test:
==
FAIL: test_read1 (test.test_io.PyBufferedRWPairTest)
James purplei...@gmail.com added the comment:
great, thanks for the info.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6205
___
___
Eric Smith e...@trueblade.com added the comment:
So is this a cosmetic issue or a functional issue?
It's a cosmetic issue.
Also, even if it could figure that out, how would it know whether
a particular filename stringification with os.path.join() was
intended for display to the user or
Tim Golden m...@timgolden.me.uk added the comment:
Eric Smith wrote:
Eric Smith e...@trueblade.com added the comment:
So is this a cosmetic issue or a functional issue?
It's a cosmetic issue.
Also, even if it could figure that out, how would it know whether
a particular filename
Eric Smith e...@trueblade.com added the comment:
Tim Golden wrote:
Just for information's sake, the shell APIs usually only accept backslashes.
That's good to know. Do you have any specific examples?
CreateFile and the like, which is where my experience is, take either.
90% of my Windows
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
Are you looking for dead code detection (like a lint utility) or
automatic dead code removal (modified code)?
--
___
Python tracker rep...@bugs.python.org
Collin Winter coll...@gmail.com added the comment:
Standalone bytecode-modifying tools almost never check that they're
outputting correct bytecode. http://code.activestate.com/recipes/277940/
makes no attempt to check what version of Python it's running under;
running it under Unladen Swallow
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
James, the peepholer currently assumes that codestrings terminate with
RETURN_VALUE. Is this assumption invalidated by your code?
--
___
Python tracker rep...@bugs.python.org
New submission from Matthew Smart mattsm...@gmail.com:
The 'license' meta-data option is not listed under:
http://docs.python.org/distutils/setupscript.html#meta-data
There are others, too, from:
$ python setup.py --help
.. snip ..
Information display options (just display information, ignore
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
On consideration, it is more appropariate to have the
disable_nagle_algorithm as part of StreamRequestHandler rather than in the
TCPSockerServer. It then sits right next to the rfile and wfile that
affect it.
The RequestHandlers
James Abbatiello abb...@gmail.com added the comment:
Raymond, I've updated peephole.c to allow code to terminate with any of
RETURN_VALUE, END_FINALLY or RAISE_VARARGS [0-3]. I also added tests to
test_peepholer.py to make sure the peepholer still works in these cases.
--
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
Martin, am transferring this to you for adjudication. I'm -0 on the patch.
On the plus side, the code is well thought-out and reasonably well
tested. On the minus side, it complexifies the compiler in a way that
may make it
Changes by Miles Kaufmann mile...@umich.edu:
--
nosy: +milesck
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6234
___
___
Python-bugs-list mailing
Martin v. Löwis mar...@v.loewis.de added the comment:
I'm also happy with rejecting the patch, and agree with everything that
has been brought up against it: from an end-user point of view, there is
a negligible-if-any benefit (e.g. if you want to speed up importing, try
to reduce the number of
New submission from Nick Coghlan ncogh...@gmail.com:
Just a placeholder to remind me to implement the suggestion from
python-dev of updating the contextlib.nested docs to show:
1. The one remaining valid use case (variable number of context managers)
2. The warnings module incantation needed to
Miles Kaufmann mile...@umich.edu added the comment:
parse_qs and parse_qsl should also grow encoding and errors parameters to
pass to the underlying unquote().
--
nosy: +milesck
___
Python tracker rep...@bugs.python.org
New submission from Jean-Paul Calderone exar...@divmod.com:
Consider this source file:
# coding: ascii
☃
It is not a valid Python program (for several reasons). The first
problem encountered is that bytes representing SNOWMAN do not fit into
ASCII, so the file cannot be decoded using the
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6289
___
___
Python-bugs-list
New submission from Alex James ac.ja...@shaw.ca:
When using cPickle to pickle / unpickle an object instance whose
__dict__ contains a dictionary of NumPy Arrays (on a windows32 system),
some of the array elements have the wrong type raising a ValueError:
could not convert string to float.
On
Changes by Tarek Ziadé ziade.ta...@gmail.com:
--
type: - feature request
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6286
___
___
Tarek Ziadé ziade.ta...@gmail.com added the comment:
done in r73436. Will merge it into 3.2 after 3.1 is tagged.
I am leaving this issue open until the merge in 3.2 is done.
--
___
Python tracker rep...@bugs.python.org
Benjamin Peterson benja...@python.org added the comment:
Fixed in r73439.
--
nosy: +benjamin.peterson
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6289
Alexandre Vassalotti alexan...@peadrop.com added the comment:
Could you provide a test case? The behaviour you are describing sounds
like a bug in cPickle.
--
nosy: +alexandre.vassalotti
___
Python tracker rep...@bugs.python.org
Changes by hippietrail hippytr...@gmail.com:
--
nosy: +hippietrail
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3672
___
___
Python-bugs-list
Senthil orsent...@gmail.com added the comment:
Closing it based on the (test pass) comments.
Fix was applied in r67779, r6.
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3407
Vikram U Shenoy vikram.u.she...@gmail.com added the comment:
I see. OK, so you want me to close this bug ?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6277
___
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
Thanks. BTW, other doc patches are always welcome.
--
resolution: - wont fix
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6277
34 matches
Mail list logo