Sean Reifschneider <[EMAIL PROTECTED]> added the comment:
Kei: The documentation does not say that quit() returns a value, so the
current behavior is correct. However, SMTP defines a return value for
QUIT, so there is a case for smtplib.quit() returning that value.
This patch does
Sean Reifschneider <[EMAIL PROTECTED]> added the comment:
Is a straightforward patch, but I'd like NAS to comment on the change in
behavior. Probably would also need a documentation change, are you up
for doing that Lorenz?
--
assignee: -> nascheme
keywords: +ea
Changes by Sean Reifschneider <[EMAIL PROTECTED]>:
--
priority: -> normal
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue>
__
___
Python-b
New submission from Sean Reifschneider <[EMAIL PROTECTED]>:
I'm giving a Python tutorial to a bunch of local people and have decided
to use the Python.org tutorial to go by. One of the things I found I
wanted in the section on the "pass" statement was more information a
Sean Reifschneider <[EMAIL PROTECTED]> added the comment:
I originally had that, but then I realized that if I make it a comment I
can then do something like "dw." on that line when I start filling in
the code to keep the comment around. Because I find that when I fill i
Sean Reifschneider <[EMAIL PROTECTED]> added the comment:
I'm attaching a new version here, which addresses the object call type
comments.
Added file: http://bugs.python.org/file11948/pass-examples-2.patch
___
Python tracker <[EMAIL PRO
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 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
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 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 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 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 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
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'.
-
Sean Reifschneider added the comment:
Working on this.
--
nosy: +jafo
___
Python tracker
<http://bugs.python.org/issue14259>
___
___
Python-bugs-list mailin
Sean Reifschneider added the comment:
Attached is a patch which implements this, including updated tests. I would
appreciate a review of this patch.
--
assignee: -> ezio.melotti
keywords: +needs review, patch
stage: -> patch review
Added file: http://bugs.python.org/fil
Sean Reifschneider added the comment:
Michele: Do you know what needs to be done to determine the resolution to the
_warnings/pgen question? If not, maybe asking the question on python-dev could
get some advice.
--
nosy: +jafo
___
Python tracker
Sean Reifschneider added the comment:
The attached patch does change the semantics somewhat, but I don't fully
understand how much. In particular:
It changes the "get()" call to be turned into "get(timeout=1.0)" if inqueue
doesn't have a _reader attribute.
In
Sean Reifschneider added the comment:
Martin: They are looking for you to review this, in particular see:
http://bugs.python.org/issue7511#msg106420
--
assignee: tarek -> loewis
nosy: +jafo
___
Python tracker
<http://bugs.python.org/iss
Sean Reifschneider added the comment:
Éric: In http://bugs.python.org/issue8954#msg135902 are you saying:
This issue needs to be re-targeted to a newer Python.
Close -- won't fix.
Something else?
This issue seems to be stuck here, any ideas on what needs to be done to move
this fo
New submission from Sean Wang :
ConfigParser failed to parse a utf-8 file with BOM bytes('\xef\xbb\xbf'),
it would raise ConfigParser.MissingSectionHeaderError.
I think that other files with BOM would have the same problem; because the
argument "SECTCRE" does not conside
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
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
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 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
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
Change by Sean Harrington :
--
keywords: +patch
pull_requests: +9025
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue34837>
___
___
Py
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
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
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
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
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
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:
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:
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:
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:
>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:
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:
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:
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:
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:
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:
* 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
Changes by Sean Ochoa :
--
nosy: +Sean.Ochoa
___
Python tracker
<http://bugs.python.org/issue7330>
___
___
Python-bugs-list mailing list
Unsubscribe:
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.
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:
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:
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:
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:
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
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 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 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:
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
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:
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/file34109/DictReader_DictWriter_2.patch
___
Python tracker
<http://bugs.python.org/issue20628>
___
___
Pytho
Changes by Sean Rodman :
Removed file: http://bugs.python.org/file34135/DictReader_python3.patch
___
Python tracker
<http://bugs.python.org/issue20628>
___
___
Python-bug
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/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:
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
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:
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:
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
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:
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
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:
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:
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:
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:
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:
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:
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 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
Changes by Sean Rodman :
Removed file: http://bugs.python.org/file34234/issue16484_python3.2.patch
___
Python tracker
<http://bugs.python.org/issue16484>
___
___
Pytho
Changes by Sean Rodman :
Removed file: http://bugs.python.org/file34233/issue16484.patch
___
Python tracker
<http://bugs.python.org/issue16484>
___
___
Python-bugs-list m
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 :
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 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
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 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 Rodman added the comment:
Thank you for reviewing it.
--
___
Python tracker
<http://bugs.python.org/issue19614>
___
___
Python-bugs-list mailing list
Unsub
New submission from Sean Reifschneider :
As detailed in the python-dev post:
http://mail.python.org/pipermail/python-dev/2009-July/090791.html
I have found a bug in the handling of PyArg_ParseTuple where a NUL in an
argument causes a message like this:
syslog.syslog('hello\0
Sean Reifschneider added the comment:
Fixed in python trunk commit 74277.
Fixed in py3k trunk commit 74278.
--
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/
New submission from Sean Soria :
I seem to have a rather unique setup that causes this crash to be 100%
reproducible. My application embeds python in order to execute user code. It is
constantly loading and unloading the libraries so that they're only in memory
during execution of user
Sean Soria added the comment:
Because Python is not cleaning up after itself. I don't see how a
multi-threaded app could work around this issue. The only solution I can think
of at the app level is to reset those callbacks once python exits, but a
different thread could call an SSL fun
Sean Soria added the comment:
The issue was debugged on AMD64 Linux, but I was seeing similar crashing on OSX
but could not debug because I wasn't getting a proper stack trace (probably
because something else was being loaded into that memory space). I have yet to
test if not setting
Sean Soria added the comment:
You've got init_* that Python calls whenever it loads a library, you could just
as easily have destroy_*. But that would probably be overkill.
How would the application know that Python has created callbacks? This is just
one instance. Who knows where else
Sean Soria added the comment:
Okay, what if I attack this problem from a "it's not thread-safe" point of
view? If the callbacks are already loaded, then who knows what state the locks
are in. If you replace the locking_callback while a thread already has the
lock, and another
Sean Soria added the comment:
Yea, I've given up on getting this fixed based on the crash. Now I'm going for
it not being thread safe.
--
___
Python tracker
<http://bugs.python.
Sean Soria added the comment:
For an app that makes use of SSL itself it better set the callbacks before
spawning threads or it's going to be in trouble anyway. For an app not making
use of SSL my patch doesn't make the situation any worse. That sounds like an
overall
Sean Soria added the comment:
Simply unloading the callbacks wouldn't be wise. Callbacks are necessary for
proper thread safety with libcrypto (man pages says random crashing could occur
without them). So setting them to NULL could cause random crashing which is
even worse than what
Sean Soria added the comment:
You are correct, dlclose is called on libpythonXY.so and all .so modules loaded
by it.
--
___
Python tracker
<http://bugs.python.org/issue7
Sean Reifschneider added the comment:
Committed to release26-maint as 77514.
Committed to trunk as 77515.
Committed to 3k as 77516.
--
resolution: -> accepted
stage: -> committed/rejected
status: open -> closed
___
Python track
Sean Reifschneider added the comment:
In this case, the docs.python.org link you point to seems to be correct, saying
that it returns a timedelta. It is the docstring that says it's minutes east
of UTC.
I've attached a patch which changes this wording to:
timedelta() showing o
Sean Reifschneider added the comment:
Alternately, here is a patch that just takes the docs.python.org description.
--
Added file: http://bugs.python.org/file17496/python-utcoffsetdoc2.patch
___
Python tracker
<http://bugs.python.org/issue8
301 - 400 of 431 matches
Mail list logo