Andrew Svetlov added the comment:
Thanks a lot!
The patch fixes crush dump issue with __del__ in aiohttp library tests also.
--
nosy: +asvetlov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21435
New submission from Remi Pointel:
Hi,
I tested the regress tests on a machine which does not have the ssl module, and
I have 2 errors in Lib/test/test_urllib2net.py. I think it should skip the test
instead.
Attached is a diff I wrote, it's based on Lib/test/test_poplib.py.
Don't hesitate if
New submission from Thomas Klausner:
NetBSD's curses headers have different include guards than ncurses.
Also, the NetBSD curses library has been improved and some workaround are no
longer necessary.
Diff against hg attached.
--
components: Extension Modules
files: curses.diff
New submission from Thomas Klausner:
configure needs to know about MirBSD -- it's quite similar to OpenBSD, so
that's all that's needed.
--
components: Build
files: configure.diff
keywords: patch
messages: 218141
nosy: wiz
priority: normal
severity: normal
status: open
title: MirBSD
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +skrah
stage: - patch review
type: - enhancement
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21458
___
New submission from Thomas Klausner:
DragonFlyBSD support needs some slight changes.
--
components: Build
files: dragonfly.diff
keywords: patch
messages: 218142
nosy: wiz
priority: normal
severity: normal
status: open
title: DragonFlyBSD support
versions: Python 3.5
Added file:
New submission from Thomas Klausner:
There are two possible sources for extra linker arguments:
- 'extra_link_args' in Extension object
- LDFLAGS environment variable
The environment variable should take precedence, and
any sensible compiler will give precedence to later
command line args.
Changes by Thomas Klausner t...@giga.or.at:
--
resolution: - out of date
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21460
___
New submission from Thomas Klausner:
makesetup should know about the -pthread compiler flag.
--
components: Extension Modules
files: pthread.diff
keywords: patch
messages: 218144
nosy: wiz
priority: normal
severity: normal
status: open
title: Recognize -pthread
type: enhancement
Tim Golden added the comment:
Here's a patch against build_ssl which uses subprocess.check_output and very
slightly simplifies the output. It successfully finds ActivePerl and builds
from source; and uses the svn export files when it's not.
I've targetted the development branch; don't know if
Tim Golden added the comment:
I've just looked at issue21141 which is a substantial rework of this
area. This change should be incorporated over there as well / instead.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10752
Tim Golden added the comment:
I'm at least +0 on this, not because I've ever been that bothered by the Perl
messages, but because it tidies things up a little smooths the way very
slightly for people trying to build Python on Windows and I'm always ready to
support that.
--
Jesús Cea Avión added the comment:
What happens to Python 2.7?. Compilation fixes are OK to apply.
Would be wonderful to have a DragonFlyBSD buildbot in our farm...
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
Jesús Cea Avión added the comment:
What happens to Python 2.7?. Compilation fixes are OK to apply.
Would be wonderful to have a MirBSD buildbot in our farm...
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21458
Jesús Cea Avión added the comment:
Thomas, What happens if Python is compiled in an old version of NetBSD?
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21457
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
stage: - needs patch
versions: +Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20745
___
Antoine Pitrou added the comment:
+1 for this. The current messages are confusing, and I think I've already
installed Perl because of them.
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21141
Antoine Pitrou added the comment:
There isn't much point in introducing a variable named SUPPORTS_SSL, just use
ssl is not None.
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21456
Martin v. Löwis added the comment:
The patch looks fine to me, including the renaming. Please apply.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21141
___
New submission from Nick Coghlan:
PEP 466 includes updating to a newer version of OpenSSL. This may be needed for
the ssl module feature backports in issue 21308.
--
components: Windows
messages: 218154
nosy: loewis, ncoghlan, steve.dower
priority: normal
severity: normal
status: open
Changes by Nick Coghlan ncogh...@gmail.com:
--
components: +Build
title: PEP 466: upgrade OpenSSL - PEP 466: upgrade OpenSSL in the Python 2.7
Windows builds
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21462
Francisco Gracia added the comment:
The neat program *redemo.py* toggles between *Highlight first match* and
*Highlight all matches*.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13630
Ezio Melotti added the comment:
#20746 seems to have a patch for this.
--
nosy: +xdegaye
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20745
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20780
___
Brett Cannon added the comment:
We've actually moved away from maintaining OS support in Python itself except
for major platforms. We prefer that people maintain a patch set on bitbucket,
github, etc. and get the community to help support that platform.
--
nosy: +brett.cannon
Brett Cannon added the comment:
We've actually been moving away from maintaining OS support in Python itself
except for major platforms. We prefer that people maintain a patch set on
bitbucket, github, etc. and get the community to help support that platform.
--
nosy: +brett.cannon
Brett Cannon added the comment:
Francisco, can you sign the contributor agreement?
https://www.python.org/psf/contrib/contrib-form/
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14019
Tal Einat added the comment:
Indeed, redemo.py does include this feature. But it is a completely different
application with a very specific goal - testing regular expressions.
On the other hand, IDLE's search is meant to be used to find pieces of code in
the editor, which is a significantly
Brett Cannon added the comment:
LGTM although you forgot to use a loader instance instead of the class.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21226
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
stage: - commit review
type: - enhancement
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20815
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20826
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
stage: - patch review
type: - enhancement
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20837
___
Ezio Melotti added the comment:
Closing for lack of feedback.
Feel free to re-open if/when more info are available.
--
nosy: +ezio.melotti
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20840
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
components: +Documentation
stage: - needs patch
type: - enhancement
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20847
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
stage: - needs patch
type: - enhancement
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20851
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20853
___
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20859
___
___
Changes by Brett Cannon br...@python.org:
--
resolution: - wont fix
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21459
___
Changes by Brett Cannon br...@python.org:
--
resolution: - wont fix
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21458
___
Brett Cannon added the comment:
I added some review comments.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14019
___
___
Python-bugs-list
Roundup Robot added the comment:
New changeset 9ef99fafaadd by Zachary Ware in branch 'default':
Issue #21141: The Windows build process no longer attempts to find Perl,
http://hg.python.org/cpython/rev/9ef99fafaadd
--
nosy: +python-dev
___
Python
Zachary Ware added the comment:
Committed. Thanks for the review, Martin, and for the votes of confidence Tim
and Antoine!
--
assignee: - zach.ware
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python tracker
Stefan Krah added the comment:
The VM is set up. It's on an external unreliable host though. :)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21037
___
Roundup Robot added the comment:
New changeset 9809a791436d by Brett Cannon in branch '3.4':
Issue #21157: Touch up imp docs to be more explicit about importlib
http://hg.python.org/cpython/rev/9809a791436d
New changeset 418780d59502 by Brett Cannon in branch 'default':
Merge for issue #21157
Changes by Brett Cannon br...@python.org:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21157
___
Zachary Ware added the comment:
The patch looks good to me (only tested on a Perl-less machine, though). It
applies cleanly on 3.4, which I think is worth committing. It still merges
forward cleanly to default, post-#21141. I suspect it would even apply fairly
cleanly to 2.7, but I'm not
Lukas Vacek added the comment:
Hi Peter,
Thanks for taking the time to report your issue. I just tried on fresh
up-to-date CentOS 6 and I could not reproduce the issue.
However, I think I figured out what went wrong. I can see you are supplying
custom -I and -L paths
New submission from Erik Bray:
This is probably a pretty rare corner case, but a coworker reported this to me
while testing code that does open several ftp connections to different files.
--
components: Library (Lib)
files: urllib-request-ftpcache-error.patch
keywords: patch
messages:
Changes by Berker Peksag berker.pek...@gmail.com:
--
nosy: +orsenthil
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21463
___
___
Python-bugs-list
Zachary Ware added the comment:
Here's all the patch that should be necessary to do the upgrade. Running
test_ssl on 2.7 with 1.0.1g I do have a failure:
==
ERROR: test_socketserver (test.test_ssl.ThreadedTests)
Using a
Lukas Vacek added the comment:
Actually CFLAGS do indeed come before any include directories.
I can reproduce your problem:
mkdir /tmp/extra_include
cp /usr/include/expat.h /usr/include/expat_external.h /tmp/extra_include/
make CFLAGS=-I/tmp/extra_include
You should use CPPFLAGS for extra
Roundup Robot added the comment:
New changeset 86042348b38a by Brett Cannon in branch '3.4':
Issue #21438: Document what loaders don't require a module name for
http://hg.python.org/cpython/rev/86042348b38a
New changeset e9453f6fa787 by Brett Cannon in branch 'default':
Merge for issue #21438
Changes by Brett Cannon br...@python.org:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21438
___
Roundup Robot added the comment:
New changeset 9bd844792b32 by Brett Cannon in branch 'default':
Issue #21156: importlib.abc.InspectLoader.source_to_code() is now a
http://hg.python.org/cpython/rev/9bd844792b32
--
nosy: +python-dev
___
Python tracker
Brett Cannon added the comment:
I decided to make it a static method instead of relocating it.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21156
Steve Dower added the comment:
I just tried it and had no trouble building and running the ssl tests on
Windows.
python Lib\test\regrtest.py -u network -v test_ssl
...
Ran 38 tests in 7.700s
OK (skipped=2)
--
___
Python tracker
Roundup Robot added the comment:
New changeset 160f32753b0c by Tim Golden in branch '3.4':
Issue10752 Be more robust when finding a PERL interpreter to build OpenSSL.
Initial patch by Gabi Davar
http://hg.python.org/cpython/rev/160f32753b0c
New changeset e492d0ac9abb by Tim Golden in branch
Zachary Ware added the comment:
Your patch looks fine to me, Tim.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21452
___
___
Python-bugs-list
Tim Golden added the comment:
Thanks for the check. Committed to 3.4 default
--
resolution: - fixed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10752
___
Changes by Tim Golden m...@timgolden.me.uk:
--
stage: commit review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10752
___
Zachary Ware added the comment:
Thanks, Steve. Nick, I assume 1.0.1g is the target version?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21462
___
Roundup Robot added the comment:
New changeset 469837abe5ca by Tim Golden in branch '3.4':
Issue21452 Add missing backslash to build path for make_buildinfo
http://hg.python.org/cpython/rev/469837abe5ca
New changeset a14420d8b556 by Tim Golden in branch 'default':
Issue21452 Add missing
Jesús Cea Avión added the comment:
Brett, where is the list of major platforms, and how to get in/out of that
list? :-)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21458
___
Tim Golden added the comment:
Fixed. Thanks for the report
--
resolution: - fixed
stage: - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21452
___
Éric Araujo added the comment:
Aside: callable was added back in 3.2; warnings for that are now obsolete, and
people often replaced it with bogus alternatives (like using hasattr on the
object instead of its type).
--
nosy: +eric.araujo
___
Python
Changes by ddve...@ucar.edu ddve...@ucar.edu:
--
nosy: +ddve...@ucar.edu
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20934
___
___
Éric Araujo added the comment:
Attaching plain text version.
--
nosy: +eric.araujo
Added file: http://bugs.python.org/file35201/PythonRefmanual_3_4_0_Errata.txt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21439
Éric Araujo added the comment:
BTW my opinion of the proposed changes is that many of them are good (obvious
typos, reports of things unclear to a beginner, etc) but I don’t agree with
some typographic changes, I find that some grammar changes are pedantic, and
there are even a few
Roundup Robot added the comment:
New changeset fa439bb9d705 by Brett Cannon in branch 'default':
Issue #20776: Flesh out tests for importlib.machinery.PathFinder.
http://hg.python.org/cpython/rev/fa439bb9d705
--
nosy: +python-dev
___
Python tracker
Éric Araujo added the comment:
Thanks for the report and patch. Would you mind adding a unit test?
(Note that the “crash” type is for segfaults, not Python exceptions.)
--
nosy: +eric.araujo
stage: - test needed
type: crash - behavior
versions: +Python 2.7, Python 3.4, Python 3.5
Changes by Brett Cannon br...@python.org:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20776
___
Erik Bray added the comment:
Ah, didn't know that about crash.
I wanted to add a test but hesitated only because that code is not well tested
to begin with (perhaps, hence, this going unnoticed for so long). But I guess
it could be done by mocking the ftpwrapper class.
--
Changes by Brett Cannon br...@python.org:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19721
___
Roundup Robot added the comment:
New changeset 4e243b399307 by Brett Cannon in branch 'default':
Issue #19721: Consolidate test_importlib utility code into a single
http://hg.python.org/cpython/rev/4e243b399307
--
nosy: +python-dev
___
Python tracker
Brett Cannon added the comment:
I never bothered to mention the iter* methods in the HOWTO, and since it
becomes very obvious very fast to tweak them I'm not going to worry about it
and add more complexity to the doc.
--
resolution: - wont fix
status: open - closed
Charles-François Natali added the comment:
OK, great, let's see what happens!
--
resolution: - fixed
stage: - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21037
Tim Golden added the comment:
Builds tests ok here on a fresh checkout (of cpython openssl-1.0.1g)
--
nosy: +tim.golden
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21462
___
Tim Peters added the comment:
@asvetlov, glad this fixes crashes in aiohttp library tests too, but I hadn't
heard about that before. Is there an open bug report about it on this tracker
(so we can close it)?
--
___
Python tracker
ddve...@ucar.edu added the comment:
This bug is extremely hard to reproduce in a controlled manner.
I mean, if I run
EXTRATESTOPTS='-x test_gdb -uall -v' make testall
it appears 100% of the times (whereas the same command without the -v
works just fine, as I initially mentioned).
But I do
Steven Barker added the comment:
Here's a patch that changes the behavior of method_repr in
Objects/classobject.c . It first tries to use __func__.__qualname__, then tries
__func__.__name__ as a fallback and finally uses ? if neither of those
attributes are available.
I'm not sure if the
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21448
___
___
Cybjit added the comment:
I get errors when using pip with a proxy in 3.4.1rc1 on Windows, that does not
happen on 3.4.0.
I tracked it down to this change to client.py.
OK with client.py from fd2c69cedb25, but not with client.py from 39ee3286d187.
C:\Python34\Scriptsset
New submission from Paul Sokolovsky:
fnmatch.translate() ends with:
return res + '\Z(?ms)'
However, https://docs.python.org/3.4/library/re.html#regular-expression-syntax
states:
Note that the (?x) flag changes how the expression is parsed. It should be used
first in the expression string,
Changes by Paul Sokolovsky pfal...@users.sourceforge.net:
--
title: fnmatch module uses undefined regular expression to perform matching -
fnmatch module uses regular expression with undefined result to perform matching
___
Python tracker
paul j3 added the comment:
When `add_subparsers` creates the `_prog_prefix` it uses a list of positionals.
That makes sense, since a subparser argument is positional, so the user needs
to know where it fits in the broader scope of positionals.
But it intentionally skips the 'optionals'. The
Changes by paul j3 ajipa...@gmail.com:
Added file: http://bugs.python.org/file35204/sample.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20333
___
___
New submission from Mark Lawrence:
Code adopted from here
https://docs.python.org/3/library/sqlite3.html#default-adapters-and-converters.
import sqlite3
import datetime
con = sqlite3.connect(:memory:,
detect_types=sqlite3.PARSE_DECLTYPES|sqlite3.PARSE_COLNAMES)
con.row_factory = sqlite3.Row
Thomas Klausner added the comment:
Thanks for your reply!
I've checked:
keypad in NetBSD curses was fixed in 2009. All supported NetBSD release (5.x
and 6.x) have the fix.
nodelay and keyname were fixed even earlier, in 2003.
So this is no problem for older NetBSD releases.
--
Thomas Klausner added the comment:
Just a final comment:
MirBSD's official packaging system is pkgsrc, which is also the official
packaging system for NetBSD. (This is the reason I'm sending these in bulk, to
clean up local pkgsrc changes.)
--
___
Thomas Klausner added the comment:
Just a final comment:
pkgsrc was DragonFlyBSD's official packaging system, which is also the official
packaging system for NetBSD. (This is the reason I'm sending these in bulk, to
clean up local pkgsrc changes.)
--
Nikolaus Rath added the comment:
On 05/09/2014 02:02 PM, Cybjit wrote:
C:\Python34\Scriptspip -v install simplejson
Downloading/unpacking simplejson
Could not fetch URL https://pypi.python.org/simple/simplejson/: connection
err
or: hostname 'openwrt.lan' doesn't match either of
Peter Inglesby added the comment:
It was actually through playing with aiohttp that I first hit this issue. I
think I originally hit the problem with something like:
import asyncio
import aiohttp
@asyncio.coroutine
def do_work(future):
response = yield from aiohttp.request('get',
Steven Barker added the comment:
Ah, I figured out why using %R may be bad. It breaks for the following silly
class:
class C():
def __repr__(self):
return repr(self.__repr__) # or use any other bound method
repr(C()) will recurse until the recursion limit is hit, both
Roundup Robot added the comment:
New changeset b769352e2922 by Eli Bendersky in branch 'default':
Issue #19655: Replace the ASDL parser carried with CPython
http://hg.python.org/cpython/rev/b769352e2922
--
nosy: +python-dev
___
Python tracker
Changes by Eli Bendersky eli...@gmail.com:
--
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19655
___
Changes by Terry J. Reedy tjre...@udel.edu:
--
versions: +Python 3.4 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21425
___
___
Terry J. Reedy added the comment:
I compile 32 bit debug binaries from repository with the free VC++ express
2010. I presume the 'install' option works.
--
nosy: +terry.reedy
___
Python tracker rep...@bugs.python.org
Terry J. Reedy added the comment:
I suggest at least a patch per chapter (3.x.y, 4.x.y, 6.x.y, ...).
--
nosy: +terry.reedy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21439
___
Roundup Robot added the comment:
New changeset 604e1b1a by Eli Bendersky in branch 'default':
Issue #19655: Add tests for the new asdl parser.
http://hg.python.org/cpython/rev/604e1b1a
--
___
Python tracker rep...@bugs.python.org
99 matches
Mail list logo