Georg Brandl added the comment:
Closing, as without a specific issue to fix it is unlikely that this will
change.
--
nosy: +georg.brandl
resolution: - wont fix
status: pending - closed
___
Python tracker rep...@bugs.python.org
Changes by Georg Brandl ge...@python.org:
--
resolution: later - duplicate
status: pending - closed
superseder: - deeply nested filter segfaults
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14507
Georg Brandl added the comment:
See issue14507 for another instance of this in starmap().
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14010
___
Georg Brandl added the comment:
Closing due to lack of feedback.
--
nosy: +georg.brandl
resolution: - invalid
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17104
Changes by Georg Brandl ge...@python.org:
--
resolution: - wont fix
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18512
___
Changes by Georg Brandl ge...@python.org:
--
resolution: - duplicate
status: pending - closed
superseder: - tkinter - askopenfilenames returns string instead of tuple in
windows 2.6.1 release
___
Python tracker rep...@bugs.python.org
Ethan Furman added the comment:
That portion of classify_class_attrs now reads:
else:
homecls = getattr(get_obj, __objclass__, None)
if homecls not in possible_bases:
# if the resulting object does not live somewhere in the
# mro, drop it and go with
Georg Brandl added the comment:
I think this is fine to close.
--
nosy: +georg.brandl
resolution: - fixed
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18375
___
Georg Brandl added the comment:
I agree.
--
nosy: +georg.brandl
resolution: - fixed
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13519
___
Changes by Mark Dickinson dicki...@gmail.com:
--
nosy: +mark.dickinson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18986
___
___
Changes by Georg Brandl ge...@python.org:
--
resolution: - invalid
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18736
___
Georg Brandl added the comment:
I agree with Christian; closing as suggested.
--
nosy: +georg.brandl
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue706263
___
Georg Brandl added the comment:
Adding a special case for Decimal isn't as well justified as one for None --
after all it is a fundamental singleton. (Also, None is encoded without lossy
conversion.)
The encoder/decoder are already extensible by extending Marshaller.dispatch and
Roundup Robot added the comment:
New changeset bca5ba1ea5aa by Serhiy Storchaka in branch '2.7':
Issue #19197: Improved cross-references in the shlex module documentation.
http://hg.python.org/cpython/rev/bca5ba1ea5aa
New changeset 325fedff6178 by Serhiy Storchaka in branch '3.3':
Issue #19197:
Georg Brandl added the comment:
Closed due to lack of feedback.
--
nosy: +georg.brandl
resolution: - works for me
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17360
Georg Brandl added the comment:
I agree that it's better not to touch this in 2.x.
--
nosy: +georg.brandl
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1634774
___
Georg Brandl added the comment:
Closing due to lack of feedback.
--
nosy: +georg.brandl
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17212
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19197
Georg Brandl added the comment:
It would appear so.
--
nosy: +georg.brandl
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8194
___
Georg Brandl added the comment:
Closing due to lack of feedback.
--
nosy: +georg.brandl
resolution: - out of date
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15362
Changes by Georg Brandl ge...@python.org:
--
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9889
___
___
Python-bugs-list
Georg Brandl added the comment:
Closing due to lack of feedback.
--
nosy: +georg.brandl
resolution: - invalid
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10040
Serhiy Storchaka added the comment:
The -n (nitpicky) option to Sphinx should also report missing references.
Great.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18758
___
Changes by Georg Brandl ge...@python.org:
--
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16846
___
___
Python-bugs-list
Raymond Hettinger added the comment:
OS math libraries are bad enough at *float* math,
let alone complex; I'd rather not depend on them unless we have to.
This makes good sense. We should control how the special cases resolve and
not be subject the whims of various C libraries.
Georg Brandl added the comment:
Antoine, ping?
--
nosy: +georg.brandl
status: pending - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9613
___
Georg Brandl added the comment:
Closing as suggested.
--
nosy: +georg.brandl
resolution: - wont fix
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10888
___
Changes by Georg Brandl ge...@python.org:
--
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16063
___
___
Python-bugs-list
Georg Brandl added the comment:
Closing due to lack of feedback.
--
nosy: +georg.brandl
resolution: - out of date
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8229
Georg Brandl added the comment:
Agreed.
--
nosy: +georg.brandl
resolution: - rejected
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6602
___
Georg Brandl added the comment:
Closing due to lack of feedback.
--
nosy: +georg.brandl
resolution: - works for me
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11934
Georg Brandl added the comment:
Closing due to lack of feedback.
--
nosy: +georg.brandl
resolution: - out of date
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13329
Changes by Georg Brandl ge...@python.org:
--
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10196
___
___
Python-bugs-list
Antoine Pitrou added the comment:
Amaury is right, it seems a Windows pid is an int after all. I don't know where
I got the other impression :-)
--
resolution: - invalid
stage: - committed/rejected
status: open - closed
___
Python tracker
Changes by Georg Brandl ge...@python.org:
--
versions: +Python 3.4 -Python 2.6, Python 3.1, Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8579
___
Changes by Georg Brandl ge...@python.org:
--
dependencies: +MINGW: generalization of posix installation in distutils, MINGW:
install import library, MINGW: support stdcall without underscore, MINGW: use
replace instead rename to avoid failure on windows
Georg Brandl added the comment:
Thanks for the patch!
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18714
___
___
Roundup Robot added the comment:
New changeset 9c65877b3e34 by Georg Brandl in branch 'default':
pdb: modernize find_function() and add tests for it.
http://hg.python.org/cpython/rev/9c65877b3e34
--
nosy: +python-dev
resolution: - fixed
stage: - committed/rejected
status: open -
Roundup Robot added the comment:
New changeset 86af5991c809 by Georg Brandl in branch 'default':
#18714: add attribution.
http://hg.python.org/cpython/rev/86af5991c809
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18714
New submission from Nick Guenther:
I'm running Arch. I just checked out python's hg and tried to build the docs,
and found that I couldn't:
$ cd cpython/doc
$ make update
[lots of output stripped]
$ make pydoc-topics
mkdir -p build/pydoc-topics build/doctrees
python tools/sphinx-build.py -b
Ezio Melotti added the comment:
This is a duplicate of #10224.
--
nosy: +ezio.melotti
resolution: - duplicate
stage: - committed/rejected
status: open - closed
superseder: - Build 3.x documentation using python3.x
type: - enhancement
___
Python
Nick Guenther added the comment:
I see that in Doc/tools/sphinx-build.py there is this check:
if sys.version_info[:3] (2, 4, 0):
sys.stderr.write(\
Error: Sphinx needs to be executed with Python 2.4 or newer (not 3.0 though).
(If you run this from the Makefile, you can set the
Georg Brandl added the comment:
Looks ok for now.
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19248
___
___
Georg Brandl added the comment:
The attached patch fixes two instances of PyErr_Display being called without
the traceback properly set on the exception object.
--
keywords: +patch
nosy: +georg.brandl, pitrou
Added file: http://bugs.python.org/file32094/set_traceback.patch
Georg Brandl added the comment:
Sounds reasonable at least for 3.4.
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18527
___
Antoine Pitrou added the comment:
Attached patch does the setting in PyErr_Display (which is an undocumented API,
thus presumably private), and adds a test for atexit.
--
Added file: http://bugs.python.org/file32095/atexit_tracebacks.patch
___
Georg Brandl added the comment:
With your patch, can the SetTraceback in PyErr_Print be removed?
Or should PyErr_Display only set the tb if there is none on the object already?
--
___
Python tracker rep...@bugs.python.org
Antoine Pitrou added the comment:
With your patch, can the SetTraceback in PyErr_Print be removed?
I don't think so. PyErr_Print() calls sys.excepthook, which can be
overriden with custom code.
Or should PyErr_Display only set the tb if there is none on the
object already?
Well, why not!
Georg Brandl added the comment:
Unfortunately, this is impossible to fix with the current implementation, which
only tokenizes the source. A full parse would be necessary.
Since this is just a minor inconvenience (and there are many situations where
the source cannot be found at all), I'm
New submission from CliffM:
Given that enumeration members are Singletons, can we not rely on the default
__eq__() method ? (FWIW the existing tests all pass if you delete it)
This might be confusing for a reader later, so needs documenting. Although I
think it should be documented (in
New submission from Nick Guenther:
Python3's docs given by
help(import)
duplicate these two paragraphs:
The *public names* defined by a module are determined by checking the
module's namespace for a variable named ``__all__``; if defined, it
must be a sequence of strings which are names
Antoine Pitrou added the comment:
Updated patch.
--
stage: needs patch - patch review
versions: +Python 3.3
Added file: http://bugs.python.org/file32097/atexit_tracebacks2.patch
___
Python tracker rep...@bugs.python.org
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18527
___
___
Python-bugs-list mailing
Ezio Melotti added the comment:
I can reproduce on 3.3; looks OK on 3.4.
--
nosy: +ezio.melotti
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19250
___
Roundup Robot added the comment:
New changeset 2933598a7802 by Georg Brandl in branch 'default':
Closes #17730: in code.interact(), when banner=, do not print anything.
http://hg.python.org/cpython/rev/2933598a7802
--
nosy: +python-dev
resolution: - fixed
stage: - committed/rejected
Ezio Melotti added the comment:
Updated patch should fix the nit and factors out $(document) from the scrolling
function. Tested on Firefox and Chromium.
--
Added file: http://bugs.python.org/file32098/issue4965-3.diff
___
Python tracker
Georg Brandl added the comment:
LGTM.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4965
___
___
Python-bugs-list mailing list
Unsubscribe:
Roundup Robot added the comment:
New changeset 19ce90930e8b by Antoine Pitrou in branch '3.3':
Issue #18776: atexit callbacks now display their full traceback when they raise
an exception.
http://hg.python.org/cpython/rev/19ce90930e8b
New changeset c13ef65f3dcf by Antoine Pitrou in branch
Antoine Pitrou added the comment:
Since it's a regression from 2.7, I chose to commit it as a bugfix (to 3.3 and
3.4).
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
type: enhancement - behavior
___
Python
Georg Brandl added the comment:
This is already fixed in the 3.3 branch (see #17938); it will be updated for
pydoc automatically before the next bugfix release (the actual content comes
from Lib/pydoc_data/topics.py).
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
Nick Guenther added the comment:
Thank you. Sorry for the duplicates. I tried to search the bug tracker but
nothing stood out to me.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19250
New submission from Christian Heimes:
I like to propose a new feature for bytes and perhaps bytearray. None of the
bytes types support bitwise operations like , | and ^. I like to add the
bitwise protocol between byte objects of equal length:
a, b = b123, babc
bytes(x ^ y for x, y in zip(a,
Antoine Pitrou added the comment:
bytearray should certainly get the same functionality as bytes.
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19251
___
Georg Brandl added the comment:
I assume you have a use case?
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19251
___
___
Georg Brandl added the comment:
Can't reproduce with current 3.3 tip.
--
nosy: +georg.brandl
resolution: - out of date
status: open - pending
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17756
Georg Brandl added the comment:
I'll keep the class attribute for compatibility, but will remove the local
assignment.
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17335
Changes by Georg Brandl ge...@python.org:
--
assignee: - docs@python
components: +Documentation
nosy: +docs@python
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17352
___
Roundup Robot added the comment:
New changeset b9d3e99ea516 by Georg Brandl in branch 'default':
Closes #17335: remove no-op assignment.
http://hg.python.org/cpython/rev/b9d3e99ea516
--
nosy: +python-dev
resolution: - fixed
stage: - committed/rejected
status: open - closed
Roundup Robot added the comment:
New changeset 6e65ee2a0073 by Georg Brandl in branch '3.3':
Closes #19248: actually check for Python 3.x in tools/sphinx-build.py.
http://hg.python.org/cpython/rev/6e65ee2a0073
--
nosy: +python-dev
resolution: - fixed
status: open - closed
Serhiy Storchaka added the comment:
Use int's.
(int.from_bytes(a, 'big') ^ int.from_bytes(b, 'big')).to_bytes(len(a), 'big')
Adding and | operations to bytes will be confused because bytes is a sequence
and this will conflict with set operations.
--
nosy: +serhiy.storchaka
Georg Brandl added the comment:
Is there still any interest in this?
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1539925
___
Antoine Pitrou added the comment:
The int-based spelling isn't very pretty though.
And sequences are not sets :-)
I suppose the use case has something to do with cryptography?
--
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset fa7cfbec0d32 by Serhiy Storchaka in branch '2.7':
Issue #18758: Fixed and improved cross-references.
http://hg.python.org/cpython/rev/fa7cfbec0d32
New changeset 907da535ed9d by Serhiy Storchaka in branch '3.3':
Issue #18758: Fixed and improved
Arfrever Frehtes Taifersar Arahesis added the comment:
Is the assumption that python2 is still supposed to be the default python
everywhere?
Is python 3 not able to build itself yet?
You can manually install Sphinx =1.1 (preferably =1.2.*) (and its
dependencies) using Python 3, and
Georg Brandl added the comment:
IMO we always use 1-based numbering when counting things.
Try e.g.
format('a', None)
Traceback (most recent call last):
File stdin, line 1, in module
TypeError: format expects arg 2 to be string or unicode, not NoneType
--
nosy: +georg.brandl
Serhiy Storchaka added the comment:
Thank you Georg for all your reviews.
Only patch for pickle left, and this is not trivial one.
--
resolution: - fixed
stage: patch review - committed/rejected
___
Python tracker rep...@bugs.python.org
Changes by Ned Deily n...@acm.org:
--
components: +Build
nosy: +ned.deily
versions: +Python 3.3, Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19027
___
New submission from CliffM:
test_nonhash_value tests the lookup of an Enum Member from a value.
The current test does not exercise the iteration over values completely -- the
if-clause being redundant wrt the existing test.
My patch adds an additional test which requires the if-clause.
Serhiy Storchaka added the comment:
When you work with int's instead of bytes it is spelled pretty enough.
Sets are sequences. So having for example iteration and | operation in one
function we can't be sure what it means.
Please don't turn Python to APL or Perl.
Perhaps separated mutable
Antoine Pitrou added the comment:
Sets are sequences.
from collections import abc
issubclass(abc.Set, abc.Sequence)
False
issubclass(abc.Sequence, abc.Set)
False
Perhaps separated mutable bitset (or bitlist?) type will be more useful.
Then I would prefer a view, using e.g. the buffer
Ned Deily added the comment:
It looks like this was caused by the changes for Issue14321 to not run pgen for
cross builds.
--
nosy: +doko
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19027
New submission from Georg Brandl:
Follow-up to #6624. This issue changed a call to seterror() whose last argument
is supposed to be NULL or a custom error message given by the ;message
format character. This had two effects:
* the custom message (if present) is never printed
* the helpful
Christian Heimes added the comment:
You got me, Antoine! I'm working on a Python-only implementation of
PBKDF2_HMAC. It involves XOR of two bytes in one place.
Serhiy, I'm not going to turn Python into Perl. I merely like to provide a
simple and well defined feature with existing syntax. I
Changes by Serhiy Storchaka storch...@gmail.com:
--
stage: patch review - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19021
___
___
Georg Brandl added the comment:
Closing as a packaging-related bug.
--
nosy: +georg.brandl
resolution: - out of date
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12348
Roundup Robot added the comment:
New changeset e6ab0cd959a0 by Georg Brandl in branch '2.7':
Closes #16657: fix docstring of traceback.format_tb().
http://hg.python.org/cpython/rev/e6ab0cd959a0
--
nosy: +python-dev
resolution: - fixed
stage: - committed/rejected
status: open - closed
New submission from Christian Heimes:
The patch provides a Python implementation of pbkdf2_hmac with Python's hmac
module. Although I'm using some tricks it's more than six times slower than
OpenSSL's implementation.
--
files: pbkdf2_py.patch
keywords: patch
messages: 199808
nosy:
Roundup Robot added the comment:
New changeset dcded8c7af89 by Georg Brandl in branch '3.3':
Closes #16657: fix docstring of traceback.format_tb().
http://hg.python.org/cpython/rev/dcded8c7af89
--
___
Python tracker rep...@bugs.python.org
New submission from Serhiy Storchaka:
Many __del__ methods expect that builtins are existing at the time of
executing. But when the object survives until the builtins module is wiped,
__del__ will fail with unexpected AttributeError (see issue19021 for example).
We can change __del__'s in the
Roundup Robot added the comment:
New changeset c167ab1c49c9 by Georg Brandl in branch '2.7':
Closes #16732: move xxmodule comment block to detect_modules(). (Already
done in 3.x)
http://hg.python.org/cpython/rev/c167ab1c49c9
--
nosy: +python-dev
resolution: - fixed
stage: -
Georg Brandl added the comment:
The NNTP server seems to be violating the protocol; it is supposed to convert
tab characters in the fields to spaces. It appears that in your example the
list of references was separated by a tab character, which Python then
(correctly) interprets as
Tim Peters added the comment:
Here on 32-bit Windows Vista, with Python 3:
C:\Python33python.exe
Python 3.3.2 (v3.3.2:d047928ae3f6, May 16 2013, 00:03:43) [MSC v.1600 32 bit
(Intel)] on win32
Type help, copyright, credits or license for more information.
a = {}
for k in range(100): a['a'
Antoine Pitrou added the comment:
Works fine on a 32-bit Linux build (64-bit machine, though):
import sys
sys.maxsize
2147483647
a = {}
for k in range(100): a['a' * k] = k
...
Traceback (most recent call last):
File stdin, line 1, in module
MemoryError
del a
a = {}
for k in
STINNER Victor added the comment:
int type of Python 2 uses an internal free list which has an unlimited size.
If once you have 1 million different integers are the same time, the memory
will never be released, even if the container storing all these integers is
removed, because a reference
Changes by Alan Cristhian alan.cri...@gmail.com:
--
nosy: +Alan.Cristhian
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1539925
___
___
Antoine Pitrou added the comment:
Perhaps we should special case shutdown of the builtins module. E.g.
reset it to initial value (all initial members of the builtins module
are immutable and can't create resource loops) instead wiping.
This sounds like a reasonable approach.
--
Tim Peters added the comment:
haypo, there would only be a million ints here even if the loop had completed.
That's trivial in context (maybe 14 MB for the free list in Python 2?). And
note that I did my example run under Python 3.
Besides, the OP and I both reported that Task Manager
New submission from Kristján Valur Jónsson:
Issue $19219 added new tokens making marshal format smaller and faster.
This patch adds two new tokens:
TYPE_SHORT_REF for which the ref index is a byte and
TYPE_VERSION for which the operand is the protocol version.
The former helps because it
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +skrah
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19256
___
___
Python-bugs-list mailing
Serhiy Storchaka added the comment:
Let defer version token until it be needed.
--
nosy: +serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19256
___
101 - 200 of 231 matches
Mail list logo