Arup Rakshit writes:
> I am not able to call modules from lib folder in my test folder, but outside
> of tests folder I can access them. How should I fix this?
>
> Mocks$ tree .
> .
> ├── lib
> │ ├── __init__.py
> │ ├── __pycache__
> │ │ ├── __init__.cpython-37.pyc
> │ │ └── product.c
Le 25/04/19 à 08:25, Chris Angelico a écrit :
On Thu, Apr 25, 2019 at 2:32 PM Vincent Vande Vyvre
wrote:
Le 24/04/19 à 19:57, MRAB a écrit :
On 2019-04-23 20:21, Vincent Vande Vyvre wrote:
Le 23/04/19 à 20:54, Chris Angelico a écrit :
Why a SystemError ?
The SystemError means that you're us
On Thu, 25 Apr 2019, Cameron Simpson wrote:
Personally, I like to treat the virtualenv as a source for third party
modules needed by the project. I explicitly do not like to pollute it with
project code - that way revision control can ignore the whole venv tree
and it can be blown away/rebuilt f
On Thu, 25 Apr 2019, dieter wrote:
The means that "test_act_de.py" has not extended "sys.path"
appropriately.
Dieter,
That's what I thought.
When Python starts a script ("gui/test_act_de.py" in your case), it
automatically extends "sys.path" with the folder containing the script
("gui" in y
I am not able to call modules from lib folder in my test folder, but outside of
tests folder I can access them. How should I fix this?
Mocks$ tree .
.
├── lib
│ ├── __init__.py
│ ├── __pycache__
│ │ ├── __init__.cpython-37.pyc
│ │ └── product.cpython-37.pyc
│ └── product.py
└── test
We are happy to announce the Call for Proposals is now open. The CfP
will close on Sunday in two weeks:
* Sunday, May 12 23:59:59 CEST *
Please submit your proposal via our website:
* https://ep2019.europython.eu/events/call-for-proposals/ *
We’re looking for proposals
We are happy to announce the launch of our website for EuroPython 2019:
* https://ep2019.europython.eu/ *
Thanks to Artur, Patrick and our web WG, the website now comes with a
renovated layout, modern technology and new features.
At the same time, we are launching the CFP for t
Vincent Vande Vyvre wrote:
But the "return 0" is a common case for an "Foo_init()"
see:
https://docs.python.org/3.5//extending/newtypes.html#adding-data-and-methods-to-the-basic-example
Look carefully at the init function from that example:
static int
Noddy_init(Noddy *self, PyObject