Larry Hastings added the comment:
Spelling corrections from Arfrever (thanks Arfrever!), and some eentsy teensy
weentsy bugfixes from me. And with a dramatic new patch number just so
everybody can keep it straight.
--
title: Integrate Argument Clinic specialized preprocessor into
Changes by Serhiy Storchaka storch...@gmail.com:
Removed file: http://bugs.python.org/file27723/shutil-lzma_2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5411
___
Serhiy Storchaka added the comment:
Serhiy's patch needs a versionchanged or versionadded tag in the Docs.
Done.
--
Added file: http://bugs.python.org/file32163/shutil-lzma_3.patch
___
Python tracker rep...@bugs.python.org
Serhiy Storchaka added the comment:
Actually 24-bit samples are supported only on little-endian platforms (see
issue19276). Here is simple patch which makes them supported on big-endian too.
--
keywords: +patch
resolution: out of date -
stage: committed/rejected - patch review
status:
Changes by Nick Guenther n...@kousu.ca:
--
nosy: +kousu
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10976
___
___
Python-bugs-list mailing list
Serhiy Storchaka added the comment:
And supporting the feature only on some platforms (without good reasons) is a
bug.
--
type: enhancement - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1575020
Roundup Robot added the comment:
New changeset 39b06c3fbe2e by Ethan Furman in branch 'default':
Close #19030: inspect.getmembers and inspect.classify_class_attrs
http://hg.python.org/cpython/rev/39b06c3fbe2e
--
resolution: - fixed
stage: patch review - committed/rejected
status: open
Sergey Dorofeev added the comment:
I'd like to submit patch to support zip archives created on systems that use
non-US codepage (e.g. russian CP866).
Codepage would be specified in additional parameter of ZipFile constructor,
named codepage.
If it is not specified, old behavior is preserved
koobs added the comment:
There are 5 unique test failures that have come up in the koobs-freebsd*
buildbots post the test_asyncio import. Would we prefer to create a meta issue
to track them, or put them here?
--
nosy: +koobs
___
Python tracker
Ethan Furman added the comment:
This has been fixed in #19030: every good object will have a home class;
non-good objects (the result of buggy __dir__, __getattribute__, or __getattr__
methods) will not be returned and so cannot confuse pydoc.
--
resolution: - fixed
stage: -
New submission from Ethan Furman:
Currently __objclass__ is only documented in a ten-year old PEP.
--
messages: 200190
nosy: eric.araujo, ethan.furman, ezio.melotti, georg.brandl
priority: normal
severity: normal
status: open
title: add __objclass__ to the docs
Roundup Robot added the comment:
New changeset d103ba56710e by Ethan Furman in branch 'default':
Issue #19272: slight clarification of pickle docs with regard to lambda.
http://hg.python.org/cpython/rev/d103ba56710e
--
nosy: +python-dev
___
Python
STINNER Victor added the comment:
Please rename codepage to encoding. By the way, 437 is a codepage, cp437 is
a (python) encoding.
I don't think that ZIP is limited to windows. I uncompressed zip files many
times on various OSes, github also produces zip (and github is probably not
using
New submission from Nick Guenther:
This code doesn't work. I think it should.
import dbm
with dbm.open(what is box.db, c) as db:
db[Bpoind] = Boing
Indeed, there is nothing supporting PEP 343 for dbm on my system:
[kousu@galleon ~]$ grep -r __exit__ /usr/lib/python3.3/dbm
Changes by koobs koobs.free...@gmail.com:
Added file:
http://bugs.python.org/file32166/koobs-freebsd10-amd64-py3x-build588.log
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19030
___
koobs added the comment:
Multiple test_pydoc failures found on koobs-freebsd* buildbots after
39b06c3fbe2e6ef78a540513d4b81f2d095d1e62
Attaching complete logs from both bots to this issue, will reference #16938 as
well
--
nosy: +koobs
Added file:
Ethan Furman added the comment:
Added some clarification to the docs to make it clearer that lambda functions
cannot be pickled.
Facundo [1], if you want to pursue being able to pickle lambda functions please
open an enhancement issue. Some of the questions that come to mind:
1) for a
Mark Dickinson added the comment:
I still need to act on some of Serhiy's comments. I do plan to get this in for
3.4.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17576
___
koobs added the comment:
Some test failures have cropped, I have attached buildbot logs and referenced
them in #19030
--
nosy: +koobs
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16938
___
Roundup Robot added the comment:
New changeset 02c9d26d231f by Ethan Furman in branch 'default':
Issue #19030: special-cased __dict__ as the actual dict is not returned, a
proxy is.
http://hg.python.org/cpython/rev/02c9d26d231f
--
___
Python
Changes by koobs koobs.free...@gmail.com:
Added file: http://bugs.python.org/file32199/koobs-freebsd9-py3x-build180.log
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19262
___
koobs added the comment:
Summary of 4 test failures below, will attach the complete buildbot logs for
detail.
==
FAIL: test_call_later (test.test_asyncio.test_events.SelectEventLoopTests)
Changes by koobs koobs.free...@gmail.com:
Added file: http://bugs.python.org/file32200/koobs-freebsd9-py3x-build182.log
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19262
___
Claudiu.Popa added the comment:
Working on a patch for this.
--
nosy: +Claudiu.Popa
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19282
___
___
Serhiy Storchaka added the comment:
Changed the documentation as was discussed with Ezio on IRC.
Ezio, do you want commit this patch? Feel free to reword the documentation if
you are feeling be better.
--
Added file: http://bugs.python.org/file32201/utf_16_32_surrogates_6.patch
Changes by Serhiy Storchaka storch...@gmail.com:
--
stage: - needs patch
type: - enhancement
versions: -Python 3.1, Python 3.2, Python 3.3, Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19282
Changes by Serhiy Storchaka storch...@gmail.com:
Removed file: http://bugs.python.org/file32201/utf_16_32_surrogates_6.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12892
___
Changes by Serhiy Storchaka storch...@gmail.com:
Added file: http://bugs.python.org/file32202/utf_16_32_surrogates_6.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12892
___
Stefan Krah added the comment:
I believe you, but I'd like to understand why. :)
It seems to me that a module and also PyInit_xxx() can be loaded portably.
Say the handles to the module are cached somewhere after loading and
initializing. I think this already happens in Python/dynload_shlib.c.
Antoine Pitrou added the comment:
==
FAIL: test_call_later
(test.test_asyncio.test_events.SelectEventLoopTests)
--
Traceback (most recent call last):
Marc-Andre Lemburg added the comment:
On 18.10.2013 11:39, Stefan Krah wrote:
Stefan Krah added the comment:
I believe you, but I'd like to understand why. :)
:-)
It seems to me that a module and also PyInit_xxx() can be loaded portably.
Say the handles to the module are cached
Stefan Krah added the comment:
The hpux bot fails at the compile stage:
http://buildbot.python.org/all/builders/IA64%20HP-UX%2011iv3%20%5BSB%5D%203.x/builds/2152/steps/compile/logs/stdio
ld -b
New submission from Debarshi Goswami:
Some support is needed to avoid compatibility issues in different version of
CRT in Windows.
I have an application which embeds Python interpreter and the application is
build on MSVC11, whereas I am using Python 3.3.2 which is build on MSVC10. I
know
Debarshi Goswami added the comment:
If any workaround is available. It is also fine.
--
type: - crash
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19283
___
Antoine Pitrou added the comment:
The easy answer is: don't execute a script, import a module instead (and either
do something at that module's top-level, or execute a function inside the
module).
Also, as for ABI issues, take a look at:
http://docs.python.org/3.3/c-api/stable.html
Changes by Piotr Dobrogost p...@bugs.python.dobrogost.net:
--
nosy: +piotr.dobrogost
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19279
___
___
Claudiu.Popa added the comment:
Here's a patch.
--
keywords: +patch
Added file: http://bugs.python.org/file32203/dbm.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19282
___
Debarshi Goswami added the comment:
My question is, even a FILE* of MSVC10 type is provided, why these APIs are
crashing, after all it expects MSVC10 type.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19283
Changes by koobs koobs.free...@gmail.com:
--
nosy: +koobs
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13405
___
___
Python-bugs-list mailing
koobs added the comment:
Marc, you just reminded me I need to ask antoine to re-create the custom DTrace
builder that passes --with-dtrace, thanks :)
I've been keeping both of the FreeBSD (9.x and 10.x) buildslaves as close to
HEAD as possible with frequent world updates, which have been
New submission from Nick Coghlan:
Trying to provoke the buildbot failure from issue 16129 I was puzzled as to why
setting PYTHONHASHSEED was behaving strangely.
The subprocess._args_from_interpreter_flags() helper used by test.support (and
multiprocessing) misbehaves when PYTHONHASHSEED is
Nick Coghlan added the comment:
I'll deal with this as part of getting issue 16129 sorted out.
--
assignee: - ncoghlan
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19284
___
Roundup Robot added the comment:
New changeset 0ba7280545fe by Nick Coghlan in branch 'default':
Close #19284: Handle -R properly in flag helper
http://hg.python.org/cpython/rev/0ba7280545fe
--
nosy: +python-dev
resolution: - fixed
stage: - committed/rejected
status: open - closed
Antoine Pitrou added the comment:
Marc, you just reminded me I need to ask antoine to re-create the
custom DTrace builder that passes --with-dtrace, thanks :)
Well, I don't think it makes a lot of sense to re-create it, until
DTrace support is integrated.
--
koobs added the comment:
antoine, is it possible test/pass --with-dtrace on a buildbot without including
it in the master build configuration?
If not, I'm happy to create a special (dedicated) slave for Jesús so he can
continue to test his branch at leisure without messing up the existing
Roundup Robot added the comment:
New changeset 12d7b6171b28 by Nick Coghlan in branch 'default':
Issue #16129: Py_SetStandardStreamEncoding cleanups
http://hg.python.org/cpython/rev/12d7b6171b28
--
___
Python tracker rep...@bugs.python.org
Nick Coghlan added the comment:
I dealt with the comments folks made here and on python-dev regarding the docs
and the limited API, as well as the fact it isn't safe to call PyErr_NoMemory()
when this function fails.
However, I still haven't been able to reproduce the failure seen on the
Nick Coghlan added the comment:
(As expected, the original FreeBSD randomization seed passed here without any
problems)
Before I disabled the test completely, I did a run with full error diffs
enabled.
Here's the FreeBSD log with full diffs:
Stefan Krah added the comment:
A test order problem is indeed unlikely: I ran the tests as the buildbot user
with the same random seed and they passed. Let's blame the buildbot software. ;)
--
___
Python tracker rep...@bugs.python.org
Serhiy Storchaka added the comment:
And here is a patch for 2.7.
--
Added file: http://bugs.python.org/file32204/utf7_errors-2.7.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19279
___
Nick Coghlan added the comment:
Larry - I'm kinda stumped on this one. I'm not sure how to debug the failure on
the buildbots, because, as Victor said, sys.stdout/err having an encoding
attribute of None *isn't* supposed to happen, so the test should be fine as it
stands. And nobody has been
Nick Coghlan added the comment:
Ah, that got it:
LC_ALL=C ./python -m test -W test_capi
= boom :)
And, of course it's a StringIO object at that point...
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16129
Changes by Nick Coghlan ncogh...@gmail.com:
--
nosy: +larry
priority: normal - release blocker
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16129
___
Stefan Krah added the comment:
Marc-Andre Lemburg rep...@bugs.python.org wrote:
This may work on Linux (and probably does if you use the right
DL flags), but I don't think this works reliably or at all on other
platforms such as Windows. Symbols from shared libs are not necessarily
available
Roundup Robot added the comment:
New changeset 4af20969c592 by Nick Coghlan in branch 'default':
Issue #16129: this should appease the buildbots
http://hg.python.org/cpython/rev/4af20969c592
--
___
Python tracker rep...@bugs.python.org
Larry Hastings added the comment:
Incorporated suggestions from Antoine and Berker Peksag. Thanks!
--
Added file: http://bugs.python.org/file32205/larry.clinic.patch.6.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16612
Nick Coghlan added the comment:
So, does that mean asked the release manager for a ruling is the buildbot
debugging equivalent of threatened it with tech support? :)
--
priority: release blocker - normal
resolution: - fixed
stage: needs patch - committed/rejected
status: open -
STINNER Victor added the comment:
Ping myself, I just installed Fedora 19 and I cannot run the Python test suite
with the ASCII locale encoding, because of this bug.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17429
Changes by Serhiy Storchaka storch...@gmail.com:
--
stage: commit review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17221
___
Guido van Rossum added the comment:
@Koobs: I'll look into these, but in the future it's better to report bugs
upstream for now, i.e. at http://code.google.com/p/tulip/ -- they will get my
immediate attention.
@Antoine: while most of the timing-related tests use a simulated clock, there
are
Changes by Brett Cannon br...@python.org:
--
assignee: brett.cannon -
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19216
___
___
Changes by Brett Cannon br...@python.org:
--
assignee: - brett.cannon
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18810
___
___
Barry A. Warsaw added the comment:
2.6.9 doesn't produce a SystemError afaict:
Python 2.6.9rc1+ (unknown, Oct 18 2013, 10:29:22)
[GCC 4.4.3] on linux3
Type help, copyright, credits or license for more information.
content = b'+1911\' rel=\'stylesheet\' type=\'text/css\' /\nlink
Barry A. Warsaw added the comment:
On Oct 18, 2013, at 02:33 PM, Barry A. Warsaw wrote:
2.6.9 doesn't produce a SystemError afaict:
Please note that 2.6.9 is security only, so the threshold for worrying about
things is a remotely exploitable security vulnerability that cannot be
reasonably
Brett Cannon added the comment:
Attached is a patch that silences the warning for just the 'if' statement under
Clang using pragmas. I don't know if we have ever had it out on python-dev on
our view of using pragmas, but this seems like a reasonable place to use it.
--
Added file:
Changes by Barry A. Warsaw ba...@python.org:
--
versions: -Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19279
___
___
Antoine Pitrou added the comment:
I don't know much about the email module, but FWIW I think str subclasses (or
any subclass of built-in types) are a delicate thing to expose in an API. I
think a namedtuple would be the more idiomatic choice here (perhaps with an
appropriate __str__ for
Roundup Robot added the comment:
New changeset 9d96a3163dbf by Brett Cannon in branch 'default':
Issue #16803: test.test_importlib.test_api now runs under frozen and
http://hg.python.org/cpython/rev/9d96a3163dbf
--
___
Python tracker
Antoine Pitrou added the comment:
antoine, is it possible test/pass --with-dtrace on a buildbot without
including it in the master build configuration?
If not, I'm happy to create a special (dedicated) slave for Jesús so
he can continue to test his branch at leisure without messing up the
Guido van Rossum added the comment:
I fixed the easy one (the expected delay in test_call_later). I could use some
hands with the rest -- I suspect there are similar race conditions.
I'm tracking this now in http://code.google.com/p/tulip/issues/detail?id=75
--
Christian Tismer added the comment:
Hi Georg,
So do you think it is ok this way?
I was not sure if extending the function with an optional
arg is ok, or if a method to configure PyZipFile would be better.
At the moment I just needed the simple functionality.
Should it maybe get a regex like
Barry A. Warsaw added the comment:
The failure in test_discovery.py is odd. It's failing because
loadTestsFromModule() is being passed a keyword arguemnt use_load_tests=False.
On the surface, the failure makes sense because if you look in
test_discover.py, it's defining a lambda for
Barry A. Warsaw added the comment:
On the second failure, the expected output just needs to be updated. Is that
the right thing to do?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16662
Steven D'Aprano added the comment:
Here is the updated version which I hope is not too late for alpha 4. Main
changes:
* sum is now private
* docstrings have been simplified and shrunk somewhat
* I have a draft .rst file, however I'm having trouble getting Sphinx working
on my system and I
David Edelsohn added the comment:
Thanks!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19276
___
___
Python-bugs-list mailing list
Michael Foord added the comment:
use_load_tests was deliberately undocumented. IIRC it only exists to allow us
to load tests from a package module (__init__.py) without invoking load_tests -
it maybe that it can just go away altogether now.
I'll need to look at the code to confirm.
Serhiy Storchaka added the comment:
I don't think this is needed. You can walk a tree and call writepy() for files
and directories which you want.
--
nosy: +serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19274
Roundup Robot added the comment:
New changeset 76184b5339f2 by Brett Cannon in branch 'default':
Issue #18416: Have importlib.machinery.PathFinder treat '' as the cwd
http://hg.python.org/cpython/rev/76184b5339f2
--
nosy: +python-dev
___
Python
Brett Cannon added the comment:
I went with option 1 (changed PathFinder to consider '' the cwd) which allowed
me to flat-out remove the special-casing for '' in FileFinder.
Thanks for the initial patch, Madison!
--
resolution: - fixed
stage: test needed - committed/rejected
status:
Changes by Charles-François Natali cf.nat...@gmail.com:
--
nosy: +haypo, pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19170
___
___
Brett Cannon added the comment:
Documented in f1fde6ef92e2
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18716
___
___
Christian Tismer added the comment:
@serhiy.storchaka
I don't think this is needed. You can walk a tree and call writepy()
for files and directories which you want.
What exactly do mean by this and needed?
I cannot see the connection of my initial post and your reply.
Running PyZipFile on a
Roundup Robot added the comment:
New changeset 33844153cd02 by Brett Cannon in branch 'default':
Issue #18416: Fix various os calls in importlib.machinery.FileFinder
http://hg.python.org/cpython/rev/33844153cd02
--
___
Python tracker
Georg Brandl added the comment:
The rst file is missing from your patch.
I already posted a patch with statistics.rst five days ago. I have no idea why
you ignored it.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18606
Serhiy Storchaka added the comment:
this is a filter function. Not needed means that you can got what you want
without adding a filter function to zipfile.PyZipFile. Just don't call
writepy() on directories which contains files which shouldn't be zipped.
--
Stefan Krah added the comment:
The --without-threads buildbot fails, so I guess all tests need to be
skipped in that case:
http://buildbot.python.org/all/builders/AMD64%20Fedora%20without%20threads%203.x/builds/5333/steps/test/logs/stdio
--
nosy: +skrah
Changes by Zachary Ware zachary.w...@gmail.com:
--
nosy: +zach.ware
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19229
___
___
Python-bugs-list
Zachary Ware added the comment:
Oops, forgot to provide the [1] link...
[1] https://mail.python.org/pipermail/python-dev/2013-October/129477.html
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19259
Guido van Rossum added the comment:
Maybe adding something that returns [] from suite() if therea re no threads in
test/test_asyncio/__init__.py would help? I don't have time to test this, but
go ahead and commit something if it's a release blocker.
Even better would or course be to fix
Roundup Robot added the comment:
New changeset 11f2f4af1979 by Brett Cannon in branch 'default':
Issue #18810: Be optimistic with stat calls when seeing if a directory
http://hg.python.org/cpython/rev/11f2f4af1979
--
nosy: +python-dev
___
Python
Brett Cannon added the comment:
The directory savings has actually been handled w/o semantics changes; in the
last commit for this issue.
The possibility of leaning on file extensions has been asked on python-dev.
Once that is resolved then this issue will either get another commit or simply
Steven D'Aprano added the comment:
Georg Brandl wrote:
The rst file is missing from your patch.
Oops! Sorry about that. Fixed now.
I already posted a patch with statistics.rst five days ago.
I have no idea why you ignored it.
I'm sorry if I stepped on your toes, but I didn't ignore your
Barry A. Warsaw added the comment:
I'm going to close this as invalid:
Python 3.3.2+ (3.3:247344a0d12e, Oct 18 2013, 13:14:59)
[GCC 4.8.1] on linux
Type help, copyright, credits or license for more information.
from socket import *
gethostbyname('in.val.id')
Traceback (most recent call
Roundup Robot added the comment:
New changeset 9895a9c20e8a by Brett Cannon in branch 'default':
Add NEWS entry for issue #18810
http://hg.python.org/cpython/rev/9895a9c20e8a
--
___
Python tracker rep...@bugs.python.org
Christian Tismer added the comment:
Ah, I understand:
The case that does not compile comes from the toplevel test folder,
which I could have excluded explicitly.
But it is not a complete solution:
If I want to add every package from the standard lib, then I necessarily
encounter enclosed test
Zachary Ware added the comment:
Even after reading through #15061, I still wonder why _compare_digest is in
_operator at all. It makes even less sense to me to put a Python
implementation in operator; shouldn't the Python implementation be in the
module that actually uses it?
Branching from
Changes by Barry A. Warsaw ba...@python.org:
--
resolution: - invalid
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17759
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8964
___
___
Python-bugs-list
Serhiy Storchaka added the comment:
This is awesome!
Clinic adds too much visual garbage. Could we move all generated content into
separated *_clinic.h files?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16612
New submission from Stefan Krah:
I'm splitting this off of #19262, since certain failures (hanging for
one hour) remind me of #15599, which is an issue of epic proportions.
Also it should not be a release blocker, since threading failures under
FreeBSD-9 (running under KVM!) aren't uncommon.
1 - 100 of 207 matches
Mail list logo