Re: ListAdmin: Is list/archive working correctly?

2024-08-31 Thread Albert-Jan Roskam via Python-list
I also think that list/archive isn't working properly. Very little emails. Before, this was quite a busy list. -- https://mail.python.org/mailman/listinfo/python-list

Synchronise annotations -> docstring

2024-09-03 Thread Albert-Jan Roskam via Python-list
Hi, Are there any tools that check whether type annotations and Numpydoc strings are consistent? I did find this Vim plugin: https://lxyuan0420.github.io/posts/til-vim-pydocstring-plugin. Looks incredibly useful, but I haven't tried it yet. Thanks! AJ -- https://mail.python

Re: DRM is self-defeating (was: Encrypt python files)

2015-05-06 Thread Albert-Jan Roskam via Python-list
- On Wed, May 6, 2015 9:41 AM CEST Ben Finney wrote: >Palpandi writes: > >> On Wednesday, May 6, 2015 at 12:07:13 PM UTC+5:30, Palpandi wrote: > >> > What are the ways to encrypt python files? >> >> No, I just want to hide the scripts from others. > >Which others? You

Re: Encrypt python files

2015-05-06 Thread Albert-Jan Roskam via Python-list
- On Wed, May 6, 2015 11:04 AM CEST Steven D'Aprano wrote: >On Wednesday 06 May 2015 17:23, Palpandi wrote: > >> On Wednesday, May 6, 2015 at 12:07:13 PM UTC+5:30, Palpandi wrote: >> Hi, >> >> What are the ways to encrypt python files? >> >> No, I just want to hide t

Re: Why does unicode-escape decode escape symbols that are already escaped?

2015-05-10 Thread Albert-Jan Roskam via Python-list
- On Sun, May 10, 2015 5:53 PM CEST Somelauw . wrote: >In Python 3, decoding "€" with unicode-escape returns 'â\x82¬' which in my >opinion doesn't make sense. >The € already is decoded; if it were encoded it would look like this: >'\u20ac'. >So why is it doing this? >

Re: Updating a package on PyPi, testing and etiquette

2015-05-12 Thread Albert-Jan Roskam via Python-list
- On Tue, May 12, 2015 8:01 PM CEST Rob Gaddi wrote: >So I've got a package I put up on PyPi a while back (ctypes-bitfield, if >it matters). For version 0.2.6 I had access to some older versions of >Python and was able to run my test suite on Python 2.6 and 3.0. > >

Re: Looking for direction

2015-05-14 Thread Albert-Jan Roskam via Python-list
- On Thu, May 14, 2015 3:35 PM CEST Dennis Lee Bieber wrote: >On Wed, 13 May 2015 16:24:30 -0700, 20/20 Lab declaimed >the following: > >>Now is were I have my problem: >> >>myList = [ [123, "XXX", "Item", "Qty", "Noise"], >>[72976, "YYY", "Item", "Qty", "

Re: need help with an accessibility prototype

2015-05-22 Thread Albert-Jan Roskam via Python-list
- On Fri, May 22, 2015 9:50 PM CEST Laura Creighton wrote: >In a message of Fri, 22 May 2015 12:29:20 -0400, "Eric S. Johansson" writes: >>2 needs. first is determining if NaturallySpeaking injects keycodes or >>ascii char into the windows input queue. second is bui

programmatically change windows regional settings?

2015-05-24 Thread Albert-Jan Roskam via Python-list
Hi, In Windows I can change the regional settings manually in the control panel. But how do I do this programmatically? I tried setting LANG but this does not work in Windows. Kernel32's SetLocaleInfo sounds promising, but "This setting only affects the user override portion of the locale se

Re: programmatically change windows regional settings?

2015-05-24 Thread Albert-Jan Roskam via Python-list
- On Sun, May 24, 2015 3:07 PM CEST Mark Lawrence wrote: >On 24/05/2015 13:50, Albert-Jan Roskam via Python-list wrote: >> >> Hi, >> >> In Windows I can change the regional settings manually in the control panel. >> But how do I

Re: programmatically change windows regional settings?

2015-05-24 Thread Albert-Jan Roskam via Python-list
- On Sun, May 24, 2015 4:45 PM CEST Laura Creighton wrote: >In a message of Sun, 24 May 2015 14:07:37 +0100, Mark Lawrence writes: >>On 24/05/2015 13:50, Albert-Jan Roskam via Python-list wrote: >> >> Hi, >> >> In Windows I can change

Re: What is considered an "advanced" topic in Python?

2015-05-30 Thread Albert-Jan Roskam via Python-list
Metaclasses, abc, asyncio, ast, some of the dunder methods, eg __del__, weakref, perhaps gc-- https://mail.python.org/mailman/listinfo/python-list

Re: Find in ipython3

2015-06-06 Thread Albert-Jan Roskam via Python-list
"To run any command at the system shell, simply prefix it with !" See: https://ipython.org/ipython-doc/dev/interactive/tutorial.html-- https://mail.python.org/mailman/listinfo/python-list

Re: How to check in script if Python or Jython is used

2015-06-21 Thread Albert-Jan Roskam via Python-list
Sun, Jun 21, 2015 12:24 PM CEST Cecil Westerhof wrote: >On Sunday 21 Jun 2015 11:22 CEST, Laura Creighton wrote: > >> In a message of Sun, 21 Jun 2015 10:12:06 +0200, Cecil Westerhof >> writes: >> I installed Jython and will start playing with it. There probably >> will

windows and file names > 256 bytes

2015-06-24 Thread Albert-Jan Roskam via Python-list
Hi, Consider the following calls, where very_long_path is more than 256 bytes: [1] os.mkdir(very_long_path) [2] os.getsize(very_long_path) [3] shutil.rmtree(very_long_path) I am using Python 2.7 and [1] and [2] fail under Windows XP [3] fails under Win7 (not sure about XP). This is even when I u

Re: Chardet oddity

2024-10-25 Thread Albert-Jan Roskam via Python-list
On Oct 24, 2024 17:51, Roland Mueller via Python-list wrote: ke 23. lokak. 2024 klo 20.11 Albert-Jan Roskam via Python-list ( python-list@python.org) kirjoitti: >    Today I used chardet.detect in the repl and it returned windows-1252 >    (incorrect, beca

Chardet oddity

2024-10-23 Thread Albert-Jan Roskam via Python-list
Today I used chardet.detect in the repl and it returned windows-1252 (incorrect, because it later resulted in a UnicodeDecodeError). When I ran chardet as a script (which uses UniversalLineDetector) this returned MacRoman. Isn't charset.detect the correct way? I've used this method many

<    1   2   3