Matt Joiner anacro...@gmail.com added the comment:
Feel like a total noob: Where do I get the latest source? I can't find any
pre-release tarballs for 3.3, and the suggested py3k checkout doesn't work: $
hg clone http://hg.python.org/cpython#py3k py3k
abort: unknown revision 'py3k'!
Ned Deily n...@acm.org added the comment:
See the developer's guide:
http://docs.python.org/devguide/setup.html#getting-the-source-code
hg clone http://hg.python.org/cpython directory_name
--
nosy: +ned.deily
___
Python tracker
Matt Joiner anacro...@gmail.com added the comment:
This version is fixed for me:
$ ./python
Python 3.3.0a0 (default:7520f1bf0a81, Jul 18 2011, 17:12:12)
[GCC 4.1.2 20070115 (SUSE Linux)] on linux2
--
versions: +Python 3.2
___
Python tracker
STINNER Victor victor.stin...@haypocalc.com added the comment:
@pitrou: Antoine, do you think that the following commit should be backported
from 3.3 to 3.2?
New changeset 3c7792ec4547 by Victor Stinner in branch 'default':
Issue #12175: BufferedReader.read(-1) now calls raw.readall() if
STINNER Victor victor.stin...@haypocalc.com added the comment:
I reopen the issue.
--
resolution: fixed - accepted
status: closed - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12133
STINNER Victor victor.stin...@haypocalc.com added the comment:
(Oh, I missed Antoine's comment, yes, reopen a new issue)
--
resolution: accepted - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12133
Catalin Iacob iacobcata...@gmail.com added the comment:
Senthil's proposal in msg140543 has +1 from me.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12577
___
Ugra Dániel daniel.u...@gmail.com added the comment:
Sorry, I've forgotten to post a reference to the new bug: #12576
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12133
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
h.close() (HTTPConnection.close) in the finally block of
AbstractHTTPHandler.do_open() calls indirectly r.close() (HTTPResponse.close).
The problem is that the content of the response cannot be read if its close()
method was
STINNER Victor victor.stin...@haypocalc.com added the comment:
ValueError('I/O operation on closed file') error comes from
HTTPResponse.__enter__() which is implemented in IOBase:
def __enter__(self): # That's a forward reference
self._checkClosed()
return self
--
Changes by Davide Rizzo sor...@gmail.com:
--
nosy: +davide.rizzo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12576
___
___
Python-bugs-list
STINNER Victor victor.stin...@haypocalc.com added the comment:
imdb.com and python.org use HTTP/1.1. imdb.com server sends a
Transfer-encoding: chunked header whereas python.org doesn't. python.org has
a Connection: close header, whereas imdb.com doesn't.
The more revelant difference for this
Antoine Pitrou pit...@free.fr added the comment:
Antoine, do you think that the following commit should be backported
from 3.3 to 3.2?
No, I don't think so.
--
versions: -Python 3.0
___
Python tracker rep...@bugs.python.org
STINNER Victor victor.stin...@haypocalc.com added the comment:
No, I don't think so.
The issue is already fixed in 3.3, so you agree to not fix it in Python 3.2?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5505
Steve Hill python.20.hi...@spamgourmet.com added the comment:
Why has this bug been resolved as won't fix? It seems to me that this is a
valid issue with something that has not been deprecated, yet it has been
decided neither to fix it (despite there being an offer by the originator to
submit
R. David Murray rdmur...@bitdance.com added the comment:
I haven't reviewed your tests, but a couple quick comments: we generally prefer
duck typing to the use of isintance or ABCs, but sometimes the latter is better
(it's a judgement call). I haven't done a deep dive in the code you
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: +orsenthil
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12581
___
___
Python-bugs-list
Éric Araujo mer...@netwok.org added the comment:
I would call .copy() on the original dicts rather than remembering an
explicit empty dict.
I thought about that and decided to use an empty dict as a way to add a check
that the caches should start empty. Maybe it was misguided and I should
Éric Araujo mer...@netwok.org added the comment:
On Windows, scripts run with whatever name -- no extension or other
extensions.
Thanks, this means that the docs can continue to say just “pysetup3”, without
“.py”.
(I wonder how Windows manages to run the script without file extension!)
I
New submission from Paul Weiss psw...@gmail.com:
I am trying to install python 2.7 on my Redhat machine. It installs most of the
files, but it doesn't install the lib-dynload directory. I have set every path,
done every install and clean I could think of but I can't get it to work. I
have
Éric Araujo mer...@netwok.org added the comment:
I’m assuming you’re installing a Python from python.org, not the one from Red
Hat. Can you give us the configure and make commands you ran?
--
nosy: +eric.araujo
___
Python tracker
Éric Araujo mer...@netwok.org added the comment:
It seems to me that the doc after the patch is barely more helpful. It does
not explain when and how one would see or use the class, nor what it does.
--
nosy: +eric.araujo
___
Python tracker
Paul Weiss psw...@gmail.com added the comment:
Correct, I am using the source from
http://www.python.org/ftp/python/2.7.2/Python-2.7.2.tgz
make clean
./configure --prefix=/opt/Python-2.7
make
sudo make install
I get this:
/usr/bin/install -c -m 644 ./LICENSE
Éric Araujo mer...@netwok.org added the comment:
Ah, I see that the class is referenced earlier in the file, and that its
methods come after. I’d put the class definition just before the methods. (I
would even refactor the reST to use nested class/method combo, but that’s a
minor markup
R. David Murray rdmur...@bitdance.com added the comment:
Also, are you using a linux3 kernel?
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12582
___
Paul Weiss psw...@gmail.com added the comment:
No, Redhat's 2.6.9. Could that be the issue?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12582
___
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12576
___
___
Python-bugs-list
Éric Araujo mer...@netwok.org added the comment:
I think there’s value in accepting the current patch as really basic example,
and then see if the section about setting up and tearing down also has a very
simple example.
--
___
Python tracker
Éric Araujo mer...@netwok.org added the comment:
We all recognize that ASCII is very much limited and that the real way to work
with strings is Unicode. However, here our hands are tied by our development
process: shlex in 2.x does not support Unicode, adding that support would be a
new
Éric Araujo mer...@netwok.org added the comment:
Thanks. The Imprudence bug seems to confirm this is not a distutils bug.
--
assignee: - eric.araujo
status: open - pending
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12533
Éric Araujo mer...@netwok.org added the comment:
They don't support slicing, certainly, but I can't tell from the
collections ABC docs if Sequence is required to support slicing.
This looks like a 2.7 docs bug. The table with ABCs mentions __*item__, but
not __*slice__, probably because it
Jim Schneider jim.schnei...@dataflux.com added the comment:
Martin - I don't have time to manage your project's administrative requirements
with respect to my fixes. I'm providing them out of the hope they will be of
use to others who need to build on HP/UX, but I don't really care if they
Doug Hellmann doug.hellm...@gmail.com added the comment:
Is unicode supported by shlex in 3.x already? It's curious that unicode support
is considered a new feature, rather than a bug. I understand wanting to
allocate development resources carefully, though. If someone were to prepare a
Éric Araujo mer...@netwok.org added the comment:
See http://bugs.python.org/issue1170#msg106424 and following.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1170
___
Éric Araujo mer...@netwok.org added the comment:
It’s not about allocating resources, it’s about following process. The first
part is that we don’t add new features to stable releases, the second item is
that this is not considered a bug fix: The code pre-dates Unicode, was not
updated to
Chris Lambacher ch...@kateandchris.net added the comment:
I don't think that is the default state. You need to add .py to the PATHEXT
environment variable:
http://effbot.org/pyfaq/how-do-i-make-python-scripts-executable.htm
Maybe Terry did this at some point? My windows box certainly does not
R. David Murray rdmur...@bitdance.com added the comment:
No. We know we have some issues with platform stuff on linux3 kernels, though,
which why I asked.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12582
Terry J. Reedy tjre...@udel.edu added the comment:
I perhaps misunderstood your question. I ran files from the command line as as
'python whatever', not 'whatever' so only python would care about an extension.
I do not have a file association to 'run' a file, with or without .py. I
presume
Éric Araujo mer...@netwok.org added the comment:
The original bug is that the distutils docs use commands like “python setup.py
spam” all over the place, and they don’t typically work
because the python executable is not in the path in the default
install. 'setup.py install' will work since
Éric Araujo mer...@netwok.org added the comment:
My concern for MSI is that this issue is referencing a change to MSI
generation. I never had any expectation for wininst to generate an MSI.
I’m sorry, it was me that first talked about wininst by mistake, the bug report
always was about msi.
Éric Araujo mer...@netwok.org added the comment:
[...] If the syntax *expression appears in the function call,
expression must evaluate to a sequence.
An iterable :)
--
nosy: +eric.araujo -ericsnow, terry.reedy
versions: -Python 2.7, Python 3.2
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +ericsnow, terry.reedy
versions: +Python 2.7, Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12531
___
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12559
___
___
Python-bugs-list
Éric Araujo mer...@netwok.org added the comment:
I’ve looked at 3.x and think the patch would apply cleanly there too.
--
nosy: +eric.araujo
stage: - commit review
versions: +Python 3.2, Python 3.3
___
Python tracker rep...@bugs.python.org
Éric Araujo mer...@netwok.org added the comment:
[Carl]
there's an implicit assumption that a .pth file is the most likely
strategy.
If you have other ideas, please share them.
[another message]
I don't see why the installation-location-finding for develop should
be any different than for a
Éric Araujo mer...@netwok.org added the comment:
Here’s the patch, please review.
--
assignee: - eric.araujo
keywords: +patch
stage: needs patch - patch review
Added file: http://bugs.python.org/file22685/shlex.quote.diff
___
Python tracker
Éric Araujo mer...@netwok.org added the comment:
I applied the patch, added a test and found a bug. Here’s my progress so far;
someone can start from it to write more tests and fix the code.
--
nosy: +misc
Added file: http://bugs.python.org/file22686/modulefinder-no-recurse.diff
Changes by Eric Snow ericsnowcurren...@gmail.com:
--
nosy: +ericsnow
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1284670
___
___
Daniel Stutzbach stutzb...@google.com added the comment:
On Sat, Jul 16, 2011 at 2:04 AM, Eli Bendersky rep...@bugs.python.orgwrote:
Therefore, I propose to change this error message to:
unicode argument expected, got '%s'
as Terry suggested.
Sounds good to me.
--
Added file:
Terry J. Reedy tjre...@udel.edu added the comment:
I went back and reread from the beginning, instead of merely answering the
question you asked when adding me as nosy. More comments:
Windows file associations are so disfunctional that you should not depend on
them being anything in
Charles-François Natali neolo...@free.fr added the comment:
So even on solaris the behavior seems to be filesystem dependent.
So I'd suggest forgetting about this part.
Would you like to write a patch for the first point?
--
___
Python tracker
Charles-François Natali neolo...@free.fr added the comment:
So, what do we do now?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12372
___
___
Chris Lambacher ch...@kateandchris.net added the comment:
Now my concern is about packaging: In a typical Windows install, can people
run “pysetup3 spam”?
The windows installer does not make any additions to the path so it is unlikely
that pysetup3 spam will work.
There is
Charles-François Natali neolo...@free.fr added the comment:
Trying to revive this issue, here's a comment I left on Rietveld:
I don't agree, the documentation states that full_sync will cause a flush to
stable storage where supported and a plain fsync where it isn't. This code
does
just
Chris Lambacher ch...@kateandchris.net added the comment:
I am not sure of the difference between 'local script' and 'global command'
local script is the setup.py (or for that matter any other script in an
arbitrary place in the filesystem. Global command is referring to something
installed
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset f6d074a7bbd4 by Eric V. Smith in branch '3.2':
Closes #12579. Positional fields with str.format_map() now raise a ValueError
instead of SystemError.
http://hg.python.org/cpython/rev/f6d074a7bbd4
--
nosy:
Terry J. Reedy tjre...@udel.edu added the comment:
I would not propose to do everything in one grand patch as it would be way too
much to review all at once. A somewhat separate subissue is whether there
should be however many separate issues over the next however many years or one
master
Terry J. Reedy tjre...@udel.edu added the comment:
expression must evaluate to a sequence.
To be clear, Eli quoted the doc correctly and Eric correctly suggested that
'sequence' needs to be updated to 'iterable' (in at least two places). Since
the patch for this issue will be adding
Paul Weiss psw...@gmail.com added the comment:
So I have solved my own issue, but the solution raises another question. Let me
explain...
On a whim I copied the build/lib.linux-i686-2.7 directory into the
/opt/Python-2.7/lib/python2.7 directory as lib-dynload. This worked and python
New submission from Ram Rachum cool...@cool-rr.com:
I've been frustrated so many times by `ImportError: cannot import name foo`.
Right now I'm debugging some problem on a PAAS server (with no SSH access), and
the server returns a traceback of `cannot import name foo`, and I don't have
any
Brian Curtin br...@python.org added the comment:
Rather than mucking with the string, we should probably set some of these
details as attributes on ImportError. #10854 wanted something similar - details
on the pyd file that failed if you get an ImportError on an extension module on
Windows.
Ram Rachum cool...@cool-rr.com added the comment:
As long as those attributes are reflected in the string in human language, why
not.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12583
R. David Murray rdmur...@bitdance.com added the comment:
Well, at this point we have no idea. It works fine for us. This part is all
controlled by the Makefile, maybe you can do some debugging on it.
--
___
Python tracker rep...@bugs.python.org
Francisco Martín Brugué franci...@email.de added the comment:
Adding a test that opens the 24b48k.aif file, gets some information and does
navigation on it. I'm aware that it doesn't triggers any extra failure against
the actual tip (5a1bb8d4afd7) but it does if r72100 is undone (with some
Ned Deily n...@acm.org added the comment:
Works for me on another unix-y system. I don't see any reason in configure.in
or Makefile.pre.in why this shouldn't work assuming make is working as
expected. What version of make are you using?
--
nosy: +ned.deily
Ned Deily n...@acm.org added the comment:
Or possibly install.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12582
___
___
Python-bugs-list
Paul Weiss psw...@gmail.com added the comment:
As it turns out I am using an older version of make on the machine that I was
having trouble with. It seems we have made some bad assumptions about the
configuration of our machines. It makes sense with other problems we have had
on the other
Changes by Ned Deily n...@acm.org:
--
resolution: fixed - invalid
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12582
___
Brett Cannon br...@python.org added the comment:
The problem with this request is it is practically unworkable. For instance,
the missing __init__.py already exists as an ImportWarning. The circular import
is a problem as Python would have to detect circular imports which is hard,
else we
New submission from Andy Wildenberg andy.wildenb...@gmail.com:
This was originally posted on
http://stackoverflow.com/questions/1800452/how-to-intercept-wm-delete-window-on-osx-using-tkinter
but seems not to have been reported as a bug.
On OS X (10.6.8, python 2.6.1) register a protocol on
Ram Rachum cool...@cool-rr.com added the comment:
What's the problem with detecting circular imports? Mind you that we only need
a post-mortem analysis to check why the import failed; so after the import
failed, we could check whether our import stack has a loop in it.
I'm not familiar with
Philip Horger campadrena...@gmail.com added the comment:
I'm having trouble replicating the issue in simpler code snippets than the
project code the issue first popped up in, which means the problem is
probably my own code. For now, it looks like this was a false alarm, and I'm
sorry for wasting
Ned Deily n...@acm.org added the comment:
Since there has been no response, I am closing this. Please re-open if you can
still reproduce the crash and, if so, supply the requested information so we
can investigate further.
--
resolution: - works for me
stage: test needed -
Ned Deily n...@acm.org added the comment:
Works for me using the Pythons installed from the python.org 2.6.6 or 2.7.2
installer and with the current ActiveState Tcl/Tk 8.4 (for 2.6.6) and 8.5 (for
2.7.2) releases installed. Chances are this was a bug in the Apple-supplied
Cocoa Tcl/Tk 8.5
Senthil Kumaran sent...@uthcode.com added the comment:
Not a problem. I am closing this, but if you find enough evidence that
something is a bug, feel free to reopen this or another report.
--
resolution: - invalid
stage: - committed/rejected
status: open - closed
Changes by Senthil Kumaran sent...@uthcode.com:
Removed file: http://bugs.python.org/file22690/unnamed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12570
___
Philip Horger campadrena...@gmail.com added the comment:
Thanks, sounds good to me too. I'll probably work on it a bit later, see if
I can find the bug in my own code at least.
On Mon, Jul 18, 2011 at 3:23 PM, Senthil Kumaran rep...@bugs.python.orgwrote:
Changes by Senthil Kumaran
Oh, I thought we never rely on exception message for anything
important. However this seems to be an exception for that exception.
:-)
___
Python-bugs-list mailing list
Unsubscribe:
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 3fa7581f6d46 by Antoine Pitrou in branch '2.7':
Issue #6476: Document that os.spawnle and os.spawnve are not thread-safe under
Windows.
http://hg.python.org/cpython/rev/3fa7581f6d46
New changeset a01ba3c32a4b by
On Mon, Jul 18, 2011 at 02:07:42PM +, Éric Araujo wrote:
I’d put the class definition just before the methods. (I would even
refactor the reST to use nested class/method combo...
This is a good suggestion. It would good to do some point in time soon.
Thanks!
Antoine Pitrou pit...@free.fr added the comment:
I've made the necessary doc changes. I leave it open because I'm not sure what
to do with the bugfix request (I agree with the general suggestion to use
subprocess instead, though).
--
nosy: +pitrou
versions: +Python 3.3 -Python 2.6,
Antoine Pitrou pit...@free.fr added the comment:
Oh, I thought we never rely on exception message for anything
important. However this seems to be an exception for that exception.
:-)
I think you're missing the point. People usually don't catch SyntaxError
and run fallback code in this case.
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 62048a6eb43c by Senthil Kumaran in branch '3.2':
Fix closes issue12577 - clarify shutil.move documentation. Patch suggestion by
Catalin Iacob
http://hg.python.org/cpython/rev/62048a6eb43c
New changeset 912b97ee40a7
STINNER Victor victor.stin...@haypocalc.com added the comment:
Patch the _curses module to improve Unicode support:
- add an encoding attribute to a window (only visible in C): read the locale
encoding
- encode a character and a character string to the window encoding if the
ncursesw
STINNER Victor victor.stin...@haypocalc.com added the comment:
Using curses_unicode.patch:
- without ncursesw: addch('é') raises an OverflowError because
'é'.encode('UTF-8') is 2 bytes and not 1 byte
- with ncursesw: the charset is displayable character depends on the locale
encoding (e.g.
STINNER Victor victor.stin...@haypocalc.com added the comment:
See also #6755 (curses.get_wch).
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12567
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
implicit declaration of function ‘wget_wch’
curses_unicode.patch of issue #12567 adds a HAVE_NCURSESW define to only use
wide character functions if _curses is linked to libncursesw.
This define can be used to fix this bug (use
Changes by R. David Murray rdmur...@bitdance.com:
--
Removed message: http://bugs.python.org/msg59741
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1221
___
R. David Murray rdmur...@bitdance.com added the comment:
Woops, hit a button wrong and managed to delete a message. It just said:
See Issue1025395
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1221
Raymond Hettinger raymond.hettin...@gmail.com added the comment:
Éric, this is not a doc bug. The sequence ABCs do not require slicing support.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12543
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset c4d884d5d86c by R David Murray in branch '2.7':
#7484: no more around addresses in VRFY or EXPN
http://hg.python.org/cpython/rev/c4d884d5d86c
New changeset f8c4ac9aa9e2 by R David Murray in branch '3.2':
#7484: no
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 50b6c3053c30 by R David Murray in branch 'default':
#7484: simplify quoteaddr: if parseaddr throws an error it is a bug.
http://hg.python.org/cpython/rev/50b6c3053c30
--
R. David Murray rdmur...@bitdance.com added the comment:
Thank you both for your work on this. The patch I committed is a combination
of my _addr_only, Filipe's tests, and Catalin's modifications to those tests.
quoteaddr, although in the __all__, is not documented and is really an
Nick Coghlan ncogh...@gmail.com added the comment:
Yeah, at the level of *code* the origin doesn't really matter, so re-using the
exception type is actually OK. However, for *people* seeing the stack trace, it
may be useful to know what's genuinely illegal syntax and what's a limitation
of
Felipe Cruz felipec...@loogica.net added the comment:
You're very kind David.
Hope I can contribute with something more relevant next time :)
best regards,
Felipe
2011/7/18 R. David Murray rep...@bugs.python.org
R. David Murray rdmur...@bitdance.com added the comment:
Thank you both for
R. David Murray rdmur...@bitdance.com added the comment:
Don't short change yourself. This bug would still be open if it hadn't been
for your work, regardless of how much of it wound up in the final patch :)
--
versions: +Python 3.3 -Python 2.6, Python 3.1
Eli Bendersky eli...@gmail.com added the comment:
Therefore, I propose to change this error message to:
unicode argument expected, got '%s'
as Terry suggested.
Sounds good to me.
Terry, what are your thoughts?
Can I commit the fix?
--
Added file:
Changes by Eli Bendersky eli...@gmail.com:
Removed file: http://bugs.python.org/file22687/unnamed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12434
___
Changes by Eli Bendersky eli...@gmail.com:
Removed file: http://bugs.python.org/file22694/unnamed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12434
___
99 matches
Mail list logo