Re: venv --upgrade 3.12.0rc2 --> 3.12.0rc3 failure

2023-09-28 Thread Robin Becker via Python-list
. .. I have a different version, but it's not 'in place'. thanks -- Robin On 27 Sep 2023, at 12:50, Robin Becker via Python-list wrote: Attempting venv upgrade 3.12.0rc2 --> 3.12.0rc3 I find pyvenv.cfg changes, but the virtual python doesn't. I guess this ought to be a bug. You m

venv --upgrade 3.12.0rc2 --> 3.12.0rc3 failure

2023-09-27 Thread Robin Becker via Python-list
ion = 3.12.0 executable = /home/user/LOCAL/3.12.0rc2/bin/python3.12 command = /home/user/LOCAL/3.12.0rc2/bin/python3 -m venv /home/robin/devel/xxx user@host:~/devel $ ~/LOCAL/3.12.0rc3/bin/python3 -m venv --upgrade xxx user@host:~/devel $ xxx/bin/python -c'import sys;print(sys.version)' 3.12.0rc2 (m

Re: [RELEASE] Python 3.12.0 beta 1 released.

2023-05-25 Thread Robin Becker
On 25/05/2023 12:23, Robin Becker wrote: On 22/05/2023 22:04, Thomas Wouters wrote: > I'm pleased to announce the release of Python 3.12 beta 1 (and feature > freeze for Python 3.12). > ... I see a major difference between 3.12.0a7 and 3.12.0b1 Basically in preppy an importer i

Re: [RELEASE] Python 3.12.0 beta 1 released.

2023-05-25 Thread Robin Becker
> ERROR: testImport1 (__main__.ImportTestCase.testImport1) > -- > Traceback (most recent call last): > File "/home/robin/devel/reportlab/REPOS/preppy/tmp/test_import.py", line 13, in testImport1 > import sample001 > ModuleNotFoundError: No module named 'sa

Re: Python 3.12.0 alpha 6 released

2023-03-09 Thread Robin Becker
ers Ned Deily Steve Dower -- Robin Becker -- https://mail.python.org/mailman/listinfo/python-list

Re: lxml with python-3.12.0a5

2023-02-24 Thread Robin Becker
into python-3.12.0a5 I used latest lxml source and python setup.py bdist_wheel --with-cython which built without error. The installed lxml seems fine (at least for reportlab tests). -- Robin Becker -- https://mail.python.org/mailman/listinfo/python-list

lxml with python-3.12.0a5

2023-02-23 Thread Robin Becker
und. Anyone know how to get around this problem. I did try rebuilding the cpython stuff using make, but that also failed. -- Robin Becker -- https://mail.python.org/mailman/listinfo/python-list

Re: C extension custom types in abi3 module

2022-12-08 Thread Robin Becker
On 08/12/2022 12:52, Robin Becker wrote: I am trying to split off reportlab C extensions to simplify installations and make use of more advanced packages. A simple extension is easily converted to being an abi3 module. However, another has a custom type which uses the old style mechanisms

C extension custom types in abi3 module

2022-12-08 Thread Robin Becker
: error: variable ‘CustomType’ has initializer but incomplete type 10 | static PyTypeObject CustomType = { | ^~ In file included from /home/robin/LOCAL/3.7.16/include/python3.7m/Python.h:90, from src/_custom.c:2: /home/robin/LOCAL/3.7.16

Re: is mypy failing here

2022-11-25 Thread Robin Becker
lso finds the real typing error. So it seems the tool fails in the simplest cases if you forget some typing. Interesting that it works in windows without --strict though. -- Robin Becker -- https://mail.python.org/mailman/listinfo/python-list

Re: is mypy failing here

2022-11-25 Thread Robin Becker
d I still don't get an error. I'll break out the windows 10 laptop and see what happens there. You ran with the py runner. I wonder if that does something special. -- Robin Becker -- https://mail.python.org/mailman/listinfo/python-list

is mypy failing here

2022-11-24 Thread Robin Becker
I haven't used dataclasses or typing very much, but while playing about I found this didn't give me an expected error (.py312) robin@minikat:~/devel/reportlab $ cat tmp/examples/tdc.py && python tmp/examples/tdc.py && mypy tmp/examples/tdc.py ##

Will "hello" always be printed?

2022-10-07 Thread Robin van der veer
If I have two processes communicating through a JoinableQueue, and I do the following: process 1: queue.put(1) #unfished tasks = 1 queue.join() #block until unfished tasks = 0 print('hello')[/python] process 2: queue.get() queue.task_done() #unfished tasks = 0

[Python-announce] wxPython 4.2.0

2022-08-08 Thread Robin Dunn
Announcing wxPython 4.2.0 = PyPI: https://pypi.python.org/pypi/wxPython/4.2.0 Extras: https://extras.wxPython.org/wxPython4/extras/ Pip:``pip install wxPython==4.2.0`` * Yes, it's been a VERY long time since the last release. I'm not dead, just on an extended

Re: Reportlab / platypus bug?

2022-03-15 Thread Robin Becker
On 15/03/2022 13:20, Les wrote: Robin Becker ezt írta (időpont: 2022. márc. 15., K, 14:06): Hi Les, so far as I know the reportlab-users list is still running it is hosted (nad has been for many years) at https://pairlist2.pair.net/mailman/listinfo/reportlab-users is that the address you

Re: Reportlab / platypus bug?

2022-03-15 Thread Robin Becker
.. Hi Les, so far as I know the reportlab-users list is still running it is hosted (nad has been for many years) at https://pairlist2.pair.net/mailman/listinfo/reportlab-users is that the address you used? I see messages in the archives so some people can use it.-- Robin Becker

Re: Reportlab / platypus bug?

2022-03-15 Thread Robin Becker
years) at https://pairlist2.pair.net/mailman/listinfo/reportlab-users is that the address you used? I see messages in the archives so some people can use it.-- Robin Becker -- https://mail.python.org/mailman/listinfo/python-list

Re: strange problem building non-pure wheel for apple M1 arm64

2022-03-08 Thread Robin Becker
On 08/03/2022 16:08, Christian Gollwitzer wrote: Am 07.03.22 um 17:22 schrieb Robin Becker: I use brew to install freetype version 2.11.1. I find via google that homebrew/apple have split the installation of intel and arm64 into /usr/local and /opt/homebrew so I must modify the include_dirs

strange problem building non-pure wheel for apple M1 arm64

2022-03-07 Thread Robin Becker
doesn't want to use an arm64 dylib. Can macos experts assist? -- Robin Becker -- https://mail.python.org/mailman/listinfo/python-list

Re: lxml empty versus self closed tag

2022-03-03 Thread Robin Becker
On 02/03/2022 18:39, Dieter Maurer wrote: Robin Becker wrote at 2022-3-2 15:32 +: I'm using lxml.etree.XMLParser and would like to distinguish from I seem to have e.getchildren()==[] and e.text==None for both cases. Is there a way to get the first to have e.text=='' I do not think

lxml empty versus self closed tag

2022-03-02 Thread Robin Becker
I'm using lxml.etree.XMLParser and would like to distinguish from I seem to have e.getchildren()==[] and e.text==None for both cases. Is there a way to get the first to have e.text=='' -- Robin Becker -- https://mail.python.org/mailman/listinfo/python-list

Re: preserving entities with lxml

2022-01-13 Thread Robin Becker
On 13/01/2022 09:29, Dieter Maurer wrote: Robin Becker wrote at 2022-1-13 09:13 +: On 12/01/2022 20:49, Dieter Maurer wrote: ... Apparently, the `resolve_entities=False` was not effective: otherwise, your tree content should have more structure (especially some entity reference children

Re: preserving entities with lxml

2022-01-13 Thread Robin Becker
On 12/01/2022 20:49, Dieter Maurer wrote: ... when run I see this $ python tmp/tlp.py using tostring xxml=b'a mysym; lt; amp; gt; #33; A' ET.tostring(tree)=b'a mysym; lt; amp; gt; #33; A' using attributes tree.text='a A' tree.getchildren()=[] tree.tail=None

preserving entities with lxml

2022-01-12 Thread Robin Becker
ibutes tree.text='a A' tree.getchildren()=[] tree.tail=None -- Robin Becker -- https://mail.python.org/mailman/listinfo/python-list

Re: lxml parsing with validation and target?

2021-11-03 Thread Robin Becker
On 02/11/2021 12:55, Robin Becker wrote: I'm having a problem using lxml.etree to make a treebuilding parser that validates; I have test code where invalid xml is detected and an error raised when the line below target=ET.TreeBuilder(), is commented out. . I managed to overcome

lxml parsing with validation and target?

2021-11-02 Thread Robin Becker
ile('^.*(?:\\W|\\b)(?Pdynamic_rml\\.dtd|rml\\.dtd|rml_0_2\\.dtd|rml_0_3\\.dtd|rml_1_0\\.dtd)$', re.MULTILINE) Resolving url='../rml.dtd' context= dtdPath='rml.dtd' Traceback (most recent call last): File "/home/robin/devel/reportlab/REPOS/rlextra/tmp/tlxml.py", line 78, in tr

Re: c extension finding the module in object initialization

2021-09-27 Thread Robin Becker
Hi Marc, Thanks for the suggestion, On 27/09/2021 09:38, Marc-Andre Lemburg wrote: Hi Robin, seeing that no one replied to your question, I'd suggest to ask this on the Python C-API ML: https://mail.python.org/mailman3/lists/capi-sig.python.org/ That's where the experts are, including

c extension finding the module in object initialization

2021-09-21 Thread Robin Becker
oduleDict. Any expertise or advice gratefully received. -- Robin Becker -- https://mail.python.org/mailman/listinfo/python-list

what to do with multiple BOMs

2021-08-19 Thread Robin Becker
is xml file 014.xml ]> \xef\xbb\xbfdata' which implies seems as though the extra BOM in the entity has been kept and processed into a different BOM meaning utf8. I think the test file is wrong and that multiple BOM chars in the entiry should have been removed. Am I right? -- Robin Bec

Re: basic auth request

2021-08-18 Thread Robin Becker
) setting up an opener. Both of these seem to be much more complex than is required to add the header. I thought there might be a shortcut or more elegant way to replace the old code, but it seems not thanks -- Robin Becker -- https://mail.python.org/mailman/listinfo/python-list

basic auth request

2021-08-17 Thread Robin Becker
find I have no clear idea what encoding is allowed for the components of a basic auth input. -- Robin Becker -- https://mail.python.org/mailman/listinfo/python-list

error from pypa build

2021-08-05 Thread Robin Becker
n __enter__ > executable, scripts_dir = _create_isolated_env_venv(self._path) > File "/home/user/devel/reportlab/.py39/lib/python3.9/site-packages/build/env.py", line 221, in _create_isolated_env_venv > pip_distribution = next(iter(metadata.distributions(name='pip',

Re: Python script accessing own source code

2021-05-13 Thread Robin Becker
On 12/05/2021 20:17, Mirko via Python-list wrote: Am 12.05.2021 um 20:41 schrieb Robin Becker: ... ... since GvR has been shown to have time traveling abilities such a script could paradoxically appear acausally. -- yrs-not-too-seriously Robin Becker Not sure, if that's what

Re: Python script accessing own source code

2021-05-12 Thread Robin Becker
script python find-tomorrows-lotto-numbers.py since GvR has been shown to have time traveling abilities such a script could paradoxically appear acausally. -- yrs-not-too-seriously Robin Becker -- https://mail.python.org/mailman/listinfo/python-list

[issue37605] CI should not depend on gmane response

2021-05-04 Thread robin
robin added the comment: In other news, news.gmane.org is now news.gmane.io; see also https://bugs.python.org/issue39343 -- nosy: +eriker ___ Python tracker <https://bugs.python.org/issue37

new match statement and types

2021-03-15 Thread Robin Becker
fd0> is an A instance <__main__.B object at 0x7fe5a2248fd0> is an instance is this the right approach to this problem of distinguishing instances ? -- Robin Becker -- https://mail.python.org/mailman/listinfo/python-list

Re: idlelib re-use

2021-01-29 Thread Robin Becker
Thanks, On 28/01/2021 19:57, Terry Reedy wrote: On 1/28/2021 5:53 AM, Robin Becker wrote: I googled in vain for instances where parts of idlelib are re-used in a simplistic way. I would like to use the editor functionality in a tkinter window and also probably run code in a subprocess

idlelib re-use

2021-01-28 Thread Robin Becker
I googled in vain for instances where parts of idlelib are re-used in a simplistic way. I would like to use the editor functionality in a tkinter window and also probably run code in a subprocess. Are there any examples around that do these sorts of things? -- Robin Becker -- https

Re: advice on debugging a segfault

2021-01-18 Thread Robin Becker
-- not segfaulting-ly yrs Robin Becker -- https://mail.python.org/mailman/listinfo/python-list

advice on debugging a segfault

2021-01-17 Thread Robin Becker
-Xtracemalloc; the main process is almost finished so the error appears to come from trying to free resources $ python -Xdev -Xtracemalloc genuserguide.py /home/robin/devel/reportlab/.py310/lib/python3.10/distutils/__init__.py:1: DeprecationWarning: the imp module is deprecated in favour of importlib; see

[issue42909] Email header with ; ; ; ; stuffing takes very long to parse

2021-01-12 Thread robin
robin added the comment: python -mtrace -t repro.py reveals a long string of these: --- modulename: errors, funcname: __init__ errors.py(85): super().__init__(*args, **kw) --- modulename: errors, funcname: __init__ errors.py(37): if line is not None: errors.py(38

[issue11021] email MIME-Version headers for each part in multipart message

2021-01-12 Thread robin
robin added the comment: Propose to close as duplicate of https://bugs.python.org/issue25235 -- nosy: +eriker ___ Python tracker <https://bugs.python.org/issue11

[issue25235] EmailMessage.add_attachment() creates parts with spurious MIME-Version header.

2021-01-12 Thread robin
robin added the comment: Duplicate of https://bugs.python.org/issue11021 but this one is more current and has a patch. -- nosy: +eriker ___ Python tracker <https://bugs.python.org/issue25

[issue42909] Email header with ; ; ; ; stuffing takes very long to parse

2021-01-12 Thread robin
New submission from robin : Attached please find a script which takes on the order of 1 minute to parse even though the embedded message is reasonably trivial. The main flaw is that the Content-Type: header has a long string of redundant which is something some spammers apparently use

[issue42850] Process hangs when calling urllib.request in a multiprocessing.Process with import of sounddevice package

2021-01-09 Thread Robin Scheibler
Robin Scheibler added the comment: Thank you very much for your help! -- ___ Python tracker <https://bugs.python.org/issue42850> ___ ___ Python-bugs-list mailin

[issue42850] Process hangs when calling urllib.request in a multiprocessing.Process with import of sounddevice package

2021-01-08 Thread Robin Scheibler
Robin Scheibler added the comment: Thanks for the suggestion. I had indeed run into some issues with fork vs spawn before. I have tested with 3.8.5 and 3.9.1 and the bug doesn't occur with these more recent versions. Should I leave the bug open since 3.7 is still supported

[issue42850] Process hangs when calling urllib.request in a multiprocessing.Process with import of sounddevice package

2021-01-07 Thread Robin Scheibler
Robin Scheibler added the comment: Thank you very much for the reply! I was indeed hesitating where to post the issue. I have now cross-posted in the sounddevice issue tracker. https://github.com/spatialaudio/python-sounddevice/issues/302 I'll update the issue if things progress

[issue42850] Process hangs when calling urllib.request in a multiprocessing.Process with import of sounddevice package

2021-01-06 Thread Robin Scheibler
New submission from Robin Scheibler : I am having an issue with using urllib in a multiprocessing.Process when the package sounddevice (https://github.com/spatialaudio/python-sounddevice) has been already imported. The sub-process hangs upon calling urllib.request.urlopen (and methods from

ANN: wxPython 4.1.1

2020-11-25 Thread Robin Dunn
Announcing wxPython 4.1.1 = PyPI: https://pypi.org/project/wxPython/4.1.1 Extras: https://extras.wxPython.org/wxPython4/extras/ Pip:``pip install wxPython==4.1.1`` New and improved in this release: * This should have been mentioned in the notes for the last

Re: Finding it very difficult to move pyexiv2 code from Python 2 to Python 3

2020-08-20 Thread Robin Becker
. so obviously I need to install some version of boost libs or Boost.Python etc etc. Gave up :( -luddite-ly yrs- Robin Becker The aur repository, no ? https://aur.archlinux.org/packages/python-exiv2/ Vincent that would work (if I had thought hard about it), but not for a pip

Re: Finding it very difficult to move pyexiv2 code from Python 2 to Python 3

2020-08-19 Thread Robin Becker
with exit status 1 so obviously I need to install some version of boost libs or Boost.Python etc etc. Gave up :( -luddite-ly yrs- Robin Becker -- https://mail.python.org/mailman/listinfo/python-list

Re: Final statement from Steering Council on politically-charged commit messages

2020-08-19 Thread Robin Becker
he hyper-sensitivity of the woken rather dispiriting. -aged-ly yrs- Robin Becker -- https://mail.python.org/mailman/listinfo/python-list

Re: Final statement from Steering Council on politically-charged commit messages

2020-08-18 Thread Robin Becker
construct https://www.sciencemag.org/news/2020/08/quantum-paradox-points-shaky-foundations-reality ReportLab has quite a lot of colour based words; so far I've only had a few related emails :) which mostly seem to end up in spam -hoping to escape victimhood-ly yrs- Robin Becker -- https://mail.

Re: Are instances of user-defined classes mutable?

2020-08-06 Thread Robin Becker
_main__.H object at 0x7f5bf72021f0>): 23} hash(h) 2 hash(list(d.keys())[0]) -3550055125485641917 h.a=33 hash(list(d.keys())[0]) -3656087029879219665 so the dict itself doesn't enforce immutability of its keys -- Robin Becker -- https://mail.python.org/mailman/listinfo/python-list

Re: Formal Question to Steering Council (re recent PEP8 changes)

2020-07-03 Thread Robin Becker
the BBC of “social engineering” after its head of comedy said Monty Python’s white Oxbridge males were out of step with modern television. so is there a pep for alternate language names ;) -- Robin Becker -- https://mail.python.org/mailman/listinfo/python-list

Re: pyinstaller

2020-06-12 Thread Robin Becker
On 11/06/2020 16:39, Grant Edwards wrote: the hands of the developer. I suppose the OP could quit and stand on the street corner with a cardboard sign: I would love to do that :) -- https://mail.python.org/mailman/listinfo/python-list

Re: pyinstaller

2020-06-11 Thread Robin Becker
fixed the false problem in a few days for me. I think my boss actually tried this, but I will check. Thanks Barry .... -- Robin Becker -- https://mail.python.org/mailman/listinfo/python-list

Re: pyinstaller

2020-06-11 Thread Robin Becker
follow us on the upgrade tread wheel seems a bit arrogant. ChrisA -- Robin Becker -- https://mail.python.org/mailman/listinfo/python-list

Re: pyinstaller

2020-06-11 Thread Robin Becker
On 10/06/2020 20:41, Chris Angelico wrote: . Python can be installed from the app store, or from a python.org downloader. If that's too much hassle for them, then they're going to need help *whatever* you do. works for windows 10, but probably not on older machines. The current exe

Re: pyinstaller

2020-06-10 Thread Robin Becker
of windows as well. Some people are reluctant to change old win 95/xp machines just to run a single app. I had supposed there might be a simple mechanism to get these applications validated in some way, but it seems not. MS seems uninterested. -- Robin Becker -- https://mail.python.org/mailman

Re: pyinstaller

2020-06-10 Thread Robin Becker
On 10/06/2020 16:11, Souvik Dutta wrote: I found this... https://stackoverflow.com/questions/43777106/program-made-with-pyinstaller-now-seen-as-a-trojan-horse-by-avg Might be usefull, might be useless. Souvik flutter dev On Wed, Jun 10, 2020, 7:18 PM Robin Becker wrote: . thanks

Re: pyinstaller

2020-06-10 Thread Robin Becker
On 10/06/2020 15:18, Souvik Dutta wrote: You might also try py2exe, in that way the user doesn't need to install python in her/his computer. Souvik flutter dev On Wed, Jun 10, 2020, 7:18 PM Robin Becker wrote: I'm sure this has come up before, but a tiny pyinstaller created exe is being

pyinstaller

2020-06-10 Thread Robin Becker
the application. -- Robin Becker -- https://mail.python.org/mailman/listinfo/python-list

Re: [RELEASE] Python 3.9.0b1 is now available for testing

2020-05-31 Thread Robin Becker
er Significant (t=-111.53) > ... Is this because I haven't built in the same way as Arch or are there real slowdowns in this beta? Or even dumber have I got the results the wrong way round? -- Robin Becker -- https://mail.python.org/mailman/listinfo/python-list

[issue40803] Unable to execute python.exe from zip in wine

2020-05-28 Thread Robin
Change by Robin : -- stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue40803> ___ ___ Python-bugs-list

[issue40803] Unable to execute python.exe from zip in wine

2020-05-28 Thread Robin
Robin added the comment: Good News. The wine people say "Fixed in wine 4.0". So, a happy result. https://bugs.winehq.org/show_bug.cgi?id=49271 We can close this. -- ___ Python tracker <https://bugs.python.o

[issue40803] Unable to execute python.exe from zip in wine

2020-05-28 Thread Robin
Robin added the comment: Thanks for such a rapid response. Much appreciated. I think it's a bug in wine, so I've also reported it to them. And you both know that you both have it on your radar! I believe the Win32/API PathCchCanonicalizeEx() is quite new, and that's why it's not in wine

[issue40803] Unable to execute python.exe from zip in wine

2020-05-28 Thread Robin
Robin added the comment: I've reported this to the wine team: https://bugs.winehq.org/show_bug.cgi?id=49271 -- ___ Python tracker <https://bugs.python.org/issue40

[issue40803] Unable to execute python.exe from zip in wine

2020-05-28 Thread Robin
New submission from Robin : I've downloaded python38.zip(and python32.zip). It doesn't run because it's using an API `PathCchCanonicalizeEx()` that's not provided in wine. ``` Z:\home\rmills\temp\python-3>wine: Call from 0x7b43cfbc to unimplemented function api-ms-win-core-path-l1-

Re: [RELEASE] Python 3.9.0b1 is now available for testing

2020-05-20 Thread Robin Becker
On 19/05/2020 23:41, Robin Becker wrote: .. robin@minikat:~/devel/reportlab $ $HOME/LOCAL/3.9b1/bin/python3.9 Python 3.9.0b1 (default, May 19 2020, 12:50:30) [GCC 10.1.0] on linux Type "help", "copyright", "credits" or "license" for more informat

Re: [RELEASE] Python 3.9.0b1 is now available for testing

2020-05-19 Thread Robin Becker
.. robin@minikat:~/devel/reportlab $ $HOME/LOCAL/3.9b1/bin/python3.9 Python 3.9.0b1 (default, May 19 2020, 12:50:30) [GCC 10.1.0] on linux Type "help", "copyright", "credits" or "license" for more information. import distutils /home/robin/LOCAL/3

Re: [RELEASE] Python 3.9.0b1 is now available for testing

2020-05-19 Thread Robin Becker
get a working python. However, I seem to have an issue with the distutils package robin@minikat:~/devel/reportlab $ $HOME/LOCAL/3.9b1/bin/python3.9 Python 3.9.0b1 (default, May 19 2020, 12:50:30) [GCC 10.1.0] on linux Type "help", "copyright", "credits" or "

[issue38728] Update PC/pyconfig.h to support disabling auto linking

2020-05-08 Thread Jean-Christophe Fillion-Robin
Jean-Christophe Fillion-Robin added the comment: Associated pull request has been updated, CLA signed and it is ready for final review and integration. Thanks so much for your time, -- ___ Python tracker <https://bugs.python.org/issue38

Re: [RELEASE] Python 3.9.0a6 is now available for testing

2020-04-29 Thread Robin Becker
for more information. norm=lambda m: m+(m and(m[-1]!='\n'and'\n'or'')or'\n') robin@minikat:~/devel/reportlab/REPOS/reportlab/tests $ python39 Python 3.9.0a6 (default, Apr 29 2020, 07:46:29) [GCC 9.3.0] on linux Type "help", "copyright", "credits" or "license&q

ANNOUNCE: wxPython 4.1.0

2020-04-24 Thread Robin Dunn
Announcing wxPython 4.1.0 = PyPI: https://pypi.org/project/wxPython/4.1.0 Extras: https://extras.wxPython.org/wxPython4/extras/ Pip:``pip install wxPython==4.1.0`` Starting with this release wxPython has switched to tracking the wxWidgets master branch (version

Re: Reduce waiting queue at supermarket from Corona with Python-Webapp

2020-03-20 Thread Robin Becker
. Women and children first is long gone the new British attitude is devil take the hindmost :) -- Robin Becker -- https://mail.python.org/mailman/listinfo/python-list

Re: link to venv python sees a different sys.path

2020-03-12 Thread Robin Becker
d something and its linked python now has the same behaviour as the venv version even when the --copies option is used. -- Robin Becker -- https://mail.python.org/mailman/listinfo/python-list

Re: link to venv python sees a different sys.path

2020-03-12 Thread Robin Becker
On 11/03/2020 17:24, Dieter Maurer wrote: Robin Becker wrote at 2020-3-11 15:26 +: I'm trying to understand why python 3.8.2 venv behaves differently when it is executed va a link Make the env rptlab@everest:~/code/hg-repos $ python38 -mvenv __py__/382v ... so the linked

link to venv python sees a different sys.path

2020-03-11 Thread Robin Becker
packages rptlab@everest:~/code/hg-repos $ so the linked version of the venv python sees the base python site packages and not the expected venv site-packages. Is there a way to make the link work properly. This problem doesn't seem to occur with older virtualenv made environments. -

[issue33339] Using default encoding with `subprocess.run()` is not obvious

2020-01-29 Thread Xavier Robin
Change by Xavier Robin : -- nosy: +Xavier Robin ___ Python tracker <https://bugs.python.org/issue9> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38728] Update PC/pyconfig.h to support disabling auto linking

2019-11-11 Thread Jean-Christophe Fillion-Robin
Jean-Christophe Fillion-Robin added the comment: PY_NO_LINK_LIB will work well. I will work on a patch later this week. -- ___ Python tracker <https://bugs.python.org/issue38

[issue38728] Update PC/pyconfig.h to support disabling auto linking

2019-11-06 Thread Jean-Christophe Fillion-Robin
New submission from Jean-Christophe Fillion-Robin : When configuring project using build-system generator like CMake, the linking is explicitly handled and does not to be implicitly hard-coded in pyconfig.h Having the "pythonXY.lib" library hard-coded in pyconfig.h currentl

Re: permission denied using python 3.8

2019-11-05 Thread robin deatherage
On Tuesday, November 5, 2019 at 10:06:49 AM UTC+8, Francois van Lieshout wrote: > Hi, i installed python 3.8 the latest version but it doesn’t work, i get > “permission denied” when trying to acces python in the CLI and also i can’t > run my code from my python files in the command-line nor in

Re: Is there some python libary for edit iso file drectly?

2019-11-05 Thread robin deatherage
On Tuesday, November 5, 2019 at 7:11:30 AM UTC+8, Hongyi Zhao wrote: > Is there some python libary for edit iso file drectly? You can use batch .bat files and have Python execute them. Honestly Batch will do all you are asking on MS Windows. Use its XCOPY to copy the IO file or the entire IO

wxPython 4.0.7 released

2019-10-26 Thread Robin Dunn
Announcing wxPython 4.0.7 = PyPI: https://pypi.org/project/wxPython/4.0.7 Extras: https://extras.wxPython.org/wxPython4/extras/ Pip:``pip install wxPython==4.0.7`` This release is comprised mostly of fixes and minor features which have been back-ported from the

Re: ubuntu python 2.7 variations

2019-07-29 Thread Robin Becker
On 29/07/2019 12:33, Chris Angelico wrote: . Should I always be using self build python versions? If you want to maintain your own Python, then by all means, go ahead. I don't maintain my own Python 2.7, but I have a number of Python 3.x builds, since Debian Stretch doesn't ship with

ubuntu python 2.7 variations

2019-07-29 Thread Robin Becker
that this improves things and I shouldn't be using such low level code ... :( -- Robin Becker -- https://mail.python.org/mailman/listinfo/python-list

Re: pysftp / paramiko problem

2019-06-14 Thread Robin Becker
server is using an earlier version of openssh or OS as it wants to use ssh-dss which is now considered unsafe (I believe). -- Robin Becker -- https://mail.python.org/mailman/listinfo/python-list

Re: pysftp / paramiko problem

2019-06-14 Thread Robin Becker
File "/home/rptlab/tmp/tpy3/lib/python3.6/site-packages/paramiko/sftp_client.py", line 865, in _read_response self._convert_status(msg) File "/home/rptlab/tmp/tpy3/lib/python3.6/site-packages/paramiko/sftp_client.py", line 894, in _convert_status raise IOError(err

Re: pysftp / paramiko problem

2019-06-13 Thread Robin Becker
On 13/06/2019 05:56, dieter wrote: Robin Becker writes: On 12/06/2019 05:59, dieter wrote: Robin Becker writes: I am trying to convert older code that uses ftplib as the endpoint has switched to sftp only. ... Well with real sftp I can cd to that path so if it is a symlink it goes

Re: pysftp / paramiko problem

2019-06-12 Thread Robin Becker
On 12/06/2019 05:59, dieter wrote: Robin Becker writes: I am trying to convert older code that uses ftplib as the endpoint has switched to sftp only. I am using the pysftp wrapper around paramiko. The following script fails def main(): import pysftp with pysftp.Connection

pysftp / paramiko problem

2019-06-11 Thread Robin Becker
ell directly I needed to add HostKeyAlgorithms=+ssh-dss for this host. Any pointers to what the problem could be? -- Robin Becker -- https://mail.python.org/mailman/listinfo/python-list

Re: PEP 594 cgi & cgitb removal

2019-05-29 Thread Robin Becker
to provide nicely formatted traceback html. -- Robin Becker -- https://mail.python.org/mailman/listinfo/python-list

ANNOUNCE wxPython 4.0.6

2019-05-24 Thread Robin Dunn
/ -- Robin Dunn Software Craftsman http://wxPython.org -- https://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations/

ANNOUNCE: wxPython 4.0.5

2019-05-24 Thread Robin Dunn
access in the wx.py and wx.tools.pywxrc packages to be Python 2 and 3 compatible. (#1193, #1156) * Fixes for building with Python 3.8 on Linux. (#1227) Have fun! -- Robin Dunn Software Craftsman http://wxPython.org -- https://mail.python.org/mailman/listinfo/python-announce-list Support

PEP 594 cgi & cgitb removal

2019-05-22 Thread Robin Becker
eans issues of control, where do the sources reside and other politics. Django has a similar feature to cgitb's output for tracebacks, but is too deeply embedded for use elsewhere; is there anything suitable elsewhere? -- Robin Becker -- https://mail.python.org/mailman/listinfo/python-list

Re: Python 3.8 new deprecations

2019-05-21 Thread Robin Becker
Thanks for letting me know. On Tue, 21 May 2019, 17:04 Inada Naoki, wrote: > I plan to remove int support in Python 3.10. > > If this warning is ignored, the extension module will be broken silently > from 3.10. > It is because C is not typesafe here. > > Regards, > >

Python 3.8 new deprecations

2019-05-21 Thread Robin Becker
acOS and linux. His patch is changing several ints to Py_ssize_t after defining PY_SSIZE_T_CLEAN. Can anyone say which versions/runtimes this is needed for or can I just assume it has no effect in early versions. -- Robin Becker -- https://mail.python.org/mailman/listinfo/python-list

argparse namespace clashes

2019-02-27 Thread Robin Becker
things. Is there a recommendation anywhere for names and detinations to avoid? -- Robin Becker -- https://mail.python.org/mailman/listinfo/python-list

Re: using zip for transpose

2019-02-21 Thread Robin Becker
On 21/02/2019 13:49, Peter Otten wrote: Robin Becker wrote: ... Isn't df.values a numpy array? Then try the more direct and likely more efficient df.values.tolist() or, if you ever want to transpose df.values.T.tolist() The first seems to achieve what your sample code does

  1   2   3   4   5   6   7   8   9   10   >