Changes by Georg Brandl [EMAIL PROTECTED]:
--
priority: - critical
versions: +Python 3.0
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3026
___
___
Changes by Georg Brandl [EMAIL PROTECTED]:
--
resolution: - duplicate
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3013
___
___
Tim Golden [EMAIL PROTECTED] added the comment:
Giampaolo Rodola' wrote:
New submission from Giampaolo Rodola' [EMAIL PROTECTED]:
By using:
http://www.python.org/dev/daily-msi/python-2.6.14041.msi
C:\C:\python26\python
Python 2.6a3 (r26a3:62864, May 9 2008, 14:16:26) [MSC v.1500 32
Changes by C. E. Ball [EMAIL PROTECTED]:
--
nosy: +ceball
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1676
___
___
Python-bugs-list mailing list
Benjamin Peterson [EMAIL PROTECTED] added the comment:
On Wed, Jun 11, 2008 at 11:09 PM, Barry A. Warsaw
[EMAIL PROTECTED] wrote:
Barry A. Warsaw [EMAIL PROTECTED] added the comment:
r64164 in Python 3.0. This doesn't apply cleanly to Python 2.6; could
someone please back port it?
Why
Guilherme Polo [EMAIL PROTECTED] added the comment:
I just checked that sys.maxsize was added May 20, so you just need a
newer build.
--
nosy: +gpolo
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3086
Benjamin Peterson [EMAIL PROTECTED] added the comment:
It passes for me on Leopard. Can you post the test running in verbose
mode so we can see where it hangs?
--
nosy: +benjamin.peterson
___
Python tracker [EMAIL PROTECTED]
Changes by Benjamin Peterson [EMAIL PROTECTED]:
--
resolution: - out of date
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3086
___
___
Barry A. Warsaw [EMAIL PROTECTED] added the comment:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Jun 12, 2008, at 8:57 AM, Benjamin Peterson wrote:
Benjamin Peterson [EMAIL PROTECTED] added the comment:
On Wed, Jun 11, 2008 at 11:09 PM, Barry A. Warsaw
[EMAIL PROTECTED] wrote:
Barry
New submission from Jesse Noller [EMAIL PROTECTED]:
This is on osx 10.5.3, latest gcc tool chain.
I have $ARCHFLAGS set to -arch i386 to prevent the OS/X gcc from
building PPC code (as I don't want/need it) - if I leave this set as-is,
other applications build without error, intel only.
If I
Jesse Noller [EMAIL PROTECTED] added the comment:
On python-3000 trunk, _multiprocessing doesn't even compile:
/Users/jesse/open_source/subversion/python-
3000/Modules/_multiprocessing/semaphore.c: In function ‘semlock_iszero’:
/Users/jesse/open_source/subversion/python-
Barry A. Warsaw [EMAIL PROTECTED] added the comment:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Jun 12, 2008, at 9:02 AM, Benjamin Peterson wrote:
It passes for me on Leopard. Can you post the test running in verbose
mode so we can see where it hangs?
It never hangs when run
Jesse Noller [EMAIL PROTECTED] added the comment:
I did a make clean ./configure make and it started compiling for me
again. Sorry for the noise.
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3088
___
Guido van Rossum [EMAIL PROTECTED] added the comment:
If it's only failing during the second run of make test, typically
there's some implicit dependency on something that is disturbed by
running a test that's later in the suite of tests. This could be either
the fault of that other test (not
Guido van Rossum [EMAIL PROTECTED] added the comment:
I should add this was in the trunk (2.6).
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3088
___
___
Paul Melis [EMAIL PROTECTED] added the comment:
I think I'm having a similar lockup on fedora core 4 (smp machine). This
is with the py3k branch, freshly svn updated. When running make test
TESTOPTS=test_multiprocessing the first of the two test runs always
succeeds in something like 10-15
Paul Melis [EMAIL PROTECTED] added the comment:
After a few more runs with -v and redirecting output to a file it seems
the lockup I get is in
test_notify_all (test.test_multiprocessing.WithManagerTestCondition)
___
Python tracker [EMAIL PROTECTED]
New submission from Skip Montanaro [EMAIL PROTECTED]:
I'm fully up-to-date on my py3k branch (r64171). After a make clean I
find that I can't build either the time or datetime modules. Here are
errors from gcc:
building 'time' extension
gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall
Antoine Pitrou [EMAIL PROTECTED] added the comment:
And here is a patch adding a new test in pybench as suggested by
Marc-Andre Lemburg.
Added file: http://bugs.python.org/file10600/pybench.patch
___
Python tracker [EMAIL PROTECTED]
Alexandre Vassalotti [EMAIL PROTECTED] added the comment:
Okay, I fixed _pickle's integers unpickling on 64bit platforms. Here is
the patch.
Added file: http://bugs.python.org/file10601/fix_pickle_int64.diff
___
Python tracker [EMAIL PROTECTED]
Jesse Noller [EMAIL PROTECTED] added the comment:
It's taking me longer to get to this than I planned, any help is
appreciated.
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3088
___
Jason Tishler [EMAIL PROTECTED] added the comment:
I tested the regular expression in #3:
(\d+\.\d+(\.(\d+))?([ab](\d+))?)
and it worked for both '2.18.50.20080523' '1.2.3a'.
Additionally, it worked for the following test cases that I tried:
2.18.50a.20080523
2.18.50a 20080523
2.18.50
Bohdan Vlasyuk [EMAIL PROTECTED] added the comment:
The list is not the problem. The problem is the other reference, from
socket._fileobject object at 0xf7d42c34.
Also note that the workaround (u.fp.recv = None) removes the second
reference.
This is fine (at least in CPython), because the
Georg Brandl [EMAIL PROTECTED] added the comment:
Where does the strftime.c come from? It is not in the Python sources --
is this a Mac-specific thing?
--
nosy: +georg.brandl
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3091
New submission from Antoine Pitrou [EMAIL PROTECTED]:
In py3k, pybench wrongly detects UCS2 builds as UCS4. Patch attached.
--
components: Demos and Tools
files: pybench_ucs.patch
keywords: patch
messages: 68076
nosy: pitrou
severity: normal
status: open
title: Wrong unicode size
Jesse Noller [EMAIL PROTECTED] added the comment:
I can get an intermittent (1 every 15 or so runs) lock in:
test_get (__main__.WithProcessesTestQueue) ...
Executed like this:
./python Lib/test/test_multiprocessing.py
When I control-c it the stack looks like this:
...snip
File
New submission from Adam Olsen [EMAIL PROTECTED]:
All these in multiprocessing.h are lacking suitable py/_py/Py/_Py/PY/_PY
prefixes:
PyObject *mp_SetError(PyObject *Type, int num);
extern PyObject *pickle_dumps;
extern PyObject *pickle_loads;
extern PyObject *pickle_protocol;
extern PyObject
Changes by Jesse Noller [EMAIL PROTECTED]:
--
nosy: +roudkerk
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3088
___
___
Python-bugs-list mailing list
Changes by Jesse Noller [EMAIL PROTECTED]:
--
nosy: +jnoller, roudkerk
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3093
___
___
Python-bugs-list
New submission from Steven Wong [EMAIL PROTECTED]:
Communicating over HTTPS at the default port of 443:
import httplib
conn = httplib.HTTPSConnection(my-secure-domain.com)
conn.request(GET, /)
res = conn.getresponse()
In the current implementation, the Host header sent in the request is:
Benjamin Peterson [EMAIL PROTECTED] added the comment:
Is this really that much of an issue? multiprocessing lives in it's own
directory and isn't part of the Python public API.
--
nosy: +benjamin.peterson
___
Python tracker [EMAIL PROTECTED]
New submission from Adam Olsen [EMAIL PROTECTED]:
multiprocessing.c currently has code like this:
temp = PyDict_New();
if (!temp)
return;
if (PyModule_AddObject(module, flags, temp) 0)
return;
PyModule_AddObject consumes the reference to
Marc-Andre Lemburg [EMAIL PROTECTED] added the comment:
On 2008-06-12 21:50, Antoine Pitrou wrote:
New submission from Antoine Pitrou [EMAIL PROTECTED]:
In py3k, pybench wrongly detects UCS2 builds as UCS4. Patch attached.
Why is that ?
Doesn't chr(10) raise an exception in UCS2 builds
Changes by Jesse Noller [EMAIL PROTECTED]:
--
nosy: +jnoller, roudkerk
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3095
___
___
Python-bugs-list
Humberto Diogenes [EMAIL PROTECTED] added the comment:
[msg68060]
Why does it need to be in 2.6? mimetools is still there.
I guess you're right, it doesn't.
So, does it make sense to backport this too?
___
Python tracker [EMAIL PROTECTED]
Skip Montanaro [EMAIL PROTECTED] added the comment:
Georg Georg Brandl [EMAIL PROTECTED] added the comment:
Georg Where does the strftime.c come from? It is not in the Python
Georg sources -- is this a Mac-specific thing?
Whoops. My bad. Modified sandbox. Please reject.
Skip
Will Brown [EMAIL PROTECTED] added the comment:
Maybe I have a problem with my test code...
import re
def test_re(out_string):
result = re.search('(\d+\.\d+(\.(\d+))?([ab](\d+))?)', out_string)
print '--- msg00622 ---'
print result.group(1)
print
Skip Montanaro [EMAIL PROTECTED] added the comment:
My bad. Sorry for the noise. mods in my sandbox...
--
resolution: - invalid
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3091
Antoine Pitrou [EMAIL PROTECTED] added the comment:
Le jeudi 12 juin 2008 à 20:26 +, Marc-Andre Lemburg a écrit :
Doesn't chr(10) raise an exception in UCS2 builds ?
No, it returns a 2-character string.
Note that sys.maxunicode is not available in Python 2.1
which is why I chose
Aristotelis Mikropoulos [EMAIL PROTECTED] added the comment:
So, finally, will this patch be applied?
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1778443
___
Georg Brandl [EMAIL PROTECTED] added the comment:
No, it returns a 2-character string.
Which hopefully is the proper surrogate sequence :)
--
nosy: +georg.brandl
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3092
Benjamin Peterson [EMAIL PROTECTED] added the comment:
Can we have a unified diff as per http://www.python.org/dev/patches/?
--
nosy: +benjamin.peterson
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1778443
Barry A. Warsaw [EMAIL PROTECTED] added the comment:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Jun 12, 2008, at 4:36 PM, Humberto Diogenes wrote:
Humberto Diogenes [EMAIL PROTECTED] added the comment:
[msg68060]
Why does it need to be in 2.6? mimetools is still there.
I guess
Benjamin Peterson [EMAIL PROTECTED] added the comment:
This is done.
--
resolution: - fixed
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2848
___
Changes by Benjamin Peterson [EMAIL PROTECTED]:
--
dependencies: -Remove mimetools usage from the stdlib
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2775
___
Antoine Pitrou [EMAIL PROTECTED] added the comment:
Which hopefully is the proper surrogate sequence :)
Well at least that's what the doc string says!
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3092
Marc-Andre Lemburg [EMAIL PROTECTED] added the comment:
On 2008-06-12 22:58, Antoine Pitrou wrote:
Antoine Pitrou [EMAIL PROTECTED] added the comment:
Le jeudi 12 juin 2008 à 20:26 +, Marc-Andre Lemburg a écrit :
Doesn't chr(10) raise an exception in UCS2 builds ?
No, it returns
Raymond Hettinger [EMAIL PROTECTED] added the comment:
Georg, do you want to take it from here.
--
assignee: rhettinger - georg.brandl
nosy: +georg.brandl
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1569291
New submission from Marius Gedminas [EMAIL PROTECTED]:
Here's a patch that makes Sphinx sort warnings about unused documents by
file name. Without it you get them in seemingly arbitrary order, which
makes it harder to parse, when your documents are scattered in a large tree.
--
Benjamin Peterson [EMAIL PROTECTED] added the comment:
Thanks for doing this. Would you please try on Windows the patch, I'm
attaching now?
Added file: http://bugs.python.org/file10607/platform2.diff
___
Python tracker [EMAIL PROTECTED]
Georg Brandl [EMAIL PROTECTED] added the comment:
Thanks, added in r64201.
--
resolution: - accepted
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3096
___
New submission from Marius Gedminas [EMAIL PROTECTED]:
I'm building developer documentation for an existing project that
already had reStructuredText files scattered in the source tree.
Unfortunately these use the same extension (.txt) as functional doctest
files, but fortunately tests live
Raymond Hettinger [EMAIL PROTECTED] added the comment:
The issue with unused constants is an artifact of the peepholer running
after the bytecode generation phase. When constant folding was
written, I intentionally left-out a step to remove unused constants
because of the code complexity,
New submission from Benjamin Peterson [EMAIL PROTECTED]:
test test_sys failed -- Traceback (most recent call last):
File /temp/python/trunk/Lib/test/test_sys.py, line 549, in
test_specialtypes
size2=basicsize + sys.getsizeof(str(s)))
File /temp/python/trunk/Lib/test/test_sys.py, line
Benjamin Peterson [EMAIL PROTECTED] added the comment:
I've removed the whole module in r64203.
--
nosy: +benjamin.peterson
resolution: - fixed
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2849
Changes by Benjamin Peterson [EMAIL PROTECTED]:
--
dependencies: -Remove usage of rfc822 from the stdlib
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2775
___
Benjamin Peterson [EMAIL PROTECTED] added the comment:
It was recommended by Georg that you expose Py_UNICODE_SIZE in the
_testcapi, since the size is not consistent across all platforms.
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3098
Georg Brandl [EMAIL PROTECTED] added the comment:
This is a proof of concept how to add methods to a structseq type.
Of course PyStructSequence_InitType could also get a companion
PyStructSequence_InitTypeEx that takes a PyMethodDef* array.
--
keywords: +patch
nosy: +georg.brandl
Added
Changes by Amaury Forgeot d'Arc [EMAIL PROTECTED]:
--
assignee: - amaury.forgeotdarc
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2065
___
___
Jesús Cea Avión [EMAIL PROTECTED] added the comment:
johansen, could you be happy returning True of False according to
database being open/closed?.
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2159
___
johansen [EMAIL PROTECTED] added the comment:
Yes, True/False should be sufficient for our purposes. IIRC, we were
trying to determine if we had a stale handle to the database and needed
to open it again.
___
Python tracker [EMAIL PROTECTED]
James Thomas [EMAIL PROTECTED] added the comment:
Your patch works perfectly on windows. Thanks for your help.
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2912
___
Benjamin Peterson [EMAIL PROTECTED] added the comment:
I applied this in r64212.
--
resolution: - fixed
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1683
___
Adam Olsen [EMAIL PROTECTED] added the comment:
The directory is irrelevant. C typically uses a flat namespace for
symbols. If python loads this library it will conflict with any other
libraries using the same name. This has happened numerous times in the
past, so there's no questioning the
Benjamin Peterson [EMAIL PROTECTED] added the comment:
Marc, could you look at this please?
--
assignee: - lemburg
nosy: +lemburg
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2912
___
Hirokazu Yamamoto [EMAIL PROTECTED] added the comment:
Thank you for progress!
- The patch for 2.5 is OK for me. We could just add the a paragraph that
appears in your patch for trunk (PC/VC6/readme.txt):
+_msi
+_msi.c. You need to install Windows Installer SDK to build this
module.
I
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment:
I just committed r64214, that can compile with vc6.
When compiled with a separate SDK, socket.ioctl is available.
With the stock vc6, the function is disabled
___
Python tracker [EMAIL PROTECTED]
James Thomas [EMAIL PROTECTED] added the comment:
I believe this patch solves the problem.
I added the line
Py_DECREF(temp)
after the code block shown above.
I also changed the line
if (PyDict_SetItemString(temp, #name, Py_BuildValue(i, name)) 0) return
to
if
New submission from Amaury Forgeot d'Arc [EMAIL PROTECTED]:
on Windows, the stat() function always returns True for some special
device names (nul, con, com1, lpt1...), even when followed by an extension.
Thus import con manages to find that con.py exists, and tries to
read from it... fun.
A
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment:
Committed r64215 on py3k branch.
Now both trunk and py3k compile with VC6, VS8 and VS9.
I cannot run VS7.1; I will do 2.5 shortly.
I also filed issue3099 about the funny import nul.
___
Python tracker
Adam Olsen [EMAIL PROTECTED] added the comment:
This doesn't look right. PyDict_SetItemString doesn't steal the
references passed to it, so your reference to flags will be leaked each
time. Besides, I think it's a little cleaner to INCREF it before call
PyModule_AddObject, then DECREF it at
Changes by Gabriel Genellina [EMAIL PROTECTED]:
--
nosy: +gagenellina
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3079
___
___
Python-bugs-list
Senthil [EMAIL PROTECTED] added the comment:
The HTTPSConnection class derives from HTTPConnection and the methods in
the HTTPConnection assume that 1) It is either over the default HTTP
port or 2) Over a different port (be it different HTTP port(8080?) or
443 for HTTPS etc) and in that case it
Changes by Gabriel Genellina [EMAIL PROTECTED]:
--
nosy: +gagenellina
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2517
___
___
Python-bugs-list
Alexandre Vassalotti [EMAIL PROTECTED] added the comment:
Restored _pickle in r64180.
--
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2917
___
New submission from Adam Olsen [EMAIL PROTECTED]:
$ ./python
Python 2.6a3+ (unknown, Jun 12 2008, 20:10:55)
[GCC 4.2.3 (Debian 4.2.3-1)] on linux2
Type help, copyright, credits or license for more information.
import multiprocessing.reduction
[55604 refs]
[55604 refs]
Segmentation fault
Adam Olsen [EMAIL PROTECTED] added the comment:
op is a KeyedRef instance. The instance being cleared from the module
is the multiprocessing.util._afterfork_registry.
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7d626b0 (LWP 2287)]
0x0809a131 in
Adam Olsen [EMAIL PROTECTED] added the comment:
More specific test case.
--
title: segfault after loading multiprocessing.reduction - segfault from
multiprocessing.util.register_after_fork
Added file: http://bugs.python.org/file10610/register_after_fork-crash.py
Adam Olsen [EMAIL PROTECTED] added the comment:
Very specific test case, eliminating multiprocessing entirely. It may
be an interaction between having the watched obj as its own key in the
WeakValueDictionary and the order in which the two modules are cleared.
Added file:
Changes by Adam Olsen [EMAIL PROTECTED]:
Added file: http://bugs.python.org/file10612/inner.py
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3100
___
___
Changes by Adam Olsen [EMAIL PROTECTED]:
Removed file: http://bugs.python.org/file10610/register_after_fork-crash.py
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3100
___
Changes by Adam Olsen [EMAIL PROTECTED]:
--
title: segfault from multiprocessing.util.register_after_fork - segfault with
WeakValueDictionary and module clearing
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3100
Adam Olsen [EMAIL PROTECTED] added the comment:
Specific enough yet? Seems the WeakValueDictionary and the module
clearing aren't necessary.
A subclass of weakref is created. The target of this weakref is added
as an attribute of the weakref. So long as a callback is present there
will be a
Changes by Adam Olsen [EMAIL PROTECTED]:
Removed file: http://bugs.python.org/file10612/inner.py
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3100
___
___
Changes by Adam Olsen [EMAIL PROTECTED]:
Removed file: http://bugs.python.org/file10611/outer.py
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3100
___
___
Steven Wong [EMAIL PROTECTED] added the comment:
Clarification: I am not saying that sending Host: somehost:443 for an
HTTPS connection at port 443 is a bug. It is in fact legal. Sending
Host: somehost is also legal in this situation, and IMHO is the
preferred behavior, because :port is
Adam Olsen [EMAIL PROTECTED] added the comment:
1. MyRef is released from the module as part of shutdown
2. MyRef's subtype_dealloc DECREFs its dictptr (not clearing it, as
MyRef is dead and should be unreachable)
3. the dict DECREFs the Dummy (MyRef's target)
4. Dummy's subtype_dealloc calls
Adam Olsen [EMAIL PROTECTED] added the comment:
Ahh, I missed a detail: when the callback is called the weakref has a
refcount of 0, which is ICNREFed to 1 when getting put in the args, then
drops down to 0 again when the args are DECREFed (causing it to get
_Py_ForgetReference to be called a
88 matches
Mail list logo