Changes by Senthil orsent...@gmail.com:
Removed file: http://bugs.python.org/file13418/unnamed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5560
___
___
Senthil orsent...@gmail.com added the comment:
This is issue is FIXED in the trunk code. Please ignore my previous
comment.
The problem area is in between line 350-352 in the Python 3.0:pydoc.py
module.
348 docloc = os.environ.get(PYTHONDOCS,
349
Cournapeau David da...@ar.media.kyoto-u.ac.jp added the comment:
Is there any change to see this integrated soon ? The patch is only a
couple of lines long,
thanks
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4709
New submission from Haoyu Bai divine...@gmail.com:
In 2.6 and 2.7 development document, PyLong_AsSsize_t is said New in
version 2.5. It is not correct because I checked Python 2.5.4 and
there's only _PyLong_AsSsize_t(). You can check it here:
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
The code you show was never part of the python project;
But I found that it can come from a customized version for some Linux
distributions:
Martin Gfeller Martin Gfeller g...@comit.ch added
the comment:
Lukas, I'm afraid to admit you're right :-;.
Assuming that the Python code called under the not release the GIL
regime would not do anything that could be potentially blocking is
probably dangerous and
Changes by Benjamin Peterson benja...@python.org:
--
resolution: - rejected
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1497532
___
___
New submission from Marek Kubica ma...@xivilization.net:
When calling operators from the ``operator``-module, they refuse to
accept keyword arguments:
operator.add(a=1, b=2)
TypeError: add() takes no keyword arguments
Operators with keyword arguments are important when one wants to create
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
Do you happen to have a TCL_LIBRARY environment variable?
If yes, I suggest to remove it.
--
nosy: +amaury.forgeotdarc
___
Python tracker rep...@bugs.python.org
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
The patch seems good.
--
nosy: +amaury.forgeotdarc
resolution: - accepted
stage: test needed - commit review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5126
Jack Diederich jackd...@gmail.com added the comment:
+1
Patch and tests work for me. Uploaded a patch that is identical except
the file paths are fixed.
Was the old behavior stable across compilers anyway? It memcmpared two
different structs and IIRC only the first item of each struct is
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5567
___
___
Python-bugs-list mailing
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
This issue seems identical to issue2665: IDLE prints a lot of warnings,
and this can block the program after some amount of text, probably on
the first flush() because stderr is not connected to anything when
pythonw.exe is used.
Benjamin Peterson benja...@python.org added the comment:
Fixed in r70610.
--
nosy: +benjamin.peterson
resolution: accepted - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5126
STINNER Victor victor.stin...@haypocalc.com added the comment:
- I'm not sure why you make self-ok handling more complicated than it was
tell() requires self-ok=1. I choosed to reset self-ok to zero on error, but
it's maybe useless.
- encodefunc should not be forced to NULL, otherwise it
New submission from Jim Olson jimo...@gmail.com:
import io
# Corrected a typo in Python261/Lib/io.py at line 1167
# return self.writer.closed() == return self.writer.closed
# in
#@property
#def closed(self):
#return self.writer.closed
#also: shouldn't ascii strings still work
Chris chrisa...@yahoo.com added the comment:
Amaury,
That worked, the variable was for IBMTools, so I am a little concerned that
some other program may have issues. If I do have problems, I will just add the
variable back.
Thanks for getting back to me.
- Chris
- Original Message
Marek Kubica ma...@xivilization.net added the comment:
Well, some Schemes have an CURRYR variant which creates partial
functions with positional arguments from the right but the current
solution with partial accepting keywords is way more flexible since I
can pre-set any arguments I like in such
Antoine Pitrou pit...@free.fr added the comment:
Le jeudi 26 mars 2009 à 17:26 +, STINNER Victor a écrit :
STINNER Victor victor.stin...@haypocalc.com added the comment:
- I'm not sure why you make self-ok handling more complicated than it was
tell() requires self-ok=1. I choosed to
Changes by Jim Olson jimo...@gmail.com:
--
components: +Library (Lib)
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5568
___
___
Python-bugs-list
STINNER Victor victor.stin...@haypocalc.com added the comment:
Faster patch!
- add fast encoder for UTF-32, UTF-32-LE and UTF-32-BE (copy/paste of
utf16 functions)
- move utf-8 before utf-16-* because utf8 more popular than utf16 :-p
- don't set self-encodefunc=NULL (loose all the encoder
Changes by STINNER Victor victor.stin...@haypocalc.com:
Removed file: http://bugs.python.org/file13377/append_bom.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5006
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
Hum, it's a detail, but is it a good idea to keep the reference the int(0)? Or
would it be better to release it at exit?
--
___
Python tracker rep...@bugs.python.org
New submission from Yogendra Mohan yogendra_mo...@oxyent-medical.com:
Hello All,
OS - MAC 10.5.1
Python 2.5.1
Tk - 8.5.6
I am using the wm_attributes for transparency of top level window. But
unable to do the same.
The Tk wm attributes command takes option arguments
New submission from Allister MacLeod allister.macl...@gmail.com:
Python 2.6.1 (r261:67515, Mar 26 2009, 14:44:39)
[GCC 4.2.4 (Ubuntu 4.2.4-1ubuntu3)] on linux2
Type help, copyright, credits or license for more information.
from multiprocessing import Pipe
a, b = Pipe()
a.close()
a.poll()
New submission from Glyph Lefkowitz gl...@divmod.com:
c.f. this Twisted ticket: http://twistedmatrix.com/trac/ticket/3703
Twisted's test tool has an extended TestCase which uses the 'skip'
attribute, on both tests and methods, to determine whether to skip them.
You can see the implementation
New submission from Collin Winter coll...@gmail.com:
If you pass LIBS to ./configure (as in LIBS=-lgcov ./configure),
distutils ignores this when building extension modules, which breaks
when using certain gcc options which require certain libraries (I'm
thinking of -fprofile-generate). The
Vaibhav Mallya mally...@umich.edu added the comment:
Python 2.6.1 (r261:67515, Mar 22 2009, 05:39:39)
[GCC 4.2.4 (Ubuntu 4.2.4-1ubuntu4)] on linux2
Type help, copyright, credits or license for more information.
from multiprocessing import Pipe
a, b = Pipe()
a.close()
a.poll()
Segmentation
Changes by Benjamin Peterson benja...@python.org:
--
assignee: - jnoller
nosy: +jnoller
priority: - high
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5570
___
Jack Diederich jackd...@gmail.com added the comment:
Here is a more verbose patch. It checks to see if the first two
arguments stand-alone as well. It also updates NEWS and ACKs and adds
some assertRaises for various bounds checks.
--
nosy: +jackdied
Added file:
Jesse Noller jnol...@gmail.com added the comment:
See also:
http://svn.python.org/view?view=revrevision=68768
http://bugs.python.org/issue3311
This was checked into trunk, I don't know if it was merged to 2.6.1
--
___
Python tracker
Jack Diederich jackd...@gmail.com added the comment:
I assigned this to me. I'll be sprinting on telnetlib.
--
assignee: - jackdied
nosy: +jackdied
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5188
New submission from Vaibhav Mallya mally...@umich.edu:
Python 2.6.1 (r261:67515, Mar 22 2009, 05:39:39)
[GCC 4.2.4 (Ubuntu 4.2.4-1ubuntu4)] on linux2
Type help, copyright, credits or license for more information.
from multiprocessing import Pipe
parent, child = Pipe()
parent.send(1)
Jesse Noller jnol...@gmail.com added the comment:
OS/X, Python Trunk:
from multiprocessing import Pipe
a, b = Pipe()
a.close()
a.poll()
Traceback (most recent call last):
File stdin, line 1, in module
IOError: handle out of range in select()
2.6.1 Does not have the fix (I can segfault
Changes by Vaibhav Mallya mally...@umich.edu:
--
nosy: +jnoller
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5573
___
___
Python-bugs-list
Changes by Jesse Noller jnol...@gmail.com:
--
assignee: georg.brandl - jnoller
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5573
___
___
Benjamin Peterson benja...@python.org added the comment:
2009/3/26 Jesse Noller rep...@bugs.python.org:
2.6.1 Does not have the fix (I can segfault it here too). Ben, are we
planning a 2.6.2?
Yes, I think around 3.1's release, but you'll have to ask Barry for sure.
--
Jack Diederich jackd...@gmail.com added the comment:
Unfortunately universal newlines are more complicated than replace() can
handle. See io.py, you may be able to use one of those classes to the
the universal new line handling on the cheap (or at least easy).
--
nosy: +jackdied
Benjamin Peterson benja...@python.org added the comment:
Ok, I applied part of Armin's patch in r70615 modified to work with
unittest's new test skipping ability. I think I will apply the
test_descr part later.
--
___
Python tracker
Martin v. Löwis mar...@v.loewis.de added the comment:
Can you please provide some setup instructions for mingw-w64? What URLs
should I install in what order, so that I can compile Python?
--
___
Python tracker rep...@bugs.python.org
Benjamin Peterson benja...@python.org added the comment:
Renamed to skipTest in r60616.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5571
___
Benjamin Peterson benja...@python.org added the comment:
Second patch applied in r70617.
--
resolution: - accepted
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4242
New submission from Vaibhav Mallya mally...@umich.edu:
Should __all__ = ['Queue', 'SimpleQueue'] in queues.py have
JoinableQueue as part of the list as well?
Also, multiprocessing's __init__.py does not appear to have SimpleQueue
as part of its __all__ - is this expected?
SimpleQueue does not
Changes by Jesse Noller jnol...@gmail.com:
--
assignee: georg.brandl - jnoller
nosy: -georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5574
___
Roumen Petrov bugtr...@roumenpetrov.info added the comment:
issue 5060 address this
--
nosy: +rpetrov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5572
___
Collin Winter coll...@gmail.com added the comment:
The patch attached to issue 5060 seems very tightly focused on a problem
with gcc FDO. This is a more general patch that solves the problem of
distutils ignoring LIBS.
--
___
Python tracker
Roumen Petrov bugtr...@roumenpetrov.info added the comment:
The LIBS contain all module dependent libraries, libpython is linked
with LIBS, modules are linked with libpython.
May be I miss something but I could not found why distutils has to use
LIBS to link a module.
--
Jeremy Hylton jer...@alum.mit.edu added the comment:
I'm not sure I understand the part of the code that deals with binary
strings. I agree the current behavior is odd. RFC 2396 says that
non-ascii characters must be encoded as utf-8 and then percent escaped.
In the test case you started
Thomas Heller thel...@ctypes.org added the comment:
I accept this as a bug; however I don't have time now to work on it.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2123
___
Jeremy Hylton jer...@alum.mit.edu added the comment:
A plausible solution is to pick some core set of functionality that we
think people need and document that API. We can modify one or both of
the current implementations to include that functionality. What do we need?
--
New submission from Collin Winter coll...@gmail.com:
This patch adds SSL_ROOT, SQLITE_INC and SQLITE_LIB environment
variables used to inject additional libraries/headers for building the
sqlite, hashlib and ssl modules. We've found this very useful for
building these modules against their
Jack Diederich jackd...@gmail.com added the comment:
sets and frozensets have already been updated to format like lists.
This patch formats defaultdicts like dicts.
--
keywords: +patch
nosy: +jackdied
Added file: http://bugs.python.org/file13425/issue_5131.patch
Jack Diederich jackd...@gmail.com added the comment:
+1 for a docbug. The last item is always the physical line and not the
logical line. Some other examples:
if True and \
False: pass
if (True and
False): pass
--
nosy: +jackdied
___
Barry A. Warsaw ba...@python.org added the comment:
I propose that you only document the getitem header access API. I.e.
the thing that info() gives you can be used to access the message
headers via message['content-type']. That's an API common to both
rfc822.Messages (the ultimate base class
Jack Diederich jackd...@gmail.com added the comment:
closing, Garbriel's explanation is sufficient.
--
nosy: +jackdied
resolution: - invalid
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4889
Changes by Jeremy Hylton jer...@alum.mit.edu:
--
assignee: - jhylton
nosy: +jhylton
resolution: - accepted
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5418
___
Jeremy Hylton jer...@alum.mit.edu added the comment:
Makes sense to me.
Committed revision 70625.
--
resolution: accepted - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5418
Jack Diederich jackd...@gmail.com added the comment:
survey of other modules that use O_RDRW
The following include sys/type.h and fcntl.h unconditionally:
bsdmodule.c, dbmmoudle.c, _fileio.c
posixmodule.c includes them after doing an #ifdef check
mmapmodule.c currently (2.7 trunk) includes
Jeremy Hylton jer...@alum.mit.edu added the comment:
I'm not sure what to do here. I guess changing to utf-8 is safe insofar
as the current code only accepts ascii, so the only code that breaks
will be code that depends on the encode() call raising an exception. It
seems like the client out to
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
nosy: -haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5188
___
___
Dan Mahn dan.m...@digidescorp.com added the comment:
Hello. Thanks for the feedback.
With regards to RFC 2396, I see this:
http://www.ietf.org/rfc/rfc2396.txt
There is a second translation for some resources: the sequence of
octets defined by a component of the URI is subsequently
STINNER Victor victor.stin...@haypocalc.com added the comment:
martin However, your list of alternatives is incomplete: we
martin *could* also change the c code to accept and produce
martin int - then mmapmodule would not need to change at all.
That's extactly the idea that I proposed in
Roumen Petrov bugtr...@roumenpetrov.info added the comment:
AC_CHECK_FUNC* check for function .
AC_CHECK_DECL check for declaration .
The check for functions sem_xxx() is incorrect in proposed patch. It has
to check for function.
I didn't review next part of the patch.
--
STINNER Victor victor.stin...@haypocalc.com added the comment:
The general machinery for implementing the built-in int function
should check any result of type long to see if it fits in an int,
and convert if so.
Attached patch try to convert long to int, and so it fix the intial
problem:
Guilherme Polo ggp...@gmail.com added the comment:
I tried it here but it didn't hang. But I did notice the editor window
was created and then disappeared, differently from what happens in
python-trunk.
I don't believe creating new files is a good solution, idle on
python-trunk doesn't need to
STINNER Victor victor.stin...@haypocalc.com added the comment:
I added the two benchmark tools to my own public SVN:
http://haypo.hachoir.org/trac/browser/misc/bench_int.py
(improved version of the script attached to issue #4294)
http://haypo.hachoir.org/trac/browser/misc/pidigits.py
(improved
STINNER Victor victor.stin...@haypocalc.com added the comment:
I think PyLong_SIGN and PyLong_EQUALS_ZERO should go in
Include/longobject.h, not Include/longintrepr.h
Yeah, it's better for 3rd party modules.
PyLong_NDIGITS should stay in longintrepr.h, though,
since it's dependent on the
Changes by STINNER Victor victor.stin...@haypocalc.com:
Removed file: http://bugs.python.org/file11975/pylong_macros.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4294
___
Changes by STINNER Victor victor.stin...@haypocalc.com:
Removed file: http://bugs.python.org/file13369/pylong_macros-2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4294
___
Changes by STINNER Victor victor.stin...@haypocalc.com:
Removed file: http://bugs.python.org/file11977/pylong_optimize.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4294
___
Changes by STINNER Victor victor.stin...@haypocalc.com:
Removed file: http://bugs.python.org/file11981/bench_int.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4294
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
I removed my optimization patches: there were useless (no or low
speedup). I also removed bench_int.py: I moved it to my own public
SVN:
http://haypo.hachoir.org/trac/browser/misc/bench_int.py
--
New submission from STINNER Victor victor.stin...@haypocalc.com:
_PyLong_AsScaledDouble() writes the exponent in a int which have to be
multiplied by PyLong_SHIFT to give the power of 2. I proposed to
multiply the exponent by PyLong_SHIFT in _PyLong_AsScaledDouble() to
directly get the power
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
nosy: +marketdickinson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5576
___
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
I created a decicated issue for my last unrelated patch:
#5576: Don't use PyLong_SHIFT with _PyLong_AsScaledDouble()
--
___
Python tracker rep...@bugs.python.org
Changes by STINNER Victor victor.stin...@haypocalc.com:
Removed file: http://bugs.python.org/file11979/pylong_asscaleddouble.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4294
___
Changes by STINNER Victor victor.stin...@haypocalc.com:
Removed file: http://bugs.python.org/file12848/fileio_seekable.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5016
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
Needs backport to trunk and 2.6, if someone is interested.
I'm interrested by a backport at least in trunk. I updated the patch
to trunk:
- test directly _file._FileIO() instead of using open() because in
Python trunk, a file
Christian Heimes li...@cheimes.de added the comment:
Dear Roumen, please do my a favor and stop throwing in random ideas and
accusations. I appreciate any help but your replies don't help at all.
They are just causing frustration on either side.
I know about AC_CHECK_DECL and AC_CHECK_FUNC. As
Christian Heimes li...@cheimes.de added the comment:
Jesse, have fun with
svn+ssh://python...@svn.python.org/python/branches/multiprocessing-autoconf
during the sprint.
--
stage: needs patch - patch review
___
Python tracker rep...@bugs.python.org
Antoine Pitrou pit...@free.fr added the comment:
You can use io.open() instead of open()...
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5016
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
Python trunk is still broken --without-threads. The multiprocessing
issue (#3807) is now closed, so can someone review (or apply?) my
patches?
--
___
Python tracker
Brad Miller bonel...@gmail.com added the comment:
On Thu, Mar 26, 2009 at 4:29 PM, Barry A. Warsaw rep...@bugs.python.orgwrote:
Barry A. Warsaw ba...@python.org added the comment:
I propose that you only document the getitem header access API. I.e.
the thing that info() gives you can be
Changes by STINNER Victor victor.stin...@haypocalc.com:
Removed file: http://bugs.python.org/file12839/_sqlite_nothread.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5035
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
New patch _tkinter_nothread.patch: fix gcc warnings in _tkinter.
--
Added file: http://bugs.python.org/file13432/_tkinter_nothread.patch
___
Python tracker rep...@bugs.python.org
STINNER Victor victor.stin...@haypocalc.com added the comment:
You can use io.open() instead of open()...
Alright, it's much easier with io.open() :-)
--
Added file: http://bugs.python.org/file13433/fileio_seekable-trunk-2.patch
___
Python tracker
Changes by STINNER Victor victor.stin...@haypocalc.com:
Removed file: http://bugs.python.org/file13429/fileio_seekable-trunk.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5016
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
Updated patch with a regression test.
--
Added file: http://bugs.python.org/file13434/getopt-2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4629
STINNER Victor victor.stin...@haypocalc.com added the comment:
martin IIUC, this patch breaks PEP3138,
martin so it clearly must be rejected.
After reading the PEP3138, it's clear that this issue is not bug, and
that we can not accept any patch fixing the issue without breaking the
PEP.
STINNER Victor victor.stin...@haypocalc.com added the comment:
Sorry, but I don't see this issue as a bug because it's related to
memory alignment as explained in the documentation.
I choose to close this issue. If you think that the documentation
should be improved, please suggest an
STINNER Victor victor.stin...@haypocalc.com added the comment:
@lemburg: I can't comment on the status of the standard.
I would assume that like most 8 bit encodings that these
are falling away and being replaced by Unicode.
Can I close this issue? Or do we have enough KOI8-RU users to
Changes by Amaury Forgeot d'Arc amaur...@gmail.com:
--
resolution: - invalid
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5528
___
Tim Peters tim.pet...@gmail.com added the comment:
The CPython set/dict implementation does not guarantee minimal constant
density, so quite easy doesn't apply in reality. For example, a set
that once contained a million elements may still contain a million
/slots/ for elements after all but
Tim Peters tim.pet...@gmail.com added the comment:
The CPython set/dict implementation does not guarantee minimal constant
density, so quite easy doesn't apply in reality. For example, a set
that once contained a million elements may still contain a million
/slots/ for elements after all but
Changes by Tim Peters tim.pet...@gmail.com:
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1551113
___
___
Python-bugs-list mailing list
Changes by Collin Winter coll...@gmail.com:
--
nosy: +collinwinter
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5557
___
___
Python-bugs-list
96 matches
Mail list logo