Χρήστος Γεωργίου (Christos Georgiou) t...@users.sourceforge.net added the
comment:
Modules/operator.c grows by ~70 lines, most of it the setup code for ag-attr;
also I loop twice over the args of attrgetter_new, choosing fast code that runs
once per attrgetter creation than temporary data.
Case Van Horsen cas...@gmail.com added the comment:
I've attached a patch that fixes hashing for numerical types, sys.hash_info is
now correct, fixes typeobject.c/wrap_hashfunc and tupleobject.c/tuplehash to
use Py_ssize_t instead of long, and uses Py_ssize_t instead of Py_hash_t.
I think it
Georg Brandl ge...@python.org added the comment:
Applied in r85766. Thanks!
--
nosy: +georg.brandl
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Tim Golden m...@timgolden.me.uk added the comment:
I've only read the patch and not applied it, yet. But in principle I'm
+1 on this. If Brian doesn't get there first, I'll try to apply later.
--
___
Python tracker rep...@bugs.python.org
Tim Golden m...@timgolden.me.uk added the comment:
I'm afraid this falls outside my particular area of knowledge, and also
outside the remit of the bug tracker. Perhaps you could post to
python-list to see if anyone there can help?
--
___
Python
Antoine Pitrou pit...@free.fr added the comment:
Your traceback suggests it's a string allocated when reading a module file...
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10157
___
Antoine Pitrou pit...@free.fr added the comment:
I've the same question as Jesús Cea Avión: what is needed to get this
in 3.2?
Same as usual: someone to review, apply, commit. Why do you ask?
--
nosy: +pitrou
___
Python tracker
Marc-Andre Lemburg m...@egenix.com added the comment:
Martin v. Löwis wrote:
Martin v. Löwis mar...@v.loewis.de added the comment:
Sorry, I didn't mean how Windows constructs the result for the
A interface - I was talking about Python code being able to map
the result from the Unicode
Bob Halley hal...@dnspython.org added the comment:
I rebuilt using --with-pydebug and -O0 -g. It now triggers an assertion a bit
earlier.
test_finalize (__main__.WithProcessesTestFinalize) ... Assertion failed:
(op-ob_refcnt == 0), function _PyTrash_destroy_chain, file Objects/object.c,
Stefan Krah stefan-use...@bytereef.org added the comment:
I also thought that it might be a pointer that's lost in marshal.c.
However, perhaps a pointer is lost in Py_Finalize. With this ...
Index: Modules/main.c
===
---
Changes by Éric Araujo mer...@netwok.org:
--
components: -Documentation
nosy: -d...@python
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10160
___
New submission from Henry Eshbaugh newts...@gmail.com:
This may be happening with other numbers, but I got weird results with the
modulus and division operators, after I imported the math module. I tried to do
7/200 and got 0, and 200%7 yielded 7, an impossibility with modulus.
--
Georg Brandl ge...@python.org added the comment:
The result of 7 / 200 is easy to explain -- this is how integer division works
in Python 2. (To get a floating result, one of the numbers must be a float.)
200 % 7 giving 7 however is strange. Are you sure this is what you calculated?
Éric Araujo mer...@netwok.org added the comment:
When working as a filter, reindent should use sys.{stdin,stdout}.encoding
(defaulting to sys.getdefaultencoding()) for reading and writing, respectively.
Detecting encoding on streams is not worth it IMO. People can set
PYTHONIOENCODING for
R. David Murray rdmur...@bitdance.com added the comment:
Updated patch that adds a missing test for BytesGenerator.flatten and fixes the
bugs in it. Also added versionchanged tags to the docs for the linesep
argument.
I think this is ready to go in.
--
stage: patch review - commit
Changes by R. David Murray rdmur...@bitdance.com:
Removed file: http://bugs.python.org/file19291/email_linesep.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1349106
___
Changes by R. David Murray rdmur...@bitdance.com:
Removed file: http://bugs.python.org/file19318/email_linesep.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1349106
___
R. David Murray rdmur...@bitdance.com added the comment:
Removed some debugging cruft from the latest patch.
--
Added file: http://bugs.python.org/file19319/email_linesep.patch
___
Python tracker rep...@bugs.python.org
Eric Smith e...@trueblade.com added the comment:
Which version of python? Could you run this from the command line and paste the
complete session, including the version info that python prints on startup?
--
nosy: +eric.smith, mark.dickinson
___
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +michael.foord
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10161
___
___
Python-bugs-list
Changes by Georg Brandl ge...@python.org:
--
components: +Library (Lib) -Demos and Tools
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5017
___
New submission from R. David Murray rdmur...@bitdance.com:
Just as with regular strings, when comparing failed output involving bytes
strings it is really helpful to have a diff showing which bytes have changed.
The attached patch adds an assertMultiLineEqual method to unittest and uses it
Georg Brandl ge...@python.org added the comment:
Applied in r85767.
--
nosy: +georg.brandl
resolution: - accepted
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8999
Georg Brandl ge...@python.org added the comment:
Now done in r85767.
--
dependencies: -`make patchcheck` should check the whitespace of .c/.h files
nosy: +georg.brandl
status: open - closed
___
Python tracker rep...@bugs.python.org
Georg Brandl ge...@python.org added the comment:
Closing as works for me.
--
resolution: - works for me
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3964
___
Georg Brandl ge...@python.org added the comment:
Patch looks good, committed in r85768.
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9919
Georg Brandl ge...@python.org added the comment:
An equivalent patch had already been committed in r83606.
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6364
Georg Brandl ge...@python.org added the comment:
python-mode.el is not maintained in Python anymore.
--
nosy: +georg.brandl
resolution: - out of date
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1772721
Georg Brandl ge...@python.org added the comment:
Fixed in r85770.
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3077
___
Changes by Georg Brandl ge...@python.org:
--
assignee: - lemburg
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9102
___
___
Python-bugs-list
New submission from anatoly techtonik techto...@gmail.com:
I never used Python console much, but now I see it has a very annoying behavior
under Windows Vista. By default entered char overwrites the char under cursor.
If you press Insert key once - it allows to insert key, but after you press
Changes by Georg Brandl ge...@python.org:
--
assignee: - d...@python
components: +Documentation -Demos and Tools
nosy: +d...@python
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5978
___
Georg Brandl ge...@python.org added the comment:
Applied in r85771.
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1203650
Brian Curtin cur...@acm.org added the comment:
This has nothing to do with Python.
IIRC from another issue, you have pyreadline installed. Your cmd.exe settings
may be conflicting with something that pyreadline is trying to do.
--
nosy: +brian.curtin
resolution: - invalid
stage: -
Georg Brandl ge...@python.org added the comment:
This is very probably resolved in 3.1 or 3.2, where lots of environment vs
Unicode bugs were fixed.
--
nosy: +georg.brandl
status: open - closed
___
Python tracker rep...@bugs.python.org
Georg Brandl ge...@python.org added the comment:
py3k bytes won't be backported now.
--
nosy: +georg.brandl
resolution: - wont fix
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3486
Antoine Pitrou pit...@free.fr added the comment:
Committed in r85772.
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10089
Georg Brandl ge...@python.org added the comment:
Amended error message in r85773.
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4829
Georg Brandl ge...@python.org added the comment:
Is this ready to commit?
--
assignee: - pitrou
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5218
___
Tim Golden m...@timgolden.me.uk added the comment:
If you don't often use the console, then I expect your console settings
have Insert mode off. (Alt-Space Properties Options Insert Mode [x])
--
nosy: +tim.golden
___
Python tracker
Stephen Hansen me+pyt...@ixokai.io added the comment:
Mark, the locals() right before if encoding: (line 399) are:
locale.normalize(en_US.UTF-8)
{'code': 'en_US.ISO8859-1', 'langname': 'en_US', 'encoding': 'UTF8',
'norm_encoding': 'utf_8', 'defenc': 'ISO8859-1', 'localename': 'en_US.UTF-8',
Mark Dickinson dicki...@gmail.com added the comment:
Seconding Eric's comment. This is what I get on my machine; can you cut and
paste the equivalent output on yours (including whatever else is required to
reproduce the results you describe)
Python 2.6.1 (r261:67515, Feb 11 2010, 15:47:53)
Georg Brandl ge...@python.org added the comment:
The bug title interestingly says 7%200, which does result in 7. I therefore
think the OP just confused the order of operands for %.
--
resolution: - invalid
status: open - closed
___
Python tracker
Marc-Andre Lemburg m...@egenix.com added the comment:
Stephen Hansen wrote:
Stephen Hansen me+pyt...@ixokai.io added the comment:
Mark, the locals() right before if encoding: (line 399) are:
locale.normalize(en_US.UTF-8)
{'code': 'en_US.ISO8859-1', 'langname': 'en_US', 'encoding':
anatoly techtonik techto...@gmail.com added the comment:
I don't have pyreadline installed.
But I had Insert Mode disabled for Python, indeed. I wonder if the setting
comes disabled by default?
--
___
Python tracker rep...@bugs.python.org
Brian Curtin cur...@acm.org added the comment:
I wonder if the setting comes disabled by default?
Correct.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10165
___
anatoly techtonik techto...@gmail.com added the comment:
I wonder if the setting comes disabled by default?
Correct.
Can we turn it on by default in Windows installer?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10165
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment:
Hello. Does this patch fix the problem?
--
keywords: +patch
nosy: +ocean-city
Added file: http://bugs.python.org/file19321/py3k_issue10157.patch
___
Python tracker rep...@bugs.python.org
Brian Curtin cur...@acm.org added the comment:
Fixed in py3k (r85774, minor correction in r85775), and release27-maint
(r85776).
Thanks for the patches!
--
assignee: - brian.curtin
resolution: - fixed
stage: - committed/rejected
status: open - closed
type: feature request -
Brian Curtin cur...@acm.org added the comment:
I'm not sure if it's possible, but even if so, I don't think we should do it.
For cmd.exe itself and all processes that run in it, the default is to have it
off, and you can enable it on a case-by-case basis.
Insert mode really should only be
Brian Curtin cur...@acm.org added the comment:
will block until you left click
should be...
will block until you right click (or hit enter)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10165
Georg Brandl ge...@python.org added the comment:
If other Posix-y systems accept both spellings and only Macs insist on the
dash, we should probably indeed change the alias entry to use it.
--
nosy: +georg.brandl
___
Python tracker
anatoly techtonik techto...@gmail.com added the comment:
You must have been mistaken this for QuickEdit mode.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10165
___
Agree that it's not really up to us; and that it's trivial to change
once for all future python processes.
As to the left-click blocking, I think that's Quick Edit mode you're
thinking of, not Insert
TJG
___
Python-bugs-list mailing list
New submission from Adam Bielański abg...@gmail.com:
There's a bug in module lib\pstats.py, line 150.
Let me paste a little piece of surrounding code:
class Stats:
()
def add(self, *arg_list):
if not arg_list: return self
if len(arg_list) 1:
And Clover a...@doxdesk.com added the comment:
The various attempts by RFCs to codify HTTP cookies are useless and bear no
resemblance to what browsers actually do.
In the real world, every byte in the range 0x20-0x7E is allowed, except for the
semicolon, the equals (in names), and in Opera,
New submission from Alexander Collins abdullah.le...@gmail.com:
While trying to install 3.1.2 on my windows 7. I was faced with a Trojan alert
from my ESET NOD32 anti-virus.
The link to the file:
http://www.python.org/ftp/python/3.1.2/python-3.1.2.amd64.msi
A snapshot is attached.
Windows
Changes by Brian Curtin cur...@acm.org:
--
title: ESET Torgan Alert [python-3.1.2.amd64 ON Win7-64] - ESET Trojan Alert
[python-3.1.2.amd64 ON Win7-64]
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10167
Brian Curtin cur...@acm.org added the comment:
I just ran that installer on Windows 7 x64 with Sophos AV and got no such
warning.
FWIW, the checksum of the downloaded installer matched the one listed on
http://www.python.org/download/releases/3.1.2/
--
components: +Windows
nosy:
Alexander Collins abdullah.le...@gmail.com added the comment:
Checksum matches. I am not sure why did it detect that.
The AV report: ( I shoulda posted that earlier -_-')
//- Report starts ...
10/21/2010 11:54:12 AM
Real-time file system protection
file
New submission from Alexander Belopolsky belopol...@users.sourceforge.net:
Apparently a 2.x to 3.x migration artifact. Canvas.coords() is documented as
returning a list:
def coords(self, *args):
Return a list of coordinates for the item given in ARGS.
but in 3.x it returns a map
R. David Murray rdmur...@bitdance.com added the comment:
Only OSX 10.4.0 I can run test_tk:
rdmur...@buddy:~/python/py3k./python.exe -m test.regrtest -uall test_tk
[1/1] test_tk
Thu Oct 21 12:41:16 buddy.home.bitdance.com python.exe[93560] Error:
kCGErrorFailure: Set a breakpoint @
R. David Murray rdmur...@bitdance.com added the comment:
Presumably this is the same issue 8716. That issue contains additional details
and a patch from Ronald, so I'm not closing it as a duplicate.
I don't know if the patch on this issue would actually address the issue. I
tried to apply
R. David Murray rdmur...@bitdance.com added the comment:
See also issue 5120.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8716
___
___
Changes by Antoine Pitrou pit...@free.fr:
--
resolution: - wont fix
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3356
___
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10153
___
___
Python-bugs-list mailing
New submission from Jean-Paul Calderone inva...@example.invalid:
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
s.bind(('', 0))
s.sendto(u'hellé', s.getsockname())
Traceback (most recent call last):
File stdin, line 1, in module
TypeError: sendto() takes exactly 3 arguments (2 given)
Éric Araujo mer...@netwok.org added the comment:
Great, thanks!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8999
___
___
Python-bugs-list
Changes by Éric Araujo mer...@netwok.org:
--
resolution: - duplicate
stage: unit test needed - committed/rejected
status: open - closed
superseder: - changed return type from tkinter.Canvas.coords
___
Python tracker rep...@bugs.python.org
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +belopolsky
versions: +Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6878
___
___
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
Searching through tkinter for map() calls reveals many other places where map
object is returned instead of a list. For example:
def keys(self):
Return a list of all resource names of this widget.
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
Attached patch fixes other uses of map() in tkinter.
--
Added file: http://bugs.python.org/file19325/issue6878.diff
___
Python tracker rep...@bugs.python.org
Éric Araujo mer...@netwok.org added the comment:
From your commit:
-Excursus about the use of compound shapes
+Compound shapes
-
Having more hyphens than title characters is not an error for reST, but it’s
not done in the rest of the document. I
Changes by Andreas Stührk andy-pyt...@hammerhartes.de:
--
nosy: +Trundle
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5017
___
___
Barry A. Warsaw ba...@python.org added the comment:
Hi Éric, what's the status on the backport?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10126
___
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
On Thu, Oct 21, 2010 at 2:03 PM, Éric Araujo rep...@bugs.python.org wrote:
..
Having more hyphens than title characters is not an error for reST, but it’s
not done in the rest of the document.
I suggest “fixing” that
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
On Thu, Oct 21, 2010 at 2:12 PM, Alexander Belopolsky
belopol...@users.sourceforge.net wrote:
The hyphen fix, however seems easier to commit than to
remember. I'll do it now.
Committed in r85778.
--
Éric Araujo mer...@netwok.org added the comment:
Done in r85779 and r85780, please test.
--
components: +Distutils
nosy: +Canfield, matejcik, sandro.tosi, valeo
resolution: - fixed
stage: needs patch - committed/rejected
versions: +Python 3.2
___
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
I also wonder if the title should be changed from Turtle graphics for Tk to
simply Turtle graphics. As explained in issue3884, msg73465 turtle's use of
Tk is an implementation detail and the title may be confusing to the
Éric Araujo mer...@netwok.org added the comment:
+1.
BTW, aren’t the fixes relevant for 2.7 too?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7061
___
Brian Curtin cur...@acm.org added the comment:
I'm not really sure if there's anything we can or should do here.
Martin, has this happened before, and if so is there anything to be done by us?
--
nosy: +loewis
___
Python tracker
Changes by Stefan Krah stefan-use...@bytereef.org:
Removed file: http://bugs.python.org/file19294/pythonrun.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10153
___
Stefan Krah stefan-use...@bytereef.org added the comment:
There is actually a second refleak of the same kind. New patch attached.
--
Added file: http://bugs.python.org/file19326/pythonrun2.patch
___
Python tracker rep...@bugs.python.org
Stefan Krah stefan-use...@bytereef.org added the comment:
Hirokazu, the patch looks good to me. Unfortunately Valgrind still
reports the leak.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10157
New submission from Alexander Belopolsky belopol...@users.sourceforge.net:
As Terry J. Reedy mentioned in his comment on issue 7061, turtle documentation
is lacking information on how speed codes 0-10 translate into actual turtle
speed.
Attached script measures the speed of the two primitive
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
See also turtle.py update for 3.1 post on python-dev specifically mentioning
this bug as fixed.
http://mail.python.org/pipermail/python-dev/2009-May/089383.html
--
status: pending - closed
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
On Thu, Oct 21, 2010 at 3:00 PM, Éric Araujo rep...@bugs.python.org wrote:
..
+1. [remove reference to Tk from title]
If we do that, I think we should move turtle documentation out of the
Graphical User Interfaces with Tk
Éric Araujo mer...@netwok.org added the comment:
Agreed that Program Frameworks is the most adequate section.
For the backport, I don’t see that turtle should have different rules than
other modules, but I’m not firmly attached to this, so do as you wish.
--
Alexander Collins abdullah.le...@gmail.com added the comment:
I'll attempt to contact my anti-virus provider and see what they have to say
about that.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10167
Éric Araujo mer...@netwok.org added the comment:
The backport fixed test_build_ext (the method) but not test_get_outputs. Barry
and I are on it.
--
resolution: fixed -
stage: committed/rejected -
___
Python tracker rep...@bugs.python.org
Antoine Pitrou pit...@free.fr added the comment:
Here is a patch for py3k, including http.client and urllib support.
--
Added file: http://bugs.python.org/file19327/sni.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5639
Éric Araujo mer...@netwok.org added the comment:
Can you produce a patch?
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10143
___
Éric Araujo mer...@netwok.org added the comment:
Would you like to turn your suggestions (+ hinting at buffer_text someplace)
into a patch for Doc/library/pyexpat.rst?
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10076
___
___
Python-bugs-list
Barry A. Warsaw ba...@python.org added the comment:
It's possible the proposed patch for 2.7 should be used in python 3 also. Or
as __ap__ suggestions in irc, os.path.dirname(sys.executable)
--
Added file: http://bugs.python.org/file19328/10126-py27.txt
Barry A. Warsaw ba...@python.org added the comment:
Fixed in 2.7 by r85784
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10126
___
___
Éric Araujo mer...@netwok.org added the comment:
There are half a dozen duplicate bugs of this one, with various suggestions on
each. They should be summed up and linked. I should be able to do it this
week-end if no-one does it first.
--
nosy: +eric.araujo
David Watson bai...@users.sourceforge.net added the comment:
On other platforms, I guess we'll just have to do some trial
and error to see what works and what not. E.g. on Linux it is
possible to set the hostname to a non-ASCII value, but then
the resolver returns an error, so it's not very
Éric Araujo mer...@netwok.org added the comment:
FTR, the ld bug with --enable-shared is tracked in #10126.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9807
___
Éric Araujo mer...@netwok.org added the comment:
... and #9807 spawned #9878.
--
superseder: deriving configuration information for different builds with the
same prefix - Avoid parsing pyconfig.h and Makefile by autogenerating
extension module
___
1 - 100 of 115 matches
Mail list logo