New submission from Sean Kelly :
Creating a new virtual environment with the `venv` module reads any local
`setup.cfg` file that may be found; if such a file has garbage, the `venv`
fails with a mysterious message.
Reproduce:
```
$ date -u
Tue Sep 7 18:12:27 UTC 2021
$ mkdir /tmp/demo
$ cd
New submission from Sean Grogan :
I was stuck on a problem today using an open statement where I was trying to
open a file for writing
e.g.
with open("RESULTS.CSV", "W") as csvfile:
csvwriter = csv.writer(csvfile)
csvwrit
New submission from Sean Chao :
I think in
https://docs.python.org/3.10/library/py_compile.html#py_compile.compile
the sentence:
> If dfile is specified, it is used as the name of the source file in error
> messages when instead of file.
should not have the 'when'.
-
New submission from Sean Moss :
I was doing this year's Advent of Code and found that the following program
produces unstable output when run using the given file as input:
"""
from itertools import permutations
import gc
def runProgram(amp_input, program, counter):
w
Sean Frazier added the comment:
If you are running a program and an the program crashes, then doesn't work
properly afterward, what would you call that?
--
___
Python tracker
<https://bugs.python.org/is
New submission from Sean Frazier :
I am running a problem in 'Think Python' and was having no issues with:
fin = open('words.txt')
Then when I was working with the reference file, running a function, my IDLE
crashed and is no longer able to locate files using [var =
Sean Happenny added the comment:
It is a minor issue and I understand that there are many, much more
important fixes and features the whole Python dev team is working on.
But reading the documentation for these classes indicates that these
classes may have a "writeable" member.
New submission from Sean Happenny :
Problem: There are 4 instances of the typo "writeable" in the documentation for
the IO library affecting, at least, versions 3.7, 3.8, 3.9, and the latest
master of the documentation
(https://docs.python.org/[3.7,3.8,3.9]/library/io.html
New submission from Sean Robertson :
Hello and thanks for reading.
I've also experienced this in Python 3.7, and I believe it to be around since
3.2.
The allow_no_value option of ConfigParser allows None values when
(de)serializing configuration files. Yet calling the "ite
New submission from Sean Wang :
When an IPV4 URL with 'username:password' in it, and the password contains
special characters like #[]?, urlparse would act as unexcepted.
example:
urlparse('http://user:pass#?[w...@example.com:80/path')
--
components: Library (L
Change by Sean Harrington :
--
title: Multiprocessing.pool API Extension - Non-Global Initialization of
Workers -> Multiprocessing.pool API Extension - Pass Data to Workers w/o Globals
___
Python tracker
<https://bugs.python.org/issu
Change by Sean Harrington :
--
keywords: +patch
pull_requests: +9025
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue34837>
___
___
Py
Change by Sean Harrington :
--
components: Library (Lib)
nosy: seanharr11
priority: normal
severity: normal
status: open
title: Multiprocessing.pool API Extension - Non-Global Initialization of Workers
type: enhancement
versions: Python 3.6, Python 3.7, Python 3.8
Sean McCully added the comment:
ok, is this a valid fix then?
On Saturday, May 20, 2017 1:34 AM, STINNER Victor
wrote:
STINNER Victor added the comment:
> In fact, it seems like I introduced a regression in bpo-6393, commit
> 94a3694c3dda97e3bcb51264bf47d948c5424d84.
I back
New submission from Sean McCully:
Exception:
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/pip/basecommand.py", line 215, in main
status = self.run(options, args)
File "/usr/lib/python2.7/site-packages/pip/commands/install.py"
Sean Grider added the comment:
I had forgotten all about this bug until I saw an email from Pam today.
The appears to still be some delay.
--
___
Python tracker
<http://bugs.python.org/issue14
New submission from Sean Murphy:
Python fails to pass a Queue when calling Process with
multiprocessing.set_start_method set to "spawn" or "forkserver".
Traceback (most recent call last):
File "", line 1, in
File "/usr/lib/python3.5/multiprocessing
Sean Hunt added the comment:
I am 1 of those people who want to handle the error with reconnect code as it
happens when using discord.py when the stupid connection is aborted due to
Cloudflare being stupid and them thinking a bot made in python is a DDoS like
litterally. So, I know of this
New submission from Sean Hunt:
I know that websockets has a issue with when a internet connection is dropped
and prints a bad traceback. However I have to manually recreate it when the
exception happens which is a pain as when it does it crashes aiohttp sessions
as well.
Also I wonder how I
Sean Gillespie added the comment:
Went ahead and did it since I had the time - the issue is that when doing a
token of lookahead to see whether an 'async' at a top-level begins an 'async
def' function or if it is an identifier. A shallow copy of the current token is
made
Sean Gillespie added the comment:
Is anyone currently working on this? If not, I'd like to try and fix this. I've
debugged this a little and think I have an idea of what's going on.
--
nosy: +swgillespie
___
Python tracker
<http
Sean Wang added the comment:
when an unicode option.default_value could not be ascii encoded, it would throw
exception, detailed logs below:
File "/Users/seanwang/Documents/dev/foo/bar.py", line 119, in main
parser.print_help()
File
"/usr/local/Cellar/python/2.7.
Sean Wang added the comment:
Sorry, missed one condition:
I used `unicode_literals` in Python 2.7.10, example below:
>>> from __future__ import unicode_literals
>>> str('api名称')
Traceback (most recent call last):
File "", line 1, in
UnicodeEncodeError:
Sean Wang added the comment:
This bug still exists in Python 2.7.10 with optparse version 1.5.3.
When the default_value is not ASCII encoded, it would raise
`UnicodeEncodeError: 'ascii' codec can't encode characters`
this error is due to the `str` usage in `expand_default` m
Sean Wang added the comment:
upload a sample test file
--
Added file: http://bugs.python.org/file40929/test
___
Python tracker
<http://bugs.python.org/issue25
New submission from Sean Wang:
I transfered a file from remote Debian host to my local Windows 10 host using
SecureFX.
I found that the file's last modifed date was 1900/1/1,0:00:00 on
Windows.
I tried to serve this file to be downloaded, and it crashed as follows:
Exception hap
New submission from Sean Liu:
In the document of HTMLParser.handle_starttag, it states "All entity references
from html.entities are replaced in the attribute values." However it will
replace the string if it matches ampersand followed by the entity name without
the semicolon.
F
Changes by Sean Goodwin :
--
nosy: +Sean Goodwin
___
Python tracker
<http://bugs.python.org/issue6839>
___
___
Python-bugs-list mailing list
Unsubscribe:
Sean Wolfe added the comment:
successfully tested on Linux in 2014
Hello folks, FYI I also installed this patch on Lubuntu linux in 2014 on a
series of computers at a lab where I mentor. I don't have the documentation for
those specific tests, but I did follow the outline above, and i
Sean Wolfe added the comment:
Windows 7 patch test successful:
https://bugs.python.org/issue2704
* install python 2.7.8 fresh on W7
* check idle terminal functionality
--> should not show terminal changes from 2704:
- up arrows move cursor
- typing out of focus has no effect
- clicking ab
New submission from Sean Dague:
The default time string is not localized for using locale specific formatting,
but is instead hardcoded to a ','.
https://hg.python.org/cpython/file/c87e00a6258d/Lib/logging/__init__.py#l483
demonstrates this.
Instead I think we should set that to
Sean McCully added the comment:
Is this closer to what Zachary.Ware suggested, patch implements a
wait_until_deleted method in C Api using inotify for Linux/FreeBSD.
--
nosy: +seanmccully
Added file: http://bugs.python.org/file36433/issue22024.patch
Sean McCully added the comment:
For what it is worth, I was not able to reproduce, on the current Python 2.7.8
branch and Mac OS X.
./python2
Python 2.7.8+ (2.7:ba90bd01c5f1, Aug 12 2014, 12:21:58)
gcc --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr
--with
Sean McCully added the comment:
So the changes submitted, take into the attributes that are part of the
standard Python Data Model/Descriptors and defined as editable per
documentation.
https://docs.python.org/3/reference/datamodel.html
The thought is if a user is needing to support outside
Sean McCully added the comment:
Attaching Python 2.7 patch.
--
Added file: http://bugs.python.org/file36338/issue103-py27.patch
___
Python tracker
<http://bugs.python.org/issue1011
Sean McCully added the comment:
Attachng Python 3.5/default branch patch.
--
Added file: http://bugs.python.org/file36337/issue103-default.patch
___
Python tracker
<http://bugs.python.org/issue1011
Sean McCully added the comment:
Please advise any changes that need to be made, this is technically my second
patch submission to cpython. I also had trouble running the unittests when
backporting to 2.7.
Look at distutils, there wasn't a clear method for linking commands to share
c
Sean McCully added the comment:
Is special casing the special attrs a permament enough solution?
--
keywords: +patch
nosy: +seanmccully
Added file: http://bugs.python.org/file36286/issue22138.patch
___
Python tracker
<http://bugs.python.
Changes by Sean McGrail :
--
title: test_startup_imports fails in test_site while executed inside venv ->
test_startup_imports fails in test_site when executed inside venv
___
Python tracker
<http://bugs.python.org/issu
New submission from Sean McGrail:
test_startup_imports fails in test_site when executed from within a virtual
environment (venv). Test passes when not executed within a venv.
$ python -m test test_site
[1/1] test_site
test test_site failed -- Traceback (most recent call last):
File
Sean Rodman added the comment:
Is there anything else I can do for this?
--
___
Python tracker
<http://bugs.python.org/issue16484>
___
___
Python-bugs-list mailin
Sean Rodman added the comment:
Thank you for reviewing it.
--
___
Python tracker
<http://bugs.python.org/issue19614>
___
___
Python-bugs-list mailing list
Unsub
Sean Wolfe added the comment:
I did a couple tests and the shift-tab and tab work pretty much as expected.
There's a small quirk for a single-line edit:
* place cursor on beginning of line
* tab forward
--> the text indents as expected
* shift-tab
--> the entire line is highligh
Sean Wolfe added the comment:
installation steps for me:
* apply PyShell.py patch (I had to do some bits manually)
* add Terminal.py to idlelib directory
* add changes to config-extensions.def as detailed in Terminal.py comments
This was in the osx 10.9 system python directories, so there was
Sean Wolfe added the comment:
I just tried this out on osx 10.9.0 and python 2.7.5 :
* cursor persisting on the input line works
* up/down history works
This is much better! A big irritation gone for me and makes things much easier
for beginners IMO -- one less thing to get surprised by
Changes by Sean Rodman :
Added file: http://bugs.python.org/file34238/issue16484_python3.3.patch
___
Python tracker
<http://bugs.python.org/issue16484>
___
___
Python-bug
Sean Rodman added the comment:
Here are the python3.2 and python3.3 patches. Please let me know if there is
anything I need to change on these.
--
Added file: http://bugs.python.org/file34237/issue16484_python3.2.patch
___
Python tracker
<h
Sean Rodman added the comment:
Sorry guys, I missed a place I needed to add the lower() fuction to the
module.__name__. Here is a fixed patch for python2.7.
--
Added file: http://bugs.python.org/file34236/issue16484_python2.7.patch
___
Python
Changes by Sean Rodman :
Removed file: http://bugs.python.org/file34233/issue16484.patch
___
Python tracker
<http://bugs.python.org/issue16484>
___
___
Python-bugs-list m
Changes by Sean Rodman :
Removed file: http://bugs.python.org/file34234/issue16484_python3.2.patch
___
Python tracker
<http://bugs.python.org/issue16484>
___
___
Pytho
Sean Rodman added the comment:
Here is the patch for python 3.2. It implements the same fix that the 2.7 patch
does.
--
Added file: http://bugs.python.org/file34234/issue16484_python3.2.patch
___
Python tracker
<http://bugs.python.org/issue16
Sean Rodman added the comment:
Note: It doesn't change the actual module name. Just how it is represented in
the link.
--
___
Python tracker
<http://bugs.python.org/is
Sean Rodman added the comment:
Here is a working patch for python 2.7. all it does is lowercase the module
name, but once I did that and clicked the link it worked correctly.
--
keywords: +patch
Added file: http://bugs.python.org/file34233/issue16484.patch
Sean Rodman added the comment:
To display my ignorance, I have run the pydoc command listed in the original
message but I can't actually see where it lists the url. Or even where it has a
link.
--
___
Python tracker
<http://bugs.py
Sean Rodman added the comment:
I could try to create the patch for pydoc if you would like for me to.
--
nosy: +sean.rodman
___
Python tracker
<http://bugs.python.org/issue16
Sean Rodman added the comment:
I don't see where temp_cwd uses shutil.rmtree, but I do see where temp_dir uses
shutil.rmtree. Here is a patch to change that to support.rmtree. If I am way
off base on this patch please let me know and I will change it to fix whatever
needs to be fixed. I
Sean Rodman added the comment:
Hey r.david.murray, so should this change be made in the test?
--
nosy: +sean.rodman
___
Python tracker
<http://bugs.python.org/issue19
Sean Rodman added the comment:
Hey drunax, I would like to create a patch for this and upload, but I don't see
the link you are talking about. Is it in the documentation or is it in the file
UserDict.py?
--
nosy: +sean.rodman
___
Python tr
Sean Rodman added the comment:
Is there anything else that should be added to this patch? I don't mean to bug
you guys just want to make sure that everything is right with it so that if and
or when it is applied it will apply without any problems. Also, if there is
anything else I s
Changes by Sean Rodman :
Removed file:
http://bugs.python.org/file34141/DictReader_DictWriter_python2_NewWording.patch
___
Python tracker
<http://bugs.python.org/issue20
Sean Rodman added the comment:
Great! Thank you for the reference name. I have changed the patch to use a ref
link. Here is the new patch.
--
Added file:
http://bugs.python.org/file34155/DictReader_DictWriter_python2_ref.patch
___
Python tracker
Sean Rodman added the comment:
I just realized that my two last updates on this ticket could be sort of
confusing. So here is what I did for the 2.7 patch. First I copied the wording
that I used for the 3.3/4 patch and then I created a relative link using the
syntax `sequence `_ because I
Sean Rodman added the comment:
That is supposed to say I couldn't find the subsection that I needed to
reference in the documentation.
--
___
Python tracker
<http://bugs.python.org/is
Sean Rodman added the comment:
Here is the equivalent 2.7 patch. I used a relative link with the format
`sequence `_ in order to link to the collections page. I
tried to use the reference syntax but I could find the subsection that I needed
to reference in the documentation. If you would like
Changes by Sean Rodman :
Removed file:
http://bugs.python.org/file34136/DictReader_DictWriter_python3.patch
___
Python tracker
<http://bugs.python.org/issue20
Sean Rodman added the comment:
What about if I put "The *fieldnames* parameter is a :mod:`sequence
` whose elements are associated with the fields of the input
data in order. These elements become the keys of the resulting dictionary." It
contains all of the information that you h
Sean Rodman added the comment:
Ok, I have take the approach I used with the original patch and applied it to
this one, listing that fieldnames is a sequence. Then, I added a link to the
collections abstract on that instance of the word sequence. I did this for both
DictReader and DictWriter
Changes by Sean Rodman :
Removed file: http://bugs.python.org/file34135/DictReader_python3.patch
___
Python tracker
<http://bugs.python.org/issue20628>
___
___
Python-bug
Changes by Sean Rodman :
Removed file: http://bugs.python.org/file34109/DictReader_DictWriter_2.patch
___
Python tracker
<http://bugs.python.org/issue20628>
___
___
Pytho
Sean Rodman added the comment:
Here is a patch for DictReader that adds a mod link to the sequence abstract as
requested. Please review this if you could and let me know what you think.
Note: This patch is for python 3 and if you like how I have done it on here I
will go ahead and create a
Changes by Sean Rodman :
Removed file: http://bugs.python.org/file34084/DictReader_DictWriter.patch
___
Python tracker
<http://bugs.python.org/issue20628>
___
___
Pytho
Sean Rodman added the comment:
It looks like you are right. I have updated the patch to reflect that it could
be a list or a tuple.
--
Added file: http://bugs.python.org/file34109/DictReader_DictWriter_2.patch
___
Python tracker
<h
Sean Rodman added the comment:
I have created a patch for this documentation issue. Could you please review
this for me and tell me what you think?
--
keywords: +patch
Added file: http://bugs.python.org/file34084/DictReader_DictWriter.patch
Sean Rodman added the comment:
I am new to contributing to python, and I would like to take a shot a creating
a patch for this.
--
nosy: +sean.rodman
___
Python tracker
<http://bugs.python.org/issue20
Sean Wolfe added the comment:
fwiw, I like the configuration option. I tend to set idle to editor only, but
the configuration option is useful to me.
--
nosy: +seanfelipewolfe
___
Python tracker
<http://bugs.python.org/issue17
Sean Carolan added the comment:
Ok, thanks for clearing that up. Maybe the documentation could be updated to
explicitly state this to avoid confusion, eg:
"NOTE: You cannot use setup.py to build a Python RPM. It is only for building
Python mo
Sean Carolan added the comment:
Éric Araujo, if that is the case then why does it build what looks like a
*.spec file for Python itself?
[scarolan@titania:~/Python-2.7.3]$ head -10
./build/bdist.linux-x86_64/rpm/SPECS/Python.spec
%define name Python
%define version 2.7.3
%define
New submission from Sean Carolan:
I'm attempting to build a Python 2.7.3 RPM but the build command from the
documentation fails. My platform is RHEL 5.9, x86_64
http://docs.python.org/2/distutils/builtdist.html#creating-rpm-packages
Steps to reproduce:
1. Download latest Python tarba
Sean Reifschneider added the comment:
Toshio and Matthias: This approach seems sane to me, Nick asked me to review
this ticket. I'm not coming up with any objections. +1 for retiring SO at
some point after 3.2, and EXT_SUFFIX and SHLIB_SUFFIX.
What documentation needs to be changed?
Sean Reifschneider added the comment:
I've tried to test this but v4 doesn't apply cleanly after pure2 is applied,
and v4 doesn't include enough to test it (applying v4 only causes test
failures).
I reviewed v4 and it looks fine in general. I do see that there are changes in
Sean Reifschneider added the comment:
This might be a duplicate of issue17053, but the patch provided there doesn't
resolve the issue, at least as far as I know it. Here is an example, from
David Beazley's talk at PyCon 2013:
from inspect import Parameter, Signature
def make_signa
Sean Reifschneider added the comment:
This may be related to: http://bugs.python.org/issue17424
Perhaps there is a common fix that can address this for both?
--
nosy: +jafo
___
Python tracker
<http://bugs.python.org/issue17
New submission from Sean Reifschneider:
David Beazley in his tutorial pointed out that you could use a metaclass to
create function signatures for the common use case of:
class foo:
def __init__(self, name, value, high, low):
self.name = name
self.value = value
[...]
The
sean added the comment:
SAME AS
#issue13273
http://bugs.python.org/issue13273
--
resolution: -> duplicate
status: open -> closed
___
Python tracker
<http://bugs.python.org/i
New submission from sean:
NOTE: SAME AS Python 3.2.2, Python 3.3 from python.org/download
Python 3.2.2 Stackless 3.1b3 060516 (default, Feb 20 2012, 13:36:12) [MSC
v.1500 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more informatio
Changes by Sean Ochoa :
--
nosy: +Sean.Ochoa
___
Python tracker
<http://bugs.python.org/issue7330>
___
___
Python-bugs-list mailing list
Unsubscribe:
Sean Ochoa added the comment:
* Fixed issue with test name in Lib/test/test_tuple.py
* Fixed issue with test_remove in Lib/test/test_list.py to assertNotIn instead
of assertIn for positive case.
Confirmed with Ezio that issue #7330 will need to be fixed/approved before this
issue can be
Sean Ochoa added the comment:
Update based on Taggnostr's (Ezio on IRC, if I recall correctly) feedback from
11/12/2012 around 11:57 PST.
* Added check for index result in positive tests.
* Added assertIn check for remove result in positive tests.
* Removed extra whitespace.
* Form
Sean Ochoa added the comment:
Lib/test/test_array.py
-- Moved index test (for this issue) to test_index (existing test method).
-- Added remove test (for this issue) to test_remove (existing test method)
Lib/test/test_deque.py
-- Moved remove test (for this issue) to test_index (existing
Sean Ochoa added the comment:
Updates after feedback from Serhiy.
--
Added file: http://bugs.python.org/file27949/issue13349.patch.3
___
Python tracker
<http://bugs.python.org/issue13
Sean Ochoa added the comment:
Updated patch after taking into account Ezio's (aka Taggnostr on #python-dev)
latest feedback.
--
Added file: http://bugs.python.org/file27940/issue13349.patch.2
___
Python tracker
<http://bugs.python.org/is
Sean Ochoa added the comment:
Truncating repr strings to 100chars will require the patch from #7330. After
applying the patch from that issue, my tests work fine.
--
___
Python tracker
<http://bugs.python.org/issue13
Sean Ochoa added the comment:
>From Taggnostr on #python-dev:
1.) Use assertRaises+assertIn instead of assertRaisesRegex
2.) Add or change an existing test that you've already updated to use elements
with a repr longer than 1
Sean Ochoa added the comment:
Tests updated for coverage and to use assertRaisesRegex.
--
Added file: http://bugs.python.org/file27907/issue13349.patch.1
___
Python tracker
<http://bugs.python.org/issue13
Sean Ochoa added the comment:
Ready for review.
--
keywords: +patch
Added file: http://bugs.python.org/file27884/issue-13349.patch
___
Python tracker
<http://bugs.python.org/issue13
Sean Ochoa added the comment:
After discussing with folks on the #python-dev tonight, I learned that I was
testing with a list and I should've been using a set. I'm working on a patch
now, and I'm almost ready to have it reviewed.
--
___
Sean Ochoa added the comment:
It seems that this has been fixed. Using simple tests from msg147215:
~/hg/cpython/working $ env-py3.3/bin/python
Python 3.3.0 (default, Nov 3 2012, 15:28:29)
[GCC 4.7.2] on linux
Type "help", "copyright", "credits" or
Sean Ochoa added the comment:
Working on issue as part of Python Bug Day, Oct 2012.
--
nosy: +Sean.Ochoa
___
Python tracker
<http://bugs.python.org/issue13
New submission from Sean B. Palmer:
create.py:
import multiprocessing
manager = multiprocessing.Manager()
namespace = manager.Namespace()
print("create.py complete")
run.py:
import create
print("run.py complete")
Correct behaviour occurs for create.py:
$ python3 create.p
New submission from Sean Grider :
I have a custom parser that generates html files to describe what python
scripts do depending on their source comments. I use inspect.getsourcelines to
parse out different comments styles (I use #@, #@@ and #$ to signal custom
comments)
I recently found that
1 - 100 of 431 matches
Mail list logo