New submission from Jerry Chen :
I am not sure if this is a bug or an expected case.
Long story short, I tried to print the content of a
`multiprocessing.Manager().dict()` in the main thread, but I got a strange
error.
I encountered this error only when the number of pools is rather large
Changes by Jerry Chen :
--
nosy: +effbot
___
Python tracker
<http://bugs.python.org/issue6472>
___
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.pyth
Jerry Chen added the comment:
Applied collinwinter's patch and svn up'd to r73872; replaced additional
instances of self->write_func with _Pickler_Write.
Passed test_xpickle.py as referenced by issue 5665.
--
nosy: +jcsalterego
Added file: http://bugs.python.
Jerry Chen added the comment:
Bug and patch confirmed on both py3k and python2.7 branches
Before:
$ ./python.exe warnsegfault.py
this exception is caught: incomplete format
this exception is also caught: incomplete format
Bus error
After:
$ ./python.exe warnsegfault.py this exception is
Jerry Chen added the comment:
On OpenBSD by chance? Looks similar to Issue4146
--
nosy: +jcsalterego
___
Python tracker
<http://bugs.python.org/issue6
Jerry Chen added the comment:
Confirmed patch and test are working
--
___
Python tracker
<http://bugs.python.org/issue6373>
___
___
Python-bugs-list mailin
Jerry Chen added the comment:
gdb trace
Breakpoint 1, _PyBytes_Resize (pv=0xbfffec3c, newsize=-495723) at
Objects/bytesobject.c:3179
3179if (!PyBytes_Check(v) || Py_REFCNT(v) != 1 || newsize < 0) {
(gdb) where
#0 _PyBytes_Resize (pv=0xbfffec3c, newsize=-495723) at
Obje
Jerry Chen added the comment:
I am unable to reproduce with py3k latest r73676 after making and
installing, and running
$ python3.2 freeze.py hello.py
# on OS X 10.5.7
$ uname -a
Darwin 9.7.0 Darwin Kernel Version 9.7.0: Tue Mar 31 22:52:17 PDT 2009;
root:xnu-1228.12.14~1/RELEASE_I386 i386
Jerry Chen added the comment:
Either way, it would be nice to get feedback so we can iterate on the
patch or close out this issue already :-)
--
___
Python tracker
<http://bugs.python.org/issue6
Jerry Chen added the comment:
Also seeing this was resolved by Issue6202.
Python 3.1rc2+ (py3k:73552, Jun 24 2009, 23:11:23)
[GCC 4.0.1 (Apple Inc. build 5490)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>&g
Jerry Chen added the comment:
Duplicate of http://bugs.python.org/issue5595
Fixed in r70676
--
nosy: +jcsalterego
___
Python tracker
<http://bugs.python.org/issue6
Jerry Chen added the comment:
Duplicate of http://bugs.python.org/issue5595
Fixed in r70676
--
nosy: +jcsalterego
___
Python tracker
<http://bugs.python.org/issue6
Jerry Chen added the comment:
Another patch for the same code change but against the 3.1 branch.
--
versions: +Python 3.0, Python 3.1
Added file: http://bugs.python.org/file14364/issue6243-py3.1-cursesmodule.diff
___
Python tracker
<h
Jerry Chen added the comment:
Sorry -- bad patch, uploading correct one.
--
Added file: http://bugs.python.org/file14363/issue6243-py2.7-cursesmodule.diff
___
Python tracker
<http://bugs.python.org/issue6
Changes by Jerry Chen :
Removed file: http://bugs.python.org/file14362/issue6243-py2.7-cursesmodule.diff
___
Python tracker
<http://bugs.python.org/issue6243>
___
___
Jerry Chen added the comment:
Trundle's original patch against r73301 still works currently, but I
made a minor tweak and rediff'd.
The attached patch is against 2.7 - r73552.
I added knp usage to the NetBSD #ifdef region so a) the compiler doesn't
complain about unused '
Jerry Chen added the comment:
Verified Bus Error with code snippet in python 2.7 and 3.1 trunks
r73552, e.g.:
(gdb) where
#0 0x925f6f30 in strlen ()
#1 0x0005ea10 in PyString_FromString (str=0x0) at
Objects/stringobject.c:125
#2 0x003c1710 in PyCursesWindow_GetKey (self=0x3320f0, args
Jerry Chen added the comment:
Thanks for the explanation -- looks like I was way off base on that one.
I took a look at the code you provided but it doesn't work as a drop-in
replacement for _escape_cdata, since that function returns a string
rather than bytes.
However taking your
Jerry Chen added the comment:
The attached patch includes Neil's original additions to test_xml_etree.py.
I also noticed that _encode_entity wasn't being called in ElementTree in
py3k, with the important bit being the nested function
escape_entities(), in conjunction with _
Jerry Chen added the comment:
Errata: the patch is for Makefile.pre.in, not Makefile.
--
___
Python tracker
<http://bugs.python.org/issue6297>
___
___
Python-bug
New submission from Jerry Chen :
Added Misc/python.pc to 'distclean' rule
Minor issue... After running ./configure, Misc/python.pc is generated
from python.pc.in. Interesting to note in the python2.7 trunk, this file
is added to the svn:ignore property of Misc/ so it doesn't show
New submission from Jerry Chen <[EMAIL PROTECTED]>:
For people who are following HOWTO guides verbatim, there are two types
of Python 2.x'isms in "HOWTO Use Python in the web"
(http://www.python.org/doc/3.0/howto/webservers.html):
1. ``print`` statements instead of functio
22 matches
Mail list logo