Tal Einat added the comment:
Going through the code more thoroughly, found additional places where
the standardized dialogs should be used. Also fixed remaining places
where these dialogs are used but the parent widget was still being
explicitly set to be the text widget, which is now the
stocker81 added the comment:
Christian Heimes [EMAIL PROTECTED] wrote:
I haven't removed it from the listing. Look under priority high a few
pages up.
I'm sorry, my mistake.
Regards,
Marcin
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2051
Changes by Nick Coghlan:
--
assignee: - ncoghlan
nosy: +ncoghlan
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2021
__
___
Python-bugs-list mailing list
Unsubscribe:
Nick Coghlan added the comment:
Perhaps the best we can do is a warning from the DictMixin constructor
in 2.6 when the -3 flag is specified?
--
nosy: +ncoghlan
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2012
Mark Dickinson added the comment:
Guido:
Correct -- the thing is that you can't know the signature of the
subclass's constructor so you can't very well blindly call that.
Jeffrey, is it okay for me to change the three class methods
(from_float, from_decimal, from_continued_fraction) to
Nick Coghlan added the comment:
I thought WINVER defaulted to something like 0x0400 (i.e. you can't use
things specifically defined for even Win2k without setting it, let alone
things first defined for XP).
I know I had to force it to 0x0500 recently for a non-Python project to
get access to
Nick Coghlan added the comment:
I've changed the issue type from rfe to behaviour. NamedTemporaryFile
actually provides __enter__ and __exit__ methods in 2.5, they just don't
work (it tries to use the methods from the underlying file object
directly which turns out to be a doomed exercise for a
Changes by Nick Coghlan:
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1706
__
___
Python-bugs-list mailing list
Unsubscribe:
Martin v. Löwis added the comment:
The defaulting of WINVER is indeed a compiler things; the problems
started when we moved to VS 2008 (so VC6 would certainly have a
different default).
Setting WINVER for extension modules wouldn't have helped with the Tcl
problem: Tcl/Tk itself gets compiled
Guido van Rossum added the comment:
Jeffrey:
Yay for measurements!
I was going to say that __add__ is inefficient because it makes so
many function calls, but it turns out that, as you say, the cost of
constructing a new Rational instance drowns everything else. On my
2.8GHz iMac,
New submission from Giampaolo Rodola':
In attachment. All existing tests are unchanged.
--
components: Tests
files: test_fcntl.diff
messages: 62225
nosy: facundobatista, giampaolo.rodola, tiran
severity: normal
status: open
title: test_fcntl.py converted to unittest
type: rfe
versions:
Nick Coghlan added the comment:
I just checked the current PC/pyconfig.h: with the current settings in
that file, the core is already limited to using NT4 compatible Win32 API
calls. Unless the specific source file takes steps to override it (i.e.
setting WINVER before including python.h), no
Nick Coghlan added the comment:
Given that whether or not Py_BUILD_CORE is defined flips the direction
of the DLL exports/import for the main python DLL, I don't see how it
could be defined for the separately compiled extension modules like
_tkinter, _sqlite3, _ctypes, _socket, _ssl, etc.
As
Martin v. Löwis added the comment:
Given that whether or not Py_BUILD_CORE is defined flips the direction
of the DLL exports/import for the main python DLL, I don't see how it
could be defined for the separately compiled extension modules like
_tkinter, _sqlite3, _ctypes, _socket, _ssl, etc.
Christian Heimes added the comment:
Nick Coghlan wrote:
I know I had to force it to 0x0500 recently for a non-Python project to
get access to the function that permits a non-blocking attempt to
acquire a critical section. That project is stuck using VC6 though -
current MS compilers may
Christian Heimes added the comment:
Martin v. Löwis wrote:
As you found, the original issue reported here could be closed:
WINVER *is* already defined in pyconfig.h. I'm still -1 for defining
it generally. So to define WINVER for the extension modules that
are part of the core, it would be
Martin v. Löwis added the comment:
Ah, so you propose raise WINVER, compared to what it is currently; I now
eventually understand this issue.
Raising it to 0x0500 is fine with me. Please add a note to PEP 11 that
NT 4 and older won't be supported anymore from 2.6 on. NT4 extended
support ended
Raymond Hettinger added the comment:
We should hold off on this one for a bit until I can get feedback on
whether UserDict, UserString, and UserList should all be in the same
place (in the own modules or rolled into collections).
__
Tracker [EMAIL PROTECTED]
Jeffrey Yasskin added the comment:
Mark: Coming from C++, I don't have any intuition on static vs. class
methods. It might be strange to write MyRationalSubclass.from_float()
and get a Rational back, but it might also be strange to write a
subclass with a different constructor and get an error.
Christian Heimes added the comment:
Applied in r60695 (trunk).
I've updated the PEP, too.
--
resolution: accepted - fixed
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1706
__
Benjamin Peterson added the comment:
I converted this for GHOP:
http://code.google.com/p/google-highly-open-participation-psf/issues/detail?id=292can=1q=completedcolspec=ID%20Status%20ClaimedBy%20Due%20NeedsReview%20Summarystart=100
--
nosy: +gutworth
__
Hirokazu Yamamoto added the comment:
Please don't apply this patch now.
VC6 build fails from rev.60696
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1700463
_
___
Jeffrey Yasskin added the comment:
I measured various implementations of __instancecheck__ using
`./python.exe -m timeit -s 'from rational import Rational; r =
Rational(3, 2)' '...'` on my 2.33 GHz MacBook, with ... replaced by
either isinstance(r, Rational) or isinstance(3, Rational) to measure
Raymond Hettinger added the comment:
Whoa! I thought we had arrived at a decision to leave decimal alone.
Please do not infect this module with numbers.py.
--
nosy: +rhettinger
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1762
New submission from Lenard Lindstrom:
The install command returns the following error when the --compiler
option is provided on the command line:
python setup.py install --compiler=mingw32
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2
Hirokazu Yamamoto added the comment:
Sorry for interruption. I'm a little doubtful this is really needed.
We can get My Documents path by following 5 lines of code.
import ctypes
dll = ctypes.windll.shell32
buf = ctypes.create_string_buffer(300)
dll.SHGetSpecialFolderPathA(None, buf, 0x0005,
Changes by Gregory P. Smith:
--
nosy: +gregory.p.smith
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2016
__
___
Python-bugs-list mailing list
Unsubscribe:
Martin v. Löwis added the comment:
Could you try whether
setup.py build --compiler=mingw32 install
works?
--
nosy: +loewis
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2056
__
New submission from anatoly techtonik:
difflib alone and bundled Tools\Scripts\diff.py utility are both very
useful, esp. on windows platforms where standard unix diffutils are
absent. However, python difflib still doesn't have a patch counterpart
to apply at least unified diff format.
Lenard Lindstrom added the comment:
Yes, setup.py build --compiler=mingw32 install works. It is good
enough for me.
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2056
__
___
30 matches
Mail list logo