Larry Hastings added the comment:
Serhiy: I'm not sure if it's the language barrier, but that came across kind of
mean. It's not that I can do whatever I want as release manager, but that I
have the say in whether something is a bug fix or a new feature, which is
how we decide whether or not
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20517
___
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
versions: +Python 2.7, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20525
___
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20525
___
Serhiy Storchaka added the comment:
This issue has been on my radar for a while (originally #16074). But I
wasn't paying strong attention to it. Nobody in that issue came up with a
solution I liked. Finally when you posted your patch I said ugh, can't we
do better and had to think about
Serhiy Storchaka added the comment:
What will happen if change the signature of completion_matches to const char*?
--
nosy: +benjamin.peterson, ned.deily, serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20525
New submission from STINNER Victor:
While trying to reproduce a race condition in asyncio, I got an assertion error
from the Python garbage collector at exit. It's not easy to reproduce the
issue: run attached script on Python 3.4 compiled in debug mode (to get
assertions) and press CTRL+c
Changes by STINNER Victor victor.stin...@gmail.com:
Added file: http://bugs.python.org/file33939/asyncio_gc.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20526
___
New submission from OscaTutenchamon:
I've experienced that queue can be deadlocked for reading when:
1. The reader process is using `get` with timeout 0:
self.queue.get(timeout=3)
2. reader dies while `get` is blocking due to timeout.
After that queue's `_rlock` is never being released so
Vajrasky Kok added the comment:
It works. I chose Christian Heimes' strategy because of:
char ** completion_matches (char *text, CPFunction *entry_func)
in
http://web.mit.edu/gnu/doc/html/rlman_2.html
--
___
Python tracker rep...@bugs.python.org
New submission from Gunnar Aastrand Grimnes:
When reading large files with fileinput, it will work as expected and only
process a line at a time when used normally, but if you add an hook_encoded
openhook it will read the whole file into memory before returning the first
line.
Verify by
Roundup Robot added the comment:
New changeset 0121c2b7dcce by Ronald Oussoren in branch 'default':
Issue #14455: fix handling of unsigned long long values for binary plist files
http://hg.python.org/cpython/rev/0121c2b7dcce
--
___
Python tracker
Ronald Oussoren added the comment:
Serhiy: the issue should now be fixed.
I finally understand why I was so sure that Apple's code serialised large
positive numbers as negative numbers: due to a bug in PyObjC large positive
numbers end up as NSNumber values that are interpreted as negative
Armin Rigo added the comment:
Sorry to hijack CPython's bug tracker for that, but can you check if this makes
sense to you? I added a function 'locals_to_fast()' to the __pypy__ built-in
module which just calls the PyPy equivalent to PyFrame_LocalsToFast(). Your
tests are passing, so I
Nick Coghlan added the comment:
Interpreting the lack of response as this can wait until 3.5.
--
assignee: larry -
priority: release blocker - normal
versions: +Python 3.5 -Python 3.4
___
Python tracker rep...@bugs.python.org
Nick Coghlan added the comment:
EnvironmentVarGuard doesn't work through monkeypatching - you make your changes
*through* the guard, and it undoes them in __exit__, as well as restoring the
original binding (in case *other* code monkeypatched it).
This allows it to still be used when testing
New submission from Bernt Røskar Brenna:
Given the following file test_reswarn.py:
import unittest
class TestResourceWarning(unittest.TestCase):
def test_it(self):
self.assertIn(TestResourceWarning, open(__file__).read())
Running the test:
$ python -m unittest
Leon Weber added the comment:
I noticed an inconsistency between IPv4 and IPv6 in my temporary variable names
when looking at the patch again after a few days. Here’s an updated patch. Not
that it’s important, but I sleep better that way :)
As consensus seems to have settled on leaving out
Eric V. Smith added the comment:
Looks good to me. Once 3.5 is open for new features, I'll commit this. (But
feel free to ping me if you think it's lingering!)
Thanks!
--
assignee: - eric.smith
___
Python tracker rep...@bugs.python.org
Changes by Yury Selivanov yselivanov...@gmail.com:
--
nosy: +jnoller, sbt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20527
___
___
New submission from Larry Hastings:
Following a new discussion of the format of the text signature, I decided to go
with this:
name-of-function(...)\n--\n\n
See here for the discussion:
https://mail.python.org/pipermail/python-dev/2014-February/132271.html
Patch attached implementing
R. David Murray added the comment:
Unfortunately, since 2.7 is in feature freeze, we can't add any new API there
to allow a circumvention. On the other hand, it sounds like Serhiy has come up
with an actual fix in the other issue, based on the reason that it is not in
fact a problem in 3.x
Larry Hastings added the comment:
Whoops, forgot to fix all the breakage in clinic_test.py. It's good now.
--
Added file:
http://bugs.python.org/file33942/larry.even.newerer.signature.syntax.1.diff
___
Python tracker rep...@bugs.python.org
Changes by Larry Hastings la...@hastings.org:
Removed file:
http://bugs.python.org/file33941/larry.even.newerer.signature.syntax.1.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20530
___
R. David Murray added the comment:
This is intentional behavior. In the general case, resource warnings *are*
bugs, since not all Python implementations do automatic cleanup. This behavior
should be controllable (I'm not even sure they *can* be turned on if python is
not compiled in debug
Brett Cannon added the comment:
Thanks for the path, Senko! Tweaked the wording a bit as the current
directory part was accurate for when you're in the REPL.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20529
___
___
Roundup Robot added the comment:
New changeset 47c31e7d3779 by Brett Cannon in branch 'default':
Issue #6386: When executing a script that's a symlink, the directory
http://hg.python.org/cpython/rev/47c31e7d3779
--
nosy: +python-dev
___
Python
Bernt Røskar Brenna added the comment:
OK I see.
I'll just use:
python -W ignore:ResourceWarning -m unittest
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20529
___
Yury Selivanov added the comment:
Whoops, forgot to fix all the breakage in clinic_test.py. It's good now.
Ah, you re-uploaded the patch and reset my code review comments. I'll repeat
them here, just in case.
Reviewed the patch.
- In one of the C files I saw this signature: (/) -- probably
Changes by Vajrasky Kok sky@speaklikeaking.com:
Removed file: http://bugs.python.org/file33931/issue20185_conglomerate_v3.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20185
___
Vajrasky Kok added the comment:
Here is the updated patch for gc module.
Some functions that can not be converted:
- set_threshold(threshold0, [threshold1, threshold2])
Don't know what default value to give to threshold1, threshold2.
static struct gc_generation generations[NUM_GENERATIONS] = {
Changes by Vajrasky Kok sky@speaklikeaking.com:
Removed file: http://bugs.python.org/file33477/clinic_gc.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20185
___
New submission from Jason R. Coombs:
As reported in https://bitbucket.org/dholth/wheel/issue/104, the email.parser
no longer accepts Unicode content as it did in 3.3. I searched the What's New
and module documentation, but found no indication that this behavior is no
longer supported, so it
Roundup Robot added the comment:
New changeset cc08bf665dea by Brett Cannon in branch '3.3':
Issue #20488: Update docs to say importlib is *the* implementaiton of
http://hg.python.org/cpython/rev/cc08bf665dea
New changeset 5641c0b50072 by Brett Cannon in branch 'default':
Merge for issue #20488
Vajrasky Kok added the comment:
About rlimit, I think we can use negative number for any member of the struct.
But the thing is I am not really sure whether it's okay or not. So it's better
on the safe side.
I'll finish longobject in one or two days.
--
STINNER Victor added the comment:
There's one issue left: the docs need to document BaseProtocol.
The BaseProtocol is documented here:
http://docs.python.org/dev/library/asyncio-protocol.html#protocols
Can we close the issue?
--
___
Python tracker
STINNER Victor added the comment:
I'd appreciate help writing a test. (Debugging this already set me back
enough hours.)
Guido: do you still plan to write such unit test or can we close the issue?
--
nosy: +haypo
___
Python tracker
STINNER Victor added the comment:
I didn't see this bug recently, so I close the issue.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19652
___
Changes by Brett Cannon br...@python.org:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20488
___
R. David Murray added the comment:
This was an intentional change, but I'm having second thoughts about it. I
think I need to make it a deprecation warning in 3.4.
Note that it doesn't actually do anything useful in 3.3:
Python 3.3.2 (default, Dec 9 2013, 11:44:21)
[GCC 4.7.2] on linux
R. David Murray added the comment:
Ideally what should really happen here, I think, is for email to treat this as
analogous to an SMTPUTF8 message. But I certainly don't have time to do that
for the alpha :(
So, yeah, I need to revert that check for 3.4.
--
nosy: +larry
priority:
Daniel Holth added the comment:
In bdist_wheel I've gone to some lengths to re-use the email module to parse
and generate RFC822 inspired documents. The output is not a valid e-mail but
it is useful.
It is awkward to use the email module this way.
We will sidestep the issue hopefully this
R. David Murray added the comment:
The long term goal is to make it not-awkward to do the kind of thing you are
doing, Daniel. The change I made was premature in hindsight, I need to
comprehensively address parsing unicode instead...it sort-of-works now, but
only by accident.
That said, it
Fabio Zadrozny added the comment:
Hi Armin,
That does make sense to me, but maybe it could be nice providing a standard API
across Python implementations to make that call (even if the CPython version
uses ctypes underneath and the PyPy version uses RPython), but I'll leave that
up to
Daniel Holth added the comment:
We do this.
https://bitbucket.org/dholth/wheel/src/tip/wheel/pkginfo.py?at=default
I appreciate the long-term goal. The policy system is really neat.
We are going to json largely because the next version of the metadata is more
nested. The decision had nothing
Fabio Zadrozny added the comment:
Sure, no problems on my side :)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1654367
___
___
Armin Rigo added the comment:
CPython 2.7 is in feature-freeze, so we need to add it to __pypy__. If people
here decide to add it more officially to CPython 3.x, then we'll also add it
into pypy3, obviously. I'm sure a debugger can cope with a few extra ifs to
check on which platform it is
Gareth Rees added the comment:
I did some research on the cause of this issue. The assertion was
added in this change by Jeremy Hylton in August 2006:
https://mail.python.org/pipermail/python-checkins/2006-August/055812.html
(The corresponding Mercurial commit is here:
Roundup Robot added the comment:
New changeset eeb582c0c014 by Ethan Furman in branch 'default':
Close issue20412: Updated Enum docs to have referencable Enum and IntEnum
classes
http://hg.python.org/cpython/rev/eeb582c0c014
--
nosy: +python-dev
resolution: - fixed
stage: -
Guido van Rossum added the comment:
Go ahead and close it.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20029
___
___
Python-bugs-list mailing
Ethan Furman added the comment:
Thanks for the hints, Georg!
--
Added file: http://bugs.python.org/file33945/issue20386.stoneleaf.04.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20386
Guido van Rossum added the comment:
I'd still like there to be a test.
On Feb 6, 2014 6:52 AM, STINNER Victor rep...@bugs.python.org wrote:
STINNER Victor added the comment:
I'd appreciate help writing a test. (Debugging this already set me back
enough hours.)
Guido: do you still plan
New submission from Serhiy Storchaka:
The proposed patch marks all tests which use _testcapi as CPython only. Usually
such tests don't make sense in alternative implementations. In particular tests
which test integer overflow rely on implementation details.
This should help to use common
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20532
___
___
Changes by Brett Cannon br...@python.org:
--
versions: +Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19721
___
___
Python-bugs-list
Brett Cannon added the comment:
Here is a patch which implements a lazy loader for loaders that define
exec_module().
--
keywords: +patch
Added file: http://bugs.python.org/file33947/lazy_loader.diff
___
Python tracker rep...@bugs.python.org
Changes by Brett Cannon br...@python.org:
--
dependencies: -Make isinstance() work with super type instances
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17621
___
Changes by Brett Cannon br...@python.org:
--
stage: test needed - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17621
___
___
Guido van Rossum added the comment:
Let me state this last point once again: no busy loop can occur now that
timeouts are rounded up.
How sure are you? Suppose I use poll() with a 0.5 msec timeout. This
presumably gets rounded up to 1 msec. But if the system clock has e.g. a 10
msec
New submission from Rihards:
Python 3.3.3 (v3.3.3:c3896275c0f6, Nov 18 2013, 21:19:30) [MSC v.1600 64 bit
(AMD64)] on win32
Type copyright, credits or license() for more information.
11.29-6.29
4.999
11.30-6.30
5.001
--
messages: 210412
nosy: Rihards
Zachary Ware added the comment:
Hi Rihards,
This is not a bug, this is an example of the limitations of binary floating
point arithmetic. See http://docs.python.org/3/tutorial/floatingpoint.html for
more information. For explanation by demonstration, have a look at this:
Python 3.3.2
Richard Oudkerk added the comment:
This is expected. Killing processes which use shared locks is never going to
end well. Even without the lock deadlock, the data in the pipe would be liable
to be corrupted if a processes is killed while putting or getting from a queue.
If you want to be
Serhiy Storchaka added the comment:
LGTM.
--
assignee: lukasz.langa - serhiy.storchaka
stage: patch review - commit review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20363
___
Roundup Robot added the comment:
New changeset 791674a74e47 by Serhiy Storchaka in branch '3.3':
Issue #20363. Fixed BytesWarning triggerred by test suite.
http://hg.python.org/cpython/rev/791674a74e47
New changeset a4431dce107a by Serhiy Storchaka in branch 'default':
Issue #20363. Fixed
Roundup Robot added the comment:
New changeset 775fb736b4b8 by Serhiy Storchaka in branch 'default':
Catch deprecation warnings emitted when non-integers are formatted with %c, %o
http://hg.python.org/cpython/rev/775fb736b4b8
--
___
Python tracker
Serhiy Storchaka added the comment:
Thank you Arfrever for your report. Thank you Berker for your patch.
--
resolution: - fixed
stage: commit review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
versions: +Python 3.5 -Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20361
___
New submission from Ethan Furman:
enum34, the Enum backport, specifically uses `protocol=HIGHEST_PROTOCOL`, while
the current enum tests just use the default.
Running the enum34 test expose an issue with pickle protocol 4:
==
Changes by Barry A. Warsaw ba...@python.org:
--
nosy: +barry
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20534
___
___
Python-bugs-list mailing
Changes by Antoine Pitrou pit...@free.fr:
--
stage: test needed - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20534
___
___
Changes by Oscar Benjamin oscar.j.benja...@gmail.com:
--
nosy: +wolma
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20499
___
___
Python-bugs-list
Serhiy Storchaka added the comment:
Pickle tests should test all protocols in range(pickle.HIGHEST_PROTOCOL + 1).
--
nosy: +serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20534
Ethan Furman added the comment:
Working on fixing tests now. Not sure I can fix pickle (at least not in time
for RC1).
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20534
___
Roundup Robot added the comment:
New changeset c964b6b83720 by Zachary Ware in branch 'default':
Issue #3158: Provide a couple of fallbacks for in case a method_descriptor
http://hg.python.org/cpython/rev/c964b6b83720
--
___
Python tracker
New submission from Arfrever Frehtes Taifersar Arahesis:
Tools/scripts/run_tests.py contains:
def main(regrtest_args):
args = [sys.executable,
'-W', 'default', # Warnings set to 'default'
'-bb',# Warnings about bytes/bytearray
'-E',
Changes by STINNER Victor victor.stin...@gmail.com:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20029
___
Zachary Ware added the comment:
Done.
--
resolution: - fixed
stage: commit review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3158
___
Changes by Zachary Ware zachary.w...@gmail.com:
--
nosy: +zach.ware
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20451
___
___
Python-bugs-list
Changes by Zachary Ware zachary.w...@gmail.com:
--
nosy: +zach.ware
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20429
___
___
Python-bugs-list
Antoine Pitrou added the comment:
Those tracebacks don't correspond to line numbers in the stdlib enum.py.
Regardless, the two tests fail understandably: they define a class in the local
namespace and then monkeypatch globals() with it, but don't adjust the
__qualname__.
--
Ethan Furman added the comment:
Thanks, Antoine, that was what I needed.
--
assignee: - ethan.furman
keywords: +patch
stage: needs patch - patch review
Added file: http://bugs.python.org/file33949/issue20534.stoneleaf.01.patch
___
Python tracker
New submission from Stefan Krah:
As I understand, _decimal_to_ratio() should always produce an
integer ratio. But it does not for positive exponents:
import statistics
statistics.mean([Decimal(100), Decimal(200)])
Decimal('150')
statistics.mean([Decimal(1e2), Decimal(2e2)])
Traceback (most
New submission from Yury Selivanov:
A bunch of logging methods accept optional parameter exc_info, that is supposed
to be either 'True' or a tuple of three elements (type, exc, tb).
If, however, someone passes an actual exception instance, Logger._log function
will interpret it as True and
Changes by Kevin M. Turner acapno...@users.sourceforge.net:
--
nosy: +acapnotic
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19352
___
___
Ethan Furman added the comment:
Serhiy, the minimum supported pickle protocol is 2. Now testing all protocols
from 2 to HIGHEST_PROTOCOL, inclusive.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20534
Roundup Robot added the comment:
New changeset 35f57ab9389b by Ethan Furman in branch 'default':
Close issue20534: test_enum now tests all supported pickle protocols (2 -
HIGHEST_PROTOCOL, inclusive).
http://hg.python.org/cpython/rev/35f57ab9389b
--
nosy: +python-dev
resolution: -
Changes by Vajrasky Kok sky@speaklikeaking.com:
Removed file: http://bugs.python.org/file33944/clinic_gc_v2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20185
___
Duke Dougal added the comment:
Is there a workaround for this as I'd like to just be receiving binary data
from SMTPD. I'm new to this system - is this scheduled for fixing in Python 3.4?
--
nosy: +Duke.Dougal
___
Python tracker
R. David Murray added the comment:
Unfortunately I did not get to this before the 3.4 beta release, so no, it
won't be fixed in 3.4.
You can work around it by overriding collect_incoming_data in your subclass and
doing data.decode('ascii', 'surrogateescape') instead of str(data, 'utf-8'),
Ned Deily added the comment:
The change has broken the builds, for example,
http://buildbot.python.org/all/builders/AMD64%20Snow%20Leop%203.x/builds/1197.
[ 29/389] test_codecs
Assertion failed: (maxchar = 0x100), function _PyUnicode_CheckConsistency,
file Objects/unicodeobject.c, line 410.
Serhiy Storchaka added the comment:
But why the minimum supported pickle protocol is 2? Here is a patch which makes
enums pickleable with all protocols.
--
Added file: http://bugs.python.org/file33952/enum_pickle.patch
___
Python tracker
Vinay Sajip added the comment:
I believe it's too late for feature changes in 3.4, so removing it from
versions.
--
assignee: - vinay.sajip
versions: -Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20537
Vinay Sajip added the comment:
It would be good if the patch addressed documentation changes, too :-)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20537
___
Larry Hastings added the comment:
Thanks for noticing the (/), that's fixed.
Yes, the signature for type() was wrong. type() can accept either one
parameter or three parameters--in other words, it uses optional groups. And we
can't represent optional groups in an inspect.Signature signature
95 matches
Mail list logo