New submission from Chester Burns:
I installed python 3.3.3 and it was working fine for the moment, however the
next day when I tried to open it, the idle app showed on the dock for a second
and straight away quit. I am using a macbook pro on osx version 10.9.1
--
messages: 212863
Ned Deily added the comment:
Try launching IDLE from a Terminal shell window by typing:
/usr/local/bin/idle3.3
and see if it fails there and, if so, any messages shown. One possibility is
the problem reported in http://bugs.python.org/issue18270 which was fixed in
the IDLE shipped with
Georg Brandl added the comment:
Agreed.
--
nosy: +georg.brandl
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20761
___
___
Chester Burns added the comment:
I tried that and it came up with this:
Traceback (most recent call last):
File /usr/local/bin/idle3.3, line 5, in module
main()
File
/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/idlelib/PyShell.py,
line 1572, in main
Ned Deily added the comment:
Thanks for the update. That is indeed the symptom of the problem documented in
Issue18270. The best solution is to download and install Python 3.3.4 which
has a fix for it.
--
resolution: - duplicate
stage: - committed/rejected
superseder: - IDLE on
Éric Araujo added the comment:
It may be a good idea to make this information directly available in the
sysconfig module, for example. Before working on a patch right away, I’d
recommend getting in touch with build tools developers and ask them what other
hidden information they are
Éric Araujo added the comment:
Yes, this issue is not addressed. A test is added by the latest patch and
reproduces the issue; now bdist_rpm should be changed to make the test pass.
See also my previous comment.
--
components: -Distutils2
stage: patch review - needs patch
versions:
Éric Araujo added the comment:
Patch looks good to me.
--
stage: needs patch - patch review
versions: +Python 3.5 -Python 3.3, Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20744
Nick Coghlan added the comment:
More proposals from the thread (paraphrased):
- make any aware time() object always True (leave naive midnight as False)
- make any aware time() object with a non-zero UTC offset always True (leave
naive midnight and UTC midnight as False)
- deprecate aware
Éric Araujo added the comment:
Thanks Brian, let’s try and get this fixed.
I've put together a patch adding the test requested. There is no problem on
my Ubuntu machine with python 3.3.
Are you saying the test does not reproduce the bug discussed here?
There is a comment in the file saying
Changes by Éric Araujo mer...@netwok.org:
--
stage: needs patch - test needed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16484
___
___
Nick Coghlan added the comment:
Current status of thread discussion (yes, I'm biased, and that shows in the
phrasing below):
Arguments raised for status quo:
- the module is behaving exactly as described in the documentation
- removing false time values will require affected users to update
Larry Hastings added the comment:
Those six revisions have been cherry-picked into 3.4.0.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19021
Larry Hastings added the comment:
ok.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20808
___
___
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
stage: needs patch - committed/rejected
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19021
___
New submission from Martin Thurau:
If you have a descriptor (in my case it was an SQLAlchemy column) on an
instance and this descriptor returns None for a call to __get__ then getattr
with a given default value, will not return the default, but None.
I have no knowledge on the implementation
Changes by M. Volz marie...@gmail.com:
--
nosy: +mvolz
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2818
___
___
Python-bugs-list mailing list
Skip Montanaro added the comment:
the current behaviour takes something that would be a harmless style error
for most structured data types ...
I'm not sure what a structured data type is, but in my mind the original
poster's construct is more than a style error. He was using None as a
Changes by Piotr Dobrogost p...@bugs.python.dobrogost.net:
--
nosy: +piotr.dobrogost
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17128
___
___
Nick Coghlan added the comment:
Oops, Python 3.4 has ** support in pathlib, but we missed Serhiy's patch for
the glob module itself. We should resolve that discrepancy for 3.5 :)
--
versions: +Python 3.5 -Python 3.4
___
Python tracker
Nick Coghlan added the comment:
Structured data is just a shorthand way of referring to any Python object
which is neither a number or a container and exhibits the default boolean
behaviour where all instances are true.
The problem datetime.time is both that its current behaviour is internally
R. David Murray added the comment:
it wasn't an accident, it was designed so modulo arithmetic could reasonably
be implemented for time() objects (which hasn't been demanded or implemented
since the datetime module was created)
Ah, interesting. I just wrote a program last month where I
Antoine Pitrou added the comment:
Otherwise I'm pretty sympathetic to the RFE, but I'd really like time
arithmetic to work, so I guess I'd have to be -1 in that case,
wouldn't I?
Adding times of the day sounds as well-defined to me as adding
centigrade temperatures.
--
HCT added the comment:
then I guess it's either a new function to int or a new type of int for this
type of operations. similar to bytearray/ctypes and memoryview
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19915
R. David Murray added the comment:
As does adding dates. I'm talking about timedelta arithmetic, just like for
datetimes. I believe that still requires modulo arithmetic :)
--
___
Python tracker rep...@bugs.python.org
Alexander Belopolsky added the comment:
On Mar 7, 2014, at 10:12 AM, R. David Murray rep...@bugs.python.org wrote:
I asked about it on IRC and someone said it was because arithmetic on times
was ambiguous because of timezones, and I just accepted that rather than
wonder why it hadn't
New submission from NexusRAwesome1995 .:
I am making a text based aventure game for my assignment and a friends test run
has somehow saved over the entire code file and now im using an earlier version
of the code. I have 0 idea if there is anyway to look at the code using the
IDLE and i need
Alexander Belopolsky added the comment:
On Mar 7, 2014, at 10:15 AM, Antoine Pitrou rep...@bugs.python.org wrote:
Adding times of the day sounds as well-defined to me as adding
centigrade temperatures.
What is wrong with adding temperatures? Climate people do it all the time when
Zachary Ware added the comment:
Sorry, the bug tracker is not the place to look for help like this. Please
redirect your question to python-list[1], where several very knowledgeable
people listen in and are ready to render assistance for any manner of problems
using Python.
[1]
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17267
___
___
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8902
___
___
STINNER Victor added the comment:
Oh, by the way my patch fixes also #18191.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20271
___
___
STINNER Victor added the comment:
Here is a patch for Python 3.5 which breaks backward compatibility: urlparse
functions now raise a ValueError if the IPv6 address, port or host is invalid.
Examples of invalid URLs:
- HTTP://WWW.PYTHON.ORG:65536/doc/#frag: 65536 is invalid
-
STINNER Victor added the comment:
My patch urlparse.patch may be modified to fix also #18191 in Python 2.7, 3.3
and 3.4: splitport() should handle IPv6 ([::1]:80) and auth
(user:passowrd@host) but not raises an exception.
--
___
Python tracker
STINNER Victor added the comment:
I posted a patch to #20271 which should fix the issue. I wrote the patch for
Python 3.5, but it can be adapted to be tolerant (don't make extensive tests on
port number, host and IPv6) for older versions.
--
___
Tim Peters added the comment:
[Nick]
- deprecate aware time() entirely (raises the thorny question of what to
return from .time() on an aware datetime() object)
aware_datetime_object.time() already returns a naive time object. The thorny
question is what .timetz() should return - but if
Roundup Robot added the comment:
New changeset 2a922153463e by Brett Cannon in branch 'default':
Issue #20812: Add a short opener to the Python 2/3 porting HOWTO.
http://hg.python.org/cpython/rev/2a922153463e
--
nosy: +python-dev
___
Python tracker
Changes by Brett Cannon br...@python.org:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20812
___
Roundup Robot added the comment:
New changeset a24085e1b1f5 by Brett Cannon in branch '3.3':
Issue #20813: Backport Python 2/3 HOWTO updates
http://hg.python.org/cpython/rev/a24085e1b1f5
--
nosy: +python-dev
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset c83ce2a1841c by Brett Cannon in branch 'default':
null merge for issue #20812
http://hg.python.org/cpython/rev/c83ce2a1841c
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20812
Brett Cannon added the comment:
Same version now in default, 3.3, and 2.7.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20813
___
Changes by Mark Dickinson dicki...@gmail.com:
--
nosy: +mark.dickinson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13936
___
___
New submission from Hanno Boeck:
I experience a segmentation fault with python 2.7 (both 2.7.5 and 2.7.6 tested
on Ubuntu and Gentoo) when a large file is piped, the pipe is passed to
os.popen and the process sends a SIGPIPE signal.
To create an easy to reproduce testcase grep can be used.
Changes by Ned Deily n...@acm.org:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20863
___
___
Python-bugs-list mailing
Changes by Westley Martínez aniko...@gmail.com:
--
nosy: +westley.martinez
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13936
___
___
Alexander Belopolsky added the comment:
I think the timezone related problems are a red herring. Aware datetime +/-
timedelta arithmetics is naive - tzinfo is ignored in calculations and copied
to the result:
http://hg.python.org/cpython/file/c83ce2a1841c/Lib/datetime.py#l1711
The utcoffset
New submission from Claudio Canepa:
0. windows specific
i. In the pyglet library, written for py2 and officially running in 3 after the
stock installation that does the 2to3 conversion
ii. Omitting files which are unimportant for the issue, the package dir looks as
pyglet
image
Matheus Vieira Portela added the comment:
I tried to apply the last patch but it returned me and error of failing hunk. I
think it was based on an old version of the test_bdist_rpm.py file.
Hence, I made this updated version of the patch and could get the expected
failure during the tests.
I
Changes by Ned Deily n...@acm.org:
--
nosy: +benjamin.peterson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20867
___
___
Python-bugs-list
Changes by Eric Snow ericsnowcurren...@gmail.com:
--
nosy: +eric.snow
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1580
___
___
Python-bugs-list
Éric Araujo added the comment:
Contrary to makedirs, there could be two interpretations for exist_ok in
copytree: a) if a directory or file already exists in the destination, ignore
it and go ahead b) only do that for directories.
The proposed patch does b), but the cp tool does a). It’s
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20851
___
___
Python-bugs-list
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20847
___
___
Python-bugs-list
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20840
___
___
Python-bugs-list
Éric Araujo added the comment:
If there is indeed a bug, I fear this is one of these areas where a fix
actually breaks other build tools reusing distutils internals.
--
nosy: +eric.araujo
versions: -Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 3.4
Éric Araujo added the comment:
Additional edit to make the patch crystal-clear:
“using all three alphabets (normal, URL and Filesystem safe alphabet).”
→ “using all three alphabets defined in the RFC (normal, URL-safe and
filesystem-safe)”
--
nosy: +eric.araujo
Ethan Furman added the comment:
If no one else has gotten to this in the next six months or so, I will. :)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13936
___
Andrew Svetlov added the comment:
Implementation uses the first choice:
main_thread() returns the original _MainThread instance, even if it's dead in
the child process.
I'm sorry, would you guess desired documentation change?
--
___
Python tracker
Sean Wolfe added the comment:
I did a couple tests and the shift-tab and tab work pretty much as expected.
There's a small quirk for a single-line edit:
* place cursor on beginning of line
* tab forward
-- the text indents as expected
* shift-tab
-- the entire line is highlighted
-- the cursor
Thomas Kluyver added the comment:
Any chance of getting this patch applied? It clearly makes the error message
more useful, and we've run into another case where grok_environment_error gives
the wrong result: when symlinking fails because the target exists, it now says
File exists: source,
Thomas Kluyver added the comment:
Duplicate of issue 4931. This function should be entirely unnecessary now.
--
nosy: +takluyver
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19333
___
Changes by Éric Araujo mer...@netwok.org:
--
resolution: - duplicate
stage: - committed/rejected
status: open - closed
superseder: - distutils does not show any error msg when can't build C module
extensions due to a missing C compiler
___
Python
Éric Araujo added the comment:
I want to make time for Python bugs again, so I’ll try and finish this bug soon.
See also msg200785 for a report from setuptools with an easy to reuse test case.
--
versions: +Python 3.3, Python 3.4 -3rd party, Python 3.1, Python 3.2
New submission from Steap:
In Lib/test/test_socket.py, testGetServBy calls socket.getservbyname(), which
needs /etc/services (see man getservbyname). If this file is not found, the
test fails instead of being skipped.
The attached patch was written against the latest revision of the Mercurial
Westley Martínez added the comment:
So is the plan to deprecate this in 3.5 and remove in 3.6? If so, the question
is where should the deprecation be thrown?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13936
Ned Deily added the comment:
Unfortunately, how getservbyname() and other similar network interface
functions get their data is platform-dependent. /etc/services is a traditional
file location but many modern systems use a database or shared database (e.g.
NIS) and even allow the system
Eric Snow added the comment:
Returning None is the right thing here. The default for getattr() is returned
only when it catches an AttributeError (hence the exception is the sentinel, so
to speak, not None. Here's a rough equivalent:
_notset = object()
def getattr(obj, name,
Eric Snow added the comment:
You may get unexpected behavior when you have a descriptor on a class that also
has __getattr__ defined. See issue #1615. However, I don't think that applies
here. As far as I can tell, everything is working the way it should.
--
Mark Lawrence added the comment:
There is no plan, other than the BDFL asking for a survey of what is happening
with code that relies on this in the real world. FTR I'm completely against
this change. I see no reason to change something that's been in use for maybe
nine years and does what
Donald Stufft added the comment:
To be specific, Guido said that if this 3.0 or 3.1 he'd be all for changing it,
and the only question in his mind is how safe it is change. And that his
intuition is that it's a nuisance feature and few people have actually relied
on it and that he'd be OK
R. David Murray added the comment:
Revisiting this with fresh eyes, I no longer think this was a typo, and I think
we shouldn't have changed it and should change it back (but keep the 'p' names
as aliases for those who expect the man page names to be valid).
My logic is: 'sp_namp' is so named
Roundup Robot added the comment:
New changeset 34df43c9c74a by R David Murray in branch '3.3':
#10197: Update get[status]output versionchanged with actual version.
http://hg.python.org/cpython/rev/34df43c9c74a
New changeset ee277b383d33 by R David Murray in branch 'default':
#10197: Update
R. David Murray added the comment:
In changeset d843a1caba78 (I screwed up the issue number in the commit), I
added aliases according to
http://lists.w3.org/Archives/Public/ietf-charsets/2002JulSep/0153.html plus
what appears to be the conventional alias of just the number, and added it to
Roundup Robot added the comment:
New changeset f82145a516f0 by R David Murray in branch 'default':
whatsnew: inet_pton/inet_ntop support windows (#7171).
http://hg.python.org/cpython/rev/f82145a516f0
--
___
Python tracker rep...@bugs.python.org
Nick Coghlan added the comment:
Mark, we kinda proved we're willing to break backwards compatibility in the
name of improving usability when we embarked down the path of creating Python 3
and an associated transition plan from Python 2, rather than just continuing to
develop Python 2.
Nick Coghlan added the comment:
Indeed, since None is a potentially valid attribute value, the required API for
a descriptor to indicate no such attribute in __get__ is to throw
AttributeError.
--
nosy: +ncoghlan
resolution: - invalid
stage: - committed/rejected
status: open -
Kamilla added the comment:
Just to be sure, the check must be implemented inside the assertRaisesRegex
method, right?
--
nosy: +kamie
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20145
___
77 matches
Mail list logo