Claudiu.Popa added the comment:
Thanks, Vajrasky! Here's the new version of the patch.
--
Added file: http://bugs.python.org/file32980/pathlib1.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19776
Wim added the comment:
I have run into this a few times although it is only recently that I've
convinced myself I understood the XML namespace spec well enough to know what
the right behavior was. (I came to the same interpretation as silverbacknet.)
I have attached a patch which I believe
Changes by Vajrasky Kok sky@speaklikeaking.com:
--
resolution: - invalid
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19891
___
Changes by Alexandre Vassalotti alexan...@peadrop.com:
Added file: http://bugs.python.org/file32982/fix_bigmem_pickle_2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19881
___
Claudiu.Popa added the comment:
Should this be tagged for Python 3.5?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19343
___
___
New submission from Roman:
I wrote small test program using Python cApi, and found some memory issues
while working on it. I checked it with valgrind. (test code and valgrind output
appended)
Maybe I'm doing something wrong, but most of the problem occurs durring
Py_Initialize. I've checked
New submission from Richard Milne:
Reading the pkzip APPNOTE and the documentation for the zipfile module, I was
under the impression that I could set the DEFLATE compression level, on a
per-file basis, for each file added to an archive, by setting the appropriate
bits in zipinfo.flag_bits.
Roundup Robot added the comment:
New changeset 03fcc12282fc by Kristján Valur Jónsson in branch '2.7':
Issue #7105: weak dict iterators are fragile because of unpredictable GC runs
http://hg.python.org/cpython/rev/03fcc12282fc
--
nosy: +python-dev
New submission from Antony Lee:
Classes defined in the multiprocessing module are in fact functions that call
the internally defined class constructor with the ctx argument properly set;
because of that, trying to subclass them yields a (very?) cryptic error message:
import multiprocessing
New submission from Antony Lee:
multiprocessing.sharedctypes was not updated after the q (c_longlong) and Q
(c_ulonglong) typecodes were added to the array module (the docs claim that the
typecode can be one character typecode of the kind used by the array module).
The attached patch (just
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +sbt
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19896
___
___
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +sbt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19895
___
___
Python-bugs-list mailing list
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +haypo, skrah
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19893
___
___
Python-bugs-list
Stefan Krah added the comment:
Did you use --suppressions=Misc/valgrind-python.supp?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19893
___
Stefan Krah added the comment:
Also, you have zero definitely lost. possibly lost is not
particularly informative in the context of running Python:
These are almost certainly false positives.
--
___
Python tracker rep...@bugs.python.org
Roman added the comment:
I didn't use --suppressions=Misc/valgrind-python.supp before . (But I've done
it now). Nothing important has changed.
I understand that possibly lost is not particularly informative. I'm rather
worried about Invalid read of size 4 etc. Isn't it potentially dangerous?
Stefan Krah added the comment:
Did you compile Python --with-valgrind?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19893
___
___
Roman added the comment:
I've just done it. Python 3.3.3 --with-valgrind. I can't see the difference.
Output appended.
--
Added file: http://bugs.python.org/file32986/vgrind3.3.3vc.out
___
Python tracker rep...@bugs.python.org
Bohuslav Slavek Kabrda added the comment:
I can also reproduce it on Arch Linux. It seems that the bad characters are
only output if env variable TERM starts with xterm.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19884
Serhiy Storchaka added the comment:
Path.resolve() also fails when last link is absolute.
mkdir testdir
ln -s 0/0 testdir/1
ln -s 1/1 testdir/2
ln -s $(readlink -f testdir) testdir/0
Path('testdir/2').resolve() fails:
Traceback (most recent call last):
File stdin, line 1, in module
File
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: +alanmcintyre, serhiy.storchaka
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19894
___
Changes by Berker Peksag berker.pek...@gmail.com:
--
assignee: docs@python
components: Documentation
files: fix-example-site.diff
keywords: patch
nosy: berker.peksag, docs@python
priority: normal
severity: normal
stage: patch review
status: open
title: Use python as executable instead
R. David Murray added the comment:
This is presumably due to the new default enabling of readline, where it is
trying to save the history file when it exits.
--
nosy: +pitrou, r.david.murray
___
Python tracker rep...@bugs.python.org
Eli Bendersky added the comment:
Thanks. I left some comments in the code review tool
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19687
___
Michael Haubenwallner added the comment:
Kindly ping. Do you prefer another report for the aix-absbuilddir patch as this
one is already closed?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18235
Antoine Pitrou added the comment:
For the record, why did you close as invalid?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19891
___
___
STINNER Victor added the comment:
You shoud configure --with-valgrind *and* use the suppression list, or
disable pymalloc using configure.
Victor
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19893
R. David Murray added the comment:
Not sure who you meant by 'you', but just in case you meant me, Vajrasky was
the one who closed it.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19891
Roman added the comment:
I compiled python --with-valgrind --without-pymalloc, and used valgrind with
suppressions.
valgrind --suppressions=../Misc/valgrind-python.supp --leak-check=full
--show-reachable=no --show-possibly-lost=no --track-origins=yes
--log-file=vgrindNext.out ./test
Brett Cannon added the comment:
First, sorry about the noise in the patch.
Second, the patch should contain just three pragma lines:
#pragma clang diagnostic push
#pragma clang diagnostic ignored -Wtautological-compare
...
#pragma clang diagnostic pop
Now I don't think that's
Vajrasky Kok added the comment:
Whoa, Serhiy, your patch won't fly on Windows Vista.
For starter, the patch does not use target_is_directory=True option in
os.symlink. It needs that option when creating symlink to the directory on
Windows Vista.
The maximum depth that pathlib can do on
Vajrasky Kok added the comment:
I closed it because I could not reproduce it anymore.
I think, it worked again after
$ ./python -S
I will open it again if I can consistently reproduce this bug.
--
___
Python tracker rep...@bugs.python.org
New submission from Christian Heimes:
According to LCOV the dequereviter_new is never called by any test.
http://tiran.bitbucket.org/python-lcov/Modules/_collectionsmodule.c.gcov.html#1408
--
components: Library (Lib), Tests
messages: 205305
nosy: christian.heimes, rhettinger
priority:
New submission from Christian Heimes:
Accoring to LCOV thread_PyThread_interrupt_main() is never called by any test.
It's only referenced by some idle code.
http://tiran.bitbucket.org/python-lcov/Modules/_threadmodule.c.gcov.html#1110
--
messages: 205306
nosy: christian.heimes
Serhiy Storchaka added the comment:
Thank you Vajrasky. Here is a patch with fixed tests.
--
Added file: http://bugs.python.org/file32990/pathlib_resolve_2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19887
Antoine Pitrou added the comment:
On jeu., 2013-12-05 at 14:40 +, Brett Cannon wrote:
I just don't want to perpetually be ignoring a single warning in the
code. That leads to me ignoring any warnings that come during
compilation, which is unfortunate as some warnings are actually useful
Changes by Brett Cannon br...@python.org:
--
assignee: - brett.cannon
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12837
___
___
Christian Heimes added the comment:
The new patch splits the test into three separate test cases.
Guido, Python 3.3 doesn't have the necessary CA and server cert files. The
files were added to 3.4 for some other tests. The patch tries to load the files
from 3.4's test directory and falls back
David Edelsohn added the comment:
Do you want me to open a new issue or do you want to open a new issue?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18235
___
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +larry
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19343
___
___
Python-bugs-list mailing
Vajrasky Kok added the comment:
It works. Just a coding nitpick, instead of hardcoding os.symlink(src, dst,
target_is_directory=True) in the test, you can use helper function in the test
itself, self.dirlink.
--
___
Python tracker
Christian Heimes added the comment:
Here is a patch that strncpy() the filename to a char[].
--
nosy: +christian.heimes
stage: - needs patch
type: - compile error
Added file: http://bugs.python.org/file32993/dbm_const_filename.patch
___
Python
Antoine Pitrou added the comment:
Here is a modified patch. The changes are:
- pickle is deemphasized a lot more (it's moved into a seealso)
- I replaced the terms encoding and decoding with serializing and
deserializing (the former may be confusing for people who are already
struggling to
Michael Haubenwallner added the comment:
Erm, question target was the python committers. And I'd create the new issue if
they prefer.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18235
New submission from Antoine Pitrou:
This patch improved the generalities at the top of the pickle module docs.
--
assignee: docs@python
components: Documentation
files: pickintro.patch
keywords: patch
messages: 205316
nosy: alexandre.vassalotti, docs@python, ncoghlan, pitrou, tim.peters
Guido van Rossum added the comment:
Thanks Christian, this is almost right. I'm uploading a patch that covers all
bases:
- Works on Python 3.3 (TEST_HOME_DIR isn't defined there)
- Works on older Python 3.4 versions (check_hostname may not exist)
- Works on latest Python 3.4 version
New submission from Reuben Garrett:
When building Python 3.3.2-r2 from Gentoo's Portage tree [1], I encountered two
failed tests which probably should not have been attempted on my OS (Gentoo
3.7.10): test_bind_port and test_find_unused_port both use the SO_REUSEPORT
socket option which, to
Changes by Guido van Rossum gu...@python.org:
--
keywords: +easy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19901
___
___
Python-bugs-list
Christian Heimes added the comment:
Yes, a cast to char* silences the error. But it could potentially brea contract
because dbm_open() could alter the content of the string. I'm just paranoid
(again). *g*
--
___
Python tracker
Roundup Robot added the comment:
New changeset 546cad3627e2 by Charles-François Natali in branch 'default':
Issue #19850: asyncio: Set SA_RESTART when registering a signal handler to
http://hg.python.org/cpython/rev/546cad3627e2
--
nosy: +python-dev
Changes by Phil Connell pconn...@gmail.com:
--
nosy: +pconnell
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16669
___
___
Python-bugs-list
Nick Coghlan added the comment:
Antoine's latest draft looks good to me.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18840
___
___
Éric Araujo added the comment:
Agreed.
--
nosy: +eric.araujo
versions: +Python 3.5 -Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19419
___
Éric Araujo added the comment:
Do I understand right that BaseSelector.register means something else entirely
than ABC.register? Is it a concern?
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19842
Zachary Ware added the comment:
Here's a new patch based on Jeremy's that addresses all of my review comments
and includes the update to Tcl/Tk 8.6.1.
Also, I'll be attaching a patch to tix-8.4.3.x which allows it to be built in
debug configuration and removes many warnings about unrecognized
Changes by Zachary Ware zachary.w...@gmail.com:
--
stage: - patch review
type: - enhancement
Added file: http://bugs.python.org/file32998/issue15968_tix.svndiff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15968
Guido van Rossum added the comment:
Well, registration is a very common pattern and you can't really require
everyone to use an inferior word just because ABCMeta uses it.
There's a simple work-around:
abc.ABCMeta.register(selectors.BaseSelector, C)
--
Gregory P. Smith added the comment:
I like Antoine's tutjson.patch. commit it. Thanks for noticing this Donald!
--
nosy: +gregory.p.smith
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18840
Changes by Antoine Pitrou pit...@free.fr:
--
versions: +Python 3.3, Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18840
___
___
Roundup Robot added the comment:
New changeset 90cf299dcf9b by Antoine Pitrou in branch '3.3':
Issue #18840: Introduce the json module in the tutorial, and deemphasize the
pickle module.
http://hg.python.org/cpython/rev/90cf299dcf9b
New changeset 1009b77f59fd by Antoine Pitrou in branch
Larry Hastings added the comment:
I suspect dbm_open predates the common availability of const. I assert we
can safely assume it won't overwrite the contents of the buffer. (Barring
spectacular memory corruption bugs that const would be powerless to prevent.)
--
Roundup Robot added the comment:
New changeset 481b30bfe496 by Antoine Pitrou in branch '2.7':
Issue #18840: Introduce the json module in the tutorial, and deemphasize the
pickle module.
http://hg.python.org/cpython/rev/481b30bfe496
--
___
Python
Antoine Pitrou added the comment:
Ok, I've committed it. Thanks!
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
versions: +Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18840
Guido van Rossum added the comment:
Here's a tentative change to selectors.py that ignores the OSError in various
unregister() methods (but not in register()).
--
keywords: +patch
Added file: http://bugs.python.org/file32999/unregister.diff
___
New submission from follower:
The logging module documentation
http://docs.python.org/3.4/library/logging.html makes reference to the levels
DEBUG, INFO etc (e.g. in
http://docs.python.org/3.4/library/logging.html#logging.Logger.setLevel) but
AFAICT these constants are not documented in the
Roundup Robot added the comment:
New changeset 3068ff3d9d1e by Christian Heimes in branch 'default':
Issue #19296: Silence compiler warning in dbm_open.
http://hg.python.org/cpython/rev/3068ff3d9d1e
--
nosy: +python-dev
___
Python tracker
Roundup Robot added the comment:
New changeset 1605eda93392 by Christian Heimes in branch 'default':
Issue #19509: Finish implementation of check_hostname
http://hg.python.org/cpython/rev/1605eda93392
--
___
Python tracker rep...@bugs.python.org
Christian Heimes added the comment:
You are probably right. Let's not get too fancy with compiler warnings.
--
resolution: - fixed
stage: needs patch - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Guido van Rossum added the comment:
With the latest (revision 1605eda93392) I get four failures on OS X. Three are
like this (in all three selector types -- kqueue, select, poll):
==
ERROR: test_create_ssl_connection
Changes by Alexander Boyd a...@opengroove.org:
--
nosy: +javawizard
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18144
___
___
Python-bugs-list
Changes by Alexander Boyd a...@opengroove.org:
--
nosy: +javawizard
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12955
___
___
Python-bugs-list
New submission from Terry J. Reedy:
Change idlelib.CallTips.get_argspec to use inspect.signature, new in 3.3,
instead of inspect.getfullargspec and inspect.formatargspec. One thing it
handles better is a namedtuple class, which has a C-coded __init__ inherited
from object a Python-coded
Terry J. Reedy added the comment:
I think we can now agree that docstrings other than the class docstring (used
as a fallback) are not relevant to signature detection. And Raymond gave
namedtuple classes the docstring needed as a fallback.
We are off-issue here, but
Guido van Rossum added the comment:
It was never about signature detection for me -- what gave you that idea? I
simply want to have the option to put individual docstrings on the properties
generated by namedtuple.
--
___
Python tracker
Changes by Barry A. Warsaw ba...@python.org:
Added file: http://bugs.python.org/file33000/qualname-19888.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19888
___
Barry A. Warsaw added the comment:
I don't see the value in opening a new bug. Now that we understand what's
going on, let's just repurpose and retitle this one.
Run qualname-19888.py with Python 3.3 and you'll get:
Obj.__name__ foo
Obj.__qualname__ Obj
repr(Obj) class '__main__.Obj'
And
Dave Malcolm added the comment:
[FWIW, this looks similar to an issue I ran into on Fedora:
https://bugzilla.redhat.com/show_bug.cgi?id=913732
which was due to a mismatch between the kernel headers on the system vs the
actually running kernel. I patched around it there with a downstream-only
New submission from Fil Mackay:
I've been looking at adding 128-bit support to the struct module. Currently
only named integer types are supported, which vary in implementation. These
include:
short
int
long
long long
Depending on the platform, none may translate to 128-bit integer (the case
New submission from Fil Mackay:
This depends on struct issue #19904, and involves adding the following types:
c_int128
c_uint128
c_int256 (maybe?)
c_uint256
c_int512 (too much?)
c_uint512
After resolution of the struct issue, this implementation will become clearer.
--
components:
Changes by Alexandre Vassalotti alexan...@peadrop.com:
Added file: http://bugs.python.org/file33001/fix_bigmem_pickle_3.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19881
___
Roundup Robot added the comment:
New changeset 2612ea573ff7 by Alexandre Vassalotti in branch 'default':
Issue #19881: Fix bad pickling of large bytes in cpickle.
http://hg.python.org/cpython/rev/2612ea573ff7
--
nosy: +python-dev
___
Python tracker
Changes by Alexandre Vassalotti alexan...@peadrop.com:
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19881
Alexandre Vassalotti added the comment:
Could you provide a single patch with the implementation and the tests
together? I will try to find some time this week to review this.
--
assignee: docs@python - alexandre.vassalotti
priority: normal - high
stage: - patch review
versions:
Alexandre Vassalotti added the comment:
Ah, I almost forgot! I did implement the verification in pickletools.dis() for
MEMOIZE:
http://hg.python.org/cpython/file/2612ea573ff7/Lib/pickletools.py#l2420
--
___
Python tracker rep...@bugs.python.org
Alexandre Vassalotti added the comment:
Looks good to me!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19900
___
___
Python-bugs-list mailing
Nick Coghlan added the comment:
Looks good to me, although I'm not sure the specific note about the C
accelerator is needed.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19900
___
Guido van Rossum added the comment:
That's fixed by revision ec1e7fc9b5a4.
Christian, can this bug be closed now, or is there more?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19509
Changes by Alexandre Vassalotti alexan...@peadrop.com:
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18015
___
Changes by Alexandre Vassalotti alexan...@peadrop.com:
--
title: Error pickling a dict - Error pickling objects with mutating
__getstate__
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10701
Changes by Alexandre Vassalotti alexan...@peadrop.com:
--
nosy: +alexandre.vassalotti
stage: - patch review
type: - enhancement
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18400
___
New submission from Eric Snow:
Here are the functions that should (?) be updated:
synopsis()
importfile()
safeimport()?
HTMLDoc.docmodule()
HTMLDoc.index()
TextDoc.docmodule()
ModuleScanner.run()?
--
___
Python tracker rep...@bugs.python.org
Eric Snow added the comment:
In Lib/multiprocessing/spawn.py the following need changing:
get_preparation_data()
import_main_path()
--
dependencies: +refactor pythonrun.c to make use of specs (__main__.__spec__)
___
Python tracker
Changes by Eric Snow ericsnowcurren...@gmail.com:
--
title: Upate pydoc to PEP 451 - Update pydoc to PEP 451
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19703
___
Changes by Eric Snow ericsnowcurren...@gmail.com:
--
dependencies: +Update runpy for PEP 451
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19697
___
Charles-François Natali added the comment:
Thanks!
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19850
Eric Snow added the comment:
Is the problem here that builtins (and extension modules) don't necessarily
obey the rules to the letter? load_module() is supposed to use whatever is in
sys.modules. [1] (BuiltinImporter.load_module() is essentially a synonym for
_imp.init_builtin(), right?)
Eric Snow added the comment:
_run_module_as_main() is particularly related to #19697.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19700
___
97 matches
Mail list logo