Adam Bartoš added the comment:
Yes, it is a behavior change between Python 2 and Python 3. I just tried with
2.7 and 3.0.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18838
___
New submission from Alexandre Badez:
Hi,
Here is a sample of what I do:
import argparse
main_parser = argparse.ArgumentParser()
group_ex = main_parser.add_mutually_exclusive_group()
group_ex1 = group_ex.add_argument_group()
group_ex1.add_argument('-a', '--atest', help=help about -a) and
New submission from Pankaj Sharma:
Hi,
there is an issue reported for dereferencing a null return by function
PyString_FromStringAndSize() file:Python-2.7.10/Python/compile.c .so there
should be check for NULL before dereferencing in function compiler_nameop().
Please review attached patch.
Roundup Robot added the comment:
New changeset d10f7e0cd059 by Berker Peksag in branch '3.4':
Issue #24728: Fix building without threads.
https://hg.python.org/cpython/rev/d10f7e0cd059
New changeset 401bb7ceb7e8 by Berker Peksag in branch '3.5':
Issue #24728: Null merge
Changes by STINNER Victor victor.stin...@gmail.com:
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24733
___
___
Python-bugs-list
On Sun, Jul 26, 2015 at 7:19 PM, Paulo da Silva
p_s_d_a_s_i_l_v_a...@netcabo.pt wrote:
On 26-07-2015 05:47, blue wrote:
Hi .
I tested all. Now I think the PySide can more.
No python3!
Besides ... any differences to pyqt4?
Thanks
pyside has supported python 3 for a long time now.
As
Berker Peksag added the comment:
Thanks Louis. If you are going to continue contributing patches, please sign
the PSF Contribution Agreement: https://www.python.org/psf/contrib/contrib-form/
--
nosy: +berker.peksag
resolution: - fixed
stage: - resolved
status: open - closed
eric added the comment:
The python documentation says that when one calls logger.getLogger with the
same identifier that one gets the same instance of the logger. I would guess
that in the case of a Process this is not the case. I would have to assume that
the handlers attached to that
New submission from Stefan Krah:
There's a corner case in cwr_next(), where the pool size is zero
but pool[0] is accessed:
from itertools import *
it = combinations_with_replacement([], 0)
next(it)
Patch attached.
--
components: Extension Modules
files: itertools_invalid_access.diff
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: +serhiy.storchaka
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24735
___
Vinay Sajip added the comment:
Context is crucial. The Python documentation is not wrong, but doesn't belabour
the point that it refers to the most common, single-process case. The problem
you encountered is not specific to logging: you need to understand all aspects
of how forking works and
Hi,
I think it's really amfast issue, and has not much in common with mitmproxy,
but last days this problem became urgent to me so I'm asking here hoping that
anyone succeeded this before.
I am using mitmdump with some inline scripts to track AMF serialised flex
remoting traffic.
As I'm
Stefan Krah added the comment:
Sorry, I'm still not convinced that the C-contiguity explanation is in the
right place. The docs have to be terse in order to be useful as a reference,
and the explanation at that particular location breaks the flow of reading.
So, please don't commit that.
In mailman.1024.1437982246.3674.python-l...@python.org Abder-Rahman Ali
abder.rahman@gmail.com writes:
In the class --- LineLogic
def __init__(self):
self.probe = vtk.vtkProbeFilter()
In another class --- LineLogicTest
logic = LineLogic()
probe = logic.probe
data =
Stefan Krah added the comment:
Closing, since I'm -0 and usually Raymond is against these kinds of
changes (Raymond: please correct me if I'm wrong).
--
resolution: - rejected
stage: patch review - resolved
status: open - closed
___
Python tracker
node added the comment:
Can is there and equivalent for iPad? Mean, can Python code be written on an
iPad; because still a headache to get it loaded on Windows 8.1
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24720
Stefan Krah added the comment:
Unassigning, since I've no time for reviewing (I think the patch
needs review though, either by Mark or Raymond).
--
assignee: skrah -
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20008
Roundup Robot added the comment:
New changeset 68cd7a64fbb0 by Benjamin Peterson in branch '2.7':
check return value of PyString_FromStringAndSize for NULL (closes #24734)
https://hg.python.org/cpython/rev/68cd7a64fbb0
--
nosy: +python-dev
resolution: - fixed
stage: - resolved
status:
Stefan Krah added the comment:
Steve, this issue has been open for a while: Do you have an
opinion on whether this is useful to have?
I originally opened the issue because I am using masm in cdecimal,
but there are workarounds.
--
nosy: +skrah, steve.dower
Erik Bray added the comment:
As I wrote (late) in the thread that shall not be named, I don't think it makes
any sense to have magic assert_ methods on the Mock object. Not only does the
magic clearly lead to too many ambiguities and other problems--I think they
make less sense from an API
[This announcement is in German since it targets a local user group
meeting in Düsseldorf, Germany]
ANKÜNDIGUNG
Python Meeting Düsseldorf
http://pyddf.de/
Ein Treffen
Brett Cannon added the comment:
The official requirements for OS support is outlined in
https://www.python.org/dev/peps/pep-0011/#supporting-platforms which requires a
core dev to step forward to maintain bitrig support as well as a buildbot
running bitrig. Unfortunately neither has happened
Yury Selivanov added the comment:
Berker, the patch looks good to me. Please commit.
Larry, is it possible we can include this in 3.5.0?
--
nosy: +yselivanov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23441
On 27/07/2015 01:18, Mark Lawrence wrote:
On 27/07/2015 00:12, Ned Batchelder wrote:
On Sunday, July 26, 2015 at 5:15:31 PM UTC-4, mm0fmf wrote:
On 26/07/2015 20:17, E.D.G. wrote:
[around 90 lines snipped]
Am I the only person thinking Troll?
Yes.
--Ned.
Was it really necessary to
I am trying to understand sys.path working and best practices for managing
it within a program or script. Is it fine to modify sys.path using
sys.path.insert(0, EXT_MODULES_DIR)? One stackoverflow answer -
http://stackoverflow.com/a/10097543 - suggests that it may break external
3'rd party code as
On 7/26/2015 10:00 PM, chenc...@inhand.com.cn wrote:
hi:
I'm Needing to get python 2.7.10 to cross compile correctly for an
ARM embedded device. When I execute python using shell, it comes out
this error:ImportError: No module named site.I have setted environment
varible:PYTHONHOME and
eryksun added the comment:
The permission error comes from calling SetHandleInformation on an invalid
socket value. The code shouldn't make it that far. The problem starts earlier
in sock_accept_impl. This function checks whether SOCKET_T ctx-result is
non-negative to determine whether the
What I want to know is can you import anything else? If site.py is
just the first thing in a long list of modules, and you cannot find
any of them, which is what I think is the case, and I'd start looking
for problems with the PYTHONPATH then you have a different problem than
if you can find
R. David Murray added the comment:
Hmm. It's a tutorial. It would probably be better to just say the default is
platform dependent with a link to the open docs.
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
On Jul 27, 2015, at 1:24 PM, neubyr neu...@gmail.com wrote:
I am trying to understand sys.path working and best practices for managing it
within a program or script. Is it fine to modify sys.path using
sys.path.insert(0, EXT_MODULES_DIR)? One stackoverflow answer -
On Monday, July 27, 2015 at 1:24:50 PM UTC-4, neubyr wrote:
I am trying to understand sys.path working and best practices for managing it
within a program or script. Is it fine to modify sys.path using
sys.path.insert(0, EXT_MODULES_DIR)? One stackoverflow answer -
Brett Cannon added the comment:
Apparently we are shipping an old version in 3.5b4 (3.8.3.1 and the latest
release is 3.11), so this should probably be upgraded before rc.
--
nosy: +brett.cannon
versions: +Python 3.5
___
Python tracker
Evan Hubinger added the comment:
I wrote a patch to blacklist FunctionTestCase in TestLoader, and a test to make
sure FunctionTestCase doesn't show up in the TestSuite after loading a module
that includes it. The test runs successfully. This is my first patch, so
feedback would be appreciated
Ned Deily added the comment:
Berker, the part of the patch for test_rlcompleter.py does not apply cleanly.
Here's an updated version of it. Both the fix and the test seem to work as
advertised on current 3.5 tip. It would be nice to fix this finally.
--
nosy: +ned.deily
Added file:
Steve Dower added the comment:
I'm not against adding the support (to 3.6), though I'd be interested in what
the workarounds are and whether it'd be more useful as an example (e.g. here's
how to support a special build step vs. all special build steps need to be
merged into core).
There are
Roundup Robot added the comment:
New changeset 82ccdf2df5ac by Berker Peksag in branch '3.4':
Issue #23441: rcompleter now prints a tab character instead of displaying
https://hg.python.org/cpython/rev/82ccdf2df5ac
New changeset d55bdd2dc45e by Berker Peksag in branch '3.5':
Issue #23441:
Antoine Pitrou added the comment:
Thank you Berker for putting an end to this.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23441
___
___
Modules are installed, but they are in a different directory than standard
modules directory. I considered an option to add a site specific directory,
but I want to make module path application specific rather than installing
it in system-wide directory. virtualenv is one option, but that means
Berker Peksag added the comment:
Thanks for the patch Martin and thank you all for testing and reviewing patches!
--
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset cd60eccaa331 by Victor Stinner in branch '3.5':
Issue #24732, #23834: Fix sock_accept_impl() on Windows
https://hg.python.org/cpython/rev/cd60eccaa331
--
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset cd60eccaa331 by Victor Stinner in branch '3.5':
Issue #24732, #23834: Fix sock_accept_impl() on Windows
https://hg.python.org/cpython/rev/cd60eccaa331
--
nosy: +python-dev
___
Python tracker
STINNER Victor added the comment:
According to hg bisect: (...)
summary: Issue #23834: Add sock_call() helper function
Oh, I'm not too surprised. I had to modify _deeply_ socketmodule.c to implement
the PEP 475. I stressed the code on Linux, but on Windows I only ran Python
test suite
New submission from STINNER Victor:
Hi, I'm unable to compile Python default (3.6) on Windows 7 with Visual Studio
2010: it requires ucrtd.lib which looks like a new feature of Visual Studio
2015. Please update the developer guide to be more explicit:
Current text says that VS 2010 SP1 is
Steve Dower added the comment:
I agree, and I know that backwards compatibility is a very high priority
especially now that SQLite is shipping as part of Windows 10. While we *could*
take a dependency on this binary (winsqlite3.dll, for those who have it), I
don't think it's actually any
Steve Dower added the comment:
Technically it says that it will work until VS 2015 is released (which happened
last Monday), but the statement certainly should be clarified now. I'll do it.
I'm still waiting to hear what options will be available for installing the
compilers without a full
STINNER Victor added the comment:
I'm still waiting to hear what options will be available for installing the
compilers without a full VS, but right now there aren't any good options I'm
afraid.
Well, for me the most important point is to document the current supported
compilers. Good if
eryksun added the comment:
LGTM on Windows 7:
Python 3.5.0b4+ (default, Jul 27 2015, 17:46:34) [MSC v.1900 64 bit
(AMD64)] on win32
Type help, copyright, credits or license for more information.
import socket
sock = socket.socket()
sock.bind(('127.0.0.1', 52380))
On 27Jul2015 14:09, neubyr neu...@gmail.com wrote:
Modules are installed, but they are in a different directory than standard
modules directory. I considered an option to add a site specific directory,
but I want to make module path application specific rather than installing
it in system-wide
On Sun, 26 Jul 2015 13:49:57 +0100, BartC wrote:
How do you actually install Numpy in Windows?
I had a go a month or two ago and couldn't get anywhere.
As I recall you noodle around with it for a few hours making things that
look like progress but turn out to be rabbit holes. Then you
On 7/27/2015 4:13 PM, ryguy7272 wrote:
SNIP
It seems to work perfectly find when I see the results in the book, but all I'm
getting is this . . .
*** ValueError: ordinal must be = 1
(Pdb)
Does anyone have any idea what I'm doing wrong?
You've been dropped into the python debugger. I'd
I am writing a command line tool in python to generate one time
passwords/tokens. The command line tool will have certain sub-commands like
--generate-token and --list-all-tokens for example. I want to restrict access
to certain sub-commands. In this case, when user tries to generate a new
Hello experts. I'm working in Python Anaconda Spyder.
I'm reading a book called 'Python for Finance' and I'm trying to run this
sample code:
import numpy as np
import pandas as pd
import pandas.io.data as web
sp500 = web.DataReader('^GSPC', data_source='yahoo', start='1/1/2000',
Changes by Berker Peksag berker.pek...@gmail.com:
--
stage: commit review - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23931
___
STINNER Victor added the comment:
LGTM on Windows 7:
I just compiled Python default (3.6) on Windows 8.1 with Visual Studio 2015: I
confirm, the example of the original message now works as expected (raise
BlockingIOError: [WinError 10035] A non-blocking socket operation could not be
New submission from Gary Peck:
argparse.FileType should support a newline argument that corresponds to the
newline parameter to open(). In addition to more closely mirroring the open()
API, this is also needed to properly use argparse.FileType with csv.reader() or
csv.writer() (which require
On 27Jul2015 13:43, John Gordon gor...@panix.com wrote:
In mailman.1024.1437982246.3674.python-l...@python.org Abder-Rahman Ali
abder.rahman@gmail.com writes:
In the class --- LineLogic
def __init__(self):
self.probe = vtk.vtkProbeFilter()
In another class --- LineLogicTest
New submission from Harry Lam (WaXHeLL):
Storage Spaces (RAID volumes) under Windows 8.1 / Server 2012 R2 use ReFS which
does not support hard links.
If the Users directory has been moved to a ReFS volume, it causes any script
that uses os.link to hang (pip is one of the notable examples). As
Harry Lam added the comment:
Slight bit of clarification:
This doesn't affect all scripts -- just those which don't have proper Except
OSError handling. In pip's case, a timeout is not passed to the acquire()
function when it is first being called and causes this issue with hanging.
Changes by Cory Benfield c...@lukasa.co.uk:
--
nosy: +Lukasa
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23670
___
___
Python-bugs-list mailing
#6: I don't know what your colleague will think, but I've read too many
negative things about Eric (lots of dependencies, poor documentation, etc.) to
ever try it. For a powerful Free Python IDE, I'd recommend either Eclipse with
PyDev (what I use), or PyCharm.
--
eryksun added the comment:
The problem is that the 3rd party [lockfile][1] module assumes that if os.link
exists it means hard links are supported for all file systems on a given
platform. So in your case it gets stuck repeatedly trying an operation that can
never succeed. This can probably
Robert Collins added the comment:
The change in exec doesn't make sense to me (but see lower :))
__file__ should be in globals, not locals, right?
Also if it is right, then exec(foo, g) should be equivalent :)
The reset of the patch looks ok. But I can see your patch shows this breaking -
Roundup Robot added the comment:
New changeset d8950778e3c2 by Robert Collins in branch 'default':
Issue #23426: run_setup was broken in distutils.
https://hg.python.org/cpython/rev/d8950778e3c2
--
nosy: +python-dev
___
Python tracker
Changes by Robert Collins robe...@robertcollins.net:
--
resolution: - fixed
stage: commit review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23426
___
New submission from Robert Collins:
./python ./Tools/scripts/patchcheck.py
Getting the list of files that have been added/changed ... 0 files
Fixing whitespace ... 0 files
Fixing C file whitespace ... 0 files
Fixing docs whitespace ... 0 files
Docs modified ... NO
Misc/ACKS updated ... NO
Robert Collins added the comment:
I'm struggling to understand this bug. I've tried idle and plain cPython and
neither exhibit it. I suspect thats due to how readline is itself tokenizing
things.
Python 3.6.0a0 (default:ef5a2ba9df62, Jul 28 2015, 15:48:19)
[GCC 4.9.1] on linux
Type help,
On 7/23/2015 9:28 PM, Steve Burrus wrote:
Listen I got back the Idle EAditor the other day but I had to install
the older, version 2.7, version of Python to get it. So naturally I w
onder if I can get Idle for version 3.4.*?
Yes, just install 3.4.3.
--
Terry Jan Reedy
--
paul added the comment:
resolution: not a bug
^ because of private API?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24683
___
___
I'll just answer the one part I don't feel has had enough attention yet,
all other parts chopped...
On Sat, 25 Jul 2015 10:39 E.D.G. edgrs...@ix.netcom.com wrote:
Posted by E.D.G. July 25,
2015
6. What is Python's version of the DOS level System command that many
programs use as in:
system
Hello,
I'm quite puzzled with an error I'm having in my code.
In the class --- LineLogic
I have the following portion of code:
def __init__(self):
self.probe = vtk.vtkProbeFilter()
probe.SetInputConnection(line.GetOutputPort())
probe.SetSourceData(volumeNode.GetImageData())
I downloaded files(Python 2.7.10 - 2015-05-23
https://www.python.org/downloads/release/python-2710/) to setup on your
website.
(also got the version of x64 because of my cpu)
But when I try to install it, there is an error.
The error is There is a problem with this Windows Installer
On behalf of the Python development community and the Python 3.5 release
team, I'm delighted to announce the availability of Python 3.5.0b4. Python
3.5.0b4 is scheduled to be the last beta release; the next release will be
Python 3.5.0rc1, or Release Candidate 1.
Python 3.5 has now entered
In a message of Sun, 26 Jul 2015 18:58:14 -0500, E.D.G. writes:
This is an indirect URL for a potentially important computer program
that I feel needs to be developed. Unfortunately, although Python could be
used to create PC or Mac versions of the program I don't think that those
[This announcement is in German since it targets a local user group
meeting in Düsseldorf, Germany]
ANKÜNDIGUNG
Python Meeting Düsseldorf
http://pyddf.de/
Ein Treffen
74 matches
Mail list logo