Martin v. Löwis mar...@v.loewis.de added the comment:
I disagree that this issue is release critical. I'm still skeptical that
this is a security bug; if it is, any solution created needs to be
applied to all active branches - including the ones that would be
blocked by this issue right now.
Larry Hastings la...@hastings.org added the comment:
dalcinl: Thanks, I've fixed the doc wrt writing int where I meant
void *.
As for using disambiguate in many places: there are a couple of
sentences that are repeated in the documentation for several functions.
Those repeated sentences all
New submission from Larry Hastings la...@hastings.org:
The changes in PEP 3123 require that all type objects be statically
declared with PyVarObject_HEAD_INIT. However, the Noddy examples in
Doc/ still use PyObject_HEAD_INIT.
--
assignee: georg.brandl
components: Documentation
New submission from Larry Hastings la...@hastings.org:
If my patch in issue 53046 is accepted, I hereby agree to figure out if
the calls to PyCapsule_GetPointer() in Modules/_ctypes/callproc.c need
more error checking or what.
--
components: Interpreter Core
messages: 87215
nosy:
Georg Brandl ge...@python.org added the comment:
Applied in r72314.
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5932
___
sol simon.hen...@wiktory.org added the comment:
- Shouldn't this file be installed only if the pkg-config utility is
present, or if the directory $(LIBDIR)/pkgconfig already exists?
Technically I suppose so
That would mean that, if you first install Python and afterwards
pkg-config,
Georg Brandl ge...@python.org added the comment:
Thanks, fixed in r72317.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5938
___
Larry Hastings la...@hastings.org added the comment:
Whoops, I thought PEP 3123 applied to 2.7 as well. PEP *3*123. Duh, me
slow today.
--
versions: -Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5938
Larry Hastings la...@hastings.org added the comment:
A nice fresh patch, against r72309. Incorporates changes based on
Benjamin's latest batch of Rietveld comments. They're thinning out, so
we must be near the end--and with a day to spare. Also strips out
almost-all documentation from
Georg Brandl ge...@python.org added the comment:
OK, I committed turtle30_to_31.diff, and additionally commented the
print(_ver) out and updated the version in the comment at the file's
top, and committed issues5923.doc.patch in r72318.
--
resolution: - accepted
status: open - closed
Changes by Stefan Ring stefan...@gmail.com:
--
nosy: +Ringding
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5912
___
___
Python-bugs-list mailing
Changes by Georg Brandl ge...@python.org:
--
dependencies: -linecache module returns wrong results
resolution: - duplicate
status: open - closed
superseder: - linecache module returns wrong results
___
Python tracker rep...@bugs.python.org
Georg Brandl ge...@python.org added the comment:
Setting #1309567 as superseder.
--
dependencies: -linecache module returns wrong results
resolution: - duplicate
status: open - closed
superseder: - linecache module returns wrong results
___
Python
Georg Brandl ge...@python.org added the comment:
Setting #1309567 as superseder.
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1068477
___
New submission from Cournapeau David da...@ar.media.kyoto-u.ac.jp:
There is a bug in the function check_library_list. Assuming there are
some libraries in the distribution instance, the function checks that
lib[0] is a string, but the test checks exactly the contrary (line 137
of build_clib.py).
Georg Brandl ge...@python.org added the comment:
Applied patch and added test suite in r72319.
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1309567
Marc-Andre Lemburg m...@egenix.com added the comment:
On 2009-05-04 19:04, Georg Brandl wrote:
Georg Brandl ge...@python.org added the comment:
So, do you also think utf and latin should stay?
For Python 3.x, I think those can be removed. For 2.x it's better to
keep them.
Note that UTF-8
Thomas Heller thel...@ctypes.org added the comment:
Try this as root, then repeat your test:
semanage boolean -m --off allow_execstack
Ok, I can reproduce the problem now. Thanks!
--
title: ctypes should work with systems where mmap can't be PROT_WRITE and
PROT_EXEC - ctypes should
Georg Brandl ge...@python.org added the comment:
Applied the patch, added documentation and committed it as r72322. Thanks!
--
resolution: - accepted
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5142
Mark Dickinson dicki...@gmail.com added the comment:
Updated patch, that removes the 's' type code.
--
Added file: http://bugs.python.org/file13893/issue5920_v2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5920
Clinton Roy clinton@gmail.com added the comment:
Hi Sol,
It's just a data file I suppose, Python should not need a dependency on
pkg-config, and neither should there be a python-pkgconfig package that
just contains the python.pc file.
I think the approach to just always install the
New submission from Cournapeau David da...@ar.media.kyoto-u.ac.jp:
The customize_compiler function is broken in python 3.1. The archiver
for a 'standard' unix compiler is set as ['ar', '-cr'], but in python
3.*, customize_compiler overwrites self.archiver from
get_sysconfig_var('AR'), and AR is
Eric Smith e...@trueblade.com added the comment:
This looks okay to me. (The itertools import isn't needed, but easy
enough to fix on checkin.)
I'd still like someone else to look it over, but if no one does before
the beta, I'll check it in.
--
keywords: +needs review
stage: - patch
Changes by Georg Brandl ge...@python.org:
--
assignee: loewis - gpolo
nosy: +gpolo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1356969
___
___
Tarek Ziadé ziade.ta...@gmail.com added the comment:
Hi David, do you have an example that breaks, I can reuse to write the
test ?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5941
___
Changes by Georg Brandl ge...@python.org:
--
assignee: - marketdickinson
nosy: +marketdickinson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5933
___
Cournapeau David da...@ar.media.kyoto-u.ac.jp added the comment:
Hi Tarek,
Yes, I have a simple example, which show both 5940 and 5941 bugs:
from distutils.core import setup
# How to install libfoo.a/foo.lib in say pkg_dir/lib ?
setup(name='yo', libraries=[('foo', {'sources': ['foo.c']})])
Tarek Ziadé ziade.ta...@gmail.com added the comment:
Good catch !
Obviously this was introduced when the Python 2 version was
refactored for Python 3
(in python 2 its if type(lib[0]) is not StringType)
I shall fix this today or tonite (I need to add test coverage
for this command)
--
Georg Brandl ge...@python.org added the comment:
Fixed in r72326.
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5929
___
Cournapeau David da...@ar.media.kyoto-u.ac.jp added the comment:
Both should be set as serious, in the sense that build_clib is totally
broken ATM, with no simple workaround. OTOH, maybe numpy is the only
user of build_clib, in which case it is not so serious (I use my own
fixed, copied versions
Georg Brandl ge...@python.org added the comment:
This depends on how the distribution installs pygettext. For example,
on Gentoo it isn't installed as a command at all.
Since the original name in the Python source archive is pygettext.py,
I'll not change this.
--
resolution: - works
Antoine Pitrou pit...@free.fr added the comment:
Ok, downgrading to critical.
I'm awaiting the reporter's answer anyway.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5753
___
Changes by Antoine Pitrou pit...@free.fr:
--
priority: release blocker - critical
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5753
___
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
About sign_warning_resource.patch: I don't know if RLIM_INFINITY
constant is standard (always defined if getrlimit() is present).
--
___
Python tracker rep...@bugs.python.org
Eric Smith e...@trueblade.com added the comment:
I've reviewed this and it looks good. I'll check it in to py3k shortly.
Then I'll backport it to 2.7 and fix the user documentation.
--
resolution: - accepted
stage: patch review -
___
Python tracker
New submission from Mitchell Model m...@acm.org:
It isn't clear from the explanation of dbm.open's flag values at the
beginning of the dbm documentation page whether 'c' and 'n' open the
database just for writing or for reading and writing. I'm sure it's
obvious to anyone familiar with dbm, and
New submission from Eric Smith e...@trueblade.com:
I get a bus error in test_lchflags in test_posix.py on my Mac OS X 10.5 box.
I'll try and spend some time later today to debug this, but here's the
backtrace if anyone wants to look at it:
Program received signal EXC_BAD_ACCESS, Could not
R. David Murray rdmur...@bitdance.com added the comment:
FreeBSD 6.3 also gives a segfault in test_posix. Gentoo runs fine.
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5943
Martin v. Löwis mar...@v.loewis.de added the comment:
The -n switch is now removed in r72335, r72336.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5847
___
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment:
Crashes at Lib/test/test__locale.py(107) test_float_parsing.
from _locale import setlocale, LC_NUMERIC
setlocale(LC_NUMERIC, 'es_ES.ISO8859-1')
(crash)
Yes, I agree that workaround should be placed in test rather than
_locale
Martin v. Löwis mar...@v.loewis.de added the comment:
I'm not sure what the necessary action is on the idle script. It's not
used on Windows; it isn't even installed. So unassigning myself.
--
assignee: loewis -
___
Python tracker
Eric Smith e...@trueblade.com added the comment:
Fedora Core 6 works okay.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5943
___
___
Mark Dickinson dicki...@gmail.com added the comment:
Does this patch fix the problem?
--
keywords: +patch
nosy: +marketdickinson
Added file: http://bugs.python.org/file13894/issue5943.patch
___
Python tracker rep...@bugs.python.org
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment:
Revised patch against HEAD. (With VC6 workaround)
--
Added file: http://bugs.python.org/file13895/py3k_locale_test_on_windows.patch
___
Python tracker rep...@bugs.python.org
Eric Smith e...@trueblade.com added the comment:
Yes, that patch fixes the problem for me on Mac OS.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5943
___
Ben Gamari bgam...@gmail.com added the comment:
What is the status of this?
--
nosy: +bgamari
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1368247
___
Ben Gamari bgam...@gmail.com added the comment:
Has this patch been merged yet?
--
nosy: +bgamari
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4487
___
Mark Dickinson dicki...@gmail.com added the comment:
Thanks for the patches.
The first patch looks fine; I'll apply it shortly.
For the second, I don't understand why you want to
compare the return result with RLIM_INFINITY: PyInt_AsLong
returns -1 to signal failure; is there some guarantee
R. David Murray rdmur...@bitdance.com added the comment:
Fixes it on FreeBSD 6.3 as well.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5943
___
Mitchell Model m...@acm.org added the comment:
Further confusion:
dbm.dumb._Database objects DO support items(), DO NOT support
iteritems(), and DO support iterkeys()
My previous comments referred to the general dbm documentation and the
specifics of dbm.gnu. I haven't checked any of this
Eric Smith e...@trueblade.com added the comment:
My Fedora Core 6 box still works with the patch.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5943
___
Larry Hastings la...@hastings.org added the comment:
Whoops, yeah, that was me forgetting that in py3k itertools.izip became
just zip. I'll remove it in my branch in case I generate another patch.
--
___
Python tracker rep...@bugs.python.org
Martin v. Löwis mar...@v.loewis.de added the comment:
This is now fixed in r72340 (I came up with the same patch
independently, and just hadn't got around to commit it).
--
nosy: +loewis
resolution: - fixed
status: open - closed
___
Python tracker
R. David Murray rdmur...@bitdance.com added the comment:
This seems like a resonable thing for pydoc to do. However, I took a
quick look, and pydoc has no notion of error status. Adding one would
require a non-trival refactoring of the code (at least to do it
right...a hackish version might not
Senthil orsent...@gmail.com added the comment:
Fixed this in the revision: 72343. Agree to the comment on replacing '|'
to ':' in pathname2url as windows recognizes it. test_urllib passes.
--
resolution: - fixed
___
Python tracker
Larry Hastings la...@hastings.org added the comment:
Just 'cause I like you, here's an updated patch. The only change is the
removal of import itertools and the update of the base version.
--
Added file: http://bugs.python.org/file13896/lch.ntpath.r72345.diff
Changes by Senthil orsent...@gmail.com:
--
resolution: - fixed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue918368
___
___
Python-bugs-list
New submission from Mark Dickinson dicki...@gmail.com:
I'm getting what looks like a PEP 383-related failure in test_os, on OS
X 10.5.6. Here's the tail end of running Lib/test/test_os.py, on a
standard non-debug build of py3k.
test_setuid (__main__.PosixUidGidTests) ... ok
test_listdir
Mark Dickinson dicki...@gmail.com added the comment:
One other piece of information that may be relevant:
Macintosh-4:py3k dickinsm$ echo $LANG
en_US.UTF-8
If I unset the LANG environment variable then I get a different failure
(see output below).
I'll investigate this further and see if I
Mark Dickinson dicki...@gmail.com added the comment:
Applied the first patch in r72344, r72345, r72346, r72347.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5933
___
Eric Smith e...@trueblade.com added the comment:
Committed in py3k r72333 and trunk r72348. I also updated the
documentation. Closing the issue.
--
components: +Interpreter Core
status: open - closed
___
Python tracker rep...@bugs.python.org
Senthil orsent...@gmail.com added the comment:
Fixed in the Revision 43132.
--
assignee: - orsenthil
nosy: +orsenthil
resolution: - fixed
stage: test needed - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Senthil orsent...@gmail.com added the comment:
fixed in revision 43132 ( smaller 'r' for the roundup to auto-hyperlink). :)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1153027
___
Mitchell Model m...@acm.org added the comment:
And, checking the methods of dbm.ndbm, I find get() and setdefault() but
nothing like iterkeys() or iteritems(), just keys().
I think it might also be worth pointing out that a particular variation
of dbm may be chosen to create a database file by
Changes by Senthil orsent...@gmail.com:
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1153027
___
___
Python-bugs-list mailing list
Senthil orsent...@gmail.com added the comment:
Sorry, I meant fixed in revision 72351.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1153027
___
Changes by Senthil orsent...@gmail.com:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue918368
___
___
Python-bugs-list
Changes by Senthil orsent...@gmail.com:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5861
___
___
Python-bugs-list
R. David Murray rdmur...@bitdance.com added the comment:
OS/X needs to be special cased in the tests, since it transforms the
invalid filenames on write. And if I remember correctly older versions
do something different...throw an error, maybe?
The case where the letter looks the same (at
Mark Dickinson dicki...@gmail.com added the comment:
The case where the letter looks the same (at least in my email) but is
apparently different may require some thought, too.
In case it's useful, when I do a list(map(ord, ...)) on those two
lookalike strings I get (where 'expected' comes
Thomas Heller thel...@ctypes.org added the comment:
Here is a patch for Python trunk (linux only).
--
Added file: http://bugs.python.org/file13897/issue5504.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5504
Mark Dickinson dicki...@gmail.com added the comment:
Even better:
for s in map(unicodedata.name, found): print(s)
...
LATIN SMALL LETTER F
LATIN SMALL LETTER O
LATIN SMALL LETTER O
LATIN SMALL LETTER O
COMBINING DIAERESIS
LATIN SMALL LETTER B
LATIN SMALL LETTER A
LATIN SMALL LETTER R
for s
Thomas Heller thel...@ctypes.org added the comment:
Fixed in trunk (rev 72352), release26-maint (rev 72353), py3k (rev
72354), and release30-maint (rev 72355).
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
Changes by Thomas Heller thel...@ctypes.org:
--
components: -Build
stage: test needed -
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1648957
___
Thomas Heller thel...@ctypes.org added the comment:
So, should this be closed as some kind of 'works for me' + 'wont fix' +
'third-party-bug' in Apple's sqlite?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1581906
Mark Dickinson dicki...@gmail.com added the comment:
Probably.
I do remember investigating this further, but I don't entirely remember
what I found. I think Ronald's comment about flat namespaces turned out
to be highly relevant though.
--
___
Benjamin Peterson benja...@python.org added the comment:
I think the patch is good to go.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5643
___
Mark Dickinson dicki...@gmail.com added the comment:
Here's a patch that fixes the test failures for me. It's not ideal,
because it no longer tests that on OS X, it's possible to open a file
created with an invalid filename, using that same name.
--
keywords: +patch
Added file:
Jan Lieskovsky ian...@seznam.cz added the comment:
Antoine,
(re: #msg87083, #msg87084) -- while the API change is acceptable and
reasonable, it doesn't solve the core of the problem. I understand
the change needs to be 'backward compatible' and shouldn't break
the existing Python behavior,
Benjamin Peterson benja...@python.org added the comment:
Fixed in r72357.
--
nosy: +benjamin.peterson
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5899
Martin v. Löwis mar...@v.loewis.de added the comment:
I think skipping the test entirely would be even better on Darwin. The
test is really meant to pass only on systems that treat file names as
uninterpreted byte sequences (as such, it may also fail on Linux if the
file system driver enforces
Eric Smith e...@trueblade.com added the comment:
Looking at Guido's removal of this back in 1999, he says:
* Lib/ntpath.py:
Withdraw the UNC support from splitdrive(). Instead, a new function
splitunc() parses UNC paths. The contributor of the UNC parsing in
splitdrive() doesn't like it, but
Martin v. Löwis mar...@v.loewis.de added the comment:
What's the question of 'security nature' of the issue, Glyph in
message #msg86927 already uncovered potential implications --
The question is whether these are theoretical or real problems.
I ran gedit (as proposed by Glyph) under
Mark Dickinson dicki...@gmail.com added the comment:
I think skipping the test entirely would be even better on Darwin.
Sounds good to me! Here's a new (one-line) patch, using skipIf.
--
Added file: http://bugs.python.org/file13899/issue5944_v2.patch
Martin v. Löwis mar...@v.loewis.de added the comment:
Fine with me, please apply.
--
assignee: - marketdickinson
resolution: - accepted
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5944
Larry Hastings la...@hastings.org added the comment:
I've never understood what is the philosophical problem per se. It's
clear from his implementation--Guido created splitunc when he removed
my patch--that he thinks these should be precise string operations.
Whereas I propose making these
Mark Dickinson dicki...@gmail.com added the comment:
Committed, r72359.
--
resolution: accepted - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5944
___
New submission from John Millikin jmilli...@gmail.com:
In Python 2, PyMapping_Check will return 0 for list objects. In Python
3, it returns 1. Obviously, this makes it rather difficult to
differentiate between mappings and other sized iterables. In addition,
it differs from the behavior of the
R. David Murray rdmur...@bitdance.com added the comment:
It looks to me like MIMEText doesn't actually support unicode input. .
One way to get the example to work is to do this:
MIMEText(u'\u043a\u0438\u0440\u0438\u043b\u0438\u0446\u0430'.encode('utf-8'),
'plain', 'utf-8')
The above call
Changes by Eric Smith e...@trueblade.com:
--
assignee: eric.smith -
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5799
___
___
Python-bugs-list
Martin v. Löwis mar...@v.loewis.de added the comment:
Thanks for the patch. Committed as r72361, r72362.
--
resolution: - accepted
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5721
Martin v. Löwis mar...@v.loewis.de added the comment:
Lowering the priority. It's too difficult to setup the environment to be
able to reproduce the issue being fixed.
--
priority: critical - normal
___
Python tracker rep...@bugs.python.org
Martin v. Löwis mar...@v.loewis.de added the comment:
Is it possible to find out what specific encoding is being used?
In most cases, nl_langinfo(CODESET) would be the right choice, but that
depends on the LC_CTYPE category. If available, wcsftime should be used.
In any case, I think issue5903
Benjamin Peterson benja...@python.org added the comment:
Applied in r72363.
--
nosy: +benjamin.peterson
resolution: - accepted
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5630
Benjamin Peterson benja...@python.org added the comment:
Applied in r72365.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5643
___
Michael Foord mich...@voidspace.org.uk added the comment:
So it turns out that unittest.makeSuite is used about 100 times
throughout the standard library tests.
More than half the time it can be replaced with
unittest.TestLoader().loadTestsFromTestCase(...)
Some of the other times a loader
Antoine Pitrou pit...@free.fr added the comment:
Hello Jan,
1, doesn't avoid the need to fix the issue (by calling
PySys_SetArgvEx(argc, argv, 0);) in all current applications embedding
Python,
As you said yourself, we don't want to break backwards compatibility for
C API users --
Antoine Pitrou pit...@free.fr added the comment:
The question is whether these are theoretical or real problems.
I ran gedit (as proposed by Glyph) under strace(1), and it didn't
try to open any files in the current directory.
You have to use a Python-written gedit plugin for that to happen.
New submission from Larry Hastings la...@hastings.org:
In the comments for the Capsule patch:
http://bugs.python.org/issue5630
dalcinl correctly pointed out that I had misspelled disambiguate,
which I missed. This patch fixes that mistake.
--
assignee: georg.brandl
components:
New submission from Larry Hastings la...@hastings.org:
With the Capsule API patch accepted, I'd like to officially deprecate
CObject. This patch causes Python to emit a single runtime warning the
first time a CObject is constructed in a particular Python instance. If
those aren't the right
1 - 100 of 107 matches
Mail list logo