New submission from Ezio Melotti:
While running test_multiprocessing I get:
[...]
test_wait_return (test.test_multiprocessing.WithManagerTestBarrier) ... ok
Shared objects which still exist at manager shutdown:
b6b802d4: refcount=1
threading.Barrier object at 0xb6b802d4
b6b80ea4:
Lennart Regebro added the comment:
Not really, but they are related. The fixer looks for a local module, and if it
finds it it will assume the import is local.
#13317 is caused by it not finding the module, since it's not built and hence
assuming it's a global import.
This bug,
Nick Coghlan added the comment:
Yep, that should be fine for 2.7.
3.3+ adds more due to the importlib bootstrapping.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16004
___
j s added the comment:
I had this issue too, I realised that I had installed the 32bit version on a
machine running 64bit. So I uninstalled and installed the 64bit and it's fine
now.
--
nosy: +evilpandas
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset da3f4774b939 by Ezio Melotti in branch '2.7':
#16004: Add `make touch`.
http://hg.python.org/cpython/rev/da3f4774b939
--
nosy: +python-dev
___
Python tracker rep...@bugs.python.org
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
assignee: - ezio.melotti
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16004
Roundup Robot added the comment:
New changeset 4f745f7d6fca by Ezio Melotti in branch '3.2':
#17351: remove object inheritance from docs. Patch by Phil Elson.
http://hg.python.org/cpython/rev/4f745f7d6fca
New changeset 8b1d3fa3b389 by Ezio Melotti in branch '3.3':
#17351: merge with 3.2.
Ezio Melotti added the comment:
Fixed, thanks for the patch!
--
assignee: docs@python - ezio.melotti
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Nick Coghlan added the comment:
FTR, Raymond and I discussed this on IRC and I gave it a +1 before he committed
it.
The advantage the callable form has over a class method is that it readily
scales to ignoring multiple exception types in a single with statement.
--
Nick Coghlan added the comment:
Yeah, I think the problem in this case is specific to the multi-versioned PEPs
like the WSGI reference and the metadata standards. In that case, a separate
section in the document itself seems more appropriate than a generic header
field.
We should consider a
Aman Shah added the comment:
Fixed the patch for 2.7
--
nosy: +Aman.Shah
Added file: http://bugs.python.org/file29373/issue_17296.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17296
Changes by Kristján Valur Jónsson krist...@ccpgames.com:
--
nosy: +kristjan.jonsson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3329
___
___
Michael Foord added the comment:
If the consensus is that Python documentation should not include explicit
object inheritance then fine to update mock docs accordingly. The backport docs
will still use it as they are for Python 2 as well.
--
___
Richard Oudkerk added the comment:
LGTM (although the warning is actually harmless).
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17395
___
Kristján Valur Jónsson added the comment:
At ccp we have something similar. We are embedding python in the UnrealEngine
on the PS3 and need to get everything through their allocators. For the
purpose of flexibility, we added an api similar to the OPs, but more flexible:
/* Support for
Henrik Heimbuerger added the comment:
Eli, I fully understand. I was experimenting with working on Cloud9, but it
unfortunately has no easy way to extract individual files, I had to recreate
them locally. I hope it is correct now.
--
Added file:
Henrik Heimbuerger added the comment:
for 3.2
--
Added file: http://bugs.python.org/file29375/issue11367_branch32.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11367
___
Nick Coghlan added the comment:
Note that I'm definitely open to including extra settings to set up custom
allocators as part of Py_CoreConfig in PEP 432
(http://www.python.org/dev/peps/pep-0432/#pre-initialization-phase).
I don't really want to continue the tradition of additional PySet_*
Kristján Valur Jónsson added the comment:
Absolutely. Although there is a very useful scenario where this could be
consided a run-time setting:
# turboprofiler.py
# Load up the memory hooker which will supply us with all the info
import _turboprofiler
_turboprofiler.hookup()
Perhaps
Stefan Behnel added the comment:
Benjamin, I hadn't noticed that you also changed the documentation in dict.rst
from what I originall wrote. Ezio already fixed one of your typos, but there's
another one in the description of the defaultobj behaviour: it says
inserted twice but should say
New submission from Jan Gosmann:
Running modulefinder.ModuleFinder.run_script on a script which has an import
statement with a module containing a syntax error will raise a SyntaxError
exception. I think, modulefinder should instead continue its analysis and add
the module to badmodules.
New submission from klappnase:
When trying to load third-party themes ttk.Style.theme_names() fails to list
available themes. For example if the themes from the tile-themes project are
installed one can do:
from tkinter import *
from tkinter import ttk
root=Tk()
s=ttk.Style()
Tres Seaver added the comment:
The latest 2.7 patch does not cause the following tests (from
issue 1692335) to pass:
http://bugs.python.org/file17509/issue1692335-tests.patch
--
___
Python tracker rep...@bugs.python.org
Serhiy Storchaka added the comment:
Here is a patch which fixes xmlcharrefreplace error handling in other places.
Unfortunately multibyte asian encoders are broken yet. I'll open a separate
issue for this.
--
Added file: http://bugs.python.org/file29378/issue15866_2.patch
bagrat lazaryan added the comment:
...
class PyShell(OutputWindow):
import platform
version = platform.python_version() + + platform.architecture()[0]
shell_title = Python %s Shell % version
...
(PyShell.py)
i'll take a look at the devguide and see if i can figure a patch out.
Serhiy Storchaka added the comment:
DRY (do not repeat yourself). Do not implement the same method three times.
Definitely the common code should be extracted into separate mixin classes:
cStringIOMixin, BytesIOMixin, FileIOMixin.
What is the problem in using the existing pickletester.py??
Serhiy Storchaka added the comment:
Nickolai, can you please submit a contributor form?
http://python.org/psf/contrib/contrib-form/
http://python.org/psf/contrib/
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17016
Nickolai Zeldovich added the comment:
I just submitted the contributor form -- thanks for the reminder.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17016
___
Barry A. Warsaw added the comment:
It seems to me that the right thing to add a related PEPs section to any PEP
which needs it, but I don't think we need an official header for it. Thus, I'm
closing this PEP as Won't Fix. Feel free to open new bugs for any specific PEP
that needs additional
Chris Calloway added the comment:
Yes, that's why I opened it. Feel free to submit patches if you think I'm
moving too slowly.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15518
___
bagrat lazaryan added the comment:
or better still:
...
from platform import python_version, architecture
shell_title = Python %s %s Shell % (python_version(), architecture()[0])
...
--
___
Python tracker rep...@bugs.python.org
Éric Araujo added the comment:
Thanks!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11963
___
___
Python-bugs-list mailing list
Unsubscribe:
Serhiy Storchaka added the comment:
Escaping for glob on Windows should not be such trivial. Special characters in
the drive part have no special meaning and should not be escaped. I.e.
``escape('//?/c:/Quo vadis?.txt')`` should return ``'//?/c:/Quo
vadis[?].txt'``. Perhaps we should move the
Nickolai Zeldovich added the comment:
I get an HTTP error when trying to upload another patch through Rietveld, so
here's a revised patch that avoids the need for Py_uintptr_t (thanks Serhiy).
--
Added file: http://bugs.python.org/file29379/pp-3.patch
Serhiy Storchaka added the comment:
Raymond, actually my patch reverts 3.1 logic. lru_cache used since 3.2.
There are no any additional re cache tests in 3.2 or 3.1.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16389
Richard Oudkerk added the comment:
Which does give me a thought - perhaps lru_cache in 3.4 could accept a
key argument that is called as key(*args, **kwds) to derive the cache
key? (that would be a separate issue, of course)
Agreed. I suggested the same in an earlier post.
--
Eli Bendersky added the comment:
Chris, your reply seems to indicate that you're irritated for some reason, and
I'm not sure why.
I was simply going through my open issue backlog, and since this is something
I'd like to see fixed, I noticed that you said in October that you have some
patches
Serhiy Storchaka added the comment:
Why 1? This should be commented.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17395
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: +rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16321
___
___
Python-bugs-list
Roundup Robot added the comment:
New changeset 89174df2ee45 by Benjamin Peterson in branch 'default':
remove useless words (#17327)
http://hg.python.org/cpython/rev/89174df2ee45
--
___
Python tracker rep...@bugs.python.org
Changes by Serhiy Storchaka storch...@gmail.com:
--
status: open - pending
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17360
___
___
Zachary Ware added the comment:
I agree that, long-term, test_robotparser should probably be rewritten with
less magic. Short-term, though, I think it would be good to get a temporary
fix for discovery in place since this is the only test file that completely
blows up discovery before it
Arfrever Frehtes Taifersar Arahesis added the comment:
touch target could be also added to 3.2 branch.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16004
___
Stefan Behnel added the comment:
Please use either of the following wordings in the documentation:
If the key is not in the dict, it is inserted with value *defaultobj* and
*defaultobj* is returned.
or
If the key is not in the dict, it is inserted with value *defaultobj*, which is
then
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15851
___
___
Roundup Robot added the comment:
New changeset 8948dd77b095 by Benjamin Peterson in branch 'default':
say defaultobj is returned (#17327)
http://hg.python.org/cpython/rev/8948dd77b095
--
___
Python tracker rep...@bugs.python.org
Richard Oudkerk added the comment:
Why 1? This should be commented.
The manager process will always be included in active_children().
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17395
Stefan Behnel added the comment:
... and it's called defaultobj, not defautobj.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17327
___
___
Roundup Robot added the comment:
New changeset f6f39ebd3121 by Benjamin Peterson in branch 'default':
fix spelling (#17327)
http://hg.python.org/cpython/rev/f6f39ebd3121
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17327
New submission from Tshepang Lekhonkhobe:
Looking at the documentation, one would think RobotFileParser does not accept
any argument, but it does -- url.
Documenting this would remove the pain of having to call set_url().
--
assignee: docs@python
components: Documentation
messages:
Stefan Behnel added the comment:
Thanks!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17327
___
___
Python-bugs-list mailing list
Unsubscribe:
Éric Araujo added the comment:
Thanks for the report and patch. I think this bug is already reported, I’ll
search for the duplicate when I get time.
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17354
Changes by Éric Araujo mer...@netwok.org:
--
assignee: - eric.araujo
components: +Distutils -Library (Lib)
nosy: +tarek
versions: +Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17354
Aman Shah added the comment:
I think it works with the other test also now. Have also included the failed
test mentioned by Tres in the patch since it wasn't present in the python2.7
test suite.
--
Added file: http://bugs.python.org/file29381/issue_17296v2.patch
Changes by Guido van Rossum gu...@python.org:
--
nosy: -gvanrossum
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17296
___
___
Python-bugs-list
Roundup Robot added the comment:
New changeset 2966e5a55396 by Ezio Melotti in branch 'default':
#17395: wait for live children in test_multiprocessing.
http://hg.python.org/cpython/rev/2966e5a55396
--
nosy: +python-dev
___
Python tracker
Ezio Melotti added the comment:
I added a comment and committed the patch. Thanks for the reviews!
--
assignee: - ezio.melotti
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker
Simon Wagner added the comment:
I compared the file in http://hg.python.org/cpython/file/3.3/Lib/zipfile.py
with the zipfile.py that is distributed with
http://www.python.org/ftp/python/3.3.0/python-3.3.0.msi
They differ in several places. I checked several times, so this is either an
error
Ezio Melotti added the comment:
You should probably compare it with
http://hg.python.org/cpython/file/v3.3.0/Lib/zipfile.py.
The one you linked contains changes that will be included in the next 3.3.x
release.
--
nosy: +ezio.melotti
___
Python
Simon Wagner added the comment:
yep, those match. Sorry for the inconvenience.
So I will have to wait a while before I can use long path names.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17392
Changes by Simon Wagner wagner.si...@web.de:
--
resolution: - invalid
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17392
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
stage: - committed/rejected
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17392
___
___
Ezio Melotti added the comment:
Matthew, should this be closed then?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17381
___
___
Chris Adams added the comment:
Ezio: given the non-obvious failure, what do you think of at least documenting
this and issuing a warning any time both re.UNICODE and re.IGNORECASE are set?
--
___
Python tracker rep...@bugs.python.org
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
keywords: +easy
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17353
___
___
Aman Shah added the comment:
Version 3.
--
keywords: +patch
Added file: http://bugs.python.org/file29383/issue17299v3.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17299
___
Serhiy Storchaka added the comment:
LGTM. You forgot to remove close() from some classes, I'll do it myself before
committing.
--
assignee: - serhiy.storchaka
stage: needs patch - commit review
___
Python tracker rep...@bugs.python.org
Matthew Barnett added the comment:
In issue #3511 the range was slightly unusual, so closing it seemed a
reasonable approach, but the range in this issue is less clearly a problem. My
preference would be to fix it, if possible.
--
___
Python
Serhiy Storchaka added the comment:
I'm working on the patch.
--
nosy: +serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17381
___
Roundup Robot added the comment:
New changeset 1ecb712fcf22 by Terry Jan Reedy in branch '2.7':
Issue #17047: removed doubled words in Doc/*, Mac/*, and Tool/*
http://hg.python.org/cpython/rev/1ecb712fcf22
New changeset e37647470fcf by Terry Jan Reedy in branch '3.2':
Issue #17047: removed
Terry J. Reedy added the comment:
Tools/gdb/libpython.py and some other doubles were fixed by rev81772 on the
same day this issue was opened. I suspect that the copy had not been updated.
--
___
Python tracker rep...@bugs.python.org
Serhiy Storchaka added the comment:
Thank you, Terry.
--
assignee: docs@python - terry.reedy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17047
___
Roundup Robot added the comment:
New changeset e145dddb9d93 by Terry Jan Reedy in branch '2.7':
Issue #17047: remove doubled words found in 2.7 to 3.4 Modules/*,
http://hg.python.org/cpython/rev/e145dddb9d93
New changeset e9ba9f21a828 by Terry Jan Reedy in branch '3.2':
Issue #17047: remove
Roundup Robot added the comment:
New changeset cd0191a9b5c9 by Terry Jan Reedy in branch '2.7':
Issue #17047: remove doubled words found in 2.7 to 3.4 Lib/*,
http://hg.python.org/cpython/rev/cd0191a9b5c9
New changeset 3f5f961262ec by Terry Jan Reedy in branch '3.2':
Issue #17047: remove doubled
Roundup Robot added the comment:
New changeset e9ada209b67f by Terry Jan Reedy in branch '3.3':
Issue #17047: remove doubled words added in 3.3
http://hg.python.org/cpython/rev/e9ada209b67f
New changeset 908d45fdbecd by Terry Jan Reedy in branch 'default':
Merge with 3.3, issue #17047: remove
New submission from Terry J. Reedy:
test_multiprocessing is giving multiple errors like
Process Process-21:
Traceback (most recent call last):
File F:\Python\dev\py27\lib\multiprocessing\process.py, line 258, in
_bootstrap
self.run()
File
Terry J. Reedy added the comment:
For 3.3 and 3.4, test went on for several minutes putting out [## refs]
lines but finally said '1 test OK'. I tried 3.2 again and it never outputs refs
lines but fairly soon gives errors.
--
___
Python tracker
Changes by Meador Inge mead...@gmail.com:
--
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17345
___
___
Python-bugs-list
New submission from Lei Miao:
Currently: ipaddress.IPv4Network('100.64.1.0/24').is_private == False
Given RFC6598, 100.64.0.0/10 is now approved for use as CGN space, and also for
rfc1918-like private usage. Could the code be altered so that is_private will
return true for 100.64.0.0/10 as
Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +jcea
versions: +Python 3.4 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17400
___
New submission from Robert Collins:
the docs (http://docs.python.org/3.x/library/io.html#io.FileIO) do not document
closefd, and AFAICT it isn't possible to tell if closefd is set after the
object is created. Specifically it does not show up in the repr().
import sys
sys.stdout
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
assignee: - docs@python
components: +Documentation, IO, Library (Lib)
nosy: +docs@python, pitrou
type: - enhancement
versions: -Python 3.5
___
Python tracker rep...@bugs.python.org
Raymond Hettinger added the comment:
I will add drop() to the recipes and possibly take_last() which I would rename
add tail().
Sorry, I don't have interest in the others. I don't find them instructive or
very useful.
--
priority: normal - low
Ezio Melotti added the comment:
If this is done, it should probably be on by default on all
--with-pydebug buildbots.
With on by default you mean that the output should be disabled or enabled?
Otherwise I suspect nobody will _ever_ look at its output and we
should just remove the feature
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17375
___
___
Ezio Melotti added the comment:
`make touch` is now in 2.7, so the patch should be updated.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15964
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +benjamin.peterson, ezio.melotti
stage: - needs patch
type: - enhancement
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17387
___
Ezio Melotti added the comment:
Here's a patch.
--
assignee: - ezio.melotti
keywords: +patch
stage: test needed - patch review
Added file: http://bugs.python.org/file29384/issue17368.diff
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset c162e2ff15bd by Terry Jan Reedy in branch '2.7':
Issue #14707: add news entry
http://hg.python.org/cpython/rev/c162e2ff15bd
--
nosy: +python-dev
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset fa051c6276a0 by Ezio Melotti in branch '3.3':
#17066: test_robotparser now works with unittest test discovery. Patch by
Zachary Ware.
http://hg.python.org/cpython/rev/fa051c6276a0
New changeset 8fdce849d0b3 by Ezio Melotti in branch 'default':
Ezio Melotti added the comment:
Fixed, thanks for the patch!
--
assignee: - ezio.melotti
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17066
91 matches
Mail list logo