Changes by Jessica McKellar jesst...@mit.edu:
--
assignee: - jesstess
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21646
___
___
Senthil Kumaran added the comment:
Fixed the follwing changesets.
2.7 b8655be522d4
3.4 e6dce5611dae
3.5 50c9df76bb77
--
resolution: - fixed
stage: - resolved
status: open - closed
type: - behavior
___
Python tracker rep...@bugs.python.org
Michael Haubenwallner added the comment:
Well, they should not be identical, as they are for different use cases.
pkg-config python is to build an application containing a python interpreter
(like python$EXE):
+ Link against libpython.so. Additionally,
+ re-export symbols from libpython.so
Raymond Hettinger added the comment:
Jason, I made some recommendations on this subject in my blog post a few years
ago: http://rhettinger.wordpress.com/2011/05/26/super-considered-super/
'''
A more flexible approach is to have every method in the ancestor tree
cooperatively designed to
Senthil Kumaran added the comment:
I could not reproduce this in 3.4 / 3.5
[localhost 21643]$ ./python.exe Tools/scripts/pyvenv --upgrade
usage: venv [-h] [--system-site-packages] [--symlinks | --copies] [--clear]
[--upgrade] [--without-pip]
ENV_DIR [ENV_DIR ...]
venv:
Gregory P. Smith added the comment:
Something like the patch i'm attaching to socketmodule.c is what I would
prefer. I haven't looked at or tried tests for it yet.
--
assignee: - gregory.p.smith
keywords: +patch
Added file:
Changes by Gregory P. Smith g...@krypto.org:
--
versions: +Python 3.5 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20611
___
___
Changes by Gregory P. Smith g...@krypto.org:
--
stage: - test needed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20611
___
___
Python-bugs-list
Changes by Michael Haubenwallner michael.haubenwall...@salomon.at:
--
nosy: +haubi
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21272
___
___
Changes by Michael Haubenwallner michael.haubenwall...@salomon.at:
--
nosy: +haubi
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17454
___
___
Claudiu.Popa added the comment:
It's actually better to close the socket in __init__ in this case.
--
Added file: http://bugs.python.org/file35466/issue21641.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21641
Changes by Michael Haubenwallner michael.haubenwall...@salomon.at:
Removed file: http://bugs.python.org/file32542/python-tip-aix-absbuilddir.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18235
Michael Haubenwallner added the comment:
issue#10656 is the out-of-source part already.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18235
___
New submission from Claudiu.Popa:
To be precise, when running test_urllib on a machine with a local FTP server,
but with a set of credentials different than the ones used by
test_urllib.urlopen_HttpTests.test_ftp_nonexisting. In this case, ftpwrapper
from urllib.request will succesfully
Antoine Pitrou added the comment:
Responding to a comment in issue21233:
Before:
===
x = bytearray(0)
m = memoryview(x)
x.__init__(10)
Traceback (most recent call last):
File stdin, line 1, in module
BufferError: Existing exports
New submission from Antoine Pitrou:
The IETF has a draft for TLS protocol recommendations, perhaps we can mention
it in the ssl module docs:
http://tools.ietf.org/html/draft-ietf-uta-tls-bcp
--
assignee: docs@python
components: Documentation
messages: 219673
nosy: christian.heimes,
Changes by Michael Haubenwallner michael.haubenwall...@salomon.at:
--
hgrepos: +246
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10656
___
___
Changes by Michael Haubenwallner michael.haubenwall...@salomon.at:
--
hgrepos: +247
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16189
___
___
Sebastian Kreft added the comment:
I'm using the Python 3.4.1 compiled from source and I'm may be hitting this
issue.
My workload is launching two subprocess in parallel, and whenever one is ready,
launches another one. In one of the runs, the whole process got stuck after
launching about 3K
New submission from Pavel Kazlou:
Currently when you use json.tool, fields are reordered alphabetically.
In source code the value of sort_keys is hardcoded to be true.
It should be easy to expose this option as command line parameter.
--
components: Library (Lib)
messages: 219675
nosy:
Pavel Kazlou added the comment:
This is the line in module I'm talking about:
json.dump(obj, outfile, sort_keys=True, indent=4)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21650
___
STINNER Victor added the comment:
the whole process got stuck after launching about 3K subprocess
How many processes are running at the same time when the whole process is stuck?
--
___
Python tracker rep...@bugs.python.org
Berker Peksag added the comment:
Here's a patch with a test case.
--
keywords: +patch
nosy: +berker.peksag
stage: - patch review
versions: +Python 3.5 -Python 2.7
Added file: http://bugs.python.org/file35468/issue21650.diff
___
Python tracker
Arfrever Frehtes Taifersar Arahesis added the comment:
They are not for different cases. Difference between is a result of the fact
that they were implemented independently at different times.
Linking of extension modules against libpythonX.Y.so is a good idea anyway. It
avoids build failure
Matthias Klose added the comment:
they are. assume you build the zlib and elementtree extensions as builtins,
then libs for an interpreter includes libz and libexpat, while they are not
needed for extensions.
--
___
Python tracker
New submission from Claudiu.Popa:
Running asyncio tests on Windows will give a ResourceWarning. The attached
patch fixes this problem.
[1/1] test_asyncio
D:\Projects\cpython\lib\test\test_asyncio\test_events.py:233: ResourceWarning:
unclosed socket.socket fd=668, family=AddressFamily.AF_INET,
Tomić Milan added the comment:
I have just installed IDLEX-1.12 on Python3.4. Once I open the Documentation
Viewer the docstrings are written to the terminal window instead to the
Documentation Viewer which remains empty. They are triggered correctly once I
type the opening bracket of the
Tomić Milan added the comment:
Sorry. Misplaced. Please delete.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13659
___
___
Python-bugs-list
Saimadhav Heblikar added the comment:
Attached a patch incorporating changes from msg219661 and
test-autoexp-18292.diff
I would like to cover those because
Done
Point 2
Done
self.bell() makes no sound for me. How about you?
No sound for me as well.
Do you see anything like this?
Yes.
Changes by Senthil Kumaran sent...@uthcode.com:
--
nosy: +orsenthil
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21648
___
___
Python-bugs-list
Virgil Dupras added the comment:
I could reproduce the bug on the v3.4.1 tag, on the 3.4 branch and on the
default branch. I think that one of the conditions for the bug to arise is to
have the lib64 symlink created (as described in #21197).
I reproduced the bug on Gentoo and Arch
STINNER Victor added the comment:
Full traceback (I modified venv/__main__.py):
haypo@smithers$ /opt/py34/bin/python3 -m venv --upgrade ENV
Error: [Errno 17] File exists: '/home/haypo/ENV/lib' - '/home/haypo/ENV/lib64'
Traceback (most recent call last):
File /opt/py34/lib/python3.4/runpy.py,
STINNER Victor added the comment:
Oh, my test lacks a unit test!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21643
___
___
Python-bugs-list
STINNER Victor added the comment:
Ok, this bug is a regression introduced in Python 3.4.1.
--
nosy: +larry
priority: normal - release blocker
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21643
Glenn Langford added the comment:
My workload is launching two subprocess in parallel, and whenever one is
ready, launches another one.
Since you have timeout=15.0, wait() should return at least every 15s. Can you
determine if the wait is being repeatedly called in the while loop, and if so
Roundup Robot added the comment:
New changeset d5c76646168d by Senthil Kumaran in branch '3.4':
Fix issue #21641: Close the socket before raising the SMTPResponseException.
Fixes the ResourceWarning in the test run.
http://hg.python.org/cpython/rev/d5c76646168d
New changeset 7ea84a25d863 by
Senthil Kumaran added the comment:
The first patch was correct and consistent with how other Exceptions were
closing the socket. Fixed this and thanks for the patch.
--
assignee: - orsenthil
nosy: +orsenthil
resolution: - fixed
stage: - resolved
status: open - closed
versions:
Roundup Robot added the comment:
New changeset be8492101251 by Zachary Ware in branch '3.4':
Issue #21439: Fix a couple of typos.
http://hg.python.org/cpython/rev/be8492101251
New changeset 99b469758f49 by Zachary Ware in branch 'default':
Issue #21439: Merge with 3.4
New submission from James Y Knight:
The change done for issue9291 in Python 2.7.7 caused the mimetypes.types_map
dict to change to contain a mixture of str and unicode objects, rather than
just str, as it always had before.
This causes twisted.web to crash when serving static files on
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: +kushal.das
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21600
___
___
Zachary Ware added the comment:
Nosy-ing the Windows installer experts; I haven't had any problems with this
and am not familiar with the MSI library or tool.
--
nosy: +loewis, steve.dower
___
Python tracker rep...@bugs.python.org
Mark Lawrence added the comment:
FWIW I've never had any installation problems involving py.exe.
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21427
___
Mark Lawrence added the comment:
Please find attached a first pass at a patch file. Help('') produces help for
the str class as discussed. I found the difference between help('help') and
help() very confusing. The former produced the help output but left you at the
interactive prompt, the
Michael Foord added the comment:
Yep, patch.dict wasn't designed with stopall in mind so it needs adding. Thanks
for pointing this out and your fix.
Your patch isn't quite right, those operations shouldn't be inside the try
excepts. (And there are no tests.)
--
assignee: -
Steve Dower added the comment:
eryksun's analysis is correct. If the component is marked 64-bit then it will
not install on a 32-bit OS. This needs to be switched for the 32-bit installer.
(I also don't see why you'd want to set the 64-bit SharedDLLs key for a 32-bit
DLL. Is there some reason
Uwe added the comment:
not sure what you mean:
the installer for 64 bit is working fine
the installer for 32 bit is not working - this is true also
for the new version 3.4.1
for those who may try: compiling is tricky with VC2010 pro
--
___
Python
Terry J. Reedy added the comment:
Victor, since you wrote much of the asyncio doc, any comment on this request?
--
nosy: +terry.reedy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21365
___
Mo Jia added the comment:
@Roundup Robot . Clone the newest 3.4 tag. The unicode problem is ok now .
@Zachary Ware , don't change anything after clone from the repo. What i do is
just cd python src dir and runing : Tools\buildbot\build.bat . the openssl
verison is 1.0.1g . Seem the
Roundup Robot added the comment:
New changeset 27e1b4a9de07 by Vinay Sajip in branch '3.4':
Issue #21643: Updated test and fixed logic bug in lib64 symlink creation.
http://hg.python.org/cpython/rev/27e1b4a9de07
New changeset 71eda9bd8875 by Vinay Sajip in branch 'default':
Closes #21643:
Vinay Sajip added the comment:
The added 64-bit test unnecessary adds an import for struct.
I corrected this when fixing #21643.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21197
___
Changes by Terry J. Reedy tjre...@udel.edu:
--
Removed message: http://bugs.python.org/msg219682
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13659
___
Changes by Terry J. Reedy tjre...@udel.edu:
--
Removed message: http://bugs.python.org/msg219683
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13659
___
Terry J. Reedy added the comment:
I think what Steve meant is that *if* the 32-bit installer is working right,
then it should be the default because it would then work for everyone, while
the 64-bit installer cannot possibly work for people with 32-bit windows.
--
Martin v. Löwis added the comment:
Here is the rationale:
1. py.exe is a 32-bit binary installed into C:\windows, see PEP 397. It's in
C:\windows so that it will be on the path for both 32-bit and 64-bit processes.
2. py.exe is installed by multiple installers (both 32-bit and 64-bit, and
Zachary Ware added the comment:
Martin v. Löwis wrote:
I never got to test this out of lack of a 32-bit Windows installation,
apparently, it doesn't work.
It does work on my 32-bit machine, though; I have had no issues installing
32-bit Python 3.3 or 3.4 on 32-bit Windows 7 Pro. If there's
Joshua Landau added the comment:
Here's a minimal example of the difference:
1e
# ... etc ...
# SyntaxError: invalid token
1t
# ... etc ...
# SyntaxError: invalid syntax
--
___
Python tracker rep...@bugs.python.org
Changes by Zachary Ware zachary.w...@gmail.com:
--
nosy: +zach.ware
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19980
___
___
Python-bugs-list
Changes by Jean-Paul Calderone jean-p...@hybridcluster.com:
--
nosy: +exarkun
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21652
___
___
Zachary Ware added the comment:
Mo Jia wrote:
@Zachary Ware , don't change anything after clone from the repo. What
i do is just cd python src dir and runing : Tools\buildbot\build.bat
. the openssl verison is 1.0.1g . Seem the external.bat don't build
openssl . I see the readme The
Charles-François Natali added the comment:
I agree that Python 2 should use fopen / fread rather than directly read().
But you may misunderstand this. The 'strace' tool reports Linux system
calls, including read() rather than fread(), and I guess that read() should
be finally called in
Zachary Ware added the comment:
Absent Tim's satisfaction regarding a use-case, I'm closing the issue.
Russell, if you do package this up for pypi and it does become popular (for
some definition of 'popular' :), feel free to reopen this issue or open a new
one.
--
resolution: -
Martin v. Löwis added the comment:
I have no idea what might be causing this. I think it only can be resolved if
Mo Jia actually researches the errors himself. Mo Jia, pick one particular
error, and stick to it until you completely understand it. If you cannot do
this, we may have to wait
Steve Dower added the comment:
That reasoning makes sense. I don't see any other way to achieve the same thing
without requiring a newer version of Windows Installer on the machine
(msidbComponentAttributesDisableRegistryReflection requires 4.0).
Having a second component for 32-bit OS may be
Jan Kanis added the comment:
I wasn't aware that mixing grid and pack was a bad idea, as I was looking over
turtledemo to learn how to use tkinter. The patch replaces a packing in one
frame with a grid. All direct children of the graph_frame are gridded.
graph_frame itself is still packed and
Martin v. Löwis added the comment:
Zachary: It shouldn't work for you, given this report. Please run
msiexec /i python msi file /l*v py.log
and attach the (possibly compressed) py.log. Verify that it actually did
install py.exe into c:\windows.
--
Linlin Yan added the comment:
Thanks! I agree with that.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21638
___
___
Python-bugs-list mailing
Linlin Yan added the comment:
I ensured that the problem is in libc. I will try to figure out it by updating
libc or optimizing some related parameters.
--
resolution: - third party
status: open - closed
___
Python tracker rep...@bugs.python.org
Zachary Ware added the comment:
Here's the log, and some notes:
Starting state:
- Python 3.3.5 installed to P:\Python33
- Python 3.4.1 installed to P:\Python34
- py[w].exe present in C:\Windows
State after Python 3.4.1 uninstalled by python-3.4.1.msi (and manually removed
P:\Python34 which
Jan Kanis added the comment:
The main block has been like that from the beginning of recorded time. I could
see a use for this if the turtle demo allowed changing of the code in the gui,
but it doesn't.
--
___
Python tracker rep...@bugs.python.org
Terry J. Reedy added the comment:
I had forgotten until I reread Lundh's note. I made the same assumption about
'master window'. Certainly 'conservative' is safest. Lita has not posted a
patch, but since she is a (paid) summer intern (until mid August), I expect she
will. If not, you can help
Terry J. Reedy added the comment:
I am planning the make the simplifying change. But does is solve the problem
you had?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18141
___
Martin v. Löwis added the comment:
That the removal of 3.4 removes py.exe despite 3.3 still being installed is
easy to explain: the registration of the reference counter failed, hence the
file was not reference counted, and the first removal decided to remove it
(there being no reference
Zachary Ware added the comment:
The type parameter of ArgumentParser is a callable that will be called with the
value of some member of sys.argv, it does *not* specify what the returned type
will be. You can just use os.fsencode as the type argument:
import os
import argparse
p =
Josh Rosenberg added the comment:
Adding warnings for something that is clearly documented (both in the
constructor prototype line and again in the spelled out documentation of the
mode argument) is wasteful, particularly when accidental misuse would
immediately lead to an exception being
Changes by R. David Murray rdmur...@bitdance.com:
--
resolution: - rejected
stage: - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21637
___
New submission from Andrew McKinlay:
The documentation here
(https://docs.python.org/2/library/sqlite3.html#sqlite3.Row.keys) says that the
method returns a tuple. It returns a list.
--
assignee: docs@python
components: Documentation
messages: 219724
nosy: amckinlay, docs@python
Roundup Robot added the comment:
New changeset d0dd3eb5b5ef by Victor Stinner in branch '3.4':
Issue #21119: asyncio now closes sockets on errors
http://hg.python.org/cpython/rev/d0dd3eb5b5ef
New changeset bbd773ed9584 by Victor Stinner in branch '3.4':
Issue #21119: asyncio: Make sure that
STINNER Victor added the comment:
I fixed the issues in Tulip, Python 3.4 and 3.5. Thanks for the report.
--
resolution: works for me - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21119
Josh Rosenberg added the comment:
It usually doesn't just mean outside a required range, it means outside the
range of values representable due to implementation specific limitations (e.g.
the function is converting to a C type). You don't raise OverflowError because
your function only allows
Roundup Robot added the comment:
New changeset 9d2c0b41c1d5 by Victor Stinner in branch '3.4':
Issue #21651: Fix ResourceWarning when running asyncio tests on Windows.
http://hg.python.org/cpython/rev/9d2c0b41c1d5
New changeset b2f329e9cd18 by Victor Stinner in branch 'default':
(Merge 3.4)
STINNER Victor added the comment:
Thanks for the patch. I also applied it to Tulip.
--
nosy: +haypo
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21651
Giampaolo Rodola' added the comment:
FWICT Berker's patch LGTM. Michael, are you OK with committing this?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18381
___
Roundup Robot added the comment:
New changeset 690b6ddeee9c by Victor Stinner in branch 'default':
Issue #21326: Add asyncio.BaseEventLoop.is_closed() method
http://hg.python.org/cpython/rev/690b6ddeee9c
--
nosy: +python-dev
___
Python tracker
STINNER Victor added the comment:
I fixed the issue in Python 3.5 by adding a new BaseEventLoop.is_closed()
method. Calling run_forever() or run_until_complete() now raises an error.
I don't know yet if this issue should be fixed in Python 3.4. If it should be
fixed, I don't know how it
Changes by Yury Selivanov yselivanov...@gmail.com:
--
nosy: +yselivanov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21326
___
___
STINNER Victor added the comment:
A recent failure. As usual, the test passed at the second run.
http://buildbot.python.org/all/builders/AMD64%20FreeBSD%2010.0%203.x/builds/2180/steps/test/logs/stdio
==
FAIL:
STINNER Victor added the comment:
Attached asyncio_closed_py34.patch: minimum patch to fix this issue.
run_forever() and run_until_complete() raises a RuntimeError if the event loop
was closed.
The patch only uses the private attribute BaseEventLoop._closed in the
BaseEventLoop class, not
Zvezdan Petkovic added the comment:
Ned,
I just signed the contributor agreement form.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13631
___
Roundup Robot added the comment:
New changeset 4f1abf87df12 by Terry Jan Reedy in branch '2.7':
Issue #18409: Idle: add unittest for AutoComplete. Patch by Phil Webster.
http://hg.python.org/cpython/rev/4f1abf87df12
New changeset bf8710cf896b by Terry Jan Reedy in branch '3.4':
Issue #18409:
Terry J. Reedy added the comment:
The coverage of Phil's patch is about 60%. I decided to push it with slight
modification so he is properly credited with what he did. Changes:
Move mock AutoCompleteWindow to test file; too special.
Move ac_func to mock_idle for use in other tests; well done!
Raymond Hettinger added the comment:
I don't know if this is related but the Window tab has been affect as well. It
shows all open windows like this
*Python 2.7.7 Shell*
Python 2.7.7: demo.py /Users/raymond/class/demo.py
Python 2.7.7: download.py /Users/raymond/class/download.py
This
New submission from Raymond Hettinger:
While editing code that uses ElementTree, the call tips code is working in the
background and emits warnings to the console:
Warning (from warnings module):
File
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/idlelib/CallTips.py,
line
Changes by Serhiy Storchaka storch...@gmail.com:
--
keywords: +easy
nosy: +terry.reedy
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21654
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: +ghaering
versions: +Python 3.4, Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21653
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
keywords: +easy
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21653
___
95 matches
Mail list logo