Ned Deily n...@acm.org added the comment:
It turns out that the previous and current versions of IDLE syntax highlighting
did not recognize literals with valid two-character prefixes, like ur or
br. Besides restoring ur, 3.3 also added rb to the existing br
prefixes. The applied patch
Changes by Ned Deily n...@acm.org:
--
versions: -Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14958
___
___
Python-bugs-list mailing
Roger Serwy roger.se...@gmail.com added the comment:
Should the patch be partially back-ported to 2.7 as well given that IDLE 2
doesn't highlight two-character prefixes?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14958
Ned Deily n...@acm.org added the comment:
It could be. But perhaps its absence will be another incentive to move to
Python 3.3.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14958
___
New submission from Fan Li m4.li...@gmail.com:
first, i'm sorry about my english.
when i test the HTTPServer lib local, it's fast. but when i run the test script
on another PC, i found it very slow, response for a request cost about 4s.
then, i walk into the source about HTTPServer and found
Charles-François Natali neolo...@free.fr added the comment:
It's actually a duplicate of #6085 (already fixed).
Cheers!
--
nosy: +neologix
resolution: - duplicate
stage: - committed/rejected
status: open - closed
superseder: - Logging in BaseHTTPServer.BaseHTTPRequestHandler causes
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: +loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1470548
___
___
Python-bugs-list
Serhiy Storchaka storch...@gmail.com added the comment:
Oh, I see XMLGenerator completely outdated. It even has not been ported to
Python 3. See function _write:
def _write(self, text):
if isinstance(text, str):
self._out.write(text)
else:
STINNER Victor victor.stin...@gmail.com added the comment:
New changeset 98bc9e357f74 by R David Murray in branch 'default':
#14796: improve calendar test coverage.
http://hg.python.org/cpython/rev/98bc9e357f74
The following added test fails on Windows:
...
+def
New submission from Vladimir Berkutov dair.t...@gmail.com:
It might be useful to introduce a new map() and filter() methods to iterators
and iterables. Both methods should accept lambda/function which transforms a
single argument into value. Both methods should return another iterator.
#
New submission from Ramchandra Apte maniandra...@gmail.com:
When applying or okaying IDLE configuration (Options- Configure IDLE) all text
in the shell window loses highlighting.
Text in the shell window created after the configuration is applied is
highlighted though.
--
components:
Changes by Ramchandra Apte maniandra...@gmail.com:
--
title: When changing IDLE configuration all text in editor window loses
highlighting - When changing IDLE configuration all text in shell window loses
highlighting
___
Python tracker
Ramchandra Apte maniandra...@gmail.com added the comment:
Sorry, small mistake.
Actually all the other Python 2.x releases are in security-fix mode.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14961
Ramchandra Apte maniandra...@gmail.com added the comment:
I think this is quite a major change to Python and this needs a PEP BTW
issue912738 and therefore this bug no longer applies to Python 3.
In Python 3 map returns an iterator.
Even if you wanted to implement this feature in Python 2, it
Ramchandra Apte maniandra...@gmail.com added the comment:
Sorry,
To clarify:
Python 2.7 is in bug-fix mode which means only minor enhancements are allowed.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14961
Robert Lehmann lehman...@gmail.com added the comment:
Your proposal seems two-fold: (a) make map/filter lazy and (b) have them as
methods instead of functions.
It seems Tim borrowed Guido's time machine and already implemented (a) in
Python 3.x, see
Ronald Oussoren ronaldousso...@mac.com added the comment:
s7v7nislands: you cannot use Xcode-select to fix this, xcode-select is used to
switch between 2 or more installed versions of Xcode.
--
nosy: +ronaldoussoren
___
Python tracker
Ronald Oussoren ronaldousso...@mac.com added the comment:
The issue is more annoying than the change of location of the SDK, the path to
the compiler has also changed unless users manually install the Unix
command-line tools, either using a button in the GUI or by installing a
separate DMG.
Changes by Ramchandra Apte maniandra...@gmail.com:
--
nosy: +kbk
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14962
___
___
Python-bugs-list
Nick Coghlan ncogh...@gmail.com added the comment:
As Robert noted, the map() and filter() builtins in Python 3 are already lazy
and there's no reason to expand the iterator protocol for this functionality.
Map and filter also have dedicated syntax in the form of comprehensions and
generator
New submission from Nick Coghlan ncogh...@gmail.com:
The current implementation of contextlib.ExitStack [1] actually creates a
nested series of frames when unwinding the callback stack in an effort to
ensure exceptions are chained correctly, just as they would be if using nested
with
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 1345cf58738d by Victor Stinner in branch 'default':
Close #14690: Use monotonic clock instead of system clock in the sched,
http://hg.python.org/cpython/rev/1345cf58738d
--
nosy: +python-dev
resolution: -
STINNER Victor victor.stin...@gmail.com added the comment:
It really looks like seconds to me, definitely not jiffies ;-)
time.process_time() uses maybe seconds on Linux, but it doesn't include time
elapsed during sleep. See the test:
def test_process_time(self):
start =
Changes by Matt Joiner anacro...@gmail.com:
--
nosy: +anacrolix
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1652
___
___
Python-bugs-list
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset d3321c010af5 by R David Murray in branch 'default':
#14796: fix failure of new calendar test on windows.
http://hg.python.org/cpython/rev/d3321c010af5
--
___
Python
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset a5e621c8dd44 by Nick Coghlan in branch 'default':
Close #14947: add missing cross-reference to Language Definition from the new
dynamic type creation functions. Also cleaned up the general wording of the docs
R. David Murray rdmur...@bitdance.com added the comment:
The buildbots seem happy.
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14796
___
anatoly techtonik techto...@gmail.com added the comment:
1. Why not to add aliases?
2. Why not to postpone it to 3.4?
3. Why PEP change is a heavy process? Can we lighten it? (where is the
description is PEP change process at all)
--
status: closed - pending
David Beck db...@ualberta.ca added the comment:
After playing around with this a bit more, I've found that if the Scrollbars on
the different tabs are not aligned (that is, they don't occupy the same EW
position in the frame) the effect disappears. I thought that might mean that
the last
Ronald Oussoren ronaldousso...@mac.com added the comment:
I agree with Ned that this is a bug in Tk, especially because the problem goes
away with small changes to the layout of the UI.
--
status: open - pending
___
Python tracker
Richard Oudkerk shibt...@gmail.com added the comment:
Is there any particular reason not to merge Charles-François's
reinit_locks.diff?
Reinitialising all locks to unlocked after a fork seems the only sane
option.
I agree with this.
I haven't looked at the patch very closely. I
Ned Deily n...@acm.org added the comment:
I've been working on this and it does need to be thoroughly fixed. There are
two different aspects to it: (1) being able to build Python using any of the
supported development environment options; and (2) support in Distutils and
packaging to build
Éric Araujo mer...@netwok.org added the comment:
I don’t believe aliases would help, on the contrary. There already are a good
number of fields to remember. Anyway I expect people to use “pysetup create”
or copy-pasting, so the spelling is not important: nobody will really have to
remember
Éric Araujo mer...@netwok.org added the comment:
I fully agree with site.py/os.py/spam.py but I find it offtopic for this
Issue.
I don’t understand this message :) There is nothing to agree with or judge on
or off-topic; I was trying to understand the root of the bug and really asking
you
Jan Kratochvil jan.kratoch...@redhat.com added the comment:
While it should be documented this is not only a docs issue. It should be
solved in some way during runtime.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14956
Brett Cannon br...@python.org added the comment:
If you directly import __init__ then it would just be a module within the
package (the magic of packages should stay with the implicit interpretation
of __init__).
--
___
Python tracker
R. David Murray rdmur...@bitdance.com added the comment:
No it shouldn't. As mentioned in the Fedora thread you linked, this is no
different than the user setting LD_LIBRARY_PATH to something that screws up a
system installed program.
--
___
Barry A. Warsaw ba...@python.org added the comment:
One small test that I think is missing is a test that
sys.implementation.version and sys.implementation.hexversion are equal (modulo
format differences).
--
___
Python tracker
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 20b8f0ee3d64 by Eli Bendersky in branch 'default':
Issue #14007: implemented the 'element_factory' feature of TreeBuilder in
http://hg.python.org/cpython/rev/20b8f0ee3d64
--
Ronald Oussoren ronaldousso...@mac.com added the comment:
What I'd prefer to look for the compiler:
* in distutils: if $CC is an absolute path and exists, use that
* look for clang on $PATH, use it if found
(default configure looks for GCC in preference of other compilers,
but with
Barry A. Warsaw ba...@python.org added the comment:
I'm not a fan of using a module, and less of a fan of structseq, so I think
I'll discount those two. I'll play with namespace and type next.
--
___
Python tracker rep...@bugs.python.org
Changes by Roger Serwy roger.se...@gmail.com:
--
nosy: +serwy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14962
___
___
Python-bugs-list mailing
Ronan Lamy ronan.l...@gmail.com added the comment:
Reverting to the previous behaviour, then? OK.
As I understand it, the issue comes from a DRY violation: both
FileFinder.find_loader() and _LoaderBasics.is_package() have their own notion
of what is a package and they disagree. Since the
Barry A. Warsaw ba...@python.org added the comment:
I'm inclined to go with the as_simple_namespace patch. As you say, the pro are
that this is a much better fit for this use case, while the con is that this
does kind of sneak in a new type. Given that the type is not exposed in the
API,
Changes by STINNER Victor victor.stin...@gmail.com:
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10053
___
___
Python-bugs-list
STINNER Victor victor.stin...@gmail.com added the comment:
I'm not sure that encoding to UTF-8 is time indenpendant. You may try UTF-32-LE
or unicode-internal?
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
Georg Brandl ge...@python.org added the comment:
This should block beta1.
--
nosy: +georg.brandl
priority: normal - release blocker
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14952
___
Changes by STINNER Victor victor.stin...@gmail.com:
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14909
___
___
Python-bugs-list
Changes by STINNER Victor victor.stin...@gmail.com:
--
title: Bug in tarfile - tarfile does not support timestamp older 1970-01-01
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14810
___
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
Since this is a trivial patch I'm going to go ahead and apply it. I was just
waiting for the ability to run the full test suite in 64 bits, but that is
currently broken due to some other issues.
--
Nick Coghlan ncogh...@gmail.com added the comment:
History with dictproxy means I'm also OK with new type by stealth.
Perhaps add some tests to check type(sys.implementation)() does something
sane?
--
___
Python tracker rep...@bugs.python.org
Nick Coghlan ncogh...@gmail.com added the comment:
If we don't expose the mechanism behind -E to embedding applications via
the C API, then a non-docs change may be needed. However, writing (or at
least trying to write) the relevant docs is a good way to check whether or
not that is the case.
Changes by STINNER Victor victor.stin...@gmail.com:
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14904
___
___
Python-bugs-list
Changes by Barry A. Warsaw ba...@python.org:
--
nosy: +barry
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14942
___
___
Python-bugs-list mailing
Changes by Ray Donnelly mingw.andr...@gmail.com:
Added file:
http://bugs.python.org/file25761/python-py3k-20120318-MINGW-330a2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3871
___
Changes by Ray Donnelly mingw.andr...@gmail.com:
Added file:
http://bugs.python.org/file25762/python-py3k-20120318-CROSS-330a2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3754
___
alon horev alo...@gmail.com added the comment:
The iterative approach turned out elegant and concise.
It actually now resembeles the implementation of nested's __exit__.
--
keywords: +patch
nosy: +alonho
Added file: http://bugs.python.org/file25763/14963.patch
Ray Donnelly mingw.andr...@gmail.com added the comment:
Hi Roumen,
Many thanks for your patches, I've been using a 2.7.1 version of your patches
for Python integration with GDB (pretty-printing) of my own version of the
Android NDK for ages now (part of the Necessitas Qt project) and I really
Changes by Ray Donnelly mingw.andr...@gmail.com:
Added file:
http://bugs.python.org/file25764/python-py3k-20120318-MINGW-330a2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3871
___
Changes by Ray Donnelly mingw.andr...@gmail.com:
Removed file:
http://bugs.python.org/file25764/python-py3k-20120318-MINGW-330a2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3871
___
Ray Donnelly mingw.andr...@gmail.com added the comment:
Although mainly focussed on MinGW, I've begun adding Darwin cross support. I've
also built Darwin cross compilers. The latest Linux version can be found at:
New submission from Ronny Pfannschmidt ronny.pfannschm...@gmail.com:
this patch simplifies and cleans up the resolve_name function
--
assignee: eric.araujo
components: Distutils2
files: resolve_name.patch
keywords: patch
messages: 161974
nosy: Ronny.Pfannschmidt, alexis, eric.araujo,
Éric Araujo mer...@netwok.org added the comment:
Thanks! I would love to get your review on #12703 (not sure if this bug is a
duplicate or an unrelated cleanup).
--
stage: - patch review
versions: +3rd party, Python 3.3
___
Python tracker
Éric Araujo mer...@netwok.org added the comment:
Thanks for your work Ray, but as your patch adds a feature to distutils it
cannot be accepted.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3871
Ray Donnelly mingw.andr...@gmail.com added the comment:
Hi Éric,
Do you mean this bit?:
diff -urN a/Lib/distutils/cygwinccompiler.py b/Lib/distutils/cygwinccompiler.py
--- a/Lib/distutils/cygwinccompiler.py 2012-05-30 07:33:00.234438631 +0100
+++ b/Lib/distutils/cygwinccompiler.py 2012-05-30
Nick Coghlan ncogh...@gmail.com added the comment:
Sorry, I wasn't clear on what I meant by chained correctly, and that's the
part that makes this trickier than the way contextlib.nested did it. I'm
referring to the __context__ attribute on exceptions that is set automatically
when an
R. David Murray rdmur...@bitdance.com added the comment:
People interested in this issue might be interested in changeset e6a33938b03f.
I use parameterized unit tests in email a lot, and was annoyed by the fact that
I couldn't run the tests individually using the unittest CLI. The fix for
New submission from 猫 黒 cyberdup...@gmail.com:
super() objects allow access to inherited properties fget() but not fset() or
fdel(), resulting in unexpected behavior.
Today on pydev thread 'Property inheritance in Python' GvR said I
don't see the need for a Python-Ideas detour. It seems worth
Changes by Alex Gaynor alex.gay...@gmail.com:
--
nosy: +alex
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14965
___
___
Python-bugs-list mailing
69 matches
Mail list logo