Serhiy Storchaka added the comment:
Patch updated to tip and added deprecation warning.
--
nosy: +terry.reedy
versions: -Python 2.7, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6159
Changes by Serhiy Storchaka storch...@gmail.com:
Removed file: http://bugs.python.org/file32391/Scrollbar_fixes_2.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6167
___
Changes by Serhiy Storchaka storch...@gmail.com:
Added file: http://bugs.python.org/file32477/Scrollbar_fixes_2.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6167
___
Roundup Robot added the comment:
New changeset 2ed8d500e113 by Victor Stinner in branch 'default':
Issue #19424: Fix a compiler warning on comparing signed/unsigned size_t
http://hg.python.org/cpython/rev/2ed8d500e113
--
___
Python tracker
Vajrasky Kok added the comment:
Serhiy,
In Python3.4, Windows Vista 32 bit, Release Mode, Tcl/Tk 8.5.15, I got a lot of
errors. However, if I set _conv_pixels to round in
Lib/tkinter/test/widget_tests.py, everything works fine.
In Python 3.4, Fedora 18, Debug Mode, Tcl/Tk 8.5.13, I got a lot
STINNER Victor added the comment:
Updated patch to the latest implementation: 65e72bf01246.patch
The developement is now done in the start branch of
http://hg.python.org/features/tracemalloc
--
Added file: http://bugs.python.org/file32478/65e72bf01246.patch
Serhiy Storchaka added the comment:
Thanks Terry.
The new test looks good.
This is a copy of a test for ttk.Entry.
Grepping tkinter.__init__.py for 'an empty string' gives multiple hits that
indicate to me (without detailed examination) that there are about 7 methods
that return such.
Changes by Serhiy Storchaka storch...@gmail.com:
--
dependencies: -Add tkinter basic options tests
resolution: - fixed
stage: commit review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset c34e163c0086 by Tim Golden in branch '3.3':
Issue #10197 Rework subprocess.get[status]output to use subprocess
functionality and thus to work on Windows. Patch by Nick Coghlan.
http://hg.python.org/cpython/rev/c34e163c0086
New changeset
New submission from Annika Schiefner:
Whenever I try opening a .py file, Idle crashes.
Mac OS X, 10.6.8
--
components: IDLE
messages: 202027
nosy: Schiefna
priority: normal
severity: normal
status: open
title: Idle crashes when opening file
type: crash
versions: Python 2.7
Nick Coghlan added the comment:
While working on this, I noticed a number of other issues with the dis API
additions for Python 3.4 from issue 11816. Specifically:
- the file output redirection API didn't work in some cases that resulted in
calls to other disassembly functions
-
New submission from Vajrasky Kok:
Lib/email/message.py, line 665 666:
param = msg.get_param('foo')
param = email.utils.collapse_rfc2231_value(rawparam)
Where does rawparam come from?
On top of that, sending the result of get_param to collapse_rfc2231_value can
make it chokes if the
Changes by Vajrasky Kok sky@speaklikeaking.com:
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19485
___
___
New submission from Vajrasky Kok:
Right now, at November 3rd 2013, the latest minor version of Tcl/Tk 8.5 is
8.5.15.
http://www.activestate.com/activetcl/downloads
http://www.tcl.tk/
When building Python in Windows in release mode (not debug mode), I had to
download the Tcl/Tk binary build
Tim Golden added the comment:
Code tests now work on Windows. Applied to 3.3 3.4.
--
resolution: - fixed
stage: test needed - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10197
R. David Murray added the comment:
Vajrasky: FYI, you can select the 'email' component for tickets like this, and
I'll be automatically made nosy (as will Barry Warsaw).
--
components: +email
nosy: +barry
type: - behavior
versions: +Python 2.7, Python 3.3
Roundup Robot added the comment:
New changeset a34889a30d52 by Serhiy Storchaka in branch '2.7':
Issue #19085: Fixed pixels rounding for last Tk patchlevels.
http://hg.python.org/cpython/rev/a34889a30d52
New changeset dfdf47a9aad4 by Serhiy Storchaka in branch '3.3':
Issue #19085: Fixed pixels
R. David Murray added the comment:
It is there so that Python implementations (other than cPython) that do not
have ElementTree accelerator modules can fall back on the pure python version.
You can import the pure python version in cPython by blocking the import of the
C accelerator:
Tim Golden added the comment:
This has nearly been fixed by the rewrite of the get[status]output code under
issue10197. There is an issue, though, with the use there of universal_newlines
mode, which forces check_output to return a string rather than bytes.
--
nosy: +tim.golden
Serhiy Storchaka added the comment:
Thanks Vajrasky. Now I see that this is a bug in Tk 8.5 which was fixed in
8.5.12. We should use round() to conform with last Tk patchlevels. However this
breaks tests on Ubuntu 12.04 LTS which uses 8.5.11.
Here is a patch which adds workaround for this
Stefan Behnel added the comment:
Brecht Machiels, 03.11.2013 11:58:
With Python 3.2, I subclassed ElementTree.XMLParser to set
ExternalEntityRefHandler on the XMLParser's (expat) 'parser' member
This sounds like a request for a missing feature to me. Here is how lxml
handles it:
R. David Murray added the comment:
Vajrasky: what do you think of my version? Is it clear enough?
I wonder if we want to document the constants someday.
--
stage: - patch review
versions: +Python 2.7, Python 3.3
___
Python tracker
Tim Golden added the comment:
The code I've just committed to issue10197 means that the get[status]output
functions now pass their (few) tests on all platforms. More by chance than
judgement, that change employed universal_newlines which has the effect of
forcing the output of check_output to
Changes by Tim Golden m...@timgolden.me.uk:
--
assignee: - tim.golden
versions: +Python 3.3, Python 3.4 -Python 3.1, Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9922
___
Brecht Machiels added the comment:
You can import the pure python version in cPython by blocking the import of
the C accelerator:
import sys
sys.modules['_elementtree'] = None
import xml.etree.ElementTree
This will not work if xml.etree.ElementTree was already imported by another
Changes by Tim Golden m...@timgolden.me.uk:
Added file: http://bugs.python.org/file32483/issue9922.34.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9922
___
Xavier de Gaye added the comment:
A less invasive alternative could be to instrument Bdb with a subclass
that processes send-expect sequences. This is what does
http://code.google.com/p/pdb-clone/source/browse/Lib/test/test_bdb.py
This code could be adapted to run with python bdb.
--
Roundup Robot added the comment:
New changeset c574951deadd by R David Murray in branch '3.3':
#19485: clarify get_param example.
http://hg.python.org/cpython/rev/c574951deadd
New changeset e3180c58a78c by R David Murray in branch 'default':
Merge #19485: clarify get_param example.
R. David Murray added the comment:
Thanks, Vajrasky. Looks like this was a cut and paste error when Barry updated
the docs for 3.3, since it is correct in the 2.7 module.
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
Changes by iMom0 mobeihe...@gmail.com:
--
assignee: docs@python
components: Documentation
files: partialmethod-doc-fix.patch
keywords: patch
nosy: docs@python, imom0
priority: normal
severity: normal
status: open
title: Correct the error of the example given in the doc of partialmethod
Gregory P. Smith added the comment:
The documentation needs updating to state that these are available on Windows
(currently it says UNIX) with a versionchanged annotation.
http://docs.python.org/3.3/library/subprocess.html#legacy-shell-invocation-functions
--
nosy: +gregory.p.smith
Gregory P. Smith added the comment:
If anybody using them in Python 3.3 is already depending upon them returning
strings, changing it to return bytes will break their code... so that ship as
unfortunately sailed. Changing that only in 3.4 would just cause churn and
make code using this more
Roundup Robot added the comment:
New changeset 25d89a4faede by R David Murray in branch '3.3':
#19411: Clarify that b2a_hex/hexlify returns a bytes object.
http://hg.python.org/cpython/rev/25d89a4faede
New changeset ac190d03aed5 by R David Murray in branch 'default':
Merge #19411: Clarify that
R. David Murray added the comment:
Thanks, Vajrasky. I modified the patch slightly since I prefer the term bytes
object to just bytes (I think it reads better in English).
--
resolution: - fixed
stage: needs patch - committed/rejected
status: open - closed
Roundup Robot added the comment:
New changeset 2924a63aab73 by Tim Golden in branch '3.3':
Issue #10197: Indicate availability of subprocess.get[status]output on Windows
and add a note about the effects of universal newlines
http://hg.python.org/cpython/rev/2924a63aab73
New changeset
R. David Murray added the comment:
Yes, you have to do the sys.modules set at the start of your application.
The python module is what gets imported, it is just that the C classes override
some of the classes from the Python module when they are imported. So no,
there's no way to make the
Tim Golden added the comment:
Good point. I've added the versionchanged tag.
The issue with bytes-string encoding goes all the way back to
Popen.communicate if universal newlines mode is used so I've simply put
in a reference to the existing notes on the subject higher up in the docs.
Changes by R. David Murray rdmur...@bitdance.com:
--
assignee: docs@python -
nosy: +ncoghlan
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19487
___
Ned Deily added the comment:
OS X 10.6 Snow Leopard shipped with a new version of Tk 8.5 that is mostly
unusable with IDLE and other Tkinter applications. If you are using the
Apple-supplied system Python on OS X, you should install a new version of
Python that allows use of a different
Changes by Andrei Dorian Duma andrei.duma.dor...@gmail.com:
--
nosy: +andrei.duma
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19456
___
___
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19454
___
___
Roundup Robot added the comment:
New changeset 1feeeb8992f8 by Serhiy Storchaka in branch '3.3':
Issue #18702: All skipped tests now reported as skipped.
http://hg.python.org/cpython/rev/1feeeb8992f8
New changeset 09105051b9f4 by Serhiy Storchaka in branch 'default':
Issue #18702: All skipped
Larry Hastings added the comment:
Would this be a good time for me to ask about publishing the stack effect info?
I had to write my own parallel implementation of it for my assembler, so I
found it irritating that Python doesn't provide it.
--
___
Guido van Rossum added the comment:
Looking at this some more, I think one of the reasons is that isabs() does not
consider paths consisting of *just* a drive (either c: or \\host\share) to be
absolute, but it considers a path without a drive but starting with a \ as
absolute. So perhaps it's
Jerry Barrington added the comment:
I installed python-2.7.6rc1-macosx10.6_rev1.dmg, which says it has it's own Tk
builtin, on OSX 10.6.8. Idle crashes when I double-click a *.py file. If I
try to open a file from within Idle, a blank window opens that I can't close.
--
nosy:
Ned Deily added the comment:
Double-clicking on a .py may not be opening the file with the right version of
IDLE. OS X maintains the associations between file types, based on file
characteristics like the extension (e.g. .py), and applications. To select
exactly which application to open a
Ned Deily added the comment:
My apologies! What I just wrote is accurate but not the problem you are seeing.
I forgot that there is a problem with IDLE's Open command that was discovered
after the release of 2.7.6rc1. See Issue19426 It will be fixed in the final
release of 2.7.6 which
Andrei Dorian Duma added the comment:
I'm willing to fix this. ntpath.join behaves weird in other situations too:
ntpath.join('C:/a/b', 'D:x/y')
'C:/a/b\\D:x/y'
In fact, I don't know what the above should return.
--
___
Python tracker
Guido van Rossum added the comment:
PEP 428 offers a reasonable view. Search
http://www.python.org/dev/peps/pep-0428/ for anchored and read on.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19456
Roundup Robot added the comment:
New changeset 2d330f7908e7 by Serhiy Storchaka in branch '2.7':
Issue #18702: All skipped tests now reported as skipped.
http://hg.python.org/cpython/rev/2d330f7908e7
--
___
Python tracker rep...@bugs.python.org
Ned Deily added the comment:
P.S. If you feel comfortable with using the command line, you *could* install
the fix for Issue19426 yourself into 2.7.6rc1 if you can't wait for the final
release. For the OS X python.org installers, something like this should work
from a user login with
Roundup Robot added the comment:
New changeset 0d8f0526813f by Serhiy Storchaka in branch '2.7':
Fix test_os (issue #18702).
http://hg.python.org/cpython/rev/0d8f0526813f
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18702
Colin Williams added the comment:
I've updated the patch to consolidate some duplicated code. Unfortunately, I
wasn't able to move anything to setUpClass without messing even more with the
internals. I haven't had a chance to refine the code further based on
xdegaye's suggestions, but I
Terry J. Reedy added the comment:
Shipman and Lundh References:
http://infohost.nmt.edu/tcc/help/pubs/tkinter/web/panedwindow.html
http://effbot.org/tkinterbook/panedwindow.htm#Tkinter.PanedWindow-class
Let us separate the different issues with the PanedWindow code and docstrings.
0. .proxy is
Andrei Dorian Duma added the comment:
Added a possible fix for ntpath.join. Didn't touch isabs yet.
--
keywords: +patch
Added file: http://bugs.python.org/file32486/fix_ntpath_join.patch
___
Python tracker rep...@bugs.python.org
Brian Curtin added the comment:
The changes look fine to me.
--
assignee: terry.reedy - zach.ware
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17883
___
Roundup Robot added the comment:
New changeset a699550bc73b by Ned Deily in branch 'default':
Issue #18702 null merge
http://hg.python.org/cpython/rev/a699550bc73b
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18702
Brian Curtin added the comment:
Your patch for 3.3 won't fly: subTest is new for 3.4.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19440
___
Brian Curtin added the comment:
Both patches look fine to me.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19391
___
___
Python-bugs-list
Ned Deily added the comment:
LGTM
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19481
___
___
Python-bugs-list mailing list
Unsubscribe:
Bruce Leban added the comment:
A non-UNC windows path consists of two parts: a drive and a conventional path.
If the drive is left out, it's relative to the current drive. If the path part
does not have a leading \ then it's relative to the current path on that drive.
Note that Windows has a
Tim Peters added the comment:
Do we have a theory for _why_ IDLE goes nuts? I'd like to know whether the
patch is fixing the real problem, or just happens to work in this particular
test case ;-)
--
___
Python tracker rep...@bugs.python.org
Guido van Rossum added the comment:
Do we even have a way to get the current directory for a given drive? (I guess
this is only needed for C: style drives.)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19456
Changes by Andrei Dorian Duma andrei.duma.dor...@gmail.com:
--
nosy: +andrei.duma
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19475
___
___
Roundup Robot added the comment:
New changeset 1b0ca1a7a3ca by R David Murray in branch 'default':
#18678: Correct names of spwd struct members.
http://hg.python.org/cpython/rev/1b0ca1a7a3ca
--
nosy: +python-dev
___
Python tracker
R. David Murray added the comment:
Thanks, Vajrasky. I elected to apply this only to default, since it hasn't
caused any real-world problems. The (small but non-zero) chance of breaking
someone's code in the maintenance releases doesn't seem justified by the nature
of the fix.
--
Changes by R. David Murray rdmur...@bitdance.com:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18678
___
___
Nick Coghlan added the comment:
I think it's a good idea in principle, but unrelated to this patch :)
This one started as reworking line_offset as a more intuitive first_line
parameter, and then testing and documenting that change proceeded to reveal a
number of other issues with the 3.4 API
Nick Coghlan added the comment:
There was another change implemented as part of this: trailing whitespace is
now stripped from the lines emitted by the disassembler, which made it possible
to simplify the tests a bit (since they no longer have to strip that whitespace
themselves, they can
Jerry Barrington added the comment:
Thank you, that fix worked perfectly.
Only one weird thing. I have IDLE's preferences set to At Startup: Open Shell
Window. If I double click a *.py file while IDLE isn't running, the shell
pops up, then the py file pops up, then the shell goes away. Not
Zachary Ware added the comment:
Well, this is embarrassing. I'm so used to there not being much difference
between 3.3 and 3.4; I didn't even think about subTest being new, and obviously
I didn't test it as I should have.
Here's a new patch for 3.3 (tested this time!) that just removes the
Roundup Robot added the comment:
New changeset 7b6ac858bb17 by Zachary Ware in branch '2.7':
Issue #19391: Clean up PCbuild/readme.txt
http://hg.python.org/cpython/rev/7b6ac858bb17
New changeset f28a2d072767 by Zachary Ware in branch '3.3':
Issue #19391: Clean up PCbuild/readme.txt
Zachary Ware added the comment:
Thanks for the lesson, Vajrasky and David, and thank you for the review Brian.
The final commit did have a couple changes not in the posted patch, just fixes
of the same two obvious typos in both branches (avalible - available, lniked
- linked).
--
New submission from Ned Deily:
Running test_idle is supposed to cause the tests in Lib/idlelib/idle_test to be
run. Unfortunately, under 2.7, when test.regrtest is used as the test runner,
either directly or via make test (which buildbots use), the idlelib tests are
currently silently
Roundup Robot added the comment:
New changeset dac6aea39814 by Ned Deily in branch '2.7':
Issue #15392: Install idlelib/idle_test.
http://hg.python.org/cpython/rev/dac6aea39814
New changeset e52dad892521 by Ned Deily in branch '3.3':
Issue #15392: Install idlelib/idle_test.
Vajrasky Kok added the comment:
Should we add partialmethod to __all__ for consistency?
--
nosy: +vajrasky
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4331
___
Roundup Robot added the comment:
New changeset 358496e67a89 by Zachary Ware in branch '2.7':
Issue #17883: Backport test.test_support._is_gui_available()
http://hg.python.org/cpython/rev/358496e67a89
--
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset 72c3ca3ed22a by Zachary Ware in branch '2.7':
Issue #17883: Tweak test_tcl testLoadWithUNC to skip the test in the
http://hg.python.org/cpython/rev/72c3ca3ed22a
--
___
Python tracker
Zachary Ware added the comment:
I'll leave this open until the buildbots prove happy.
I did make a couple extra changes to the patch to TclTest.testLoadWithUNC to
make a couple of skip conditions actually report a skip instead of just
returning, and to remove a superfluous 'import sys'.
Terry J. Reedy added the comment:
Good catch. I confirmed the non-function, the silence, and the fix.
Ned, because the patch included a commit message, hg import immediately
committed the patch with the incomplete message. This surprised me since it has
never happened before. Since the patch
Zachary Ware added the comment:
Vajrasky Kok wrote:
When building Python in Windows in release mode (not debug mode), I had
to download the Tcl/Tk binary build from ActiveState
It is a bit of a hassle, but you can build your own Release mode Tcl/Tk; there
are instructions in the newly
Vajrasky Kok added the comment:
Except for the typo noticed by Victor, your patch looks good.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18985
___
New submission from Georg Brandl:
From Mark Summerfield:,
The Quick search box is really useful, but it is annoying that its
position varies from page to page. On pages with long tables of
contents it is often out of sight.
Why not put it above the Table of Contents. That way
Ned Deily added the comment:
Terry, sorry the patch was confusing. Just FYI, if you are using hg import
particularly when reviewing patches, you should always be using hg import
--no-commit as explained in the devguide to avoid unintended changes. Whether
or not a message is included in the
Terry J. Reedy added the comment:
I am curious too, so I traced through the call chain.
In PyShell.py
1343: PseudoOutputFile.write(s) calls: self.shell.write(s, self.tags)
914: shell is an instance of PyShell and self.tags is 'stdout', 'stderr', or
'console'.
1291: PyShell.write(s,tags) calls:
101 - 185 of 185 matches
Mail list logo