Roundup Robot added the comment:
New changeset 08829230079b by Yury Selivanov in branch 'default':
Issue 24208: Fix tests -- don't create a tempdir in __init__.
https://hg.python.org/cpython/rev/08829230079b
--
nosy: +python-dev
___
Python tracker
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15267
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
dependencies: +Constructors of some mapping classes don't accept `self` keyword
argument
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22958
Serhiy Storchaka added the comment:
Could you please look at the new patch Raymond? This is the dependency for
issue22958.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22609
___
Eli Bendersky added the comment:
I don't know how important this is to really warrant removal. Removal means
potentially breaking working code when trying to run it with Python 3.5, and my
impression was that the core devs are somewhat alergic to this, at least while
the transition to Python
Eric Snow added the comment:
Great! The buildbots are happy too. :)
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24192
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
status: open - pending
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18986
___
___
Changes by Ethan Furman et...@stoneleaf.us:
--
nosy: +ethan.furman
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11477
___
___
Python-bugs-list
Roundup Robot added the comment:
New changeset 7d60cb6c33cf by Serhiy Storchaka in branch '2.7':
Issue #20014: array.array() now accepts unicode typecodes. Based on patch by
https://hg.python.org/cpython/rev/7d60cb6c33cf
--
nosy: +python-dev
___
Roundup Robot added the comment:
New changeset c34513c2a894 by Serhiy Storchaka in branch '2.7':
Issue #15267: HTTPConnection.request() now is compatibile with old-style
https://hg.python.org/cpython/rev/c34513c2a894
--
nosy: +python-dev
___
Python
Roundup Robot added the comment:
New changeset ea61d8eb8a28 by Yury Selivanov in branch 'default':
Issue 24190: Add inspect.BoundArguments.apply_defaults() method.
https://hg.python.org/cpython/rev/ea61d8eb8a28
--
nosy: +python-dev
___
Python tracker
Yury Selivanov added the comment:
Thanks for the suggestion, Antoine!
--
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24190
Roundup Robot added the comment:
New changeset 19e111891e39 by Terry Jan Reedy in branch '2.7':
Issue #23964: Update idlelib/idle_test/README.txt. first patch by Al Sweigart.
https://hg.python.org/cpython/rev/19e111891e39
New changeset 35b84ba2f8b1 by Terry Jan Reedy in branch '3.4':
Issue
Roundup Robot added the comment:
New changeset 6ea762200e27 by R David Murray in branch 'default':
#21804: Add RFC 6856 (UTF8) support to poplib.
https://hg.python.org/cpython/rev/6ea762200e27
--
nosy: +python-dev
___
Python tracker
R. David Murray added the comment:
Thanks, Milan.
--
resolution: - fixed
stage: commit review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21804
___
Yury Selivanov added the comment:
As for refleak -- I looked at it briefly: simple a = OrderedDict(); a = None
code leaks, so it must be somewhere in tp_new/tp_dealloc. And I know what
object is leaking - it's None.
--
___
Python tracker
Berker Peksag added the comment:
But what to do with this code after 3.7? And why not to do this right now?
It's on my TODO list, but I'll probably won't have time to work on in it before
beta 1.
Thanks for the review!
--
resolution: - fixed
stage: - resolved
status: open - closed
Changes by Berker Peksag berker.pek...@gmail.com:
--
nosy: +berker.peksag
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24210
___
___
Roundup Robot added the comment:
New changeset 6b0e4c87bf9e by R David Murray in branch 'default':
#22027: Add RFC6531 support to smtplib.
https://hg.python.org/cpython/rev/6b0e4c87bf9e
--
nosy: +python-dev
___
Python tracker rep...@bugs.python.org
Berker Peksag added the comment:
Interesting, I ran the test suite twice before commit the patch. I will take a
look, thanks!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24210
___
Terry J. Reedy added the comment:
Thanks for the push. I incorporated most of your suggestions and added more
changes.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23964
___
Changes by Terry J. Reedy tjre...@udel.edu:
--
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23964
___
Yury Selivanov added the comment:
Raymond, is there any chance you can review the patch before beta1? Sorry, for
bugging you with this, I just really hope we can have fast OrderedDict in 3.5.
--
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset 38b2307372bf by Benjamin Peterson in branch 'default':
allow test node after ** in calls (closes #24176)
https://hg.python.org/cpython/rev/38b2307372bf
--
nosy: +python-dev
resolution: - fixed
stage: - resolved
status: open - closed
Yury Selivanov added the comment:
Look's like it's TestNoEOL.__init__ method.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24208
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
resolution: - fixed
stage: - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24208
___
Yury Selivanov added the comment:
I think it should be fixed now. Thanks for finding this!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24208
___
Nick Coghlan added the comment:
Revisiting the idea Nikolaus raised last year regarding whether or not this
could be done using a dedicated API in the sys module, I realised today that
even if we decided to use a separate public API, *that API* would still need a
defined way to modify the
R. David Murray added the comment:
Added review comments.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16864
___
___
Python-bugs-list mailing
Changes by Serhiy Storchaka storch...@gmail.com:
--
versions: +Python 2.7, Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22939
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23689
___
___
Serhiy Storchaka added the comment:
test_platform is failed.
==
ERROR: test_dist (test.test_platform.PlatformTest)
--
Traceback (most recent call last):
File
Berker Peksag added the comment:
Here is a patch.
An unrelated failure:
$ ./python -Werror -m test test_slice
[1/1] test_slice
test test_slice failed -- Traceback (most recent call last):
File /home/berker/projects/cpython/default/Lib/test/test_slice.py, line 82,
in test_hash
Roundup Robot added the comment:
New changeset c77a42c234d6 by Serhiy Storchaka in branch 'default':
Issue #18682: Optimized pprint functions for builtin scalar types.
https://hg.python.org/cpython/rev/c77a42c234d6
--
nosy: +python-dev
___
Python
Serhiy Storchaka added the comment:
The patch LGTM. But what to do with this code after 3.7? And why not to do this
right now?
An unrelated failure:
Ah, this is issue24134. Thank you for reporting this.
--
___
Python tracker
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19176
___
___
Serhiy Storchaka added the comment:
Updated to the tip. If Eli doesn't have objections, I'll commit it.
--
Added file: http://bugs.python.org/file39391/doctype-remove.v4.patch
___
Python tracker rep...@bugs.python.org
Serhiy Storchaka added the comment:
Ping.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15836
___
___
Python-bugs-list mailing list
Berker Peksag added the comment:
Since the patch has been reviewed by several core developers, I think you can
go ahead and commit it.
I'm +0 on the 2.7 version of the patch (the isinstance(e, types.ClassType) part
looks fine, but I haven't tested it). It's probably not worth to change
Berker Peksag added the comment:
Thanks Serhiy.
--
resolution: - fixed
stage: - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24210
___
Roundup Robot added the comment:
New changeset 6181146842ba by Berker Peksag in branch 'default':
Issue #24210: Silence a PendingDeprecationWarning warning in
platform.platform().
https://hg.python.org/cpython/rev/6181146842ba
--
nosy: +python-dev
Serhiy Storchaka added the comment:
And test_ssl.
$ ./python -Werror -m test.regrtest -vv test_ssl
== CPython 3.5.0a4+ (default:08829230079b+, May 16 2015, 19:19:38) [GCC 4.8.2]
== Linux-3.13.0-53-generic-i686-athlon-with-debian-jessie-sid little-endian
== hash algorithm: siphash24 32bit
==
Roundup Robot added the comment:
New changeset a7d3074fa888 by R David Murray in branch 'default':
#19662: Make requirement to support arbitrary keywords explicit.
https://hg.python.org/cpython/rev/a7d3074fa888
--
___
Python tracker
Changes by R. David Murray rdmur...@bitdance.com:
--
stage: - commit review
type: - enhancement
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21804
___
Roundup Robot added the comment:
New changeset 09bd552999bf by Serhiy Storchaka in branch 'default':
Issue #16314: Added support for the LZMA compression in distutils.
https://hg.python.org/cpython/rev/09bd552999bf
--
nosy: +python-dev
___
Python
Jim added the comment:
Maybe, ... all combinations of its values are stripped from the beginning and
end.
It is rather difficult to be both clear AND concise. Heck, I'm having trouble
just trying to explain it.
Mark, that part is clear, but I think somehow reiterating how the method works
Roundup Robot added the comment:
New changeset 22e44a7ee89f by Serhiy Storchaka in branch '2.7':
Issue #23637: Showing a warning no longer fails with UnicodeErrror.
https://hg.python.org/cpython/rev/22e44a7ee89f
--
nosy: +python-dev
___
Python
New submission from Serhiy Storchaka:
$ ./python -Werror -m test.regrtest -u all -vv
== CPython 3.5.0a4+ (default:5342fad7cd59+, May 16 2015, 15:55:16) [GCC 4.8.2]
Traceback (most recent call last):
File /home/serhiy/py/cpython/Lib/runpy.py, line 170, in _run_module_as_main
__main__,
Serhiy Storchaka added the comment:
Catching TypeError or AttributeError on len() is a hack, but it is compatible
with Python 3 and older code. We could handle this in issue23740.
Changing TemporaryFile would solve this issue, but only for TemporaryFile.
len() raises AttributeError for other
Serhiy Storchaka added the comment:
Interesting, the last patch exposed a flaw in test_slice.
def test_hash(self):
# Verify clearing of SF bug #800796
self.assertRaises(TypeError, hash, slice(5))
self.assertRaises(TypeError, slice(5).__hash__)
But the second
Roundup Robot added the comment:
New changeset 0c93868f202e by Serhiy Storchaka in branch '2.7':
Reverted issue #24134 changes.
https://hg.python.org/cpython/rev/0c93868f202e
New changeset a69a346f0c34 by Serhiy Storchaka in branch '3.4':
Reverted issue #24134 changes (except new tests).
New submission from Link Mauve:
When running `python -m http.server -b ::` (or any other IPv6), I’d expect
people to be able to download from my IPv6.
This patch fixes that issue.
I also tested it on a dual-stack kernel, IPv4 requests work just fine and
appear as :::127.0.0.1 for
Berker Peksag added the comment:
This is caused by issue 1322. I'll fix it.
--
assignee: - berker.peksag
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24210
___
Serhiy Storchaka added the comment:
Here is extended patch, with tests.
--
assignee: - serhiy.storchaka
stage: - patch review
versions: -Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23780
R. David Murray added the comment:
Rewrote the tests to keep all the existing tests working against an unmodified
SimSMTPServer, so that we know backward compatibility is maintained. And as I
said, I changed the tests to reflect that a non-ascii body must be provided as
binary data, which
Changes by R. David Murray rdmur...@bitdance.com:
--
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21800
___
Florian Bruhin added the comment:
Serhiy, I don't see a new patch added - did you forget to attach it or am I
missing something? :)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23780
Roundup Robot added the comment:
New changeset 29ba76f5c3dc by R David Murray in branch 'default':
#21083: add get_content_disposition method to email.message.
https://hg.python.org/cpython/rev/29ba76f5c3dc
--
nosy: +python-dev
___
Python tracker
R. David Murray added the comment:
Thanks, Abhilash.
--
resolution: - fixed
stage: commit review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21083
___
Changes by R. David Murray rdmur...@bitdance.com:
--
resolution: - duplicate
stage: needs patch - resolved
status: open - closed
superseder: - RFC 6531 (SMTPUTF8) support in smtplib
versions: +Python 3.5 -Python 3.4
___
Python tracker
Roundup Robot added the comment:
New changeset e73182301a61 by Berker Peksag in branch 'default':
Issue #24210: Silence more PendingDeprecationWarning warnings in tests.
https://hg.python.org/cpython/rev/e73182301a61
--
___
Python tracker
Yury Selivanov added the comment:
That's strange. None of these test touch any files-related stuff. At least I
can't see it.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24208
___
Terry J. Reedy added the comment:
Since filing this, I have decided that starting Idle directly with PyShell
should be deprecated. That would affect any patch for this. In the meanwhile,
there are other priorities.
--
___
Python tracker
Carol Willing added the comment:
Additional text added about stripping characters from the leading end and
trailing end of the string. An additional example that illustrates the outer
characters being stripped while the inner string characters, even though
matching the chars set of
Serhiy Storchaka added the comment:
Oh, sorry, I forget to attach it.
--
Added file: http://bugs.python.org/file39394/join_datatype_check_2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23780
Serhiy Storchaka added the comment:
Are there tests for all the builtin scalars?
Yes, now there are.
--
assignee: - serhiy.storchaka
resolution: - fixed
stage: patch review - resolved
status: open - closed
versions: +Python 3.5 -Python 3.4
___
Serhiy Storchaka added the comment:
methodcaller with keyword arguments pickled with
pickle_getter_and_caller3.patch needs Python 3.5 to unpickle. Following patch
pickles it in backward compatible way.
--
Added file: http://bugs.python.org/file39395/pickle_getter_and_caller4.patch
Almad added the comment:
I'd add that this bug is very practical and can render a lot of software
unusable/noisy/confusing on Windows, including Django (I discovered this bug
when mentoring on Django Girls].
The simple step to reproduce is to take any windows and set regional settings
to
Changes by Berker Peksag berker.pek...@gmail.com:
--
nosy: +berker.peksag
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17045
___
___
Changes by Berker Peksag berker.pek...@gmail.com:
--
nosy: +berker.peksag
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12816
___
___
Roundup Robot added the comment:
New changeset 738ac3ad9ee4 by Serhiy Storchaka in branch 'default':
Fixed compilation error in signalmodule.c (issue #20182).
https://hg.python.org/cpython/rev/738ac3ad9ee4
--
___
Python tracker rep...@bugs.python.org
Zachary Ware added the comment:
Here's a new patch that actually applies, and has a couple of improvements.
I'd greatly appreciate some review on this; I'm planning on committing before
beta1 anyway.
--
nosy: +paul.moore, steve.dower, tim.golden
priority: normal - high
Added file:
Ned Deily added the comment:
I can reproduce a crash with your sample program using the current numpy wheel
(1.9.2) and the python.org 3.4.3. The significant parts of the OS X crash dump:
Crashed Thread:0 Dispatch queue: com.apple.main-thread
Exception Type:EXC_BAD_ACCESS
New submission from R. David Murray:
I could have sworn there was an issue for this already, but I couldn't find it.
Attached patch adds a utf8 policy knob and an SMTPUTF8 policy instance, and
modifies BytesGenerator and the _header_value_parser to use that policy setting
to generate utf8
New submission from Terry J. Reedy:
Discussion on another issue suggested that 3.x idlelib.__main__ be backported
to 2.7 so 'python -m idlelib would work with 2.7 as with 3.x. The current file:
IDLE main entry point
Run IDLE as python -m idlelib
import idlelib.PyShell
idlelib.PyShell.main()
Nick Coghlan added the comment:
filter() usage has always been less common than map() usage, and we see a
similar pattern in comprehension usage as well (i.e. [f(x) for x in y] is a far
more common construct than [x for x in p(y)]). That less common status
doesn't keep us from providing
Ronald Oussoren added the comment:
I can confirm that this fixes the problem I was having, both for the sample
code I posted and for the real codebase I extracted this from.
Thanks.
--
status: pending - open
___
Python tracker
Kees Bos added the comment:
Sorry, yes. It's plural: 'paths'
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24114
___
___
Python-bugs-list
Ronald Oussoren added the comment:
I'm in favour of using SOABI on OSX as well.
The build system currently uses darwin for the platform triplet, that's a bit
to minimal. I'd prefer to use macosx instead of darwin for the platform
name, the same as is done for platform specific
Nick Coghlan added the comment:
Nathaniel Smith pointed out on python-dev
(https://mail.python.org/pipermail/python-dev/2015-May/140006.html) that NumPy
is relying on this bug to implement elementwise multiplication of a list by a
scalar array:
In [9]: [1, 2] * np.array(2)
Out[9]:
New submission from Serhiy Storchaka:
There are issues with implementations of equality in inspect classes.
1. __eq__ doesn't return NotImplemented. This causes that testing for equality
with an instance of different classes always returns False, even when other
class implements __eq__ that
Nick Coghlan added the comment:
Folks could probably guess what I meant, but both filter comprehensions in my
comment should have read: [x for x in seq if p(x)]
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24195
Changes by Nick Coghlan ncogh...@gmail.com:
--
versions: +Python 3.6 -Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13797
___
___
Tal Einat added the comment:
Here's a patch just for Modules/sysmodule.c (and related files), based on
Georg's patch, updated to apply against current default, including fixes thanks
to Serhiy's review.
Despite Serhiy's suggestions, I've not used parameter groups, due to Larry's
statement of
New submission from Serhiy Storchaka:
Argument Clinic adds the _value suffix to the end of variable names in C if
the parameter name is C keyword. But it left unmodified parameter names that
can conflict with parameter names of C function: args and kwargs (and module
and self if they are used
Serhiy Storchaka added the comment:
The signature of sys.getsizeof() is not correct. sys.getsizeof(obj) is not the
same as sys.getsizeof(obj, None). If not use optional group, then this function
should not be converted to Argument Clinic. See also dict.get() with similar
signature.
Opened
Roundup Robot added the comment:
New changeset 5342fad7cd59 by Tal Einat in branch 'default':
Issue #20182: converted the signal module to use Argument Clinic
https://hg.python.org/cpython/rev/5342fad7cd59
--
nosy: +python-dev
___
Python tracker
Tal Einat added the comment:
Serhiy: Indeed, you're right about sys.getsizeof(). I'm tending towards
changign it to use an optional group and per Serhiy's suggestion. Larry?
--
___
Python tracker rep...@bugs.python.org
eryksun added the comment:
ntdll!RtlAllocateHeap+0x17:
776f1037 8b4344 mov eax,dword ptr [ebx+44h]
ds:002b:0044=
Some functions in RPCRT4 assume RPCRT4!PerformRpcInitialization has already
been called. How else could you get an RPC handle? In this case
New submission from Serhiy Storchaka:
$ ./python -m test.regrtest -vv -m '*_eq*' test_inspect
== CPython 3.5.0a4+ (default:a64a2e87+, May 15 2015, 09:50:37) [GCC 4.8.2]
== Linux-3.13.0-52-generic-i686-with-debian-jessie-sid little-endian
== hash algorithm: siphash24 32bit
==
Tal Einat added the comment:
Attached in a conversion patch for Modules/_hashopenssl.c.
Since it appear that zlib has already been converted, that's the last file to
convert in this batch!
All tests pass on my OSX 10.10 (after running touch Modules/hashlib.h to get
make to recompile things
Ned Deily added the comment:
The test for lzma being importable is not sufficient.
==
ERROR: test_make_archive_xztar
(distutils.tests.test_archive_util.ArchiveUtilTestCase)
Changes by Ned Deily n...@acm.org:
--
nosy: +steve.dower
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9377
___
___
Python-bugs-list mailing list
Roundup Robot added the comment:
New changeset 25cb42a4bce9 by Serhiy Storchaka in branch 'default':
Fixed issue #16314 test for the case when lzma is not available.
https://hg.python.org/cpython/rev/25cb42a4bce9
--
___
Python tracker
Yury Selivanov added the comment:
Started to look at the patch in more detail. Found one leak. There are more.
Eric, maybe you can hunt them?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16991
Yury Selivanov added the comment:
I must have used a better example :)
import sys; from collections import OrderedDict as OD
sys.getrefcount(None)
2053
OD();OD();OD();OD();
OrderedDict()
OrderedDict()
OrderedDict()
OrderedDict()
sys.getrefcount(None)
2057
--
JohnLeitch added the comment:
Thank you again for the explanation of the internals at play here. Armed with
the knowledge you provided, I conducted further experimentation, and I believe
I can now demonstrate how EIP control is possible with this bug. Note that RPC
initialization is not
Roundup Robot added the comment:
New changeset 44fc6db34b69 by Terry Jan Reedy in branch '3.4':
Issue #24212: Put reference in idle.__main__ to issue with explanation.
https://hg.python.org/cpython/rev/44fc6db34b69
--
nosy: +python-dev
___
Python
Ethan Furman added the comment:
Attached is patch and test case.
--
keywords: +patch
stage: - patch review
Added file: http://bugs.python.org/file39398/issue23572.stoneleaf.01.patch
___
Python tracker rep...@bugs.python.org
New submission from OceanEngineer:
Attached file runs fine. Uncommenting line 19 makes python crash. Also, no
crash happens if order of execution of map() and executor.map() is switched.
This problem seems to be related to numpy in some way, the code does not crash
if the commented return of
1 - 100 of 111 matches
Mail list logo