Changes by Ronald Oussoren ronaldousso...@mac.com:
--
assignee: ronaldoussoren -
components: -Macintosh
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18401
___
Ronald Oussoren added the comment:
The file not even empty, it doesn't even exist in default installations.
As Ned mentioned the CA roots on OSX are stored in a system database (the
keychain). The situation is more or less the same as on Windows: their either
needs to be code that queries the
Jeremy Kloth added the comment:
This error is reproducible by simply passing '-j' to regrtest on any Windows
build so it is not Win64-specific.
It seems that when run in a subprocess, certain signals have C handlers that
cause the return value of getsignal() to return None which, of course,
Nick Coghlan added the comment:
Raymond, one of the devs here at the PyCon AU sprints has been looking into
providing an updated patch for this. Do you mind if I reassign the issue to
myself to review their patch (once it is uploaded)?
--
___
Ben Finney added the comment:
I'm reading the existing `test.support.import_fresh_module` docstring, and have
re-formatted it for PEP 257 compliance and for reading clarity.
--
keywords: +patch
nosy: +bignose
Added file:
Ben Finney added the comment:
import_fresh_module raises an ImportError if *name* can't be imported, or
returns None if the fresh module is not found.
The implementation doesn't seem to raise ImportError when a module import
fails. Instead, from what I can tell, it captures any ImportError
Indra Talip added the comment:
cleaning up patch so that it will apply cleanly after applying patch from
issue15494
--
nosy: +italip
Added file: http://bugs.python.org/file30858/issue-15415-4.patch
___
Python tracker rep...@bugs.python.org
Stephen Tonkin added the comment:
Likewise, move_test_support.patch did not break things under OS X 10.8.
--
nosy: +sptonkin
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15494
___
Katie Miller added the comment:
Attaching patch with Nick Coghlan's suggested code from msg140493 and
associated tests. The tests extend the single test case that had already been
added for earlier changes based on this bug. The tests check that a TypeError
is raised, rather than a stack
Grant added the comment:
codecs module and 'whats new' doc patch for 3.4
--
keywords: +patch
nosy: +Grant
versions: -Python 2.7, Python 3.3
Added file: http://bugs.python.org/file30860/17827.diff
___
Python tracker rep...@bugs.python.org
Nick Coghlan added the comment:
As part of this, I finally reviewed Jim's proposed alternate implementations
for the helper functions. Katie's patch used my version while I figured out the
differences in behaviour :)
The key difference between them relates to the following different
Ronald Oussoren added the comment:
The attached patch removes the use of the Gestalt API.
The removed code is effectively dead, I yet have to find a machine were
platform._mac_ver_xml does not work and the gestalt based code only gets used
when the XML variant does not work.
--
Dylan Radcliffe added the comment:
What I see in gdb is that that read is occurring due to the unpickling thread
reading peeking ahead in the stream due to buffered io being used.
#0 0x77bcbcbd in read () from /lib/x86_64-linux-gnu/libpthread.so.0
#1 0x0061f521 in
Antoine Pitrou added the comment:
For the record, this is one of the things that the framing proposal in pickle
protocol 4 (pep 3154 - http://www.python.org/dev/peps/pep-3154/#framing) is
able to address.
--
___
Python tracker
Mateusz Loskot added the comment:
This is still an issue in VS 2012 Version 11.0.60610.01 Update 3
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17797
___
Michelle Arzul added the comment:
This is what I get from gdb:
marzul@Leeward:~$ gdb --args python test.py
GNU gdb (GDB) 7.5.91.20130417-cvs-ubuntu
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free
New submission from Xue Fuqiao:
In http://docs.python.org/3.3/tutorial/introduction.html#strings:
In addition to indexing, slicing is also supported. While indexing is
used to obtain individual characters, slicing allows you to obtain
substring:
word[0:2] # characters from position 0
Matthias Klose added the comment:
... that there is something abnormal with this Ubuntu release.
no, it is not. This has nothing to do with Ubuntu, but is an upstream change
introduced with glibc-2.17. So you will see it on every system which is based
on the glibc version.
see
Christian Heimes added the comment:
How about we include certsync [1] as an external program then? It's not as
elegant as an internal API but it's not going to cause trouble with forking
servers.
The first time a root CA cert is require, some new code in Python's SSL module
runs certsync and
Marc-Andre Lemburg added the comment:
On 07.07.2013 11:11, Ronald Oussoren wrote:
The easiest solution to avoid this deprecated API is therefore to drop the
_gestalt extension and remove its use in platform.mac_ver()
I think it should only be removed in case we no longer support
Mac OS X
Mateusz Lenik added the comment:
The other way to solve problem with CA certs may be this script[1] that can be
used to generate pem files from mozilla CA cert bundle[2] during compilation or
installation.
[1]: http://curl.haxx.se/docs/caextract.html
[2]:
Marc-Andre Lemburg added the comment:
On 07.07.2013 16:31, Alex Henderson wrote:
Having discussed this with Ezio, I think the better option might be to raise
ValueError instead - if someone is expecting to be able to silently recover
from errors they won't be able to, and should find out
Marc-Andre Lemburg added the comment:
On 08.07.2013 13:55, Ronald Oussoren wrote:
Do we follow the deprecation procedure for private functions as well?
The patch removes a private and undocumented extension, and removes a private
function that uses that extension. There is no change in
Antoine Pitrou added the comment:
I think we can improve the situation with shipping our own CA certs.
Almost every operating system or distribution comes with a set of CA
certs.
Why would we ship our own CA certs if every OS comes with CA certs?
I lots of Linux distributions and most BSD
Ronald Oussoren added the comment:
Do we follow the deprecation procedure for private functions as well?
The patch removes a private and undocumented extension, and removes a private
function that uses that extension. There is no change in the public API.
Also, as I mentioned before the
Marc-Andre Lemburg added the comment:
On 06.07.2013 18:17, Ronald Oussoren wrote:
As to the question of actually signing the installer: we ask the PSF about
acquiring a developer account once we have something that can actually be
signed.
Please write to p...@python.org with an explanation
Ronald Oussoren added the comment:
I had hoped to just drop it in 3.4.
To remove:
* extension _gestalt
* function platform._mac_ver_gestalt
* function platform._mac_ver_lookup (only used by ^^^)
* function platform._bcd2str (likewise)
To change:
* function platform.mac_ver: remove call to
Christian Heimes added the comment:
Mateusz,
we would like to avoid that path and use the operating system's root CAs list
when the OS provides one. It gives better user experience and the OS' root CA
list gets updates through the OS.
--
___
Python
Changes by Christian Heimes li...@cheimes.de:
--
components: +Extension Modules
nosy: +christian.heimes
versions: +Python 3.4 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8813
Madison May added the comment:
Nope, definitely an error! Good catch, Xue.
--
nosy: +madison.may
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18403
___
Marc-Andre Lemburg added the comment:
On 08.07.2013 14:08, Ronald Oussoren wrote:
Ronald Oussoren added the comment:
I had hoped to just drop it in 3.4.
To remove:
* extension _gestalt
* function platform._mac_ver_gestalt
* function platform._mac_ver_lookup (only used by ^^^)
Christian Heimes added the comment:
I don't mind to add perl64 to the search path.
--
components: +Windows
nosy: +christian.heimes
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18402
New submission from Bohuslav Slavek Kabrda:
Function dbm_length from Modules/_gdbmmodule.c seems to be leaking memory. A
simple reproducer:
import dbm
d = dbm.open('spam', 'c')
d['x'] = '1'
print(len(d))
The interesting part of valgrind output with --leak-check=full:
==3312== 1 bytes in 1
Christian Heimes added the comment:
I'm closing this ticket because the op hasn't responded in two years and nobody
has reported the issue ever since.
--
nosy: +christian.heimes
resolution: - out of date
status: open - closed
___
Python tracker
Christian Heimes added the comment:
LGTM
I suggest that you add a comment with a link to this issue. People may wonder
why some places don't release the GIL.
--
nosy: +christian.heimes
versions: +Python 3.3, Python 3.4 -Python 3.1, Python 3.2
___
Éric Araujo added the comment:
Yes, this was probably kept open for packaging forward-port, which is now moot.
Note that many others distutils2 issues are kept open because they can be
relevant for the distlib fork or other packaging libs.
--
___
Brett Cannon added the comment:
So first thing is that you can't relocate a venv. The --upgrade option is only
for when you upgrade a Python installation in-place (e.g. go from 3.3 to 3.4
but otherwise all other details stay the same). The --clear option empties out
the directories so nothing
Barry A. Warsaw added the comment:
On Jul 08, 2013, at 11:56 AM, Antoine Pitrou wrote:
I don't think it's a good idea to maintain a list of hard-coded
paths in Python: it's not manageable, and it will always become
outdated. If there was a widely-respected standard (e.g. in FHS or
LSB), things
Christian Heimes added the comment:
Yes, I'm closing it. The issue has been addressed in our documentation.
--
nosy: +christian.heimes
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
Changes by Christian Heimes li...@cheimes.de:
--
components: +Windows
nosy: +christian.heimes
type: - compile error
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15792
___
Changes by Christian Heimes li...@cheimes.de:
--
versions: +Python 3.3, Python 3.4 -Python 3.1, Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9814
___
Jim Jewett added the comment:
On Mon, Jul 8, 2013 at 3:30 AM, Nick Coghlan wrote:
The key difference between them relates to the following different approaches
to handling unknown types in __eq__:
@functools.total_ordering
class TotallyOrderedEqualsReturnsFalse:
...
def __eq__(self,
Terry J. Reedy added the comment:
You will have to wait until Martin can respond, but the log says failure
occurred with
C:\Users\astar\AppData\Local\Temp\MSIA812.tmp entry: _CheckDir@4
Description from web:
Driver Install Frameworks for Applications library module
This appears to part of
Dale Smith added the comment:
I have redownloaded. Still getting the same message. Thank you.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18360
___
Christian Heimes added the comment:
run_profile_task has been fixed a while ago and works with --enabled-shared.
--
nosy: +christian.heimes
resolution: - works for me
stage: patch review - committed/rejected
status: open - closed
___
Python tracker
Christian Heimes added the comment:
1) and 2) have been fixed in Python 3.x. mmap supports writable memory views
and slice assignment from any object that supports the buffer protocol.
3) is still an issue as mmap objects are not weakref-able yet. It should be
easy to add __weakref__ to mmap
Christian Heimes added the comment:
It's a trivial task for any Python developer with some C experience.
--
keywords: +easy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4885
___
Christian Heimes added the comment:
Victor, this fits nicely with your recent PEP.
--
nosy: +christian.heimes, haypo
versions: +Python 3.4 -Python 2.6, Python 2.7, Python 3.0, Python 3.1
___
Python tracker rep...@bugs.python.org
Changes by Christian Heimes li...@cheimes.de:
--
assignee: - christian.heimes
nosy: +christian.heimes
stage: test needed - patch review
versions: +Python 3.4 -Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1208730
Christian Heimes added the comment:
Python 3.4 no longer exports symbols without a Py or _Py prefix:
$ nm -p build/lib.linux-x86_64-3.4-pydebug/_multiprocessing.cpython-34dm.so |
sed -n / [TDB] /s/.* //p | sort
__bss_start
_edata
_end
_fini
_init
PyInit__multiprocessing
_PyMp_SemLockType
Christian Heimes added the comment:
I agree with Antoine. If you are still interested to improve the situation then
please start a discussion on the python-ideas mailing list.
--
nosy: +christian.heimes
resolution: - postponed
status: open - closed
Roundup Robot added the comment:
New changeset 6f16fa5223cc by Ezio Melotti in branch '3.3':
#18403: fix an off-by-one typo noticed by Xue Fuqiao.
http://hg.python.org/cpython/rev/6f16fa5223cc
New changeset d41adb657bd4 by Ezio Melotti in branch 'default':
#18403: merge with 3.3.
Ezio Melotti added the comment:
Fixed, thanks for the report!
--
assignee: docs@python - ezio.melotti
nosy: +ezio.melotti
resolution: - fixed
stage: - committed/rejected
status: open - closed
type: - enhancement
versions: +Python 3.4
___
Python
Ezio Melotti added the comment:
This still needs to be backported to 2.7. There's also a typo reported in
#18403 that should be fixed before the backport.
--
assignee: docs@python - ezio.melotti
___
Python tracker rep...@bugs.python.org
Christian Heimes added the comment:
Shall we close this ticket then?
--
nosy: +christian.heimes
status: open - languishing
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1038591
___
Glyph Lefkowitz added the comment:
It would be nice for this to be fixed in a 2.7.x release too, if possible,
since the workaround involves a ton of extra system calls and there's no other
way to construct a socket object directly.
--
nosy: +glyph
versions: +Python 2.7
Christian Heimes added the comment:
I'm closing the bug because it hasn't seen any activity in the past 2.5 years.
--
nosy: +christian.heimes
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8176
Changes by Christian Heimes li...@cheimes.de:
--
nosy: +christian.heimes
versions: +Python 3.4 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10664
___
Vajrasky Kok added the comment:
Attached the fix and the unit test for this problem.
--
nosy: +vajrasky
Added file:
http://bugs.python.org/file30863/patch_for_fixing_the_server_serving_the_url_with_trailing_slash.txt
___
Python tracker
Christian Heimes added the comment:
'We' don't show any error message. Windows does it on its own because the
pythonXX.dll is a dependency for the executable.
If python.exe can't find the DLL then it's also likely that the DLL is unable
to find Python's stdlib. Python requires the stdlib to
Björn Sandberg Lynch added the comment:
I've been looking into this as an easy piece to bite off. If I understand Guido
correctly, he'd like to defer or suppress the linecache call when getting the
tb summary. The problem with deferring is that you need to access f_globals for
the loader to
Christian Heimes added the comment:
I think the cause of the bug has been addressed because tests on Solaris are
passing.
--
nosy: +christian.heimes
resolution: - fixed
status: open - pending
___
Python tracker rep...@bugs.python.org
Christian Heimes added the comment:
Thanks for your report. The issue has been address in Python 3.x. NamedNodeMap
properly implements __contains__(). Python 2.7 is in feature freeze mode which
means we can't backport the function.
--
nosy: +christian.heimes
resolution: - fixed
Christian Heimes added the comment:
Martin, can we close this issue or do you want to keep it around?
--
nosy: +christian.heimes
resolution: - wont fix
status: open - languishing
___
Python tracker rep...@bugs.python.org
Changes by Christian Heimes li...@cheimes.de:
--
nosy: +christian.heimes, effbot
versions: +Python 3.4 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13611
___
Changes by Christian Heimes li...@cheimes.de:
--
nosy: +christian.heimes
stage: committed/rejected -
versions: +Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13788
___
Christian Heimes added the comment:
Agreed
--
nosy: +christian.heimes
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13942
___
Changes by Christian Heimes li...@cheimes.de:
--
nosy: +christian.heimes
versions: +Python 3.4 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13856
___
Mark Young added the comment:
+1 at least providing the option. This behavior is obnoxious and weird (no
other program on linux that I know of does this (not to say no such program
exists)). If I didn't want the original gone, I wouldn't have highlighted it.
--
nosy: +Mark.Young
Christian Heimes added the comment:
It doesn't crash anymore for me.
The link doesn't work anymore, too.
--
nosy: +christian.heimes
resolution: - works for me
status: open - closed
___
Python tracker rep...@bugs.python.org
Christian Heimes added the comment:
The link doesn't work anymore and I'm unable to reproduce the issue. Please
reopen the issue if you still get a stack overflow. Don't forget to attach your
script, too.
--
nosy: +christian.heimes
resolution: - out of date
status: open - closed
Changes by Christian Heimes li...@cheimes.de:
--
priority: normal - low
versions: +Python 3.4 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11012
___
Jason R. Coombs added the comment:
I recently discovered this method is missing from Python 3. I started porting a
project which depends on it (a tool that uploads an already-packaged package to
a cheeseshop), but found the method missing on Python 3. According to the
changelog, this commit
Christian Heimes added the comment:
I'll have a look
--
assignee: - christian.heimes
nosy: +christian.heimes
versions: +Python 3.4 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14518
Jason R. Coombs added the comment:
On second thought, the hyperlink for r76706 resolves to d9b4f6ea3e39, which is
in the default branch since 2009, so apparently the code was present, so I'll
continue to trace why it went away.
--
___
Python
Jason R. Coombs added the comment:
I see now, the code was removed in 29a3eda89995.
But the associated comment indicates distutils is feature-frozen and that
subsequent work should be done in distutils2, which of course is now a defunct
effort.
Given that information, what's the proper
New submission from Christian Heimes:
crypt.mksalt() creates a salt with a lower entropy than possible. It uses
random.SystemRandom().sample() to generate a salt string from the set of 64
chars (string.ascii_letters + string.digits + './'). SystemRandom() uses a
CPRNG (good) but sample()
New submission from David P. Kendal:
On python-ideas I proposed the addition of a way to iterate over the graphemes
of a string, either as part of the unicodedata library or as a method on the
built-in str type.
http://mail.python.org/pipermail/python-ideas/2013-July/021916.html
I provided a
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +benjamin.peterson, ezio.melotti, loewis
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18406
___
Changes by Chris Rebert pyb...@rebertia.com:
--
nosy: +cvrebert
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18406
___
___
Python-bugs-list
Ned Deily added the comment:
There have been a number of issues that have come up over the past few years
due to Python 3.2+'s distutils being a subset of Python 2.7's as a result of
the revert (29a3eda89995). Since circumstances have changed since the decision
was made to do the revert and
New submission from Jeremy Kloth:
The attached patch fixes compiler warnings for the pythoncore project when
building on 64-bit Windows.
Fixes for built-in modules are not included, however.
--
files: issue18407.diff
keywords: patch
messages: 192686
nosy: brian.curtin,
Changes by Jeremy Kloth jeremy.kloth+python-trac...@gmail.com:
--
components: +Build, Windows
type: - compile error
versions: +Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18407
STINNER Victor added the comment:
- AdditionalOptions/USECL:MS_OPTERON /GS-
%(AdditionalOptions)/AdditionalOptions
+ BufferSecurityCheckfalse/BufferSecurityCheck
Please don't change too much things in the same patch. The issue #15792 is a
better place for such change.
--
STINNER Victor added the comment:
This issue duplicates the isuse #9566, but your patch is interesting. I created
other more specific issues like #18295 and #18294.
-return lb - ll-ll_label;
+return Py_SAFE_DOWNCAST(lb - ll-ll_label, Py_intptr_t, int);
I don't think that such change
Ned Deily added the comment:
Ronald, I think v8 of the patch is missing (and plistlib_generate_testdata.py
was uploaded twice).
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14455
___
Guido van Rossum added the comment:
In terms of how much freedom you have about changing the internal, I'd check
how long ago they were changed. Internal APIs that have been stable for many
versions tend to have illicit external uses -- but internal APIs that were
introduced recently (e.g.
New submission from STINNER Victor:
I created a first toy based on the PEP 445 to test of Python handles
MemoryError: in short, Python handles them badly...
Home page of the project:
https://pypi.python.org/pypi/pyfailmalloc
I will use this issue to track crashes found by this tool.
Steve Dower added the comment:
I must have missed something when I merged files to create the diffs. In any
case, you'll still require VC9 or VC10 to be able to build something compatible
with a CPython release (though maybe that doesn't matter for Cython? I don't
know).
When I get a chance
Roundup Robot added the comment:
New changeset 111c2a070f28 by Victor Stinner in branch 'default':
Issue #18408: PyObject_GC_NewVar() now raises SystemError exception if nitems
http://hg.python.org/cpython/rev/111c2a070f28
New changeset ba766323b53a by Victor Stinner in branch 'default':
Issue
STINNER Victor added the comment:
I created a first toy based on the PEP 445 to test of Python handles
MemoryError: in short, Python handles them badly...
Ooops: to test *how* Python handles..
--
___
Python tracker rep...@bugs.python.org
Jeremy Kloth added the comment:
Yeah, sorry. This made it in by mistake. It was in the tree just to
eliminate warning noise.
On Mon, Jul 8, 2013 at 1:20 PM, STINNER Victor rep...@bugs.python.org wrote:
STINNER Victor added the comment:
- AdditionalOptions/USECL:MS_OPTERON /GS-
Jeremy Kloth added the comment:
The change in grammar.c:addlabel() is correct. The return value is an
index into the ll-ll_label array, thus an int. The code could be
rewritten to avoid the pointer addition by saving the value of
ll-ll_nlabels before it is incremented and return that instead,
Jeremy Kloth added the comment:
Ugh, sorry for the bad quoting (silly GMail).
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18407
___
___
Anton Tyurin added the comment:
This issue is similar like http://bugs.python.org/issue9566.
It seems reasonable to apply a similar fix.
But why not use the types described in the signature functions in
sys/socket.h. In particular use for len size_t, and for n - ssize_t?
--
Christian Heimes added the comment:
Does it affect Python 3, too?
--
nosy: +christian.heimes
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18100
___
Terry J. Reedy added the comment:
Great start! Some revisions:
* Create root directly (and just once); add root.destroy, which added several
warnings.
* Create Text directly; test should not require Editors. This removed warnings.
I suspect that EditorWindow.py does other things that are not
Roundup Robot added the comment:
New changeset ba79f6a86300 by Victor Stinner in branch 'default':
Issue #18408: Fix ConvParam() of the ctypes module to handle paramfunc failure
http://hg.python.org/cpython/rev/ba79f6a86300
New changeset 2ef2edfd1a4c by Victor Stinner in branch 'default':
Issue
Eric Snow added the comment:
That'll work. :)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18364
___
___
Python-bugs-list mailing list
STINNER Victor added the comment:
use_failmalloc.patch: Patch to use pyfailmalloc on the Python test suite.
Command to run test suite: gdb -args ./python -m test -F.
--
keywords: +patch
Added file: http://bugs.python.org/file30866/use_failmalloc.patch
1 - 100 of 119 matches
Mail list logo