Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
If you want to be less specific making recommendations for getting it to work,
at least have a prominent disclosure of some sort:
Mac OS X 32-bit i386/PPC Installer (3.2rc1) for OS X 10.3 through 10.6 [2] (sig)
Mac OS X
Georg Brandl ge...@python.org added the comment:
Patch #2 looks innocent enough to me, and is clearly an improvement.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10955
___
Georg Brandl ge...@python.org added the comment:
For 3.3, we might want to consider implementing cp437 in C, as a necessary
consequence of supporting import from zipfiles. Shouldn't be so hard, I guess.
--
___
Python tracker rep...@bugs.python.org
Ross Lagerwall rosslagerw...@gmail.com added the comment:
Attached is a patch based on the original patch, meant to have better
performance.
On my PC, this:
import sys, time, uuid
def uu(n):
t = time.time()
for x in range(n):
uuid.uuid1()
print('%.3f microseconds' %
Марк Коренберг socketp...@gmail.com added the comment:
Yes, os.stat and os.lstat should be one after next in docs. Also IMHO, they
should have cross-references. See excellent php docs for example.
--
___
Python tracker rep...@bugs.python.org
Michael Foord mich...@voidspace.org.uk added the comment:
For what it's worth I prefer Raymond's original wording. Installing the
Activestate Tcl/Tk will never be a *bad* thing to do for using Python, so I
don't see a problem with stating it as a requirement. Users are unlikely to see
the
Nestor Aguilera aguil...@santafe-conicet.gov.ar added the comment:
Ned: thanks for the explanation.
Nestor
===
On 22 Jan 2011, at 04:50, Ned Deily wrote:
Changes by Ned Deily n...@acm.org:
--
Removed
STINNER Victor victor.stin...@haypocalc.com added the comment:
georg.brandl Patch #2 looks innocent enough to me,
georg.brandl and is clearly an improvement.
Ok, issue fixed by r88140 (+r88141):
Issue #10955: zipimport uses ASCII encoding instead of cp497 to decode
filenames, at bootstrap, if
Matt Joiner anacro...@gmail.com added the comment:
Two reasons: The pipes module is Unix only, but pipes.quote is useful on all
platforms. Secondly pipes.quote pertains to shell command-lines, this is also
the domain of shlex which already cross platform. In pipes, an import
shlex.quote would
hhas h...@users.sourceforge.net added the comment:
Doc fix works for me.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10976
___
___
New submission from Armin Ronacher armin.ronac...@active-4.com:
I have a critical bugfix that should make it into Python 3.2 even when it's in
release candidate state. Currently http.server.BaseHTTPServer encodes headers
with ASCII charset. This is at least in violation with PEP which
New submission from David Caro david.caro.este...@gmail.com:
When parsing option like --optionname, --option will match it too
example:
import argparse
parser = argparse.ArgumentParser()
parser = argparse.ArgumentParser()
parser.add_argument('--superstring')
Changes by David Caro david.caro.este...@gmail.com:
--
components: +Extension Modules
versions: +Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10981
___
Changes by David Caro david.caro.este...@gmail.com:
--
title: options starting with -- match substrings - argparse: options starting
with -- match substrings
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10981
STINNER Victor victor.stin...@haypocalc.com added the comment:
Extract of PEP : Note also that strings passed to start_response() as a
status or as response headers must follow RFC 2616 with respect to encoding.
That is, they must either be ISO-8859-1 characters, or use RFC 2047 MIME
STINNER Victor victor.stin...@haypocalc.com added the comment:
RFC 5987 (Character Set and Language Encoding for Hypertext Transfer Protocol
(HTTP) Header Field Parameters), August 2010:
http://greenbytes.de/tech/webdav/rfc5987.html#language.specification.in.encoded.words
3.3 Language
Armin Ronacher armin.ronac...@active-4.com added the comment:
Georg Brandl signed off the commit and Python 3.2 will ship with the HTTP
server accepting latin1 bytes.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10980
Scott M scott.m...@comcast.net added the comment:
Moving to 3.x means redoing large swaths of the extension I just wrote. It's
only a couple thousand lines, but it was my first extension and it cost me a
week of my life in Google, and it does a lot with strings.
I haven't pulled down the
Roy Hyunjin Han starsareblueandfara...@gmail.com added the comment:
2010/11/30 R. David Murray rep...@bugs.python.org:
Out of curiosity, which email program is it that is producing these invalid
headers?
I lost the headers for the original email, so I don't know which email
program created
Antoine Pitrou pit...@free.fr added the comment:
Antoine, could improvement from 2.7 to 3.2 have anything to new with
the new implementation of the Global Interpreter Lock?
Perhaps, but then it's pure luck.
Looking at the traceback, IDLE seems to replace sys.stdout with its own thingie
when
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +kbk
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10909
___
___
Python-bugs-list mailing list
Georg Brandl ge...@python.org added the comment:
Armin committed the patch in r88142 and followed up with r88143 for the
http.client library.
Needs backporting?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10980
David Caro david.caro.este...@gmail.com added the comment:
It is not an issue, it will try to match all the optional parameters, and if
only one matches, then it will use it:
2110 elif option_string.startswith(option_prefix):
2111 action =
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo
title: Concrete object C API needs abstract path for subclasses of builtin
types - Concrete object C API needs abstract path for subclasses of builtin
types
___
Python tracker
Éric Araujo mer...@netwok.org added the comment:
FYI, #10977 has been opened to tackle the general subclasses problem.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10935
___
R. David Murray rdmur...@bitdance.com added the comment:
I also would put increasing test coverage at a higher priority, but this sort
of refactoring can be a good step in the development path of new contributors,
and doing it does decrease the future maintenance burden.
--
Éric Araujo mer...@netwok.org added the comment:
I think so.
--
nosy: +benjamin.peterson, eric.araujo, orsenthil
resolution: - accepted
stage: patch review - commit review
versions: +Python 2.7, Python 3.1, Python 3.2
___
Python tracker
New submission from k1h k1h1...@gmail.com:
Asyncore for the versions of Python examined do not check for the empty
sequences select.select returns to indicate a timeout. The attached patch
served my immediate needs, but no effort was made to verify that all scenarios
were covered or that
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +giampaolo.rodola
type: - behavior
versions: -Python 2.5, Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10982
___
Éric Araujo mer...@netwok.org added the comment:
not-most-recent
versions, and various resolutions? (“fine” being defined as “not
worse than
before the patch”)
Works with ie, firefox and chromium. If you have something else,
please test it,
and let me know.
What versions did you test with?
Éric Araujo mer...@netwok.org added the comment:
Explanation has been provided on #10968, and hopefully the code will be cleaned
up. Closing as superseded.
--
resolution: - duplicate
stage: - committed/rejected
status: open - closed
superseder: - threading.Timer should be a class
Sean Reifschneider j...@tummy.com added the comment:
At this point I'm going to consider this good to go, and will commit it after
the 3.2 final release. Thanks for the review everyone. Of course, I'm open to
further suggestions until then, just not expecting any...
--
assignee: -
Éric Araujo mer...@netwok.org added the comment:
Even if quote does not start with an underscore, its absence from the docs and
from the module’s __all__ make it a private function.
I propose to make it public as shlex.quote in 3.3 and deprecate pipes.quote for
people that relied on it (i.e.
Antoine Pitrou pit...@free.fr added the comment:
Actually, the pending stage is only for when things have been committed :)
See http://docs.python.org/devguide/triaging.html#triaging
--
resolution: later - accepted
stage: patch review - commit review
status: pending - open
Giampaolo Rodola' g.rod...@gmail.com added the comment:
You have misinterpreted the purpose of timeout argument.
timeout argument tells select() or poll() how long they have to wait before
returning in case no file descriptors are ready.
This has nothing to do with asyncore.loop() which is
Changes by Éric Araujo mer...@netwok.org:
--
Removed message: http://bugs.python.org/msg126847
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10975
___
Éric Araujo mer...@netwok.org added the comment:
Is it okay that there is no test?
--
nosy: +eric.araujo
stage: - committed/rejected
versions: +Python 3.2 -Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10949
Georg Brandl ge...@python.org added the comment:
You could have said that the py3k branch is closed for changes without tests or
review...
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10949
Changes by Giampaolo Rodola' g.rod...@gmail.com:
--
nosy: +giampaolo.rodola
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10968
___
___
Ned Deily n...@acm.org added the comment:
This seems to me to be a nasty release blocker. As documented in the Tk bug
that Victor cited (thanks!), the crash occurs in Cocoa Tk when an input method
prefix dead key combining character is typed in a Tk text field. So, for
example, with the US
nooB nsharish@gmail.com added the comment:
Sorry, for the wrong info. The issues exists only for folder renaming in
windows.
try this,
import os, shutil
os.mkdir('test')
shutil.move('test', 'TEST')
poof. The folder is gone.
Shouldn't the path case be checked for file operations?
Changes by Antoine Pitrou pit...@free.fr:
--
priority: normal - high
stage: - needs patch
versions: -Python 2.5, Python 2.6, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10684
New submission from nooB nsharish@gmail.com:
In python 3.x http.client.HTTPConnection class, I saw few problems.
1) `_tunnel_headers` not initialized in the __init__ method. This causes
`set_tunnel` method to raise `AttributeError` when called without `headers`
keyword argument.
2) In
Changes by Antoine Pitrou pit...@free.fr:
--
components: +Library (Lib)
nosy: +orsenthil
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10983
___
Changes by nooB nsharish@gmail.com:
--
versions: -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10983
___
___
Python-bugs-list
Georg Brandl ge...@python.org added the comment:
All your points make sense and I fixed them in r88144.
Leaving this open for somebody to add a unittest that actually exercises these
tunnel features.
--
nosy: +georg.brandl
___
Python tracker
Ned Deily n...@acm.org added the comment:
Here's a brain dump of possible options I see for 3.2rc2:
1. document and do nothing
- IDLE (and other tkinter program) crashes whenever a user types a
composing character (like Option u in US layout for an umlaut) when the
64-/32-bit
Georg Brandl ge...@python.org added the comment:
Hmm. It seems better to me to accept this bug (and document it, and point out
that it isn't Python's fault) than depriving 64-bit users of IDLE, or (even
worse) of tkinter.
If you can manage a solution that doesn't remove IDLE, I'm in favor,
Ned Deily n...@acm.org added the comment:
Since the key strokes are captured directly by Tk, I doubt that anything could
be worked around on the Python side unless there was some Tk option to disable
a class of input characters or something. Seems unlikely but I can check with
the tcl-mac
New submission from Chris Lasher chris.las...@gmail.com:
argparse supports registering conflicting arguments, however, it does so in a
way that an argument may belong to at most one group of conflicting arguments.
The inspiration for this bug is Stack Overflow question #4770576.
R. David Murray rdmur...@bitdance.com added the comment:
Rather than doing a code deprecation you can just do 'from shlex import quote'
in pipes (with a comment about backward compatibility). I don't think there is
any real harm in leaving that kind of backward compatibility in place
Brett Cannon br...@python.org added the comment:
At least the test_trace fix for preventing the complete destruction of any
preset trace should be looked at and possibly applied separately (prevents
coverage.py from covering the entire test suite as well). Should probably add a
test to
New submission from Brett Cannon br...@python.org:
If you run test_sys under coverage.py with ``./python.exe -m coverage run
--pylib Lib/test/regrtest.py test_sys`` you get::
Fatal Python error: Cannot recover from stack overflow
Have not taken the time to try to figure out exactly what
Brett Cannon br...@python.org added the comment:
Ran the test under verbose mode at Antoine's suggestion; test triggering the
failure is test_recursionlimit_recovery
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10985
Brett Cannon br...@python.org added the comment:
The comment on the test says its brittle and sensitive to nothing mucking
around with recursion depth, so the test probably need a unittest.skipIf check
for a trace function.
--
___
Python tracker
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: +bethard
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10984
___
___
Python-bugs-list
Nestor Aguilera aguil...@santafe-conicet.gov.ar added the comment:
Thanks Ned for thinking of ways out.
- If I had a choice, I would agree with Georg's choice (Ned's option 1): most
users will not use the composite characters and need not go through
complications, or worse, cannibalization of
Changes by Sean Reifschneider j...@tummy.com:
--
nosy: -jafo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8591
___
___
Python-bugs-list mailing
Ned Deily n...@acm.org added the comment:
It appears that the Cocoa Tk 8.5 added support for the Apple convention using
Cmd-M as the window minimize menu item (collapses the window into the dock) and
that conflicts with IDLE's use of the Cmd-M as the shortcut for the Open Module
menu item.
Martin v. Löwis mar...@v.loewis.de added the comment:
Hmm. It seems better to me to accept this bug (and document it, and
point out that it isn't Python's fault) than depriving 64-bit users
of IDLE, or (even worse) of tkinter.
I disagree. There aren't really 64-bit users on OSX, thanks to
New submission from Benjamin VENELLE gu0su...@gmail.com:
Hi,
From few days, I've acknowledge when throwing an exception, the last traceback
entry is always related to the raise statement. This is ok when the exception
takes source from a non fail-safe code. But when an exception is raised due
Changes by Terry J. Reedy tjre...@udel.edu:
--
nosy: -terry.reedy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10541
___
___
Python-bugs-list
Benjamin Peterson benja...@python.org added the comment:
Please see python-ideas list.
--
nosy: +benjamin.peterson
resolution: - rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10986
John Machin sjmac...@lexicon.net added the comment:
I don't understand Changing csv api is a feature request that could only
happen in 3.3. This is NOT a request for an API change. Lennert's point is
that an API change was made in 3.0 as compared with 2.6 but there is no fixer
in 2to3. What
New submission from Terry J. Reedy tjre...@udel.edu:
Tool/scripts/find_recursionlimit.py includes test_cpickle() which, like the
other test_xxx functions, is supposed to raise a RuntimeError when the
recursion limit is reached. It appears to work correctly on 3.1 and I presume
previously. On
Terry J. Reedy tjre...@udel.edu added the comment:
3.2rc1 on WinXP. I got hanging behavior with both interpreter and IDLE.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10987
___
Lennart Regebro rege...@gmail.com added the comment:
In the worst case, not checking for newline='' is not a big problem, as anyone
moving from Python 2 to Python 3 will open the file in binary mode. That error
message could tell the user to use binary mode newlines=''.
Using textmode and
Georg Brandl ge...@python.org added the comment:
I disagree. There aren't really 64-bit users on OSX, thanks to fat
binaries. So if starting IDLE would start a 32-bit interpreter, users
likely won't even notice. If they do notice, they can still run in
64-bit mode from the command line.
godfryd godf...@gmail.com added the comment:
I improved a little bit lstat function description and added note to stat
function.
I see that links :func:`stat` do not lead to stat function but to stat module.
Is it Sphinx bug? In my changes I made explicit link to os.stat function.
69 matches
Mail list logo