Bonjour je suis français et je ne comprend pas comment je peux acceder a
python merci de me repondre
CORDIALEMENT Lilian
Envoyé à partir de [1]Courrier pour Windows
References
Visible links
1. https://go.microsoft.com/fwlink/?LinkId=550986
--
I need make an scrpit to impressive my friends
Envoyé à partir de [1]Courrier pour Windows
References
Visible links
1. https://go.microsoft.com/fwlink/?LinkId=550986
--
https://mail.python.org/mailman/listinfo/python-list
Tom Karzes added the comment:
If it's going to be closed, it should at least be acknowledged that it *is* a
fundamental design flaw, stemming from the misguided goal of trying (and
necessarily failing) to allow options to be freely intermixed with positional
arguments, which of course can't
Tom E added the comment:
Well I updated the kernel to 5.15.0 and used my succeeding 3.9.9 build and now
it works.
--
resolution: -> fixed
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Tom E added the comment:
its defos fine because ive tried it without the CFLAGS and same error
--
___
Python tracker
<https://bugs.python.org/issue45
Tom E added the comment:
Not yet... my configure flags are ./configure CFLAGS="-O3 -mtune=corei7-avx
-march=corei7-avx" LDFLAGS="-L/usr/local/ssl/lib64" CPP=cpp CXX=g++
--with-openssl=/usr/local/ssl --enable-optimizat
New submission from Tom E :
When compiling CPython 3.10 on Ubuntu 22.04, with GCC 11.2.0, it compiles
successfully, but when trying to run it it just gives Illegal Instrution (Core
Dumped). But when I build 3.9.9 its just fine... CPU is Intel Core i5-10400.
--
messages: 407330
nosy
Tom Viner added the comment:
I've updated my pull request from 3 years ago. Fixed merge conflicts and
addressed all comments.
https://github.com/python/cpython/pull/8536
--
___
Python tracker
<https://bugs.python.org/issue28
Change by Tom Pohl :
--
nosy: -tom.pohl
___
Python tracker
<https://bugs.python.org/issue45466>
___
___
Python-bugs-list mailing list
Unsubscribe:
Tom Pohl added the comment:
Thanks, Terry, for the hint.
The idea got some support on python-ideas, so I thought it is worthwhile to do
a PR. As a first-time contributor, I now have to wait for approval for the
pipeline to run...
--
___
Python
Tom Karzes added the comment:
Is there *still* no fix for this? I keep running into this bug. People
sometimes say "oh, it's no problem, just use = to associate the option value
with the option name". That is so sad. It's basically saying "it can't be
made to work the wa
New submission from Tom Pohl :
In the context of building Docker images, it is often required to download
stuff. If curl/wget are available, great, but often slim images don't offer
that.
The urllib could provide a very simple download functionality (like http offers
a simple server
Tom Cook added the comment:
+1 this.
I have a program that opens a UNIX socket as root for other processes to
communicate with it. I need to set the permissions to 0o775 and set the owner
gid to a specific group so that members of that group can communicate with the
process. It's
New submission from Tom Brown :
The following script runs without error in 3.8.5 and raises an error in 3.8.6,
3.9.5 and 3.10.0b1.
Source:
```
import enum, pickle
class MyInt(int):
pass
# work-around: __reduce_ex__ = int.__reduce_ex__
class MyEnum(MyInt, enum.Enum):
A = 1
Tom Forbes added the comment:
Actually reacting to a stall would require something more and probably should
be done at some point.
But this is purely about monitoring - in our use case we'd send a metric via
statsd that would be used to correlate stalls against other service level
metrics
Change by Tom Forbes :
--
keywords: +patch
pull_requests: +24642
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/25990
___
Python tracker
<https://bugs.python.org/issu
Tom Forbes added the comment:
I don't see why we shouldn't use PEP 578 for this - the events provide rich
monitoring information about what a Python process is "doing" with an easy,
central way to register callbacks to receive these events and shovel them off
to a monitorin
New submission from Tom Forbes :
Detecting and monitoring loop stalls in a production asyncio application is
more difficult than it could be.
Firstly you must enable debug mode for the entire loop then you need to look
for warnings outputted via the asyncio logger. This makes it hard to send
New submission from Tom Cook :
The documentation for the `AF_PACKET` address family refers to
`PACKET_MULTIHOST`. I believe this should read `PACKET_MULTICAST`, which is
defined on Linux systems (`PACKET_MULTIHOST` is not).
--
assignee: docs@python
components: Documentation
messages
Tom Aldcroft added the comment:
I encountered this issue today and want to +1 getting some attention on this.
The disconnected nature of this issue makes it especially difficult to
understand -- any package in the stack can change this hidden global variable
`_filters_version
New submission from Tom Kacvinsky :
Even though bpo#40740 has been closed, I wanted to re-raise the issue as this
affects me. There are only two functions that come from this missing DLL:
PathCchCombineEx
PathCchCanonicalizeEx
Would there be a way of rewriting join/canonicalize
Tom Dougherty added the comment:
"erase all files"
--
nosy: +dtom9424
type: crash -> security
___
Python tracker
<https://bugs.python.org/issue43292>
___
___
Change by Tom Birch :
--
components: +C API, Extension Modules
___
Python tracker
<https://bugs.python.org/issue42616>
___
___
Python-bugs-list mailing list
Unsub
Tom Birch added the comment:
Steve Dower: this issue is independent of distutils, reopening
--
components: -Distutils
status: closed -> open
___
Python tracker
<https://bugs.python.org/issu
Change by Tom Goddard :
--
nosy: +tomgoddard
___
Python tracker
<https://bugs.python.org/issue42514>
___
___
Python-bugs-list mailing list
Unsubscribe:
Tom Hale added the comment:
Related issue found in testing:
bpo-42778 Add follow_symlinks=True parameter to both os.path.samefile() and
Path.samefile()
--
___
Python tracker
<https://bugs.python.org/issue36
Tom Hale added the comment:
In summary:
The underlying os.stat() takes a follow_symlinks=True parameter but it can't be
set to False when trying to samefile() two symbolic links.
--
title: Add follow_symlinks=True to {os.path,Path}.samefile -> Add
follow_symlinks=True parame
New submission from Tom Hale :
The os.path and Path implementations of samefile() do not allow comparisons of
symbolic links:
% mkdir empty && chdir empty
% ln -s non-existant broken
% ln broken lnbroken
% ls -i # Show inode numbers
19325632 broken@ 19325632 lnbroke
Tom Birch added the comment:
> Does this affect unix-style builds with --enable-shared or framework builds?
I believe the answer is no, since in both those cases the `python` executable
doesn't contain definitions for any of the libpython symbols. In my testing I
was using a python bin
New submission from Tom Birch :
After https://github.com/python/cpython/pull/12946, there exists an issue on
MacOS due to the two-level namespace for symbol resolution. If a C extension
links against libpython.dylib, all symbols dependencies from the Python C API
will be bound to libpython
Tom Middleton added the comment:
While I agree that it shouldn't be imposed on changing previous code, changing
the documentation isn't changing the previous code it is encouraging future
code. I think that the documentation should have a caveat. I'm seeing a lot of
new code using tkinter
Tom added the comment:
How do you suggest one might test code in a Server callback with asyncio?
Of course, I don't want any old exception to affect another client connection,
only an exception which is uncaught up to the handler coro. And I'm not
suggesting that it happen by default, only
New submission from Tom :
Consider this program:
import asyncio
async def handler(r, w):
raise RuntimeError
async def main():
server = await asyncio.start_server(handler, host='localhost',
port=1234)
r, w = await asyncio.open_connection(host='localhost
Change by Tom Gringauz :
--
keywords: +patch
pull_requests: +22250
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/23357
___
Python tracker
<https://bugs.python.org/issu
Change by Tom Gringauz :
--
nosy: tomgrin10
priority: normal
severity: normal
status: open
title: Add a whatsnew entry about async contextlib.nullcontext
___
Python tracker
<https://bugs.python.org/issue42
Change by Tom Gringauz :
--
keywords: +patch
pull_requests: +22249
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/23356
___
Python tracker
<https://bugs.python.org/issu
New submission from Tom Gringauz :
Related to this PR https://github.com/python/cpython/pull/21545
--
components: Library (Lib)
messages: 381296
nosy: tomgrin10
priority: normal
severity: normal
status: open
title: aclosing was not added to __all__ in contextlib
Tom Kent added the comment:
Christian's message indicated that a workaround was possible by adding
mozilla's certs to windows cert store.
I'm sure there are sysadmins who will really hate this idea, but I've
successfully implemented it in a windows docker image, and wanted to document
Tom Kent added the comment:
A couple things...
>> One possible use-case is to package it along with another program to use the
>> interpreter.
> This is the primary use case. If you're doing something else with it, you're
> probably misusing it :)
Interesting,
Tom Kent added the comment:
I'm not sure I agree with that. One possible use-case is to package it along
with another program to use the interpreter. In this case they could use the
other program's native language features (e.g. .Net's Process.Start(), Win32
API's CreateProcess(), Even
New submission from Tom Kent :
According to the documentation
https://docs.python.org/3/using/windows.html#windows-embeddable
> When extracted, the embedded distribution is (almost) fully isolated
> from the user’s system, including environment variables, system registry
>
I am in a 8 grade coding class at the moment and my teacher asked me to
download a script called pgzero. I can not seem to download pgzer or pygame
when i try it shoots me a error message: ERROR: Command errored out with exit
status 1: command: 'c:\program files\python39\python.exe' -c
Tom Karzes added the comment:
Thanks Tim and Terry. Stackless Python sounds interesting. It's nice to know
that others had the same idea I did, although I tend to shy away from exotic
variants since they tend to be less well-supported. Any chance that CPython
will go stackless at some
Tom Karzes added the comment:
I tested this some more, and one thing became clear that I hadn't realized
before: This bug has nothing to do specifically with generators (as I had
thought), but is in fact due purely to the recursion limit.
I created a recursive test program that doesn't use
Tom Karzes added the comment:
That is a good point, except I don't believe the value needed to expose this
bug is a "too-high limit" (as the documentation calls it). I set it to 100100
for convenience, but in practice even a value of 17000 is more than enough to
expose the bug on
New submission from Tom Karzes :
If I create a sufficiently long chain of generators, I encounter a segmentation
fault. For example, the following works as expected:
% ./gen_bug3.py 1
1
%
But for sufficiently larger chain lengths, it seg faults:
% ./gen_bug3.py
Tom Most added the comment:
Note that this can interact poorly with AsyncMock, introduced in Python 3.8,
because it causes a mock generated from a mock produces an object with async
methods rather than regular ones. In Python 3.7 chaining mocks like this would
produce regular methods
New submission from Tom Most :
Given a class:
class Foo:
def bar(self):
pass
And an autospec'd mock of it:
foo_mock = mock.create_autospec(spec=Foo)
The result of `asyncio.iscoroutinefunction()` differs:
asyncio.iscoroutinefunction(Foo.bar)# -> Fa
Tom added the comment:
I ran into this while working on an asyncio application using
asyncio.start_server.
>From the documentation, I expected the combination of `close` and `wait_closed`
to wait until all connection handlers have finished. Instead, handlers remaining
running with o
Change by Tom Gringauz :
--
keywords: +patch
pull_requests: +20995
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/21870
___
Python tracker
<https://bugs.python.org/issu
New submission from Tom Gringauz :
`contextlib.nullcontext` cannot be used with async conetext managers, because
it implements only `__enter__` and `__exit__`, and doesn't implement
`__aenter__` and `__aexit__`.
--
components: Library (Lib), asyncio
messages: 375346
nosy: asvetlov
Change by Tom Hale :
--
keywords: +patch
pull_requests: +20651
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/14464
___
Python tracker
<https://bugs.python.org/issu
New submission from Tom Forbes :
`functools.lru_cache` has a maxsize=128 default for all functions.
If a function has no arguments then this maxsize default is redundant and
should be set to `maxsize=None`:
```
@functools.lru_cache()
def function_with_no_args():
pass
```
Currently you
Tom Hale added the comment:
Related:
bpo-41134 distutils.dir_util.copy_tree FileExistsError when updating symlinks
WIP update:
I am just about to ask for feedback on my proposed solution at
core-mentors...@python.org
--
title: Please add race-free os.link and os.symlink wrapper
New submission from Tom Hale :
Here is a minimal test case:
==
#!/bin/bash
cd /tmp || exit 1
dir=test-copy_tree
src=$dir/src
dst=$dir/dst
mkdir -p "$src"
touch "$src"/file
ln -s file "$src/symlink"
pyth
New submission from Tom Christie :
Raising an issue that's impacting us on `httpx`.
It appears that in some cases SSL unwrapping can cause `.wait_closed()` to hang
indefinately.
Trio are particularly careful to work around this case, and have an extensive
comment on it:
https://github.com
New submission from Tom Pohl :
Currently, the documentation of asyncio.wait gives the impression that using
FIRST_COMPLETED guarantees the completion of no more than one task. In reality,
the number of completed task after asyncio.wait can be larger than one.
While this behavior (exactly one
Change by Tom Augspurger :
--
keywords: +patch
pull_requests: +17703
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/18330
___
Python tracker
<https://bugs.python.org/issu
New submission from Tom Lane :
Assorted code in the Python core supposes that the result of pthread_self()
cannot be equal to PYTHREAD_INVALID_THREAD_ID, ie (void *) -1. If it is, you
get a crash at interpreter startup. Unfortunately, this supposition is
directly contrary to the POSIX
Tom Augspurger added the comment:
Thanks for debugging this Karthikeyan and for the quick fix Pablo!
--
___
Python tracker
<https://bugs.python.org/issue37
New submission from Tom Augspurger :
The following crashes with Python 3.8b3
```
import sys
import pytz
import datetime
print(sys.version_info)
print(pytz.__version__)
print(datetime.timezone.utc == pytz.utc)
```
When run with `-X faulthandler`, I see
```
sys.version_info(major=3, minor=8
Thanks. Hope you found a solution to the problem.
On Tue, Aug 20, 2019, 2:51 AM Cameron Simpson wrote:
> Please remember to CC the list.
>
> On 19Aug2019 22:06, Paul St George wrote:
> >On 19/08/2019 14:16, Cameron Simpson wrote:
> [...]
> >>There's a remark on that web page I mentioned that
Tom Hale added the comment:
I've created a PR here:
https://github.com/python/cpython/pull/14464
Only shutil.symlink is currently implemented.
Feedback sought from Windows users.
@Michael.Felt please note that `overwrite=False` is the default.
@taleinat I hope that the new implementation
Tom Hale added the comment:
Serhiy wrote
> Detected problem is better than non-detected problem.
I agree. I also assert that no problem (via a shutil wrapper) is better than a
detected problem which may not be handled.
While it's up to the programmer to handle exceptions, it's only syst
Change by Tom Hale :
--
title: Allow os.symlink(src, target, force=True) to prevent race conditions ->
Race conditions due to os.link and os.symlink POSIX specification
___
Python tracker
<https://bugs.python.org/issu
Tom Christie added the comment:
Right, and `requests` *does* provide both those styles.
The point more being that *not* having closed the transport at the point of
exit shouldn't end up raising a hard error. It doesn't raise errors in
sync-land, and it shouldn't do so in async-land
Tom Christie added the comment:
> From my understanding, the correct code should close all transports and wait
> for their connection_lost() callbacks before closing the loop.
Ideally, yes, although we should be able to expect that an SSL connection that
hasn't been gracefully
Change by Tom Hale :
--
type: security -> enhancement
___
Python tracker
<https://bugs.python.org/issue36656>
___
___
Python-bugs-list mailing list
Unsubscrib
Tom Hale added the comment:
Thanks Toshio Kuratomi, I raised it on the mailing list at:
https://code.activestate.com/lists/python-ideas/55992/
--
___
Python tracker
<https://bugs.python.org/issue36
Tom Hale added the comment:
Yes, but by default (because of difficulty) people won't check for this case:
1. I delete existing symlink in order to recreate it
2. Attacker watching symlink finds it deleted and recreates it
3. I try to create symlink, and an unexpected exception is raised
Tom Christie added the comment:
This appears somewhat related: https://bugs.python.org/issue34506
As it *also* logs exceptions occuring during `_fatal_error` and `_force_close`.
--
___
Python tracker
<https://bugs.python.org/issue36
New submission from Tom Christie :
If an asyncio SSL connection is left open (eg. any kind of keep-alive
connection) then after closing the event loop, an exception will be raised...
Python:
```
import asyncio
import ssl
import certifi
async def f():
ssl_context
Tom Hale added the comment:
The most correct work-around I believe exists is:
(updates at: https://stackoverflow.com/a/55742015/5353461)
def symlink_force(target, link_name):
'''
Create a symbolic link pointing to target named link_name.
Overwrite target
New submission from Tom Hale :
I cannot find a race-condition-free way to force overwrite an existing symlink.
os.symlink() requires that the target does not exist, meaning that it could be
created via race condition the two workaround solutions that I've seen:
1. Unlink existing symlink
Tom Goddard added the comment:
This Mac Tk bug was supposedly fixed in 2016 or 2017. Details are in the
following Tk ticket.
http://core.tcl.tk/tk/tktview/c84f660833546b1b84e7
The previous URL to the Tk ticket no longer works. In case the above URL also
goes bad, the id number
Tom Wilson added the comment:
In case this is a clue - the attached script "mp_hang2.py" adds a call to
qsize() and uses only a single consumer. When I run it from the command line it
does one of two things:
Option 1:
C:\TEMP\Py-3.7.2b-Venv\Scripts>.\python.exe
"C
Tom Wilson added the comment:
Hi there. I get this behavior as well, although only in a venv.
Main Virtual
v3.7.1:260ec2c36a CompletesCompletes
v3.7.2:9a3ffc0492 Completes Hangs
Some other details of my setup:
- Windows 10 Pro, Version 1803 (OS
Tom Dalton added the comment:
Here's a minimal example so my comment is not totally vacuous:
```
import unittest
from unittest import mock
class Foo:
@classmethod
def bar(cls, baz):
pass
class TestFoo(unittest.TestCase):
def test_bar(self
Tom Dalton added the comment:
I've just come across this too, so would be great if the patch can be
progressed.
--
nosy: +tom.dalton.fanduel
___
Python tracker
<https://bugs.python.org/issue23
Tom Brown added the comment:
I found this work-around useful https://stackoverflow.com/a/32782927
--
nosy: +Tom.Brown
___
Python tracker
<https://bugs.python.org/issue12
New submission from Tom Ashley :
Not sure if this goes in core or modules.
There is an inconsistency in the output of the attached script. From the docs I
read it's supposed to have the behavior of:
"If something happens to one of the worker processes to cause it to exit
unexpec
Tom Dawes added the comment:
Please ignore, re.finditer and REGEX.finditer aren't the same. I was passing
re.MULTILINE (= 8) to endPos.
--
resolution: -> not a bug
stage: -> resolved
status: open -> closed
___
Python tracke
New submission from Tom Dawes :
re.finditer appears to fail to match within the first 7 characters in a string
when re.MULTILINE is used:
>>> REGEX = re.compile("y")
>>> [list(m.start() for m in REGEX.finditer("{}y".format("x
New submission from Tom Berry :
The listed installation location is incorrect in the 02 Sep 18 release of the
tutorial. It shows the default install path as C:\python36 vice C:\Program
Files\python37.
This may be related to an installer issue, as installing single-user places the
program
elease. People with a "+" by their
names contributed a patch for the first time.
* Jeff Reback
* Tom Augspurger
* chris-b1
* h-vetinari
--
https://mail.python.org/mailman/listinfo/python-announce-list
Support the Python Software Foundation:
http://www.python.org/psf/donations/
Change by Tom Viner :
--
keywords: +patch
pull_requests: +8053
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue28140>
___
___
Python-
Tom Viner added the comment:
I am looking at this, as part of the EuroPython 2018 sprint.
--
___
Python tracker
<https://bugs.python.org/issue28140>
___
___
elease. People with a “+” by
their names contributed a patch for the first time.
- David Krych
- Jacopo Rota +
- Jeff Reback
- Jeremy Schendel
- Joris Van den Bossche
- Kalyan Gokhale
- Matthew Roeschke
- Michael Odintsov +
- Ming Li
- Pietro Battiston
- Tom Augs
ossche
- Kalyan Gokhale +
- Kevin Sheppard
- Matthew Roeschke
- Max Kanter +
- Ming Li
- Pyry Kovanen +
- Stefano Cianciulli
- Tom Augspurger
- Uddeshya Singh +
- Wenhuan
- William Ayd
- chris-b1
- gfyoung
- h-vetinari
- nprad +
- ssikdar1 +
- tmnh
Hi all,
I'm happy to announce that pandas 0.23.0 has been released. This is a major
release from 0.22.0 and includes a number of API changes, new features,
enhancements, and performance improvements along with a large number of bug
fixes.
Tom
--
*What is it:*
pandas
Change by Tom Grigg <tomegr...@gmail.com>:
--
nosy: +tgrigg
___
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue27987>
___
__
Change by Tom Grigg <tomegr...@gmail.com>:
--
nosy: +fweimer
___
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue33374>
___
__
Tom Grigg <tomegr...@gmail.com> added the comment:
I beleive this is caused by https://bugs.python.org/issue27987 in combination
with GCC 8.
Florian Weimer proposed a patch which is included in the Fedora build:
https://src.fedoraproject.org/cgit/rpms/python2.git/tree/00293-
Tom Christie <t...@tomchristie.com> added the comment:
Refs: https://github.com/python/cpython/pull/6617
--
___
Python tracker <rep...@bugs.python.org>
<https://bugs.python
New submission from Tom Christie <t...@tomchristie.com>:
The `contextvars` documentation, at
https://docs.python.org/3.7/library/contextvars.html starts with the following:
"This module provides APIs to manage, store, and access non-local state."
I assume that must be a d
Tom Hines <tomhi...@gmail.com> added the comment:
bump
--
___
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue10685>
___
__
ibuted from our devpi very easily.
Cheers
Tom
--
https://mail.python.org/mailman/listinfo/python-list
to the non default option(?), along with RWD.
In Europe, RWD and automatic transmission are more expensive options
than FWD and manual transmissions, and most cars are FWD and manual.
At least most cars I can afford..
Cheers
Tom
--
https://mail.python.org/mailman/listinfo/python-list
, just a few functions.
Cheers
Tom
--
https://mail.python.org/mailman/listinfo/python-list
use
of the thing I borrowed it from? Is this cargo cult advice (sometimes
the gods need this structure, and so to please the gods it must be
everywhere), sensible belt and braces or needless overkill?
Cheers
Tom
[1]
http://pythonextensionpatterns.readthedocs.io/en/latest/refcount.html#borrowed
1 - 100 of 1093 matches
Mail list logo