Senthil orsent...@gmail.com added the comment:
On Fri, Sep 18, 2009 at 04:35:37AM +, Terry J. Reedy wrote:
Was 2.x different?
Even in 2.x it returns
{}
And I thought that was expected. Even I am confused by the free
variable explaination as you pointed out. Perhaps, Georg could explain
Henri Hein he...@granitetower.net added the comment:
Right, I was thinking about rebuilding Python26.dll. If we do go down
that path, I will report the results.
Thanks for the feedback.
--
___
Python tracker rep...@bugs.python.org
Ronald Oussoren ronaldousso...@mac.com added the comment:
Jesse: is this something you can look into?
This is a crash of multiprocessing on MacOSX 10.6 with a 64-bit build of
python.
--
assignee: ronaldoussoren - jnoller
nosy: +jnoller
___
Python
Ronald Oussoren ronaldousso...@mac.com added the comment:
Thanks. I'll fix this over the weekend.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6934
___
Senthil orsent...@gmail.com added the comment:
I think it is okay to close this, with Martin's Howto.
--
nosy: +orsenthil
resolution: - invalid
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6767
Georg Brandl ge...@python.org added the comment:
I'm sorry, I messed up the test. When x is not used in g(), it's of
course *not* a free variable in g. This is the correct test:
def f():
x = 1
def g():
print x
print locals()
g()
f()
--
Georg Brandl ge...@python.org added the comment:
They are meant for interactive use only.
--
resolution: - works for me
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6936
Georg Brandl ge...@python.org added the comment:
And fixed now (I used ``quit()``) in r74896.
--
resolution: works for me - fixed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6936
___
Georg Brandl ge...@python.org added the comment:
Fixed in r74897, r74898 (3.1).
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6935
___
Martin v. Löwis mar...@v.loewis.de added the comment:
Your patch looks good (except that in getresuid, you seem to be missing
return). I have no clue why it doesn't work; I'll see whether I can try it
out on Linux within the next few weeks.
The one puzzling detail is that you don't include a
Tim Golden m...@timgolden.me.uk added the comment:
Don't know what exact release OS X ships with, but it
looks like you're being bitten by this:
http://bugs.python.org/issue5261
--
nosy: +tim.golden
___
Python tracker rep...@bugs.python.org
Ned Deily n...@acm.org added the comment:
See also Issue6934 for Python3 fix.
--
assignee: - ronaldoussoren
components: +Macintosh
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5652
___
Thomas Heller thel...@ctypes.org added the comment:
Is that any help?
Not really ;-).
Here is a patch I just wrote - it must still be checked for correctness,
and tests for it must be added. I hope the comment in the code explains
how it works. ctypes-structinit.patch
--
keywords:
Ned Deily n...@acm.org added the comment:
Issue5652 suggests removing the Mac/Tools references here and in trunk.
--
nosy: +ned.deily
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6934
___
New submission from Zhang Cong ftoffi...@ftofficer.com:
There is an issue in multiprocessing library.
Lib/multiprocessing/managers.py:413:
util.debug('disposing of obj with id %d', ident)
It is '%d' here, but 'ident' is a string.
This always cause an TypeError from logging module once enable
Georg Brandl ge...@python.org added the comment:
OK, that is reasonable. I changed this and several other same-style
errors in r74901.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6905
Georg Brandl ge...@python.org added the comment:
Fixed in r74903; I used %r as the format code to match the formatting in
create().
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
Jesse Noller jnol...@gmail.com added the comment:
AFAIK: Tim is correct. Unfortunately, this has already been fixed - as
much as it kills me, there's not much I can do to fix this for Snow
Leopard.
--
___
Python tracker rep...@bugs.python.org
New submission from Pascal Chambon chambon.pas...@gmail.com:
Hello
I'm having trouble around the behaviour of the io module's truncate
methods, in py3k. If I remember well, under unix and older versions of
Python (with other file types), truncate never move the fiel pointer
(and had to fake
Changes by Dave Malcolm dmalc...@redhat.com:
--
nosy: +dmalcolm
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4111
___
___
Python-bugs-list
Ronald Oussoren ronaldousso...@mac.com added the comment:
Jesse: Apple can fix their own copy of python (which is 2.6.1), I was more
worried about the upcoming 2.6.3 release.
I'll file a bug with Apple and poke their Python maintainer once 2.6.3 is
released.
--
Changes by Ronald Oussoren ronaldousso...@mac.com:
--
assignee: jnoller - ronaldoussoren
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6937
___
Eric Smith e...@trueblade.com added the comment:
I checked in a slightly modified version of Marcin's patch in py3k
(r74907) and release31-maint (r74909). I modified the patch to keep the
same style as the rest of the module.
I'll now work on back-porting all of the try/finally code to trunk.
New submission from Rajarshi rajarshi.g...@gmail.com:
OS 10.5.7, Python 2.6.2 sources.
When I execute:
/configure --enable-framework=/Library/Frameworks \
--enable-universalsdk=/ \
MACOSX_DEPLOYMENT_TARGET=10.5 \
--with-universal-archs=all \
--with-readline-dir=/usr/local
configure fails
Jesse Noller jnol...@gmail.com added the comment:
Ronald, could you email me the incantation for a full-on 64 bit build,
I'll double check this on 26-maint. I just forget the magic build flags
all the time.
--
___
Python tracker
Antoine Pitrou pit...@free.fr added the comment:
I can't tell you why it was decided to behave like this. Perhaps it was
felt that, since FileIO is low-level (lower than the file object in
2.x), it shouldn't have to remember and restore the old file position.
That argument wouldn't apply to
Mark Dickinson dicki...@gmail.com added the comment:
The now unused arbitrary base conversion was removed in r74910 (py3k).
I'm deliberately going to leave it in in the trunk, just in case there's
third party code that's using _PyLong_Format. (There shouldn't be, given
the '_Py' prefix, but
Tom t...@fastmail.fm added the comment:
I have just encountered this bug on Python 2.6.2 on Windows. I hope the
fix makes it into 2.6.3. Thanks for the patch.
--
nosy: +qwavel
___
Python tracker rep...@bugs.python.org
Travis H. travis+w-python@subspacefield.org added the comment:
This patch fixes a number of typos in the original and, to my knowledge,
is now complete.
I have tested this manually and confirmed that it works. I would start
as root, setresuid/gid to some non-root uid/gids, getresuid/gid to
Travis H. travis+w-python@subspacefield.org added the comment:
On Fri, Sep 18, 2009 at 07:44:56AM +, Martin v. L??wis wrote:
Your patch looks good (except that in getresuid, you seem to be missing
return). I have no clue why it doesn't work; I'll see whether I can try it
out on
Giampaolo Rodola' billiej...@users.sourceforge.net added the comment:
The patch looks good as it just removes the while loop.
This is a high priority issue and should be fixed as soon as possible,
imho, as it makes impossible to use ssl module with non blocking sockets.
--
Pascal Chambon chambon.pas...@gmail.com added the comment:
Well, I guess it deserve discussion on the pydev mailing lits, that's
imo a rather important point, to be documented precisely.
Concerning the padding, I guess the semantic doesn't change between the
io module and the old file type, i.e
Mark Dickinson dicki...@gmail.com added the comment:
Here's a patch for trunk's Objects/intobject.c. With this patch, I'm
seeing more than 100% speed increases for str(sys.maxint) on OS X 10.6
(64-bit) and more modest speed gains on OS X 10.5 (32-bit).
I'm leaving out the
Ned Deily n...@acm.org added the comment:
Works for me (2.6.2 tarball, 10.5.8 PPC, gcc build 5493).
Check configure.log and search for the failing wchar_t section. Also,
try stripping your $PATH down to bare essentials, removing /opt/local/bin
(MacPorts), /sw/bin (Fink), /usr/local/bin,
Rajarshi rajarshi.g...@gmail.com added the comment:
Thanks for the pointer. Indeed, clearing PATH to the minimal set of
paths allows configure to complete.
--
status: open - closed
___
Python tracker rep...@bugs.python.org
Jeff Bradberry jeff.bradbe...@gmail.com added the comment:
Ok, fixed. I am kind of vague, though, on the usefulness of str.encode
and unicode.decode.
--
Added file: http://bugs.python.org/file14925/python27.patch
___
Python tracker
Thomas Heller thel...@ctypes.org added the comment:
I've commited a slightly changed patch plus a test.
trunk: 74917, py3k: 74918, release26-maint: 74919, release31-maint: 74920.
--
___
Python tracker rep...@bugs.python.org
Changes by Thomas Heller thel...@ctypes.org:
--
resolution: - fixed
status: open - closed
versions: -Python 2.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5042
___
Changes by Joshua Purcell spamail.08jpurcellser...@gmail.com:
--
nosy: 08jpurcell
severity: normal
status: open
title: Help
versions: Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6941
Marc-Andre Lemburg m...@egenix.com added the comment:
Jeff Bradberry wrote:
Jeff Bradberry jeff.bradbe...@gmail.com added the comment:
Ok, fixed. I am kind of vague, though, on the usefulness of str.encode
and unicode.decode.
codecs can work on any combination of types. Here's an
New submission from Joshua Purcell spamail.08jpurcellser...@gmail.com:
My IDLE (Python GUI) Will NOT open It says socket error which is really
annoying me because it doesnt open IDLE (AT ALL)
--
components: +IDLE
type: - performance
Added file:
Thomas Heller thel...@ctypes.org added the comment:
Comitted as
trunk: 74921, py3k: 74922, release31-maint: 74923, release26-maint: 74924
--
resolution: accepted - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
Thomas Heller thel...@ctypes.org added the comment:
I guess this is a bug in your code, as mentioned in my last comment, so
closing as invalid.
--
resolution: - invalid
status: open - closed
___
Python tracker rep...@bugs.python.org
Thomas Heller thel...@ctypes.org added the comment:
Find where c_size_t is defined: in Lib/ctypes/__init__.py
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6729
___
Mark Dickinson dicki...@gmail.com added the comment:
Here's a more careful patch for just the gamma function. It's a fairly
direct implementation of Lanczos' formula, with the choice of parameters
(N=13, g=6.024680040776729583740234375) taken from the Boost library. In
testing of random
Terry J. Reedy tjre...@udel.edu added the comment:
OK. Same is true of vars() also. So I suggest that current locals()
entry be changed to
Update and return a dictionary representing the current local symbol
table. In function blocks, this includes nonlocal names.
Note
The contents of this
Benjamin Peterson benja...@python.org added the comment:
Applied in r74929. Thanks!
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6300
___
Georg Brandl ge...@python.org added the comment:
Should be fixed now in r74930. I kept free variables because this is
the correct term, while nonlocals clashes with the nonlocal
statement in 3.x.
--
resolution: - fixed
status: open - closed
___
Georg Brandl ge...@python.org added the comment:
I applied a slightly different patch in r74933.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6930
Terry J. Reedy tjre...@udel.edu added the comment:
On Windows, 3.x has so far been installed as python.exe, not
python3.exe, so this change is not correct for Windows users. So please
consider reverting this until there is a consistent change across platforms.
--
nosy: +tjreedy
Georg Brandl ge...@python.org added the comment:
I assume the poor Windows users can figure out what they need to do :)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6885
___
Changes by Brett Cannon br...@python.org:
Removed file: http://bugs.python.org/file14926/python_icon.exe
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6941
___
Brett Cannon br...@python.org added the comment:
Can you copy what is being printed out to a text file or into a comment on
this issue? Also, what OS is this on? Otherwise we have nothing to work
off of.
I also deleted whatever exe you uploaded as that will not help with
debugging at all.
Terry J. Reedy tjre...@udel.edu added the comment:
I disagree with calling only nonlocal variables but not module variables
'free'. As I quoted from Wikipedia, that restrictive definition is not
agree on by all at all. From The Free On-line Dictionary of Computing,
1. A variable referred to in
New submission from Ross Patterson m...@rpatterson.net:
Due to repeated use of StringIO as a way to look ahead into subparts
while checking that multipart boundaries are unique, memory consumption
during email.generator.Generator.flatten() can be up to 3 times the
original message size.
I
Χρήστος Γεωργίου (Christos Georgiou) t...@users.sourceforge.net added the
comment:
Another note:
if one creates a dummy Stream object (having a softspace attribute and a
write method that writes using os.write, as in
Éric Araujo mer...@netwok.org added the comment:
And use keyword-only arguments :)
--
nosy: +Merwok
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6743
___
New submission from Arfrever Frehtes Taifersar Arahesis
arfrever@gmail.com:
I use --with-system-ffi option, but setup.py fails to find headers of
system libffi which are placed outside standard include directory,
which causes using of internal copy of libffi.
In Gentoo, headers of
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment:
It seems that a part of my comment has been truncated.
I meant `pkg-config libffi --cflags` command.
--
___
Python tracker rep...@bugs.python.org
New submission from Marien Zwart m_zw...@123mail.org:
socket.getnameinfo passes a PyObject* to PyArg_ParseTuple without
checking if it's a tuple first. That means it raises SystemError on
invalid input where TypeError would make more sense:
socket.getnameinfo('localhost', 0)
SystemError: new
60 matches
Mail list logo