[issue12094] Cannot Launch IDLE

2011-05-16 Thread Nathan
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

[issue12094] Cannot Launch IDLE

2011-05-17 Thread Nathan
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

[issue12094] Cannot Launch IDLE

2011-05-17 Thread Nathan
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

[issue46070] broken subinterpreters

2021-12-15 Thread Nathan Jensen
Change by Nathan Jensen : -- nosy: +ndjensen ___ Python tracker <https://bugs.python.org/issue46070> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46596] PyLineTable_InitAddressRange isn't exported - causing C Extensions to fail at import

2022-02-01 Thread Nathan Shain
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).

[issue46602] Subtle trouble with heredoc append in configure.

2022-02-01 Thread Nathan Howard
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

[issue46602] Subtle trouble with heredoc append in configure.

2022-02-01 Thread Nathan Howard
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

[issue46602] Subtle trouble with heredoc append in configure.

2022-02-01 Thread Nathan Howard
Change by Nathan Howard : -- components: +Build -Installation versions: -Python 3.10 ___ Python tracker <https://bugs.python.org/issue46602> ___ ___ Python-bug

[issue46602] Subtle trouble with heredoc append in configure.

2022-02-01 Thread Nathan Howard
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

[issue1289] Typo in Context Manager Types

2007-10-17 Thread Nathan Haines
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:

[issue1289] Typo in Context Manager Types

2007-10-17 Thread Nathan Haines
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/

[issue1313] Typo in Python Library Reference documentation: logging module

2007-10-22 Thread Nathan Haines
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

[issue10287] NNTP authentication should check capabilities

2011-11-05 Thread Nathan Clayton
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

[issue10287] NNTP authentication should check capabilities

2011-11-06 Thread 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

[issue9377] socket, PEP 383: Mishandling of non-ASCII bytes in host/domain names

2010-10-13 Thread Nathan Letwory
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

[issue1372770] email.Header should preserve original FWS

2011-01-07 Thread Nathan Herring
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.

[issue1634] with Statement Error generated following Tutorial

2007-12-14 Thread Nathan Turner
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

[issue1634] with Statement SyntaxError generated while following Tutorial

2007-12-14 Thread Nathan Turner
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

[issue1634] with Statement SyntaxError generated while following Tutorial

2007-12-14 Thread Nathan Turner
Changes by Nathan Turner: -- severity: normal -> minor __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1634> __ ___ Python-bugs-list mailing list Uns

[issue2132] Blocking sockets take entirely too long to timeout

2008-02-17 Thread Nathan Duran
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

[issue2238] TypeError instead of SyntaxError for syntactically invalid gen exp

2008-03-04 Thread Nathan Collins
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

[issue38293] Deepcopying property objects results in unexpected TypeError

2019-09-27 Thread Guðni Nathan
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

[issue38293] Deepcopying property objects results in unexpected TypeError

2019-09-27 Thread Guðni Nathan
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

[issue38293] Deepcopying property objects results in unexpected TypeError

2019-09-27 Thread Guðni Nathan
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

[issue38293] Deepcopying property objects results in unexpected TypeError

2019-09-27 Thread Guðni Nathan
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

[issue38293] Deepcopying property objects results in unexpected TypeError

2019-09-27 Thread Guðni Nathan
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

[issue43830] (-1) ** 0.5 returns (6.123233995736766e-17+1j) instead of 1j

2021-04-13 Thread Nathan Fallet
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

[issue43183] Asyncio can't close sockets properly on Linux cause CLOSE_WAIT

2021-08-01 Thread Nathan Collins
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

[issue44805] asyncio.StreamReader.read hangs for reused socket file descriptors when asyncio.StreamWriter.close() is not called

2021-08-02 Thread Nathan Collins
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

[issue44805] asyncio.StreamReader.read hangs for reused socket file descriptors when asyncio.StreamWriter.close() is not called

2021-08-02 Thread Nathan Collins
Change by Nathan Collins : Added file: https://bugs.python.org/file50199/client.py ___ Python tracker <https://bugs.python.org/issue44805> ___ ___ Python-bugs-list mailin

[issue43183] Asyncio can't close sockets properly on Linux cause CLOSE_WAIT

2021-08-02 Thread Nathan Collins
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

[issue44805] asyncio.StreamReader.read hangs for reused socket file descriptors when asyncio.StreamWriter.close() is not called

2021-08-02 Thread Nathan Collins
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

[issue44805] asyncio.StreamReader.read hangs for reused socket file descriptors when asyncio.StreamWriter.close() is not called

2021-10-24 Thread Nathan Collins
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

[issue45594] Feature Request: add EHOSTUNREACH subclass to ConnectionError

2021-10-24 Thread Nathan Collins
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

[issue45594] Feature Request: add EHOSTUNREACH subclass to ConnectionError

2021-10-24 Thread Nathan Collins
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

[issue46006] [subinterpreter] _PyUnicode_EqualToASCIIId() issue with subinterpreters

2021-12-08 Thread Nathan Jensen
Change by Nathan Jensen : -- nosy: +ndjensen ___ Python tracker <https://bugs.python.org/issue46006> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22213] Make pyvenv style virtual environments easier to configure when embedding Python

2021-12-08 Thread Nathan Jensen
Change by Nathan Jensen : -- nosy: +ndjensen ___ Python tracker <https://bugs.python.org/issue22213> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40512] [subinterpreters] Meta issue: per-interpreter GIL

2021-12-08 Thread Nathan Jensen
Change by Nathan Jensen : -- nosy: +ndjensen ___ Python tracker <https://bugs.python.org/issue40512> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39681] pickle.load expects an object that implements readinto

2020-02-18 Thread Nathan Goldbaum
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

[issue39681] pickle.load expects an object that implements readinto

2020-02-19 Thread Nathan Goldbaum
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

[issue39681] pickle.load expects an object that implements readinto

2020-02-19 Thread Nathan Goldbaum
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

[issue39681] pickle.load expects an object that implements readinto

2020-02-24 Thread Nathan Goldbaum
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

[issue39850] multiprocessing.connection.Listener fails to close with null byte in AF_UNIX socket name.

2020-03-04 Thread Nathan Michaels
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

[issue39850] multiprocessing.connection.Listener fails to close with null byte in AF_UNIX socket name.

2020-03-04 Thread Nathan Michaels
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 "

[issue40103] ZipFile.extractall is not multiprocess safe with regard to directory creation.

2020-03-29 Thread Nathan Silberman
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

[issue40109] List index doesn't work with multiple assignment

2020-03-29 Thread Nathan Brooks
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

[issue40103] ZipFile.extractall is not multiprocess safe with regard to directory creation.

2020-03-30 Thread Nathan Silberman
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

[issue42994] Missing MIME types for opus, AAC and 3gpp(2)

2021-01-21 Thread Nathan Beals
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

[issue42994] Missing MIME types for opus, AAC, 3gpp and 3gpp2

2021-01-21 Thread Nathan Beals
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

[issue42994] Missing MIME types for opus, AAC, 3gpp and 3gpp2

2021-01-21 Thread Nathan Beals
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

[issue42994] Missing MIME types for opus, AAC, 3gpp and 3gpp2

2021-02-23 Thread Nathan Beals
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

[issue41424] [tkinter] Grammatical error in "Packer" docs

2020-08-02 Thread Nathan Maynes
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

[issue41424] [tkinter] Grammatical error in "Packer" docs

2020-08-02 Thread Nathan Maynes
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

[issue41371] test_zoneinfo fails when lzma module is unavailable

2020-08-04 Thread Nathan Maynes
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

[issue41371] test_zoneinfo fails when lzma module is unavailable

2020-08-04 Thread Nathan Maynes
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

[issue41371] test_zoneinfo fails when lzma module is unavailable

2020-08-04 Thread Nathan Maynes
Change by Nathan Maynes : -- pull_requests: +20879 pull_request: https://github.com/python/cpython/pull/21734 ___ Python tracker <https://bugs.python.org/issue41

[issue41371] test_zoneinfo fails when lzma module is unavailable

2020-08-04 Thread Nathan Maynes
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

[issue37545] Argparse Tutorial - unreasonable operators

2019-07-10 Thread Nathan Oyama
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

[issue31273] Unicode support in TestCase.skip

2017-08-24 Thread Nathan Buckner
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

[issue31395] Docs Downloads are 404s

2017-09-08 Thread Nathan Henrie
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

[issue31472] "Emulating callable objects" documentation misleading

2017-09-14 Thread Nathan Marrow
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

[issue36070] Enclosing scope not visible from within list comprehension

2019-02-21 Thread Nathan Woods
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

[issue27400] Datetime NoneType after calling Py_Finalize and Py_Initialize

2017-03-15 Thread Nathan Jensen
Changes by Nathan Jensen : -- nosy: +Nathan Jensen ___ Python tracker <http://bugs.python.org/issue27400> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32543] odd floor division behavior

2018-01-12 Thread Nathan Goldbaum
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

[issue32578] x86-64 Sierra 3.6: test_asyncio fails with timeout after 15 minutes

2018-01-18 Thread Nathan Henrie
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

[issue32517] test_read_pty_output() of test_asyncio hangs on macOS 10.13.2 (darwin 17.3.0)

2018-01-19 Thread Nathan Henrie
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

[issue32720] Format mini-language integer definition is incorrect

2018-02-01 Thread Nathan Kerr
Change by Nathan Kerr : -- keywords: +patch pull_requests: +5313 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue32720] Format mini-language integer definition is incorrect

2018-02-01 Thread Nathan Kerr
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: +

[issue32517] test_read_pty_output() of test_asyncio hangs on macOS 10.13.2 (darwin 17.3.0)

2018-03-08 Thread Nathan Henrie
Change by Nathan Henrie : -- keywords: +patch pull_requests: +5799 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue32517] test_read_pty_output() of test_asyncio hangs on macOS 10.13.2 (darwin 17.3.0)

2018-03-08 Thread Nathan Henrie
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

[issue33036] test_selectors.PollSelectorTestCase failing on macOS 10.13.3

2018-03-09 Thread Nathan Henrie
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

[issue33036] test_selectors.PollSelectorTestCase failing on macOS 10.13.3

2018-03-09 Thread Nathan Henrie
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

[issue32517] test_read_pty_output() of test_asyncio hangs on macOS 10.13.2 (darwin 17.3.0)

2018-03-14 Thread Nathan Henrie
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

[issue33036] test_selectors.PollSelectorTestCase failing on macOS 10.13.3

2018-03-14 Thread Nathan Henrie
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

[issue33036] test_selectors.PollSelectorTestCase failing on macOS 10.13.3

2018-03-15 Thread Nathan Henrie
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))&

[issue33036] test_selectors.PollSelectorTestCase failing on macOS 10.13.3

2018-03-16 Thread Nathan Henrie
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

[issue33036] test_selectors.PollSelectorTestCase failing on macOS 10.13.3

2018-03-20 Thread Nathan Henrie
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

[issue31846] Error in 3.6.3 epub docs

2017-10-23 Thread Nathan Henrie
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

[issue33636] Unexpected behavior with * and arrays

2018-05-24 Thread nathan rogers
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

[issue33636] Unexpected behavior with * and arrays

2018-05-24 Thread nathan rogers
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

[issue33636] Unexpected behavior with * and arrays

2018-05-24 Thread nathan rogers
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

[issue34437] print statement using \x results in improper and extra bytes

2018-08-19 Thread Nathan Benson
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

[issue15803] Incorrect docstring on ConfigParser.items()

2012-08-28 Thread Nathan Trapuzzano
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

[issue15803] Incorrect docstring on ConfigParser.items()

2012-08-29 Thread Nathan Trapuzzano
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

[issue15631] Python 3.3 beta 1 installation issue lib/lib64 folders

2012-10-01 Thread Nathan Robertson
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

[issue20998] fullmatch isn't matching correctly under re.IGNORECASE

2014-03-20 Thread Nathan West
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[

[issue20998] fullmatch isn't matching correctly under re.IGNORECASE

2014-03-20 Thread Nathan West
Changes by Nathan West : -- type: -> behavior ___ Python tracker <http://bugs.python.org/issue20998> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue21351] refcounts not respected at process exit

2014-04-25 Thread Nathan Stocks
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

[issue21888] plistlib.FMT_BINARY behavior doesn't send required dict parameter

2014-06-30 Thread Nathan Henrie
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

[issue21614] Case sensitivity problem in multiprocessing.

2014-10-01 Thread Nathan McCorkle
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)

[issue7034] While Loop Bug on a game of 21, help!

2009-10-02 Thread Nathan Ball
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

[issue6398] README typo

2009-07-01 Thread Nathan Michaels
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

[issue27043] Describe what ‘inspect.cleandoc’ does to synopsis line.

2016-05-27 Thread Nathan Harold
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

[issue26176] EmailMessage example doesn't work

2016-05-31 Thread Nathan Harold
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

[issue26589] Add HTTP Response code 451

2016-06-01 Thread Nathan Harold
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

[issue27178] Unconverted RST marking in interpreter tutorial

2016-06-01 Thread Nathan Harold
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

[issue22558] Missing doc links to source code for Python-coded modules.

2016-06-02 Thread Nathan Harold
Changes by Nathan Harold : -- nosy: +nharold ___ Python tracker <http://bugs.python.org/issue22558> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22558] Missing doc links to source code for Python-coded modules.

2016-06-03 Thread Nathan Harold
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

[issue22558] Missing doc links to source code for Python-coded modules.

2016-06-03 Thread Nathan Harold
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

[issue22558] Missing doc links to source code for Python-coded modules.

2016-06-06 Thread Nathan Harold
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   2   >