For whatever reason, the links for two PEPs wouldn't work, so here are
working ones:
* [PEP 646](https://peps.python.org/pep-0646/)
* [PEP 675](https://peps.python.org/pep-0675)
--
Finn (Mobile)
On Wed, Apr 6, 2022, 4:31 AM Pablo Galindo Salgado
wrote:
> Br. do you feel that? That's
Finn Mason added the comment:
Thank you for the suggestions.
>From what I could tell, the cited python-ideas discussion was more about
>checking the signature of a method. However, an issue cited by the ex-BDFL
>(issue9731) was helpful. It's a similar idea that verifies tha
Finn Mason added the comment:
I strongly feel that `check_methods` shouldn't be in collections.abc, even
though that's where it's originally found, because it's not related
specifically to collections but to ABCs and classes in general. I would prefer
for it to be implemented in `abc
New submission from Finn Mason :
In _collections_abc.py is a private function titled `_check_methods`. It takes
a class and a number of method names (as strings), checks if the class has all
of the methods, and returns NotImplemented if any are missing. The code is
below:
```
def
Mason Ginter added the comment:
Those changes sound great to me, Mark. I've been busy with work and don't think
I'll have the time to implement those changes. If you or someone else would
like to work on this, I would gladly let you take over
Change by Finn Mason :
--
nosy: -finnjavier08
___
Python tracker
<https://bugs.python.org/issue44341>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Finn Mason :
>>> import re
>>> re.match('str', 'str').group()
'str'
>>> match 'str':
... case 'str':
... print('match!')
...
match!
>>> from re import match
>>> match
As the above example demonstrates, while re
Mason Ginter added the comment:
Would it then be a good idea to add a link to the archive.org version of
effbot? If so how best to add it to the documentation. The only other instances
I can find links to archive.org in the documentation reference webpages that
are down permanently, unlike
New submission from Mason Ginter :
Online python Tkinter documentation
(https://docs.python.org/3/library/tkinter.html) lacks many features. The main
part I find lacking is documentation on methods, as many of them either aren't
listed in the documentation and/or take *args as the only
Mason Bially added the comment:
I agree with Amaury that this is purely a user side concern. While I think it's
important to note the behaviour of ctypes in the case that Thomas describes, I
believe it's more important to fully support the range of behaviours allowed by
C function callbacks
On Nov 15, 2:20 am, Cannonbiker lusve...@gmail.com wrote:
Please I need Calling Python functions from Excel and receive result
back in Excel. Can me somebody advise simplest solution please? I am
more VBA programmer than Python.
A couple of years ago I used MSScriptControl for this. Couldn't
New submission from Charles Mason cemaso...@gmail.com:
Steps to reproduce:
1) Add to sys.path a path that does not exist
2) Import a module, any module. This invokes get_path_importer over
every element of sys.path. The NullImporter __init__ method is called
and an instance created for each
Dave Angel da...@ieee.org wrote in message
news:mailman.4120.1249172970.8015.python-l...@python.org...
Michael M Mason wrote:
div class=moz-text-flowed style=font-family: -moz-fixedI'm running
Python 3.1 on Vista and I can't figure out how to add my own directory to
sys.path.
Thanks to Jon
Mark Lawrence breamore...@yahoo.co.uk wrote in message
news:mailman.4130.1249203322.8015.python-l...@python.org...
Be careful, I'm screwed things up on several occasions by placing a file
on PYTHONPATH that overrides a file in the standard library, test.py being
my favourite!
Thanks. Sure
I'm running Python 3.1 on Vista and I can't figure out how to add my own
directory to sys.path.
The docs suggest that I can either add it to the PYTHONPATH environment
variable or to the PythonPath key in the registry. However, PYTHONPATH
doesn't exist, and updating the registry key has no
On Feb 6, 9:11 pm, Jason Voegele ja...@jvoegele.com wrote:
I'm working on my first substantial Python project, and I'm following a fully
test-first approach. I'd like to know how Pythonistas typically go about
running all of their tests to ensure that my application stays green.
In Ruby, I
On Oct 22, 3:43 pm, korean_dave [EMAIL PROTECTED] wrote:
Hi. I need a dummy's explanation to utilizing the win32com component
to access Microsoft Excel.
So far, I have this code.
import win32com.client
xl = win32com.client.Dispatch(Excel.Application)
xl.Visible = 1
On Oct 20, 2:14 pm, Sid [EMAIL PROTECTED] wrote:
Hi,
I am tryin to copy an image into my own data structure(a sort of 2d array
for further FFT). I've banged my head over the code for a couple of hours
now. The simplified version of my problem is below.
with '\x00\x00\xc0@'.
I don't understand why the output isn't the same. I need a solution
that will allow me to convert my binary file into floats. Am I close?
Can anyone point me in the right direction?
Thanks,
Mason
--
http://mail.python.org/mailman/listinfo/python-list
On Jun 1, 6:41 pm, Dennis Lee Bieber [EMAIL PROTECTED] wrote:
On Sun, 1 Jun 2008 12:55:45 -0700 (PDT), Mason
[EMAIL PROTECTED] declaimed the following in
comp.lang.python:
I have tried and tried...
I'd like to read in a binary file, convert it's 4 byte values into
floats, and then save
On Jun 1, 5:12 pm, George Sakkis [EMAIL PROTECTED] wrote:
On Jun 1, 3:55 pm, Mason [EMAIL PROTECTED] wrote:
I have tried and tried...
I'd like to read in a binary file, convert it's 4 byte values into
floats, and then save as a .txt file.
This works from the command line (import
If you can imply a partial order on your ranges then you can get O(n lg n)
random access using a heap data structure.
You'll have to implement your own heap, but heap search is easy to implement
(it's Heapify that might require a little thinking).
This will only work, of course, if your ranges
And for such a behavior they've termed monkeying
Thus, the coinage Monkeypatching for what you want to do:
http://mail.python.org/pipermail/python-dev/2008-January/076194.html
There are a group of people who think monkeypatching is destroying ruby.
You still probably should avoid it for
New submission from Richard Mason:
The following test script works OK on all windows platforms apart from
Windows Server 2003 R2:
import win32pdh
win32pdh.EnumObjects(None, None, 0, 1)
When I run on Windows Server 2003 R2 get the following dump:
E:\fusiondx\libtest.py
Traceback (most recent
24 matches
Mail list logo