New submission from Nathan :
To Whom it may concern – I have suddenly lost my ability to launch IDLE. I am
using 2.6 with windows xp. I was using ipython with PyReadline. I have
uninstalled and reinstalled just python 2.6.6 with no luck.
I get the following error:
Thanks in advance
C
Nathan added the comment:
Thanks for the speedy reply I have cut and past the results from the for
following tests
I can't test this on Windows, but you could try the following things:
1) check that 'python.exe -V' returns 2.6.6;
2) try using the IDLE shortcut in the start
Nathan added the comment:
So obviously the abc.py is already a module in the the frame work!
All fixed
Thanks again
--
___
Python tracker
<http://bugs.python.org/issue12
Change by Nathan Jensen :
--
nosy: +ndjensen
___
Python tracker
<https://bugs.python.org/issue46070>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Nathan Shain :
I'm trying to develop C++ Extension that needs to access the new line table. I
have a call to PyLineTable_InitAddressRange in my extension. After compiling,
"_PyLineTable_InitAddressRange" symbol is undefined in the .so (which is ok so
far).
New submission from Nathan Howard :
TODO: (see PR)
--
components: Installation
messages: 412298
nosy: adanhawth
priority: normal
severity: normal
status: open
title: Subtle trouble with heredoc append in configure.
type: compile error
versions: Python 3.10
Change by Nathan Howard :
--
keywords: +patch
pull_requests: +29244
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/31062
___
Python tracker
<https://bugs.python.org/issu
Change by Nathan Howard :
--
components: +Build -Installation
versions: -Python 3.10
___
Python tracker
<https://bugs.python.org/issue46602>
___
___
Python-bug
Nathan Howard added the comment:
Ok. Let me know if something changes to justify the backport churn.
I can regen.
On 2/1/22, Ned Deily wrote:
>
> Ned Deily added the comment:
>
> Merged for release in 3.11.0a5. We *could* backport it to 3.10 and 3.9 but
> that involv
New submission from Nathan Haines:
In the first sentence in the ContextManager.__exit__() section,
"exception" is spelled "expection".
--
components: Documentation
messages: 56510
nosy: nhaines
severity: normal
status: open
title: Typo in Context Manager Types
type:
Nathan Haines added the comment:
This typo is in the Python Library Reference manual, section 3.10, for
versions 2.5, 2.6, and 3.0.
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/
New submission from Nathan Haines:
In the Python Library Reference manual, in section 14.5 (logging), there
is a typo in the debug function example code. In the 2.5 PDF this is on
page 446.
The last line reads:
logging.warning("Protocol problem: %s", "connection reset", e
Nathan Clayton added the comment:
By always sending capabilities at connection, some servers immediately throw an
error. I've modified the class initialization to include an optional parameter
to indicate if this should be disabled.
--
keywords: +patch
nosy: +Nathan.Clayton
Nathan Clayton added the comment:
When using Easynews, it sends a 480 error (e.g. "nntplib.NNTPTemporaryError:
480 You must log in.")
--
___
Python tracker
<http://bugs.python.o
Nathan Letwory added the comment:
platform.system() fails with UnicodeEncodeError on systems that have their
computer name set to a name containing non-ascii characters. The implementation
of platform.system() uses at some point socket.gethostname() ( see
http://www.pasteall.org/16215 for a
Nathan Herring added the comment:
You are certainly correct about (some, perhaps many) e-mail generators using
tabs when folding, which is AFAICT, much more likely an incorrect
implementation of RFC 2822 rather than an intentional transformation of the
user's specified Subject line.
New submission from Nathan Turner:
In Python Tutorial -- Section 8.7 "Predefined Clean-up Action"
When following the "with open..." commands explicitly Python 2.5 will
generate a Syntax Error;
"There's an error in you program: invalid syntax"
It would be ni
Changes by Nathan Turner:
--
title: with Statement Error generated following Tutorial -> with Statement
SyntaxError generated while following Tutorial
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.o
Changes by Nathan Turner:
--
severity: normal -> minor
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1634>
__
___
Python-bugs-list mailing list
Uns
New submission from Nathan Duran:
The following code:
import smtplib
test = smtplib.SMTP('mail.host.com')
will hang the entire script for about ten minutes when run on a machine
which is connected to the internet via an ISP who blocks port 25 (which is
pretty much all of them
New submission from Nathan Collins:
I have a file f1.py
$ cat f1.py
import os
(lambda **x:x)(**dict(y,y for y in ()))
and when I run it
$ python f1.py
Traceback (most recent call last):
File "f1.py", line 1, in
import os
TypeError: 'int' object is not itera
New submission from Guðni Nathan :
Currently, attempting to deepcopy a property object will result in an
unexpected TypeError:
>>> import copy
>>> obj = property()
>>> new_obj = copy.deepcopy(obj)
Traceback (most recent call last):
File "", line 1, in
Guðni Nathan added the comment:
A small change:
The fix should go to Lib/copy.py:198, not line 208.
--
___
Python tracker
<https://bugs.python.org/issue38
Guðni Nathan added the comment:
Function objects are considered "atomic" here and I believe you can also write
to their __doc__ (among other attributes).
--
___
Python tracker
<https://bugs.python.o
Guðni Nathan added the comment:
This bug appears to also affect shallow copies and can be reproduced with the
following code:
>>> import copy
>>> obj = property()
>>> copy.copy(obj)
Traceback (most recent call last):
File "", line 1, in
Change by Guðni Nathan :
--
keywords: +patch
pull_requests: +16016
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/16438
___
Python tracker
<https://bugs.python.org/issu
New submission from Nathan Fallet :
Complex exponentiation doesn't work as expected:
```
>>> (-1) ** 0.5
(6.123233995736766e-17+1j)
```
I think the issue is linked with this part of the code:
https://github.com/python/cpython/blob/32bd68c839adb7b42af12366ab08923031
Nathan Collins added the comment:
What was the resolution for this issue? I'm experiencing
asyncio.StreamReader.readline() hanging forever on a socket in CLOSE_WAIT state.
--
nosy: +NathanCollins
___
Python tracker
<https://bugs.py
New submission from Nathan Collins :
Problem
===
When using asyncio streams via
(r,w) = asyncio.open_connection(sock=socket)
with a already connected socket `socket`, if you call `socket.close()`
but not `w.close()` when you're done, then when the OS later reuses
the file descr
Change by Nathan Collins :
Added file: https://bugs.python.org/file50199/client.py
___
Python tracker
<https://bugs.python.org/issue44805>
___
___
Python-bugs-list mailin
Nathan Collins added the comment:
I created a new issue for my bug here: https://bugs.python.org/issue44805
--
___
Python tracker
<https://bugs.python.org/issue43
Nathan Collins added the comment:
Oh, and I can't count: there are 16 = 4x4 possible combinations of socket
closure modes for the client and server. The one I missed was Client='',
Server=SA, where everything works because the client doesn't reuse file
descriptors and t
Nathan Collins added the comment:
Just wanted to clarify: my previous "where everything works" comment is not
saying this bug doesn't exist, I just mean I missed one case in my analysis of
the bug. The bug is very much there, and easy to reproduce using the example
prog
New submission from Nathan Collins :
WHAT
It would be nice if there was a special-case subclass of the standard library
OSError/ConnectionError class for C EHOSTUNREACH (a.k.a. "no route to host")
errors. Currently there are special-case subclasses of ConnectionError for
several o
Nathan Collins added the comment:
Apparently the existing ConnectionError and its subclasses were added as part
of PEP 3151, tracked here: https://bugs.python.org/issue12555 .
--
___
Python tracker
<https://bugs.python.org/issue45
Change by Nathan Jensen :
--
nosy: +ndjensen
___
Python tracker
<https://bugs.python.org/issue46006>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Nathan Jensen :
--
nosy: +ndjensen
___
Python tracker
<https://bugs.python.org/issue22213>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Nathan Jensen :
--
nosy: +ndjensen
___
Python tracker
<https://bugs.python.org/issue40512>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Nathan Goldbaum :
As of https://github.com/python/cpython/pull/7076, it looks like at least the C
implementation of pickle.load expects the file argument to implement readinto:
https://github.com/python/cpython/blob/ffd9753a944916ced659b2c77aebe66a6c9fbab5/Modules
Nathan Goldbaum added the comment:
In this case the tests are explicitly testing that a file-like object that does
not implement readinto works with torch.load (which is using pickles under the
hood). See
https://github.com/pytorch/pytorch/blob/master/test/test_serialization.py#L416-L429
Nathan Goldbaum added the comment:
So I *think* I've pieced together what caused the user crash that originated in
the flair library. It turns out that pickle.load, via torch.load, is getting
passed an mmap.mmap.
https://github.com/flairNLP/flair
Nathan Goldbaum added the comment:
Thank you for the fix! Yes I'm planning to file an issue with flair about this
and patch this use case in PyTorch itself.
--
___
Python tracker
<https://bugs.python.org/is
Change by Nathan Michaels :
--
components: Library (Lib)
nosy: nmichaels
priority: normal
severity: normal
status: open
title: multiprocessing.connection.Listener fails to close with null byte in
AF_UNIX socket name.
type: crash
versions: Python 3.6
New submission from Nathan Michaels :
>>> from multiprocessing.connection import Listener
>>> listener = Listener('\0conntest', family='AF_UNIX')
>>> listener.close()
Traceback (most recent call last):
File "", line 1, in
File "
New submission from Nathan Silberman :
When extracting multiple zip files, each from a separate process, if the files
being extracted are in nested directories and files across zips contain the
same parent directories, the extraction process fails as one zip attempts to
create a directory
New submission from Nathan Brooks :
Faulty example:
x = [1,2,3,4,5,6,7]
# this should replace items 3 and 6 with each other
x[2], x[x.index(6)] = 6, x[2]
print(x)
[1,2,3,4,5,6,7]
Workaround:
x = [1,2,3,4,5,6,7]
i = x.index(6)
# this replaces items 3 and 6 in the list.
x[2], x[i] = 6, x[2
Change by Nathan Silberman :
--
keywords: +patch
pull_requests: +18597
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/19216
___
Python tracker
<https://bugs.python.org/issu
New submission from Nathan Beals :
These are officially recognized MIME types by IANA:
https://www.iana.org/assignments/media-types/media-types.xhtml#audio
- .opus: audio/opus (https://www.iana.org/assignments/media-types/audio/opus
and https://tools.ietf.org/html/rfc7845 for recommended
Change by Nathan Beals :
--
title: Missing MIME types for opus, AAC and 3gpp(2) -> Missing MIME types for
opus, AAC, 3gpp and 3gpp2
___
Python tracker
<https://bugs.python.org/issu
Change by Nathan Beals :
--
keywords: +patch
pull_requests: +23107
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/24287
___
Python tracker
<https://bugs.python.org/issu
Nathan Beals added the comment:
As per the instructions on the contributing guide, I'm "pinging" this issue
after 30 days.
--
___
Python tracker
<https://bugs.pyt
Nathan Maynes added the comment:
I'd like to create a pull request for this issue. Should be able to complete it
this evening.
--
nosy: +nmaynes
___
Python tracker
<https://bugs.python.org/is
Change by Nathan Maynes :
--
keywords: +patch
pull_requests: +20850
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/21707
___
Python tracker
<https://bugs.python.org/issu
Nathan Maynes added the comment:
I'm creating a pull request that implements the suggestion by xtreak.
--
nosy: +nmaynes
___
Python tracker
<https://bugs.python.org/is
Change by Nathan Maynes :
--
keywords: +patch
pull_requests: +20874
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/21730
___
Python tracker
<https://bugs.python.org/issu
Change by Nathan Maynes :
--
pull_requests: +20879
pull_request: https://github.com/python/cpython/pull/21734
___
Python tracker
<https://bugs.python.org/issue41
Nathan Maynes added the comment:
Im still trying to get the hang of the PR workflow so my apologies in advance.
I closed the first PR by accident. I made the mistake of including a commit for
another issue as well as the commit for this issue. When trying to clean up, I
reverted back too
New submission from Nathan Oyama :
In "Python 3.7 Documentation > Python HOWTOs > Argparse Tutorial"
(https://docs.python.org/3.7/howto/argparse.html), search this page for
elif args.verbosity >= 1:
The operator ">=" should read "==" because args.v
New submission from Nathan Buckner:
Unicode support for TestCase.skip is broken because the caught SkipTest
exception is passed through a str call.
except SkipTest as e:
self._addSkip(result, str(e))
Could be fixed with by changing to unicode(e)
--
components: Tests, Unicode
files
New submission from Nathan Henrie:
Please see my (closed) issue, I was told to resubmit here.
https://github.com/python/pythondotorg/issues/1140
Basically, I usually download a local copy of the epub and HTML docs so I can
reference offline (and faster using the "custom search engine&quo
New submission from Nathan Marrow:
The documentation for emulating callable objects with __call__ seems to imply
only positional arguments are supported. For instance, it says __call__ is
"object.__call__(self[, args…])" and describes:
Called when the instance is “called” as a fu
New submission from Nathan Woods :
The following code works in an interactive shell or in a batch file, but not
when executed as part of a unittest suite or pdb:
from random import random
out = [random() for ind in range(3)]
It can be made to work using pdb interact, but this doesn't
Changes by Nathan Jensen :
--
nosy: +Nathan Jensen
___
Python tracker
<http://bugs.python.org/issue27400>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Nathan Goldbaum :
According to PEP 238:
"floor division will be implemented in all the Python numeric types, and will
have the semantics of:
a // b == floor(a/b)
except that the result type will be the common type into which a and b are
coerced before the oper
Nathan Henrie added the comment:
Think I am also seeing this, MacOS 10.13.2, making 3.6.4 from source
test_asyncio hangs indefinitely.
I killed it after 2 hours this morning, last output was: `running: test_asyncio
(9481 sec)`
--
nosy: +n8henrie
Nathan Henrie added the comment:
I can reproduce on my local machine.
MacOS 10.13.2, trying to build 3.6.4. Waited for up to 6 hours for it to fail
or finish, never does, just hangs at `test_asyncio`.
--
nosy: +n8henrie
___
Python tracker
<ht
Change by Nathan Kerr :
--
keywords: +patch
pull_requests: +5313
stage: needs patch -> patch review
___
Python tracker
<https://bugs.python.org/issu
Nathan Kerr added the comment:
Just submitted a PR for this issue, however I only signed the CLA an hour ago
so it hasn't gone through yet.
This is my first contribution, I followed the guide but please let me know if I
missed anything. Thanks!
--
nosy: +
Change by Nathan Henrie :
--
keywords: +patch
pull_requests: +5799
stage: needs patch -> patch review
___
Python tracker
<https://bugs.python.org/issu
Nathan Henrie added the comment:
It seems to work if you close proto.transport (as is done in
`test_write_pty()`).
--
___
Python tracker
<https://bugs.python.org/issue32
New submission from Nathan Henrie :
Failing for me on latest 3.6, 3.6.1, 3.5.5, may be related to
https://bugs.python.org/issue32517, presumably a change on macOS KQueue stuff.
Can anyone else on macOS 10.13.3 see if they can reproduce?
```
make clean && ./configure --with-pydebug &a
Nathan Henrie added the comment:
Traceback:
```
File "cpython/Lib/test/test_selectors.py", line 453, in test_above_fd_setsize
self.assertEqual(NUM_FDS // 2, len(s.select()))
File "cpython/Lib/selectors.py", line 376, in select
fd_event_list = self._poll.p
Nathan Henrie added the comment:
Awesome, I'm really excited to have contributed something, no matter how small.
--
___
Python tracker
<https://bugs.python.org/is
Nathan Henrie added the comment:
Hmmm, still failing for me. I wonder if it's something specific to my machine.
```
git reset --hard 3.6 && make clean && git pull && ./configure --with-pydebug &&
m
Nathan Henrie added the comment:
Thanks for the response -- I'll keep looking, feel free to close since it's
not being reproduced.
```
$ sysctl kern.maxfilesperproc
kern.maxfilesperproc: 64000
$ ./python.exe -c 'import resource;
print(resource.getrlimit(resource.RLIMIT_NOFILE))&
Nathan Henrie added the comment:
Update -- I found the following plist at
`/Library/LaunchDaemons/limit.maxfiles.plist`:
```xml
http://www.apple.com/DTDs/PropertyList-1.0.dtd";>
Label
limit.maxfiles
ProgramArguments
launchctl
limit
maxfiles
Nathan Henrie added the comment:
I've continued looking into this.
If you have your limits configured higher than default, as I did (and which
seems to be working fine):
```
sudo launchctl limit maxfiles 64000 524288
ulimit -Sn 64000
```
then you'll find that having a soft limit
New submission from Nathan Henrie :
I routinely download the epub version of the docs to my computer and mobile
devices as an offline copy. The 3.6.3 version reports a big error on the first
(and many other pages):
> This page contains the following errors:
error on line 5176 at column
New submission from nathan rogers :
https://repl.it/repls/ColorfulFlusteredPercent
Here you can see the unexpected behavior I was speaking of. This behavior is
NOT useful compared to the expected behavior. If I reference position 0 in the
array, I expect position 0 to be appended. The
nathan rogers added the comment:
Can anyone give me a legitimate answer as to why this would be expected
behavior? When at any point would you ever need that?
If the list is local, you already have the thing. If it isn't local, you can
pass it to a function by reference. So then, why
nathan rogers added the comment:
[[], [], [], [], []]
How is it expected behavior in python, that
when I update position 0,
it decides to update positions 1-infinity as well?
That is nonsense, and there is not a use case for this behavior. If you have
already created the value, you have
New submission from Nathan Benson :
While writing some shellcode I uncovered an unusual bug where Python 3 seems to
print out incorrect (and extra) hex bytes using the print statement with \x.
Needless to say I was pulling my hair out trying to figure out why my shellcode
wasn’t working
New submission from Nathan Trapuzzano:
The docstring on ConfigParser.items() is self-evidently bass ackwards. Fix is
in attached patch.
--
components: Library (Lib)
files: cpython.patch
keywords: patch
messages: 169324
nosy: nbtrap
priority: normal
severity: normal
status: open
title
Nathan Trapuzzano added the comment:
Looks like the file has about an equal number of single- and double-spaces
after periods.
--
___
Python tracker
<http://bugs.python.org/issue15
Nathan Robertson added the comment:
This is also an issue on openSUSE 12.2 with the release version of Python 3.3
when compiling from sources.
OBS (openSUSE Build Service) has RPMs for 3.3rc1. I'm assuming they've got a
patch which fixes this issue, and looking at the spec file (li
New submission from Nathan West:
I have the following regular expression:
In [2]: regex = re.compile("ME IS \w+", re.I)
For some reason, when using `fullmatch`, it doesn't match substrings longer
than 1 for the '\w+':
In [3]: regex.fullmatch("ME IS L")
Out[
Changes by Nathan West :
--
type: -> behavior
___
Python tracker
<http://bugs.python.org/issue20998>
___
___
Python-bugs-list mailing list
Unsubscrib
Nathan Stocks added the comment:
This affects me as well. I have to manually clean up objects in the correct
order in script I am working on under 3.4.0. I have this problem under both OS
X 10.9.2 Mavericks and under CentOS 6.5
--
nosy: +nathan.stocks
New submission from Nathan Henrie:
When using the new plistlib.load and the FMT_BINARY option, line 997:
p = _FORMATS[fmt]['parser'](use_builtin_types=use_builtin_types)
doesn't send the dict_type to _BinaryPlistParser.__init__ (line 601), which has
dict_type as a requ
Nathan McCorkle added the comment:
I've just got done experiencing this bug. It would be much more helpful if the
error message was a bit more helpful (I had no idea where to start looking with
the "ImportError: No module named [moduleStartingMultiprocess]" exception
message)
New submission from Nathan Ball :
I'm learning Python in Computer Class... and I've gone nuts trying to
figure out why my code for a 2-player game of 21 (blackjack without the
gambling connotation, I guess... not to mention my innacuracy of
dealing only one card to start (which I
New submission from Nathan Michaels :
There's a typo in the README in the 2.6 source root. "versio" on line
942 should be "version".
--
assignee: georg.brandl
components: Documentation
files: fix.diff
keywords: patch
messages: 89998
nosy: georg.brandl, nmichael
Nathan Harold added the comment:
Split version (cleandoc2.patch):
Clean up indentation from docstrings that are indented to line up with blocks
of code.
All leading whitespace is removed from the first line. Any leading
whitespace
that can be uniformly removed from the second
Nathan Harold added the comment:
emailexample.patch fixes the specific issue mentioned in #26426: the Address
constructor is now used as documented. It changes the final output of the two
combined examples (as presented in the documentation) accordingly.
In general it seems as though these
Nathan Harold added the comment:
Added it to the table at
https://docs.python.org/3.6/library/http.html#http-status-codes and put a
versionadded notice at the bottom.
--
nosy: +nharold
Added file: http://bugs.python.org/file43086/doctable.diff
New submission from Nathan Harold:
There's a bit of uninterpreted RST markup:
3.6.. _tut-using:
at the top of the second section of the tutorial
(https://docs.python.org/3.6/tutorial/interpreter.html) in the documentation
for 3.6 only. (I can see this in the offline copy I received
Changes by Nathan Harold :
--
nosy: +nharold
___
Python tracker
<http://bugs.python.org/issue22558>
___
___
Python-bugs-list mailing list
Unsubscribe:
Nathan Harold added the comment:
I'll give this a go, per Terry's instructions in msg266846.
I've noticed up front that, due to other changes near the headers of a couple
of files (specifically fcntl.rst and termios.rst), the patch doesn't apply
cleanly anymore. Is it p
Nathan Harold added the comment:
I went through all the diffs in Rietveld, checking it against msg228576 as I
went. There were (naturally) more source links added than there are in that
list from 2014, and there were also many more files with slight header
reorganizations for consistency
Nathan Harold added the comment:
I went over the sections I above called "Other/Smaller details" as addressed in
mywork3.patch. I think they look fine. The patch applies seamlessly to both
3.5 and 3.6.
For reference, since I noted them when I reviewed mywork2.patch last week, her
1 - 100 of 137 matches
Mail list logo