Tarek Ziadé ziade.ta...@gmail.com added the comment:
works, and even tested in test_build_py.test_empty_package_dir
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3031
Tarek Ziadé ziade.ta...@gmail.com added the comment:
done in r69356
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3987
___
Tarek Ziadé ziade.ta...@gmail.com added the comment:
The patch looks fine to me. I'll send a mail to Andrew to ask him for a
demonstration, and wait a week to commit it.
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3386
Tarek Ziadé ziade.ta...@gmail.com added the comment:
worked started in r3986
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3986
___
___
Python-bugs-list
New submission from Tarek Ziadé ziade.ta...@gmail.com:
It's annoying to get conflicts on changes in distutils in the trunk,
when forward-porting to 3.x, because other changes where made there and
only there.
Things like PEP8-ification and modern syntax changes needs to be
backported to 2.7 when
Changes by Tarek Ziadé ziade.ta...@gmail.com:
--
assignee: - tarek
nosy: +tarek
versions: +Python 2.7, Python 3.1 -Python 2.6, Python 3.0
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2445
Changes by Tarek Ziadé ziade.ta...@gmail.com:
--
assignee: - tarek
nosy: +tarek
versions: +Python 2.7, Python 3.1 -Python 2.4, Python 2.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2279
Changes by Tarek Ziadé ziade.ta...@gmail.com:
--
assignee: - tarek
nosy: +tarek
versions: +Python 2.7, Python 3.1 -Python 2.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2624
___
Changes by Tarek Ziadé ziade.ta...@gmail.com:
--
assignee: - tarek
nosy: +tarek
type: - behavior
versions: +Python 2.7, Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2943
___
Changes by Tarek Ziadé ziade.ta...@gmail.com:
--
assignee: - tarek
nosy: +tarek
versions: +Python 2.7, Python 3.1 -Python 2.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2945
___
Changes by Tarek Ziadé ziade.ta...@gmail.com:
--
assignee: - tarek
nosy: +tarek
versions: +Python 2.7, Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3621
___
Changes by Tarek Ziadé ziade.ta...@gmail.com:
--
assignee: - tarek
nosy: +tarek
versions: +Python 2.6, Python 2.7, Python 3.0, Python 3.1 -Python 2.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3902
Changes by Tarek Ziadé ziade.ta...@gmail.com:
--
assignee: - tarek
nosy: +tarek
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4032
___
___
Changes by Tarek Ziadé ziade.ta...@gmail.com:
--
assignee: - tarek
nosy: +tarek
versions: +Python 2.6, Python 2.7, Python 3.0, Python 3.1 -Python 2.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4359
Ulrich Eckhardt eckha...@satorlaser.com added the comment:
Technically, both changes (or neither of them) generate the same
output binaries, so I Don't Care(tm). My approach for disabling the
warnings in the code has (to me) two advantages:
1. You immediately see that warnings are disabled. I
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment:
Here is stack trace.
PyEval_EvalFrameEx(_frame * 0x00a62060, int 83) line 2841 + 6 bytes
fast_function(_object * 0x, _object * * * 0x00fbfa98, int 1, int
1, int 9870576) line 3946
call_function(_object * * * 0x00fbfa98, int
Antoine Calando acala...@free.fr added the comment:
Hi Martin,
Actually, I just investigated the problem in the libs and did not
check the python exe source code.
I guess you are right, this looks more like an issue from cygwin.
I was a bit irritated by hours of debugging when entering the
New submission from Kristján Valur Jónsson krist...@ccpgames.com:
in lib/test/test_os.py, there is a test class, Win32ErrorTests, that
tests that certain functions return a WindowsError on failure. And
indeed they do that, but that is in contradiction with the
documentation. From the 2.6
Marc-Andre Lemburg m...@egenix.com added the comment:
On 2009-02-05 14:23, Thomas Heller wrote:
Thomas Heller thel...@ctypes.org added the comment:
The distutils version number is now updated automatically by the Python
release process, so the comment in that file can be removed.
How
New submission from Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp:
test_customize_compiler fails on windows with following error message.
ERROR: test_customize_compiler
(distutils.tests.test_sysconfig.SysconfigTestCase
)
--
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment:
Sorry, I don't have VS2005.
By the way, _PyVerify_fd seems to be required to VC6 too. Because
fdopen(fd = _NHANDLE_) crashes on debug build and fdopen(bad fd
_NHANDLE_) won't set errno to EBADF.
New submission from Horváth István Róbert thr...@gmail.com:
Hi!
While copying hidden files on windows, the hidden flag is lost
(surprisingly the read-only flag is copied).
Is this a bug or a feature? The documentation only says that flags are
also copied by shutil.copystat, but no details.
Matthew Barnett pyt...@mrabarnett.plus.com added the comment:
WindowsError is a subclass of OSError, so it's not entirely
contradictory, just a little misleading... :-)
--
nosy: +mrabarnett
___
Python tracker rep...@bugs.python.org
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
ah, well, silly me. then I'll just close this as Invalid.
--
resolution: - invalid
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5165
Georg Brandl ge...@python.org added the comment:
I'm sorry, this should have been another issue. Reassigning to you.
--
assignee: pitrou - rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2527
Georg Brandl ge...@python.org added the comment:
I don't know any. But since rst is so lightweight, it is usually not too
much of a pain to just copy the text from the browser and reintroduce
formatting because you're likely to have to go over and edit the whole
content anyway.
Changes by Tarek Ziadé ziade.ta...@gmail.com:
--
assignee: georg.brandl - tarek
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5158
___
___
New submission from Chema Cortés dev.xt...@gmail.com:
Sometimes, the default hash for user-defined object is not equal to the
id of the object:
In [1]: class A:
...: pass
In [2]: a=A()
In [3]: id(a),hash(a)
Out[3]: (3082955212L, -1212012084)
The test box has an AMD Sempron, a 64bit CPU
Antoine Pitrou pit...@free.fr added the comment:
I wouldn't qualify this as a bug. hash() doesn't need to be equal to the
id() even in the default case.
Actually, it may be better for hash() to be equal to id()/4 or id()/8,
depending on the standard alignment of the memory allocator.
--
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
I see. I had thought your code was for VS2005 (VC8)
I have changed the patch to work with VS2005 as well.
I don't think we need to worry about VS2003 so much, as I don't think
it is an officially supported compiler for the current
Guilherme Polo ggp...@gmail.com added the comment:
Eric, I noticed you said Fedora 6, so I checked which tcl/tk it
includes and apparently it is 8.4.13, is that correct ?
I tried using tcl/tk 8.4.13 and I managed to hang it too :)
Try running test_tcl followed by test_ttk_guionly with regrtest.
New submission from Denis S. Otkidach denis.otkid...@gmail.com:
ElementTree and minidom allow creation of not well-formed XML, that
can't be parsed:
from xml.etree import ElementTree
element = ElementTree.Element('element')
element.text = u'\0'
xml = ElementTree.tostring(element,
Eric Smith e...@trueblade.com added the comment:
Yes, I have these installed:
tcl-8.4.13-3.fc6
tcl-devel-8.4.13-3.fc6
tk-8.4.13-3.fc6
tk-devel-8.4.13-3.fc6
When I run ./python Lib/test/regrtest.py test_tcl test_ttk_guionly, it
hangs.
___
Python tracker
New submission from shamilbi shami...@gmail.com:
if i configure logging into a file with encoding = 'cp1251' and do
logger.debug(u'...') then i get crash with UnicodeError
i suggest reimplementing method FileHandler.emit():
...
if isinstance(msg, unicode):
stream.write(f % msg)# it
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment:
I agree. Please focus on _MSC_VER = 1400. I'll post new issue about VC6
after this issue will be solved.
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4804
Changes by Benjamin Peterson benja...@python.org:
--
assignee: - vsajip
nosy: +vsajip
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5170
___
___
Guilherme Polo ggp...@gmail.com added the comment:
When I run ./python Lib/test/regrtest.py test_tcl test_ttk_guionly, it
hangs.
I have isolated it now:
Traceback (most recent call last):
File stdin, line 1, in module
File /home/gpolo/python-dev/python-trunk/Lib/lib-tk/Tkinter.py,
line
Mark Dickinson dicki...@gmail.com added the comment:
It looks like this is a platform with sizeof(long) == 4 and sizeof(void *)
== 8. Is that right? As Antoine says, I can't see any problem here. Why
do you think that hash(a) should be equal to id(a) in this case?
Antoine, in what way
Changes by Akira Kitada akit...@gmail.com:
Removed file: http://bugs.python.org/file12868/issue4010.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4010
___
Akira Kitada akit...@gmail.com added the comment:
s/get_config_vars/get_config_var/
--
versions: +Python 3.1
Added file: http://bugs.python.org/file12954/issue4010.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4010
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
I've taken the patch from Hirokazu and enhanced it:
1) it needed work to function with Visual Studio 2008
2) It now exposes a function so that _fileio.c can make use of it too.
3) Turned off the CRT manipulation in exceptions.c
4)
Tarek Ziadé ziade.ta...@gmail.com added the comment:
fixed in r69366 thanks for the patch
--
assignee: - tarek
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5167
___
Guilherme Polo ggp...@gmail.com added the comment:
After I have isolated it now:, there should be this interactive
session (but gmail ate it apparently):
import os
del os.environ['DISPLAY']
import Tkinter
t = Tkinter.Tcl()
t.loadtk()
Traceback (most recent call last):
File stdin, line 1,
Guilherme Polo ggp...@gmail.com added the comment:
Ok, I've found the cause of the problem and the patch attached should
solve it but shouldn't be applied! This was just a quick fix I did to
confirm what I expected, I will add something more correct later.
_tkinter is aware of this deadlock
New submission from Mark Dickinson dicki...@gmail.com:
The docstring for itertools.product seems to be missing any mention of the
repeat keyword argument, in both the trunk and py3k, and the maintenance
branches.
(The itertools.rst docs are fine, though.)
--
assignee: rhettinger
Antoine Pitrou pit...@free.fr added the comment:
Because with hash() == id() == address of the PyObject, the hash is
always a multiple of 4 or 8 (I think it's 8), so (hash() %
dict_or_set_table_size) is non-uniformly distributed in most cases.
___
Python
Mark Dickinson dicki...@gmail.com added the comment:
Hah. Good point. I'd forgotten about the taking-the-low-order-bits
thing. Should probably do some timings (and possibly also number-of-
collisions measurements) to find out whether using id() 3 actually
makes any significant difference
Antoine Pitrou pit...@free.fr added the comment:
Updated patch.
Added file: http://bugs.python.org/file12956/pybench3.0-3.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4704
___
New submission from Jean-Paul Calderone exar...@divmod.com:
The weekly tracker summary emails sent to python-dev contain incorrect
information. The value for the median duration of open issues it
reports has recently wrapped around to 0 and started growing from there.
Looking at older reports,
Marc-Andre Lemburg m...@egenix.com added the comment:
On 2009-02-06 18:35, Marc-Andre Lemburg wrote:
Marc-Andre Lemburg m...@egenix.com added the comment:
Perfect ! Thanks, Antoine. Please check it in.
Well, except for this part that sneaked in:
@@ -4,8 +4,6 @@
#
-# Note: Please keep
New submission from Matthew Woodcraft m...@pearson.co.uk:
In the current What's New In Python 3.0 documentation, under Changes
To Exceptions, it is claimed that the removal of StandardError is in
2.6 already.
But according to the 2.6.1 documentation, StandardError is still there
in its usual
Georg Brandl ge...@python.org added the comment:
Thanks, fixed in r69372.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5173
___
Eric Smith e...@trueblade.com added the comment:
The patch does solve the problem for me. It no longer hangs when running
either:
./python Lib/test/regrtest.py test_tcl test_ttk_guionly
or:
./python Lib/test/regrtest.py
-
...
test_traceback
test_transformer
test_ttk_guionly
Changes by Forest Wilkinson for...@users.sourceforge.net:
--
nosy: +forest
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1194378
___
___
Paul Moore p.f.mo...@gmail.com added the comment:
Here's an updated patch. I've reverted to the name simplegeneric and
documented the limitation around ABCs (I've tried to give an explanation
why it's there, as well as a hint on now to work around the limitation -
let me know if I'm overdoing
Mark Dickinson dicki...@gmail.com added the comment:
Some preliminary timings indicate that it may well be worth replacing 'return
(long)p' with
'return (long)p 3' in _Py_HashPointer (in Objects/object.c): I'm getting a
10% speedup in
dict-building and dict-lookup for dicts of plain
Guilherme Polo ggp...@gmail.com added the comment:
Here is a better patch, for some definition of better.
It syncs the failed attempt to load tk that may occur in
_tkinter.Tkapp_TkInit, _tkinter.Tcl_AppInit and tkappinit.Tcl_AppInit.
And that is done only for tk 8.4.14 now.
Said that, I'm a
Terry J. Reedy tjre...@udel.edu added the comment:
If you semi-optimize the implementation by pre-cancelling out the larger
of the denominators, then these functions would be justified as more
efficient than the naive use of the factorial function indicated by the
formulas.
Possible shorter
Guilherme Polo ggp...@gmail.com added the comment:
Any chance you can look at the proposed patch, Martin ? I found out that
it was you who reported this deadlock back then, so you might want to
review the patch.
--
nosy: +loewis
___
Python tracker
Benjamin Peterson benja...@python.org added the comment:
This should be reported to the meta-tracker:
http://psf.upfronthosting.co.za/roundup/meta/
--
nosy: +benjamin.peterson
resolution: - invalid
status: open - closed
___
Python tracker
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
The attached test script and output file appear to show logging working
correctly. The script writes a log message including the Cyrillic text
доброе утро (Good morning) to a CP1251-encoded file, test.log. Opening
this file in a
Eric Smith e...@trueblade.com added the comment:
The second patch (checking_for_failed_tk_load.diff) also works for me.
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5122
___
Guilherme Polo ggp...@gmail.com added the comment:
Found a place still out of sync, it is fixed on this new patch. To
reproduce the problem with the previous patch try this:
import os
del os.environ['DISPLAY']
import Tkinter
Tkinter.Tk()
Tkinter.Tcl().loadtk() # should hang now (with a proper
Neil Schemenauer nas-pyt...@arctrix.com added the comment:
Thanks Antoine. For some reason I don't think I ever got an email about
this issue. I did some further cleanups and optimizations. Committed
as SVN rev 69373.
Lib/compiler is still in need of some fixing since it doesn't handle
Terry J. Reedy tjre...@udel.edu added the comment:
If the interactive interpreter did not require blank lines within blocks
to have at least one 'trailing' space to avoid prematurely ending the
block (as when copy from editor window and paste), IDLE could
automatically rstrip lines. Given that
Changes by Georg Brandl ge...@python.org:
--
assignee: - effbot
nosy: +effbot
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5166
___
___
Georg Brandl ge...@python.org added the comment:
I've experimented with a style variant that keeps the sidebar fixed on
the left side, however I did not manage to get it to show a separate
scrollbar. Maybe I was just stupid though.
___
Python tracker
Terry J. Reedy tjre...@udel.edu added the comment:
On IDLE 3.0, win xp, cntl-space brings up a selection box with known
names to select. What was your actual input?
--
nosy: +tjreedy
___
Python tracker rep...@bugs.python.org
Eric Smith e...@trueblade.com added the comment:
With the second patch installed, your code snippet does indeed hang for me.
With the third patch installed, I get:
[trunk]$ ./python
Python 2.7a0 (trunk:69369M, Feb 6 2009, 14:59:32)
[GCC 4.1.2 20070626 (Red Hat 4.1.2-13)] on linux2
Type help,
Roumen Petrov bugtr...@roumenpetrov.info added the comment:
Exactly but I don't open issue as I address it in issue5060 .
--
nosy: +rpetrov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5161
Ezio Melotti ezio.melo...@gmail.com added the comment:
Something like this maybe?
div.sphinxsidebar {
float: left;
width: 230px;
height: 100%;
font-size: 90%
/* add these: */
margin-top: 30px;
height: 100%;
overflow: auto;
position: fixed;
}
...
div.related
Jesús Cea Avión j...@jcea.es added the comment:
The issue is trivially reproductible in any 32 bits platform, simply
allocating objects until you go up the 2GB mark.
Since __hash__() wants to take advantage of every bit in a 32 bit
platform, and we don't have unsigned integers in python, I vote
Guilherme Polo ggp...@gmail.com added the comment:
Eric Smith added the comment:
.
.
Which I assume is the expected behavior.
Yes it is expected.
Also with the third patch installed, the regrtest's all pass.
Very nice.
And Eric, thanks for the patience and for testing them all.
New submission from Calvin Spealman ironfro...@users.sourceforge.net:
The following example from the xmlrpclib docs has an obviously erronous
call to close() after the actual return.
(http://docs.python.org/library/xmlrpclib.html)
def python_logo():
handle = open(python_logo.jpg)
Calvin Spealman ironfro...@users.sourceforge.net added the comment:
The patch attached uses a with statement for proper file closing in the
examples.
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5174
Antoine Pitrou pit...@free.fr added the comment:
It's ok to bump this to Python 2.3, though :-)
The current version only works with 3.x, due to the use of the print
function with the end keyword argument.
Should it be fixed?
Regards
Antoine.
___
Python
Antoine Pitrou pit...@free.fr added the comment:
Thanks Antoine. For some reason I don't think I ever got an email about
this issue. I did some further cleanups and optimizations. Committed
as SVN rev 69373.
Thanks! If I knew you hadn't received any notification I would have
tried to ping
Ezio Melotti ezio.melo...@gmail.com added the comment:
Ezio, itertools currently has combinations with and without
*replacement*, not repetition.
I think you're talking about something slightly different
(repetitions in the *iterable*, rather than allowing
repeated *drawings* of the same
Guilherme Polo ggp...@gmail.com added the comment:
Committed now.
trunk: r69376, r69377
release26-maint: r69378
py3k: r69380
release30-maint: r69381 (hand-merged, as you may notice I forgot to
split the patch in two again in py3k)
--
resolution: - fixed
status: open - closed
New submission from Lisandro Dalcin dalc...@gmail.com:
At Objects/longobject.c, in almost all cases
OverflowError is raised when a unsigned integral is requested from a
negative PyLong. However, this one breaks the rules:
int
_PyLong_AsByteArray(PyLongObject* v,
unsigned char*
Martin v. Löwis mar...@v.loewis.de added the comment:
What specific changes do you have in mind?
--
nosy: +loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5164
___
New submission from Collin Winter coll...@gmail.com:
This patch speeds up the string formatting % operator by avoiding the
unnecessary indirection in PyNumber_Remainder(). This particularly
benefits templating systems that do a lot of string formatting via %.
Performance tested with gcc 4.3.1
Martin v. Löwis mar...@v.loewis.de added the comment:
My approach for disabling the
warnings in the code has (to me) two advantages:
What specific file would you put these pragmas into?
Are you perhaps proposing to change upstream code?
___
Python tracker
Tarek Ziadé ziade.ta...@gmail.com added the comment:
PEP8 :
- removing space between function names and ()
like: function () - function()
- function(arg1,
arg2,
arg3)
becomes
function(arg1, arg2, arg3)
- remove the usage of string.translate,
Martin v. Löwis mar...@v.loewis.de added the comment:
I think the comment (an invalid fd would be a C program bug)
misrepresents the facts. Please don't check it in as-is. An invalid file
descriptor is *not* assertable. The authority on file descriptors, the
POSIX standard, specifies for, say,
Martin v. Löwis mar...@v.loewis.de added the comment:
It's neither a bug nor a feature. It's simply not possible to copy the
hidden flag (or system flag, for that matter), since there is no API for
doing so. copystat only copies Unix attributes.
If you were to copy the hidden flag, you would
Lorenzo M. Catucci lore...@sancho.ccd.uniroma2.it added the comment:
As the tests are new, I hope sending the real file is the right way to
proceed.
Added file: http://bugs.python.org/file12963/test_imapnet.py
___
Python tracker rep...@bugs.python.org
Changes by Lorenzo M. Catucci lore...@sancho.ccd.uniroma2.it:
Added file: http://bugs.python.org/file12964/test_smtpnet.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4470
___
Changes by Lorenzo M. Catucci lore...@sancho.ccd.uniroma2.it:
Added file: http://bugs.python.org/file12965/test_popnet.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4473
___
Changes by Neil Schemenauer nas-pyt...@arctrix.com:
--
assignee: - nascheme
nosy: +nascheme
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1754094
___
Changes by Lorenzo M. Catucci lore...@sancho.ccd.uniroma2.it:
--
components: +Library (Lib)
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4473
___
Martin v. Löwis mar...@v.loewis.de added the comment:
Hmm. Ok. I was hoping you could point to a revision number...
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5164
___
Lorenzo M. Catucci lore...@sancho.ccd.uniroma2.it added the comment:
There is a problem I forgot to state with test_anonlogin:
since I try and test both SSL and starttls, the DoS checker at cmu kicks
in and refuse the login attempt in PopSSLTest. Since I'd rather avoid
cheating, I'm leaning to
Neil Schemenauer nas-pyt...@arctrix.com added the comment:
Fixed in SVN rev 69394 (finally). This was done by having the symbol
table differentiate between explicit and implicit globals.
--
assignee: jhylton - nascheme
nosy: +nascheme
resolution: - fixed
status: open - closed
Changes by Neil Schemenauer nas-pyt...@arctrix.com:
--
assignee: jhylton - nascheme
nosy: +nascheme
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue999444
___
Changes by Neil Schemenauer nas-pyt...@arctrix.com:
--
assignee: - nascheme
nosy: +nascheme
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5064
___
Guilherme Polo ggp...@gmail.com added the comment:
Another way to reproduce it (tested using debug build):
Python 2.7a0 (trunk:69375:69376M, Feb 6 2009, 20:27:09)
[GCC 4.3.2] on linux2
Type help, copyright, credits or license for more information.
import Tkinter
Tkinter.Tk()
Tkinter.Tk
Lorenzo M. Catucci lore...@sancho.ccd.uniroma2.it added the comment:
I'm enclosing the expected-failure version of test_popnet. It's much
simpler to talk and comment about something you can see!
Added file: http://bugs.python.org/file12966/test_popnet.py
___
Jeffrey Yasskin jyass...@gmail.com added the comment:
I think this is only valid when PyString_CheckExact is true. A subclass
could override __mod__, right?
I'm somewhat interested to see how a primarily-numeric benchmark
responds to this patch. I'd expect it to get very slightly slower for %
Brett Cannon br...@python.org added the comment:
Here is a patch to remove the DeprecationWarning.
--
keywords: +patch
Added file: http://bugs.python.org/file12967/issue3652.diff
___
Python tracker rep...@bugs.python.org
1 - 100 of 101 matches
Mail list logo