Serhiy Storchaka storch...@gmail.com added the comment:
Thank you, Eli.
However changes to tostring() and tostringlist() break the invariant
b.join(tostringlist(element, 'utf-16')) == tostring(element, 'utf-16'). You
should add followed methods to DataStream:
def seekable(self):
Serhiy Storchaka storch...@gmail.com added the comment:
Here is updated patch with more careful handling of closing (as for
issue1767933) and added comments.
--
nosy: +eli.bendersky
Added file: http://bugs.python.org/file26385/XMLGenerator-3.patch
Serhiy Storchaka storch...@gmail.com added the comment:
This issue will be fixed by patch for issue1470548.
--
nosy: +storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4997
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 3987667bf98f by Nick Coghlan in branch 'default':
Take the first step in resolving the messy pkgutil vs importlib edge cases by
basing pkgutil explicitly on importlib, deprecating its internal import
emulation and
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 3987667bf98f by Nick Coghlan in branch 'default':
Take the first step in resolving the messy pkgutil vs importlib edge cases by
basing pkgutil explicitly on importlib, deprecating its internal import
emulation and
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 3987667bf98f by Nick Coghlan in branch 'default':
Take the first step in resolving the messy pkgutil vs importlib edge cases by
basing pkgutil explicitly on importlib, deprecating its internal import
emulation and
Nick Coghlan ncogh...@gmail.com added the comment:
OK, I think runpy and __main__.__loader__ are all sorted now. The relevant
runpy and command line script tests all check for the expected values, and I
added a couple of new tests to cover the -c and reading from stdin cases.
--
Changes by Nick Coghlan ncogh...@gmail.com:
--
assignee: - ncoghlan
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15272
___
___
Python-bugs-list
Nick Coghlan ncogh...@gmail.com added the comment:
OK, this one is trickier than I thought - the exact behaviour depends on how
you traverse the code, and I believe a PEP 302 importer is technically allowed
to accept / in module names. (Unless there's a module names must be valid
identifiers
New submission from Nick Coghlan ncogh...@gmail.com:
Created to record the egregious hack of relying on the test_runpy
infrastructure in order to test pkgutil.walk_packages.
It gets the job done, but is a really messy way of going about it. Worth
cleaning up by factoring the support code out
Changes by Nick Coghlan ncogh...@gmail.com:
--
dependencies: +pydoc -w package writes out page with empty Package
Contents section
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15358
___
Serhiy Storchaka storch...@gmail.com added the comment:
I don't know who changed the encoding's package normalize_encoding() function
(wasn't me), but it's a really slow implementation.
See changeset 54ef645d08e4.
--
nosy: +storchaka
___
Python
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 9101eab6178c by Nick Coghlan in branch 'default':
Issue #15343: Handle importlib.machinery.FileFinder instances in
pkgutil.walk_packages (et al)
http://hg.python.org/cpython/rev/9101eab6178c
--
Nick Coghlan ncogh...@gmail.com added the comment:
Also, a second test case should be added to cover the zipimporter.zipimporter
component.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15358
Changes by Nick Coghlan ncogh...@gmail.com:
--
priority: low - normal
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15358
___
___
Python-bugs-list
Nick Coghlan ncogh...@gmail.com added the comment:
Fixing this has uncovered another issue: the old import emulation in PEP 302
ignored encoding cookies, thus merrily decoding everything as utf-8 in
get_source(). importlib is smarter about this, which means the pydoc tests
started failing as
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 7d202353a728 by Nick Coghlan in branch 'default':
Issue #15343: A lot more than just unicode decoding can go wrong when
retrieving a source file
http://hg.python.org/cpython/rev/7d202353a728
--
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset ce0687a8383b by Nick Coghlan in branch 'default':
Issue #9319: Remove the workaround for this since fixed problem from pydoc
http://hg.python.org/cpython/rev/ce0687a8383b
--
Nick Coghlan ncogh...@gmail.com added the comment:
Main change in that last commit is really the one to make pydoc ignore just
about *any* exception from get_source(). This should make it more robust
against buggy loaders, too.
--
___
Python
Nick Coghlan ncogh...@gmail.com added the comment:
And a manual check confirms the higher level issue is also fixed. (I believe
there's already a meta issue somewhere about the lack of automated tests for
pydoc's emitted HTML)
--
resolution: - fixed
status: open - closed
Nick Coghlan ncogh...@gmail.com added the comment:
I'm pretty sure I got them all while fixing #15343
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
R. David Murray rdmur...@bitdance.com added the comment:
I'm sorry, It looks like you said it was working as you expected in 2.7, and
you marked it for version 2.6. So what is the bug that you see in 2.7?
--
___
Python tracker
New submission from Brian Thorne hardb...@gmail.com:
In addition to CAN_RAW introduced in Python 3.3, it would be really useful to
expose the CAN_BCM protocol. Effectively it hands off as much to the kernel as
possible which gives Python programs the ability to send and receive many
periodic
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +neologix
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15359
___
___
Python-bugs-list mailing
zoupl zoupen...@gmail.com added the comment:
No, i mean it works ok on version 2.7. However, what I want to know is the way
that works in version2.7, because I want to try to fix it in version 2.6.
--
___
Python tracker rep...@bugs.python.org
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset cf1ac0c9e753 by Hynek Schlawack in branch '3.2':
#15180: Clarify posixpath.join() error message when mixing str bytes
http://hg.python.org/cpython/rev/cf1ac0c9e753
New changeset 1462b963e5ce by Hynek Schlawack in
Hynek Schlawack h...@ox.cx added the comment:
Fixed for 3.2 default.
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15180
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset f954ee489896 by Vinay Sajip in branch 'default':
Issue #15307: Skipped test_venv:test_prefixes when run from a venv.
http://hg.python.org/cpython/rev/f954ee489896
--
nosy: +python-dev
R. David Murray rdmur...@bitdance.com added the comment:
Ah. I have no idea. I did a search and could not find an issue about it being
fixed...that doesn't mean there wasn't one, though.
Does the problem occur *only* solaris? Because if it isn't solaris specific it
might be this one: issue
Roger Serwy roger.se...@gmail.com added the comment:
Thank you for the bug report, Ztatik.
Since 2.6 is now in security-fix-only mode, this issue will not be fixed. See
http://www.python.org/getit/releases/2.6.8/
This grammar issue was fixed in 2.7 with revision 386922b629c3, but was not
Michael Foord mich...@voidspace.org.uk added the comment:
A method on TestCase that *just* executes the test method - allowing for
overriding in subclasses - is an interesting idea. Including setUp and tearDown
would be harder because TestCase necessarily does a bunch of bookkeeping
between
Antoine Pitrou pit...@free.fr added the comment:
The .4 patches both LGTM, please commit!
You're the one with commit rights here ;)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15202
Antoine Pitrou pit...@free.fr added the comment:
Shall I also backport to 2.7 and 3.2 as the issue suggests?
If the tests are there, yes!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15233
Chris Jerdonek chris.jerdo...@gmail.com added the comment:
For the record, this issue is still present after Nick's pkgutil changes
documented in issue 15343 (not that I expected it to be resolved since this
issue is a bit different).
--
___
Python
Changes by Chris Jerdonek chris.jerdo...@gmail.com:
--
nosy: +cjerdonek
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15358
___
___
New submission from Davide Rizzo sor...@gmail.com:
The documentation (at least the obvious places, see
Doc/reference/datamodel.rst) says classes and class instances have the
'__dict__' attribute, but nothing is said about what happens when assigning to
it (like obj.__dict__ = something).
As
Chris Jerdonek chris.jerdo...@gmail.com added the comment:
Closing as this is no longer an issue after Nick's pkgutil changes documented
in issue 15343.
--
status: open - closed
___
Python tracker rep...@bugs.python.org
Chris Jerdonek chris.jerdo...@gmail.com added the comment:
Such helper functionality could also be used in the tests of
unittest.TestLoader.loadTestsFromName(). See, for example, the tests proposed
for issue 7559.
--
___
Python tracker
Roger Serwy roger.se...@gmail.com added the comment:
tb220, is this still a bug? Python 2.6 is now in security-fix-only mode.
--
nosy: +serwy
status: open - pending
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8229
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 758a9023d836 by Larry Hastings in branch 'default':
Issue #15202: Consistently use the name follow_symlinks for
http://hg.python.org/cpython/rev/758a9023d836
--
nosy: +python-dev
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment:
IMHO wrong exception could be treated as a bug, which could be fixed in 3.2 and
3.3.
Benjamin Peterson and Georg Brandl: What do you think?
P.S. is there any way to create a test for it?
You can set
Meador Inge mead...@gmail.com added the comment:
Eric, that is a good point, but if someone forgets (like I did) or just hasn't
gotten around to bumping the number yet, then the build breaks because the
interpreter crashes. I think we should always try to avoid building an
interpreter that
New submission from Richard Oudkerk shibt...@gmail.com:
If I create a venv on Windows called py3 then py3/Scripts/Activate.ps1
defines the prompt to be
function prompt {
Write-Host -NoNewline -ForegroundColor Green [(py3) ]
_OLD_VIRTUAL_PROMPT
}
However this prompt
Éric Araujo mer...@netwok.org added the comment:
Removing the module attributes causes third-party code to break. See one
example here:
http://lists.idyll.org/pipermail/testing-in-python/2012-July/005082.html
--
status: closed - open
___
Python
Éric Araujo mer...@netwok.org added the comment:
Better link: https://github.com/pypa/pip/issues/552
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9374
___
Éric Araujo mer...@netwok.org added the comment:
There are versionadded notes in the doc that still use the old names (e.g.
symlinks for shutil.copyfile).
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 0b4d0c2173ad by Vinay Sajip in branch 'default':
Closes #15361: Corrected venv prompt in PowerShell activation script.
http://hg.python.org/cpython/rev/0b4d0c2173ad
--
nosy: +python-dev
resolution: - fixed
New submission from John Schneider j...@jschneider.com:
Revision 36793 introduced a libc wrapper for FreeBSD 5.x which addressed some
UTF issues. Unfortunately, this causes C compilation errors for certain ports.
Also reference issues 10910, 1455641
This change is no longer applicable for
koobs koobs.free...@gmail.com added the comment:
FreeBSD (at least on 7.x, 8.x and 9.x) has the following syscalls available in
its API:
extattr_{get,set,list,delete}_{fd,file,link}
And also has: EXTATTR_MAXNAMELEN
Chris Jerdonek chris.jerdo...@gmail.com added the comment:
Thanks a lot for the feedback. The thinking was to use a stand-alone (even
testable) construct with dependencies made explicit. For example, it wasn't
obvious that the current iterator depended on forever, or whether the
args_tuple
New submission from Terry J. Reedy tjre...@udel.edu:
I have (had ;-) a project file ~template.py with common boilerplate.
To start a new project file, I want to open the above and save as xyz.py. I can
edit and 'save' the template to update it just fine. But trying to do a 'save
as' to a new
Larry Hastings la...@hastings.org added the comment:
Sorry; the patch didn't apply cleanly, and it looks like I bungled doing it
manually. Fixing now.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15202
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset e26113f17309 by Larry Hastings in branch 'default':
Issue #15202: Additional documentation fixes inadvertently omitted
http://hg.python.org/cpython/rev/e26113f17309
--
Roger Serwy roger.se...@gmail.com added the comment:
IDLE silently closing is due to issue13582.
On Linux (Ubuntu 11.04, Tk8.5) I can not specify ~template.py for a filename
for opening or saving a file. Clicking on either open or save produces no
action. However, I can specify ~/template.py.
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 844bb753570f by R David Murray in branch 'default':
#4640: Add optparse tests for '-xxx' invalid when defining options.
http://hg.python.org/cpython/rev/844bb753570f
--
nosy: +python-dev
R. David Murray rdmur...@bitdance.com added the comment:
Re-reading the issue I think the OP was not trying to define '-debug', but was
indeed reporting the behavior when -debug was passed to the parser. I've
committed your tests (thanks).
So we now have tests for both cases, and this
Roger Serwy roger.se...@gmail.com added the comment:
IDLE supporting sys.ps1 and sys.ps2 is discussed in issue13657. I am closing
this issue in favor of that one.
--
nosy: +serwy
resolution: - duplicate
status: open - closed
superseder: - IDLE doesn't support sys.ps1 and sys.ps2.
Changes by Roger Serwy roger.se...@gmail.com:
--
nosy: +serwy
title: Class Browser selection in Ubuntu - IDLE - Class Browser selection in
Ubuntu
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6171
Larry Hastings la...@hastings.org added the comment:
Is anyone working on this? I could possibly take a stab at it tonight, if I
get the evening to myself.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15151
Roger Serwy roger.se...@gmail.com added the comment:
This is related to issue6858. I assume that the point of this issue is to
enable syntax highlighting by relying on the Windows registry?
--
nosy: +serwy
___
Python tracker rep...@bugs.python.org
zoupl zoupen...@gmail.com added the comment:
I have just tried on solaris. I will try the solution of issue 1571184, thanks
a lot.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15356
___
Benjamin Peterson benja...@python.org added the comment:
IMHO, it can be fixed as people were relying on the old behavior.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14988
___
Brian Thorne hardb...@gmail.com added the comment:
Once I've got more complete examples, I can update the patch to include a
testcase.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15359
Yongzhi Pan fossi...@users.sourceforge.net added the comment:
I suggest append An empty last part will result in a path that ends with a
separator or something similar to the docstring, though it is already in the
HTML documentation.
Suppose someone does this like me:
In [10]: join('a',
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 6a1e983647bd by Ned Deily in branch 'default':
Issue #13590: Improve support for OS X Xcode 4:
http://hg.python.org/cpython/rev/6a1e983647bd
--
___
Python tracker
Larry Hastings la...@hastings.org added the comment:
I have been meditating on this, and I'm not sure we should change 2.7. 3.2
might be okay.
The thing is, I fear we're not just talking about CPython implementation
details, we're talking about the Python Standard Library. The existing
Gregory P. Smith g...@krypto.org added the comment:
looking at this now. 2.7 commit first; then i'll forward port to 3.2/3.3.
--
assignee: jackdied - gregory.p.smith
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14635
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset c53e3aacb816 by Gregory P. Smith in branch '2.7':
Fixes Issue #14635: telnetlib will use poll() rather than select() when possible
http://hg.python.org/cpython/rev/c53e3aacb816
--
nosy: +python-dev
David Lam d...@dlam.me added the comment:
hi hi, found this bug after clicking the Easy issues link
i basically just took Ray's hint to look at the __reduce__ method, and applied
it to the __repr__ method in this patch
also updated is the test_repr() unittest
--
keywords: +patch
Meador Inge mead...@gmail.com added the comment:
Hmmm, I guess the idempotency issue is no worse than it already is -- the
same thing can still happen with trivial changes to the other prerequisites
for importlib.h.
Consider this small example (you might have to run sample program multiple
70 matches
Mail list logo