Change by John :
Removed file: https://bugs.python.org/file47373/Python 3.6.4
(32-bit)_20180107153053_000_core_JustForMe[3206].log
___
Python tracker
<https://bugs.python.org/issue32
Change by John :
Removed file: https://bugs.python.org/file47370/Python 3.6.4
(32-bit)_20180107153053[3191].log
___
Python tracker
<https://bugs.python.org/issue32
John added the comment:
Sorry for the long delay.
haypo wrote:
Can you propose a sentence which is more clear about bytes/Unicode?
On this page:
http://www.python.org/download/releases/3.2/
is this line:
"- countless fixes regarding bytes/string issues; among them full support for a
New submission from John :
windows vista
Python 3.2 rc2
situation:
connected to gmail with IMAP4_SSL, did stuff, and finally IMAP4_SSL.close()
IMAP4_SSL.logout()
IMAP4_SSL.shutdown()
shutdown() gets this error:
socket.error: [Errno 10038] An operation was attempted on something that is not
New submission from John :
Attempting IMAP4_SSL.shutdown() after IMAP4_SSL.logout() throws an error
because the socket is already closed. (I cannot test with plain IMAP4.)
Please add appropriate notice, perhaps under IMAP4.shutdown().
Perhaps something like "If you do not use open(), a
New submission from John :
A few months ago I read that in 3.2 it will be possible to import modules that
are located on paths containing any unicode character. (more precisely, with
chars not in the local code page)
After an hour or two trying to get this to work in 3.2rc3, I went looking
John added the comment:
Victor asked "Which web page should updated/fixed?"
Answer: The Python 3.2 download page.
But what should it say?
The main point is that people like me, who remember seeing a statement about
this a few months ago, may expect unicode to work in every c
New submission from John <[EMAIL PROTECTED]>:
Hello,
I've found a little bug in the documentation again and I wanna report
it. Please navigate to where the built-in property() function is
documented and look at the beginning of the 3rd code snippet:
class C(object):
def __
New submission from John <[EMAIL PROTECTED]>:
Hello,
I don't know why my previous bug report was ignored, but I must report
this. Since this is a minor glitch, I hope it will be fixed. Please be
so kind and fix this.
Please go here and see the 3rd code example:
http://docs.python.
New submission from John <[EMAIL PROTECTED]>:
Hello,
please let me focus your attention to a little slip that was made while
typing a code example in the Python 3.0 documentation. Please visit the
link
http://docs.python.org/dev/3.0/library/functions.html?highlight=property#property
New submission from John :
I believe the parenthesis in
calendar.firstweekday()
should be removed. As it is, it produces 'int' cannot be called.
--
assignee: docs@python
components: Documentation
messages: 391098
nosy: JohnCC330, docs@python
priority: normal
severity: nor
John added the comment:
Sorry for the noise. My confusion.
--
resolution: -> not a bug
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
New submission from john :
For some reason, whenever I make a change to my code in Python, I have to
restart Python for the change to take effect.
Otherwise Python just runs whatever the code was when I opened the .py file.
Worth noting is that this has not always been true, and is not always
john added the comment:
I apologize, I'm very new to coding so I'm not very familiar with all the
terminologies.
I'm user Spyder (Python 3.6) on Windows 10. I run my code in Console via
highlighting and Shift + Enter.
The steps resulting in the error are very straightforwa
John added the comment:
error message should contain more details about what went wrong and why
--
nosy: +lambda
___
Python tracker
<http://bugs.python.org/issue2
John added the comment:
Consider the following generator function similar to the one that started this
issue:
from __future__ import generator_stop
def myzip(*seqs):
its = (iter(seq) for seq in seqs)
while True:
try:
yield tuple(next
John added the comment:
Please ignore my previous comment - now I understood what is going on. The
`its` generator is a one-shot iterator so is exhausted the first time the while
loop is run. Therefore, on subsequent loops, only empty tuples are yielded.
Still learning about generators
New submission from John-John Tedro:
In 3.2.2 and 3.2.3 on linux64, when running the following code.
try:
print("Writing to /dev/full")
with open("/dev/full", "w") as f:
f.write("Write to full device")
except:
Changes by John-John Tedro :
--
title: close not being called with context manager on IOError when device is
full. -> file descriptor not being closed with context manager on IOError when
device is full
___
Python tracker
<http://bugs.pyth
John-John Tedro added the comment:
Originally discovered on
http://stackoverflow.com/questions/13649330/what-happens-to-file-descriptors-in-python-3-when-close-fails
--
___
Python tracker
<http://bugs.python.org/issue16
Change by John Belmonte :
--
keywords: +patch
nosy: +jbelmonte
nosy_count: 5.0 -> 6.0
pull_requests: +28274
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/30049
___
Python tracker
<https://bugs.python.org/i
John Belmonte added the comment:
> For Decimal, we'd need to "own" the string formatting, taking that
> responsibility away from mpdecimal, but there are already other reasons to do
> that.
After some digging, I believe this is the background on forking pieces of
John Belmonte added the comment:
potential short-term solution for Decimal:
if negative zero option is set and sign is negative:
pre-round into a temp using mpd_qrescale()
if mpd_iszero(temp):
change sign to positive
John Belmonte added the comment:
implemented float and Decimal-- PR is ready for review
--
___
Python tracker
<https://bugs.python.org/issue45995>
___
___
Pytho
Change by John Marshall :
--
keywords: +patch
pull_requests: +28360
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/30142
___
Python tracker
<https://bugs.python.org/issu
New submission from John Holman :
Example:
str(1.12345678901234)
Out[24]: '1.123456789011'
shouldn't the last digit should be 2?
--
messages: 409696
nosy: johngholman
priority: normal
severity: normal
status: open
title: float formatting error?
type: behavior
v
John Holman added the comment:
Thanks - sorry to waste your time.
On Tue, 4 Jan 2022 at 18:17, Raymond Hettinger
wrote:
>
> Raymond Hettinger added the comment:
>
> The two numbers you gave become the same when rounded to the limited
> internal precision
Change by John Millikin :
--
nosy: -jmillikin
___
Python tracker
<https://bugs.python.org/issue46376>
___
___
Python-bugs-list mailing list
Unsubscribe:
John Belmonte added the comment:
Mark, would you give it a review this month? (PR has been marked stale.)
--
___
Python tracker
<https://bugs.python.org/issue45
John Marshall added the comment:
Ping -- This issue has an associated PR that expands the
multiprocessing.Process.exitcode documentation to cover normal, sys.exit(), and
exception-raised termination of the child process.
https://github.com/python/cpython/pull/30142
The PR has been
John L added the comment:
It causes an exception and traceback, don't remember which exception six months
later. I'll see if I can add a suitable test case to the unit test.
--
___
Python tracker
<https://bugs.python.o
John Belmonte added the comment:
Thank you Mark and Eric.
> I'll note that the paper is proposing a 'z' modifier to the sign, so I guess
> for us that would translate to: [sign[optional-z]] instead of just sign. I'd
> have to noodle through the differences be
John Belmonte added the comment:
PEP at https://github.com/python/peps/pull/2295
--
___
Python tracker
<https://bugs.python.org/issue45995>
___
___
Python-bug
New submission from John Snow :
Hi, asyncio.create_unix_server appears to treat the "backlog" parameter as
where 0 means that *no connection will ever possibly be pending*, which (at the
very least for UNIX sockets on my machine) is untrue.
Consider a (non-asyncio) server:
```pyt
Change by John Mellor :
--
nosy: +johnmellor
___
Python tracker
<https://bugs.python.org/issue39529>
___
___
Python-bugs-list mailing list
Unsubscribe:
t;
Helup! Many thanks, John.
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
one please help? Perhaps, Martin v. Löwis?
Thank you all&
Best Regards,
John Collins.
[1] -Copy of Previous Q&A on this problem-
Category: None
Group: None
>Status: Open
Resolution: Fixed
Priority: 7
Submitted By: giomach (giomach)
Assigned to: Martin v. L
John Chandler added the comment:
Just to let you know I haven't forgotten this! I've been pretty busy recently
so might be a while before I implement the changes to the patch suggested in
the code review.
John
--
___
Python trac
Changes by John Reese :
--
nosy: -jreese
___
Python tracker
<http://bugs.python.org/issue6715>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by John O'Connor :
--
nosy: +jcon
___
Python tracker
<http://bugs.python.org/issue12911>
___
___
Python-bugs-list mailing list
Unsubsc
New submission from John O'Connor :
The C implementation of BufferedReader.seek() does not throw an
UnsupportedOperation exception when its underlying stream is unseekable IF the
current buffer can accommodate the seek in memory. It probably saves a few
cycles for the seekable streams b
John O'Connor added the comment:
The patch no longer applies cleanly. Is there enough interest in this to
justify rebasing?
--
title: Optimizations for {bytearray,bytes,unicode}.strip() ->
Optimization/refactoring for {bytearray,bytes,unicod
John O'Connor added the comment:
Here is an update with the C implementation. I think a working prototype will
be helpful before another round on python-dev.
I'm not sure how to handle unseekable, non-blocking streams where the read
returns before `skip` bytes are exhausted. I
New submission from John Feuerstein :
The textwrap module calls .expandtabs() to expand tabs to spaces.
This patch adds support for a custom tabsize, so that .expandtabs(tabsize) is
called instead.
Includes test case.
--
components: Library (Lib)
files: textwrap_tabsize.diff
keywords
John O'Connor added the comment:
New patch.
Please double check the removal of _PyUnicode_XStrip.
--
Added file: http://bugs.python.org/file23383/stringlib_strip2.patch
___
Python tracker
<http://bugs.python.org/is
Changes by John O'Connor :
--
title: Optimization/refactoring for {bytearray, bytes, unicode}.strip() -> Move
strip() to stringlib
___
Python tracker
<http://bugs.python.org
Changes by John O'Connor :
--
nosy: +jcon
___
Python tracker
<http://bugs.python.org/issue13150>
___
___
Python-bugs-list mailing list
Unsubsc
New submission from John O'Connor :
I think ucs{1,2,4}lib.h, asciilib.h and a few other files should be in the
Makefile deps list for unicodeobject.c.
Patch included.
--
components: Build
files: makefile.patch
keywords: patch
messages: 145881
nosy: haypo, jcon, pitrou
pri
New submission from John Nagle :
The SSL module still doesn't return much information from the
certificate. SSLSocket.getpeercert only returns a few basic items
about the certificate subject. You can't retrieve issuer information,
and you can't get the extensions needed to che
john doe added the comment:
The following piece of code does not seem to be thread-safe:
gc.disable()
try:
os.fork()
except:
...
If calling subprocess.Popen() is supposed to work from threads without any
particular protection, then a lock is needed in subprocess.py:
try
Changes by John Feuerstein :
--
nosy: +john.feuerstein
___
Python tracker
<http://bugs.python.org/issue12567>
___
___
Python-bugs-list mailing list
Unsubscribe:
John Feuerstein added the comment:
textwrap_tabsize_v2.diff:
* Moved the tabsize parameter to the end of the parameter list
* Added documentation update
* Made the test case more obvious
--
Added file: http://bugs.python.org/file23624/textwrap_tabsize_v2.diff
New submission from John Feuerstein :
The documentation for str.expandtabs([tabsize]) is wrong:
"Return a copy of the string where all tab characters are replaced by one or
more spaces, depending on the current column and the given tab size. [...]"
This should read "zero
John Regehr added the comment:
This is great. I'd be happy to re-run the tests sometime, and also we're
talking with the LLVM folks about getting our patches into the main LLMM tree.
Basically it'll act as a more powerful -ftrapv, and the error message will be
much bette
John Regehr added the comment:
Hi Mark, yes you can run the overflow checker but "easy instructions" depends
on whether you feel like building your own LLVM. It is not at all difficult,
but it's certainly not as easy as "apt-get install ...".
Patch and instr
Changes by John O'Connor :
--
nosy: +jcon
___
Python tracker
<http://bugs.python.org/issue13521>
___
___
Python-bugs-list mailing list
Unsubsc
John Nagle added the comment:
This has nothing to do with Python 3. There's a difference in __str__ handling
between Python 2.6 and Python 2.7.2. It's enough to crash BeautifulSoup:
[Thread-8] Unexpected EXCEPTION while processing page
"http://www.verisign.com": glob
John O'Connor added the comment:
I started a draft in python. I am attaching the _pyio version along with tests.
I will continue work on the C implementation and eventually documentation if
this is well received. It seems straightforward, I am interested to see what
you guys think.
Changes by John O'Connor :
Added file: http://bugs.python.org/file22169/issue12053-tests.patch
___
Python tracker
<http://bugs.python.org/issue12053>
___
___
Pytho
New submission from John O'Connor :
Remove second (unused) argument to _bufferedreader_peek_unlocked()
--
components: IO
files: bufferedreader_peek.patch
keywords: patch
messages: 137391
nosy: haypo, jcon, pitrou
priority: normal
severity: normal
status: open
title: Remove u
John O'Connor added the comment:
It seems to me that adding the proper check is a good idea. It also may not be
obvious to some that 'U' is now more or less an alias for 'r'. I have updated
the patch so that it at least applies.
I also removed a redundant `read
Changes by John O'Connor :
--
nosy: +jcon
___
Python tracker
<http://bugs.python.org/issue1152248>
___
___
Python-bugs-list mailing list
Unsubsc
Changes by John O'Connor :
--
nosy: +jcon
___
Python tracker
<http://bugs.python.org/issue11197>
___
___
Python-bugs-list mailing list
Unsubsc
Changes by John O'Connor :
--
nosy: +jcon
___
Python tracker
<http://bugs.python.org/issue8578>
___
___
Python-bugs-list mailing list
Unsubsc
Changes by John O'Connor :
--
nosy: +jcon
___
Python tracker
<http://bugs.python.org/issue10399>
___
___
Python-bugs-list mailing list
Unsubsc
Changes by John O'Connor :
--
nosy: +jcon
___
Python tracker
<http://bugs.python.org/issue9858>
___
___
Python-bugs-list mailing list
Unsubsc
Changes by John O'Connor :
--
nosy: +jcon
___
Python tracker
<http://bugs.python.org/issue12268>
___
___
Python-bugs-list mailing list
Unsubsc
John Edmonds added the comment:
I'd like to try tackling this issue. I've made a patch that moves
encode_multipart from upload_docs to the distutils2.command module and changed
the register and upload commands to use this function.
--
keywords: +patch
nosy: +John.Edmonds
John Edmonds added the comment:
Here is the patch, re-written for the packaging module.
--
Added file: http://bugs.python.org/file22330/patch.diff
___
Python tracker
<http://bugs.python.org/issue12
John Whitney added the comment:
I have also been experiencing this problem with _environ (using the latest
Python - 2.7.2), and this patch works great. I'd love to see it committed so
that I don't have to patch Python.
--
nosy: +jjw
Changes by John O'Connor :
--
nosy: +jcon
___
Python tracker
<http://bugs.python.org/issue5231>
___
___
Python-bugs-list mailing list
Unsubsc
Changes by John O'Connor :
--
nosy: +jcon
___
Python tracker
<http://bugs.python.org/issue10181>
___
___
Python-bugs-list mailing list
Unsubsc
John Edmonds added the comment:
Thanks for reviewing the patch. I don't believe I received an email for the
review. I think I have addressed your comment about the usage of str(body) by
removing the call to str() and changing the tests to use byte literals.
As for the content-l
Changes by John O'Connor :
--
nosy: +jcon
___
Python tracker
<http://bugs.python.org/issue11549>
___
___
Python-bugs-list mailing list
Unsubsc
Changes by John Doe :
--
nosy: +John.Doe
___
Python tracker
<http://bugs.python.org/issue8728>
___
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.pyth
New submission from John Keeping :
If msilib.Directory.start_component() is called with the keyfile argument not
None then it attempts to call self.cab.gen_id(self.absolute, keyfile) but the
msilib.CAB.gen_id() method takes only two arguments (not three).
--
components: Windows
files
New submission from John Simon :
The ConfigParser docs say that when __init__ is called with interpolation=None,
no interpolation occurs. But when this is done in Python 3.2.1, it actually
results in an AttributeError upon getting or setting a value, due to
self._interpolation being set to
New submission from John O'Connor :
I noticed there are a few more common cases that can be sped up in bytes.join().
When:
- The sequence length and separator length are both 0
- The separator length is 0 or 1
- The separator string contains only 1 distinct byte
These could also be ap
Changes by John O'Connor :
--
title: Optimzations for bytes.join() et. al -> Optimizations for bytes.join()
et. al
___
Python tracker
<http://bugs.python.org
New submission from John O'Connor :
bytearray() is using a less efficient implementation of split() than its
similar friends bytes and unicode.
I added a couple extra checks to return early in {bytes,unicode} split().
- if length is 0
- if left strip removed all bytes
Looking at jus
John Chandler added the comment:
Confirmed about not being an issue in Python 3. Just checked with Python
3.3.0a0 and the example works fine - no exception raised.
--
nosy: +John.Chandler
___
Python tracker
<http://bugs.python.org/issue11
New submission from John Chandler :
The Lib/xml/dom/minicompat.py module doesn't appear to have any test coverage,
probably because it's not the largest or most exciting of modules! :-) I
therefore attach a patch to add test coverage for the EmptyNodeList and
NodeList classes. I can
Changes by John O'Connor :
--
nosy: +jcon
___
Python tracker
<http://bugs.python.org/issue10408>
___
___
Python-bugs-list mailing list
Unsubsc
John O'Connor added the comment:
You are right about those lines in particular; 'dubious' as you say.
Though, the point overall was that the general implementation was noticeably
faster (regardless of those smaller changes).
However, I do think that the single check for len
Changes by John O'Connor :
Removed file: http://bugs.python.org/file23040/unnamed
___
Python tracker
<http://bugs.python.org/issue12807>
___
___
Python-bugs-list m
John O'Connor added the comment:
Antoine Pitrou added the comment:
> This looks like a dubious micro-optimization. If len == 0,
> all loops will exit early anyway (same for similar snippets in bytesobject.c
> and unicodeobject.c).
You are right about those lines in particular
John Chandler added the comment:
Cool, thanks for the feedback! :-)
I'll make the appropriate changes to the tests and add some coverage for
defproperty as soon as I can.
John
--
___
Python tracker
<http://bugs.python.org/is
New submission from John Feuerstein :
This patch against current hg tip (72314:92842e347d98) adds random.pop():
pop(self, seq) method of Random instance
Remove and return a random element from a non-empty sequence.
Includes test case.
--
components: Library (Lib)
files
John Feuerstein added the comment:
> r.pop(random.randrange(0, len(r)))
So seq[random.randrange(0, len(seq))] suddenly makes random.choice(seq)
obsolete? There is no functional reasoning here, it's convenience for a common
operation.
> Not all the sequences have a .pop() metho
John Feuerstein added the comment:
> The test doesn't have to check that seq.pop() is working fine (there are
> other tests for that) but that it's actually called and that it pops the
> right element from the input sequence (and not e.g. from a copy of the
> sequenc
John O'Connor added the comment:
Moved {l,r,}strip to stringlib as well as the bloom filters from unicodeobject.
I think it cleans things up nicely. Now there is one implementation for all 3
types. This patch also improves performance for bytearray and slightly for
bytes. I see no delt
Changes by John O'Connor :
Removed file: http://bugs.python.org/file22982/strip_perf.patch
___
Python tracker
<http://bugs.python.org/issue12807>
___
___
Pytho
John Levon added the comment:
That's a little abrupt. Whilst it would be nice if the compiler had a correct
return value, it occurs with multiple compilers, and I pointed
you to a suitable workaround Python could employ. Even if Studio gets fixed,
there are previous releases out there
John Levon added the comment:
Even worse, a nasty hack was added just for Intel's compiler as seen in
http://bugs.python.org/issue1162001
--
___
Python tracker
<http://bugs.python.org/iss
Changes by John Reese :
--
nosy: +jreese
___
Python tracker
<http://bugs.python.org/issue6715>
___
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.pyth
John Pham added the comment:
last time I use - it is still a problem
--
nosy: +jpham
Added file: http://bugs.python.org/file18611/unnamed
___
Python tracker
<http://bugs.python.org/issue1495
John Ehresman added the comment:
I say close it since it is a change in behavior and shouldn't go in a point
release. I'm happy to see it fixed in 3.1.
--
status: open -> closed
___
Python tracker
<http://bugs.python.
New submission from John Ehresman :
.pdb files are not created because /pdb:None is set as an option on line 415 of
msvc9compiler.py. Removing the /pdb:None works to write the .pdb file and
allow symbols to be loaded in the VS 2008 debugger in the one extension I
tried. Anyone know why
New submission from John Admanski :
When creating a ZipExtFile through ZipFile.open, the if the original ZipFile
object was created with a filename then a new file object will be opened and
given to the ZipExtFile to use for its file operations. There is no explicit
mechanism that will allow
John Admanski added the comment:
I'm not sure that's much of an improvement on the existing behavior, though; as
I mentioned you can already work around it by killing all the references to the
ZipExtFile and the underlying file object will get automatically closed if the
ZipExtF
1 - 100 of 1249 matches
Mail list logo