Berker Peksag added the comment:
issue18383_remove_dups.patch looks good to me. A test would be nice.
--
nosy: +berker.peksag
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18383
___
Changes by Jon Clements jon...@googlemail.com:
--
nosy: +joncle
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23864
___
___
Python-bugs-list
Roundup Robot added the comment:
New changeset 912719dd684f by Serhiy Storchaka in branch '2.7':
Issue #23825: Fixed test_idle under -OO.
https://hg.python.org/cpython/rev/912719dd684f
New changeset 657ebef5b291 by Serhiy Storchaka in branch '3.4':
Issue #23825: Fixed test_idle under -OO.
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23799
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
resolution: - fixed
stage: commit review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23825
Roundup Robot added the comment:
New changeset ea94f6c87f5d by Serhiy Storchaka in branch 'default':
Issue #22831: Use with to avoid possible fd leaks.
https://hg.python.org/cpython/rev/ea94f6c87f5d
--
nosy: +python-dev
___
Python tracker
Serhiy Storchaka added the comment:
Changed test_enum to make buildbots green, but perhaps the docstring of Enum
should be changed, because it now is used for all Enum subclasses that doesn't
define a docstring explicitly. An alternative solution is to set __doc__ of
Enum subclasses to an
New submission from Martijn Pieters:
The collections.abc documentation implies that *any* of the container ABCs can
be used in an issubclass test against a class that implements all abstract
methods:
These ABCs allow us to ask classes or instances if they provide particular
functionality
Roundup Robot added the comment:
New changeset 1f28c8cca671 by Serhiy Storchaka in branch '2.7':
Issue #23338: Fixed formatting ctypes error messages on Cygwin.
https://hg.python.org/cpython/rev/1f28c8cca671
New changeset 36eca0b259e2 by Serhiy Storchaka in branch '3.4':
Issue #23338: Fixed
Raymond Hettinger added the comment:
Thanks, I'll take a look.
--
assignee: - rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23849
___
Roundup Robot added the comment:
New changeset 47a61a1c97b3 by Serhiy Storchaka in branch 'default':
Fixed test_enum for issue #15582.
https://hg.python.org/cpython/rev/47a61a1c97b3
--
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset dedf481ec2be by Serhiy Storchaka in branch '2.7':
Issue #15133: _tkinter.tkapp.getboolean() now supports long and Tcl_Obj and
https://hg.python.org/cpython/rev/dedf481ec2be
New changeset 117f45749359 by Serhiy Storchaka in branch '3.4':
Issue
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - berker.peksag
stage: patch review - commit review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18383
___
New submission from Serhiy Storchaka:
Proposed patch fixes two related issues in a number of modules.
1. close() methods sometimes release multiple resources. Every closing
operation can fail, but it shouldn't prevent releasing other resources. See for
example issue21802.
2. close() should
New submission from Antoine Pitrou:
The array.array constructor has stopped working. I feel like this may be due to
the latest Argument Clinic changes.
==
ERROR: test_create_from_bytes (test.test_array.ByteTest)
Berker Peksag added the comment:
Thanks for the patch, Bill. If you want to work on similar issues see also
issue 15948.
--
components: +Extension Modules -Interpreter Core
nosy: +berker.peksag, haypo, serhiy.storchaka
stage: - patch review
versions: +Python 3.5
Changes by Berker Peksag berker.pek...@gmail.com:
--
dependencies: +Failure to check return value from lseek() in
Modules/mmapmodule.c
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15948
Changes by Cédric Krier cedric.kr...@b2ck.com:
Removed file: http://bugs.python.org/file38828/max_fd.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23852
___
Antoine Pitrou added the comment:
The fact that derived_int.from_bytes() doesn't call the derived constructor
clearly sounds like a bug to me, regardless of whether IntEnum also has its own
bugs.
--
nosy: +pitrou
___
Python tracker
Tim Golden added the comment:
Are we talking about re-implementing StdPrinter in terms of
OutputDebugString? (Either always, on Windows, or as a fallback?)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23861
Changes by Cédric Krier cedric.kr...@b2ck.com:
--
title: Wrong FD_DIR file name on OpenBSD - Wrong computation of max_fd on
OpenBSD
Added file: http://bugs.python.org/file38828/max_fd.patch
___
Python tracker rep...@bugs.python.org
Martijn Pieters added the comment:
I should have added the mixin methods for the Sequence implementation; the more
complete demonstration is:
from collections.abc import Sequence, Container, Sized
class MySequence(object):
... def __contains__(self, item): pass
... def __len__(self):
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
nosy: +serhiy.storchaka
versions: +Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23338
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10590
___
Serhiy Storchaka added the comment:
Thank you for your contribution Makoto.
--
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23338
Roundup Robot added the comment:
New changeset fca669149d8a by Serhiy Storchaka in branch 'default':
Issue #10590: xml.sax.parseString() now supports string argument.
https://hg.python.org/cpython/rev/fca669149d8a
--
___
Python tracker
Ethan Furman added the comment:
With the patch:
-- import enum
-- class Huh(enum.IntEnum):
... blah = 2
...
-- Huh.blah.from_bytes(b'\04', 'big')
Traceback (most recent call last):
File stdin, line 1, in module
File /home/ethan/source/python/issue23640/Lib/enum.py, line
Berker Peksag added the comment:
Here is a patch.
--
assignee: - berker.peksag
keywords: +patch
stage: needs patch - patch review
Added file: http://bugs.python.org/file38827/issue23027.diff
___
Python tracker rep...@bugs.python.org
Serhiy Storchaka added the comment:
The patch fixes an error, but produces a warning about changed filters. The
patch in issue18383 should fix it.
The patch LGTM, but I left one question on Rietveld.
--
dependencies: +test_warnings modifies warnings.filters when running with -W
Antoine Pitrou added the comment:
I agree with Donald on all points. This shouldn't be done at the language level
at all (why should it apply only to Python-written tools?). Having a
centralized setting saying I relinquish security on HTTPS accesses sounds
like a bad idea. And if this is
Antti Haapala added the comment:
This does apply to all versions of Python from 2.6 up. Registering does work of
course.
I believe the reason for not having the __subclasshook__ is the following
sentence in PEP 3119: ABCs are intended to solve problems that don't have a
good solution at all
Roundup Robot added the comment:
New changeset 973c9ec53bbb by Serhiy Storchaka in branch 'default':
Fixed the array module broken in issue #23492.
https://hg.python.org/cpython/rev/973c9ec53bbb
--
nosy: +python-dev
___
Python tracker
Serhiy Storchaka added the comment:
Thank you Antoine. Fixed.
--
assignee: - serhiy.storchaka
resolution: - fixed
stage: - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23866
New submission from Serhiy Storchaka:
Proposed patch makes Argument Clinic to inline parsing code for most popular
formats in functions with single positional argument. This makes parsing faster.
--
components: Argument Clinic
files: clinic_meth_o_inline.patch
keywords: patch
messages:
Cédric Krier added the comment:
But sysconf(_SC_OPEN_MAX) uses rlim_cur which is too low instead of rlim_max.
My proposal is indeed describe in msg219477, it is not prefect but at least
better than the current one for OpenBSD.
--
___
Python tracker
Changes by Hristo Venev hri...@venev.name:
--
components: +Interpreter Core
versions: +Python 3.2, Python 3.3, Python 3.4, Python 3.5, Python 3.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23869
Raymond Hettinger added the comment:
Looks like Benjamin had fixed this earlier today:
https://mail.python.org/pipermail/python-checkins/2015-April/135444.html
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
Stefan Krah added the comment:
Unfortunately I don't have an OpenBSD install either. From the
sysconf.c source ...
http://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/lib/libc/gen/sysconf.c?rev=1.22content-type=text/plain
... it seems that sysconf(_SC_OPEN_MAX) also calls getrlimit().
Steve Dower added the comment:
There's just a couple of places to add calls to OutputDebugString, plus we need
to make creation always succeed on Windows. Not a huge change - it'll still
write to the standard stream if it's there.
--
___
Python
New submission from Hristo Venev:
In PyType_GenericAlloc, the initialization is being done. Namely, the PyObject
part of the object is initialized and it is tracked by the garbage collector.
In the documentation it is stated that tp_alloc should do no initialization.
--
messages:
Raymond Hettinger added the comment:
Hmm, I don't see this on my build (Mac OS/X 10.10.2 clang-600.0.57):
$ ./python.exe -m test.regrtest -R 3:3:reflog test_deque
[1/1] test_deque
beginning 6 repetitions
123456
..
1 test OK.
Nor do I see any flux using the test_deque's down repeat loop:
$
Roundup Robot added the comment:
New changeset 973c9ec53bbb by Serhiy Storchaka in branch 'default':
Fixed the array module broken in issue #23492.
https://hg.python.org/cpython/rev/973c9ec53bbb
--
___
Python tracker rep...@bugs.python.org
Wolfgang Maier added the comment:
the new test:
test_exc('%x', '1', TypeError, %x format: a number is required, not str)
expects the wrong error message.
python -m unittest -v test.test_format
...
'%x' % '1' works? ... no
Unexpected class 'TypeError' : '%x format: an integer is required,
New submission from Hristo Venev:
An object starts being tracked by the GC after being allocated, but before
being initialized. If during initialization the GC runs, this may lead to
tp_traverse being called on an uninitialized object.
--
components: Interpreter Core
messages: 240079
Jeff McNeil added the comment:
Whoops. Accidentally attached the wrong patch that I generated during testing.
--
Added file: http://bugs.python.org/file38832/socket_eintr.1.patch
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset 11e6986c794d by Serhiy Storchaka in branch 'default':
Issue #23466: Fixed expected error message in test_format.
https://hg.python.org/cpython/rev/11e6986c794d
--
___
Python tracker
Serhiy Storchaka added the comment:
Good catch, Wolfgang!
Definitely we should make test_format more unittest compatible.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23466
___
Cédric Krier added the comment:
Correctly cast to long instead of int.
--
Added file: http://bugs.python.org/file38831/max_fd.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23852
___
Jason R. Coombs added the comment:
A search for EFS error code 2755 reveals others who have encountered this
issue with other packages, so it's not unique to Python, though it may be
something that Python might be able to address or may be unable to solve due to
the required operations.
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
stage: - commit review
versions: +Python 2.7, Python 3.4, Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23872
___
Ned Deily added the comment:
Arnon, what version of sqlite3 is the Python linked with? Try:
python3.4 -c import sqlite3;print(sqlite3.sqlite_version)
What kind of database access is happening in your program, i.e. strictly
multi-read, one writer many reads, multiple-writers?
Also, regarding
New submission from Jason R. Coombs:
When installing Python (3.4.3 or 2.7.9) from an EFS encrypted installer file,
the installation proceeds normally through the target selection and feature
selection, but then immediately reports /!\ The system cannot open the device
or file specified, and
New submission from Hoolean:
Code was present that checked conditions that had previous been checked and had
returned the function prematurely if the condition was true. As the condition
has not changed before the check is made again, the condition will always be
false and the code inside the
Raymond Hettinger added the comment:
Antoine, I could use a second pair of eyes to see what is going on there. It
looks like an upstream __del__() method is trying to iterate over an
OrderedDict that was already being shutdown (the hardroot link no longer
exists). That said, I don't see how
Arnon Sela added the comment:
I ran into similar issue on OSX. Multiprocessing system where processes issue
sqlite3.connect(). Periodically it hangs.
System is using Python 3.4.3 and sqlite3; it doesn't use tkinter
Noticed the following:
1. This doesn't happen on Ubuntu
2. It happens even
Roundup Robot added the comment:
New changeset 6d9520e2223f by Serhiy Storchaka in branch 'default':
Updated pprint examples in according to issue #19105.
https://hg.python.org/cpython/rev/6d9520e2223f
--
___
Python tracker rep...@bugs.python.org
Serhiy Storchaka added the comment:
This bug allows to create new bool instances.
false = bool.from_bytes(b'\0', 'big')
true = bool.from_bytes(b'\1', 'big')
bool(false)
False
bool(true)
True
false is False
False
true is True
False
false
False
true
False
--
priority: normal -
Serhiy Storchaka added the comment:
Here is reproducible on 2.7 example:
import pprint, datetime, test.test_datetime
naive = datetime.datetime.utcnow()
aware =
datetime.datetime.utcnow().replace(tzinfo=test.test_datetime.FixedOffset(-300,
EST, 1))
pprint.pprint({naive, aware})
New submission from Serhiy Storchaka:
Proposed patch adds support of all collections classes (except namedtuple) in
pprint. It uses undocumented unstable private API. After implementing issue7434
the code could be rewritten with using public stable well-designed API. One day
in the womb of
Changes by Serhiy Storchaka storch...@gmail.com:
--
status: open - pending
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23790
___
___
Serhiy Storchaka added the comment:
Nobody proposed a patch, so I do this.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23728
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
keywords: +patch
stage: needs patch - patch review
versions: +Python 3.4
Added file: http://bugs.python.org/file38834/binascii_crc_hqx_empty_data.patch
___
Python
Changes by Serhiy Storchaka storch...@gmail.com:
--
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15133
___
Gregory P. Smith added the comment:
You may not be, but I am. :). Jeff is aware of PEP 475.
Thanks for the awesome work on the real cleanup of this stuff in 3.5.
Sanity at last.
--
___
Python tracker rep...@bugs.python.org
Changes by Martin Panter vadmium...@gmail.com:
--
nosy: +vadmium
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18383
___
___
Python-bugs-list
eryksun added the comment:
Probably I'm overlooking something, but why isn't this hook defined
cooperatively, with a terminating base class method that returns True? If the
call chain progresses to the base, then all of the interfaces have been
satisfied. Otherwise one of the bases returns
Bill Parker added the comment:
I would check 23855 as well, since the malloc() missing a sanity check,
which could be a more serious issue ..
On Sat, Apr 4, 2015 at 1:32 AM, Berker Peksag rep...@bugs.python.org
wrote:
Berker Peksag added the comment:
Thanks for the patch, Bill. If you want
Mark Lawrence added the comment:
I think this change in association with that in #23500 is causing builds to
fail on Windows.
error C2065: 'OS_STAT_METHODDEF' : undeclared identifier
C:\cpython\Modules\posixmodule.c line 12083
--
nosy: +BreamoreBoy
Mark Lawrence added the comment:
Serhiy, thank you for the quick fix :)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23501
___
___
New submission from Antony Lee:
itertools.repeat and itertools.count could be made into indexable iterables
(rather than iterators), rather than iterators, like range is right now.
--
components: Library (Lib)
messages: 240096
nosy: Antony.Lee
priority: normal
severity: normal
status:
Serhiy Storchaka added the comment:
Thank you Mark.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23501
___
___
Python-bugs-list mailing list
Roundup Robot added the comment:
New changeset 17eb29faebde by Serhiy Storchaka in branch 'default':
Issue #23501: #include clinic/posixmodule.c.h was in the section skipped on
Windows.
https://hg.python.org/cpython/rev/17eb29faebde
--
___
Python
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23330
___
___
STINNER Victor added the comment:
I have a very good news for you: this issue and more generally all EINTR
issues will be solved in Python 3.5. See the PEP 475.
I'm not really interested to fix Python 2.7.
--
___
Python tracker
New submission from Hoolean:
A spelling mistake is present: in all other instances in the class, the string
is ' [SP mail-parameters]', yet at this line it is [incorrectly] ' [SP mail
parameters]', missing a '-' and a '' character.
I have attached a patch correcting this.
--
75 matches
Mail list logo