New submission from Ilya kaplan.i...@gmail.com:
When embedding python from C, and importing ctypes module in embedded
script, it always crashes on Py_Finalize() on 4th cycle.
Tested with both PyRun_SimpleString(...) and PyRun_String(...).
Platform: Windows XP
IDE's: LabWindows/CVI 8.5 and
New submission from Pravin Chavan pravinpcha...@rediffmail.com:
How can I use sybase module in python 3.1?
--
components: Extension Modules
messages: 92445
nosy: pravinpchavan
severity: normal
status: open
title: sybase module for python3.1
type: feature request
versions: Python 3.1
Tarek Ziadé ziade.ta...@gmail.com added the comment:
done in r74728 (trunk), r74729 (2.6.x), r74730 (pyk3) and r74731 (3.1.x)
Thanks guys !
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6163
caglar10ur cag...@pardus.org.tr added the comment:
It seems Python 2.6.x also have same problem, will it be merged
automatically (seems like svn-merge is used for this purpose) or do you
want me to open a new bug against that version?
--
___
Python
Martin v. Löwis mar...@v.loewis.de added the comment:
This question is off-topic for the Python bug tracker. Please use a
different forum, such as comp.lang.python (aka: python-l...@python.org)
--
nosy: +loewis
resolution: - invalid
status: open - closed
Changes by Emlyn Murphy m...@emlyn.net:
--
nosy: +emlyn
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6851
___
___
Python-bugs-list mailing list
Ilya kaplan.i...@gmail.com added the comment:
Tested
obj=PyImport_ImportModule(ctypes);
Py_DECREF(obj);
instead of PyRun_SimpleString(...) - same result
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6869
Sridhar Ratnakumar sridh...@activestate.com added the comment:
From http://svn.python.org/view/python/trunk/Misc/NEWS?
r1=74728r2=74727pathrev=74728
Initial patch by Sridhar Ratnakumar
The author of the initial patch - distutils_hpux_libdir_option.patch -
is actually Trent Mick. I only
Tarek Ziadé ziade.ta...@gmail.com added the comment:
The rule I apply is as follow (any other rule would be too complicated
for me):
I add in Misc/NEWS the name of the user that initialy provides the patch
in the tracker.
If you want a different name, you need to provide a patch with the text
Benjamin Peterson benja...@python.org added the comment:
2009/9/9 caglar10ur rep...@bugs.python.org:
caglar10ur cag...@pardus.org.tr added the comment:
It seems Python 2.6.x also have same problem, will it be merged
automatically (seems like svn-merge is used for this purpose) or do you
New submission from Stefan Krah stefan-use...@bytereef.org:
Hi,
I've two more issues where format behavior should probably be identical:
1: (version 2.6 vs. 3.1):
Version 2.6:
format(Decimal(NaN), +08.4)
'+NaN'
format(float(NaN), +08.4)
'+00.0nan'
Version 3.1:
format(Decimal(NaN),
Brett Cannon br...@python.org added the comment:
Making this a release blocker to see what Barry thinks of this.
--
priority: - release blocker
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6844
Eric Smith e...@trueblade.com added the comment:
For #1 for floats, 2.6 is in error. This has been fixed in 2.7 (trunk).
For #2, I think float is correct. The PEP says the specifier is:
[[fill]align][sign][#][0][minimumwidth][.precision][type]
so '00' is parsed as minimumwidth=0 with
Changes by Gregory P. Smith g...@krypto.org:
--
nosy: +gregory.p.smith
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1590864
___
___
Eric Smith e...@trueblade.com added the comment:
Also, see issue 4482 for a discussion of float formatting for nan and inf.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6871
___
New submission from Mark Dickinson dicki...@gmail.com:
The readline library supplied in OS X 10.6 looks good enough to use in
Python. It would be nice to enable building with this library, to avoid
having to install GNU readline.
There's a curious off-by-one difference between Apple's
Mark Dickinson dicki...@gmail.com added the comment:
And here's the patch.
--
keywords: +patch
Added file: http://bugs.python.org/file14868/snow_leopard_readline.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6872
Mark Dickinson dicki...@gmail.com added the comment:
I'd guess the same. Most of the readline module is just a thin wrapper
around the system readline library, so if the system readline library uses
one-based indexing, so does the readline module. Changing this would
probably be quite
Ronald Oussoren ronaldousso...@mac.com added the comment:
I wouldn't mind having a proper patch and doing away with the need for
GNU's readline.
IMHO the patch should try to stay as close to GNU readline's interface
as possible, and should therefore fix the off-by-one difference you
mention.
Mark Dickinson dicki...@gmail.com added the comment:
Issue #1: In both trunk and py3k I get:
from decimal import Decimal
format(Decimal('nan'), '+08.4')
'+NaN'
format(float('nan'), '+08.4')
'+nan'
format(Decimal('inf'), '+012.4')
' +Infinity'
format(float('inf'), '+012.4')
Gawain Bolton gp.bol...@computer.org added the comment:
Yes I agree it would be a good idea to have one definition and one
instantiation of the _decimal_digit_table[] and BitLengthTable[32] arrays.
Where do you suggest these tables could be put? I'll be happy to
provide an updated patch if you
Changes by Sridhar Ratnakumar sridh...@activestate.com:
--
nosy: +srid
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4773
___
___
Python-bugs-list
Mark Dickinson dicki...@gmail.com added the comment:
Hmm. This is looking like a bigger task than I bargained for. I notice
that the readline library currently has no tests (or maybe I'm just
failing to find them). I'm not even sure how to go about writing tests
for readline.
IMHO the
Changes by Gregory P. Smith g...@krypto.org:
--
nosy: +collinwinter, gregory.p.smith
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6713
___
___
Mark Dickinson dicki...@gmail.com added the comment:
I'm a bit ambivalent about this patch: I'd like to see string to integer
conversions improved, and on the surface it makes sense to special-case
base 10 conversions (just as power-of-two bases are already special-
cased), but this seems
New submission from Boya Sun boya@case.edu:
posix_lchown(PyObject *self, PyObject *args)
{
...
int uid, gid;
...
if (!PyArg_ParseTuple(args, etii:lchown,
Py_FileSystemDefaultEncoding, path,
uid, gid))
Boya Sun boya@case.edu added the comment:
Created issue 6879 following Victor's suggestion.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5705
___
Stefan Krah stefan-use...@bytereef.org added the comment:
Issue 1:
I would definitely keep the spelling in decimal, my concern was only the
padding.
The C standard agrees with Mark's view:
Leading zeros (following any indication of sign or base) are used to
pad to the field width rather than
Boya Sun boya@case.edu added the comment:
Sorry, typo.
Created issue 6873 following Victor's suggestion.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5705
___
Mark Dickinson dicki...@gmail.com added the comment:
On the other hand, _PyLong_Format currently contains general machinery
for integer - string conversion in any base in the range [2, 36], but I
don't think that machinery is ever used for bases other than 2, 8, 10
and 16. So ripping
loveminix lovemi...@yahoo.com.cn added the comment:
Is there an update on this? Let me know if more information is needed.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6854
___
31 matches
Mail list logo