[issue798876] windows sys.path contains nonexistant directory

2008-01-04 Thread Joseph Armbruster
Joseph Armbruster added the comment: If I look at Lib/plat-win back at rev 16910, winreg.py could be found there. Everything I see in the tree referencing plat-win is documentation, except the PYTONPATH define itself. It looks like Lib/plat-win was removed back in revision 16911 [Aug 20,2000

[issue1442] pythonstartup addition of minor error checking

2008-01-04 Thread Joseph Armbruster
Joseph Armbruster added the comment: Backport to 2.6a0 and tested with: Python 2.6a0 (trunk:59710M, Jan 4 2008, 11:36:45) [MSC v.1500 32 bit (Intel)] on win32 Added file: http://bugs.python.org/file9063/pythonstartup.patch __ Tracker <[EMAIL PROTECTED]>

[issue1472] Small bat files to build docs on Windows

2008-01-04 Thread Joseph Armbruster
Joseph Armbruster added the comment: I tested this out out in the trunk (59706). Placed builddoc.bat in /Doc and ran the following commands: builddoc checkout builddoc html builddoc htmlhelp builddoc web All appeared to work fine on my system. -- nosy: +JosephArmbruster

[issue1472] Small bat files to build docs on Windows

2008-01-11 Thread Joseph Armbruster
Joseph Armbruster added the comment: Ah, good to know :-) __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1472> __ ___ Python-bugs-list mailing list Unsubs

[issue1472] Small bat files to build docs on Windows

2008-01-11 Thread Joseph Armbruster
Joseph Armbruster added the comment: Is referencing the built python binary in the build tree a good idea? Just in case they do not have python installed on the system already? __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/

[issue1472] Small bat files to build docs on Windows

2008-01-11 Thread Joseph Armbruster
Joseph Armbruster added the comment: Which brings up a question. Would all things in the tree ideally work with the version that was built from checkout? Just in case something like this comes up in the future, i'd want to know if it is better to have it configured as this or to auto-magi

[issue2100] unit test UnicodeWarning

2008-02-13 Thread Joseph Armbruster
New submission from Joseph Armbruster: I receive the following warning when running the test_unicode_file unit tests out of the trunk (60758) python -E -tt ../../lib/test/regrtest.py -g "test_unicode_file" test_unicode_file D:\work\pytrunk\lib\test\test_unicode_file.py:103: Unic

[issue2213] build_tkinter.py does not handle paths with spaces

2008-02-29 Thread Joseph Armbruster
New submission from Joseph Armbruster: http://svn.python.org/projects/python/trunk/PCbuild/build_tkinter.py rev 61127 Is it still in python-devs interest to support building the tree in a path that contains spaces? I (pretty much always) do, so if a patch for this is desired, I can put one

[issue1672853] Error reading files larger than 4GB

2008-02-29 Thread Joseph Armbruster
Joseph Armbruster added the comment: Using: http://svn.python.org/projects/python/trunk @ 61127 OS Name:Microsoft Windows XP Professional OS Version: 5.1.2600 Service Pack 2 Build 2600 I would like to report a positive follow-up on this issue. The output I received was as follows

[issue1451466] reading very large files

2008-02-29 Thread Joseph Armbruster
Joseph Armbruster added the comment: I believe this may be related to issue 1672853. http://bugs.python.org/issue1672853 -- nosy: +JosephArmbruster _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/iss

[issue2047] shutil.destinsrc returns wrong result when source path matches beginning of destination path

2008-02-29 Thread Joseph Armbruster
Joseph Armbruster added the comment: Using: http://svn.python.org/projects/python/trunk @ 61127 OS Name:Microsoft Windows XP Professional OS Version: 5.1.2600 Service Pack 2 Build 2600 test_shutil 1 test OK. -- nosy: +JosephArmbruster __ Tracker

[issue2047] shutil.destinsrc returns wrong result when source path matches beginning of destination path

2008-02-29 Thread Joseph Armbruster
Joseph Armbruster added the comment: On another note, I just completed building the docs in windows and shutil.destinsrc does not appear to be documented. I did notice this description for shutil: "The shutil module offers a number of high-level operations on files and collections of file

[issue1672853] Error reading files larger than 4GB

2008-03-02 Thread Joseph Armbruster
Joseph Armbruster added the comment: Just got in from New Smyrna beach... and the verdict is: URL: http://svn.python.org/projects/python/branches/release25-maint Revision: 61182 python bigfiletest1.py 1 2 3 4 5 6 7 8 9 10 11 12 13 14

[issue2232] Current os.tmpfile() implementation requires admin privs on Vista/2k8.

2008-03-05 Thread Joseph Armbruster
Joseph Armbruster added the comment: Tested patch against: http://svn.python.org/projects/python/trunk @ 61260 OS Name: Microsoft Windows XP Professional OS Version:5.1.2600 Service Pack 2 Build 260 rt test_os Deleting .pyc/.pyo files ... (57, '.pyc de

[issue1475] test_popen fails when the directory contains a space

2008-03-10 Thread Joseph Armbruster
Joseph Armbruster <[EMAIL PROTECTED]> added the comment: Should this issue be linked to 1559298? It appears to be the same issue but was opened up earlier and is referencing a different version. __ Tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue1451466] reading very large files

2008-03-10 Thread Joseph Armbruster
Joseph Armbruster <[EMAIL PROTECTED]> added the comment: Note: If this issue is related to 1672853, I ran through the test code provided in the issue recently and it appeared to pass for both the trunk and 2.5 maint. _ Tracker <[EMAIL PROTECTE

[issue2313] correct longobject.c type cast

2008-03-16 Thread Joseph Armbruster
New submission from Joseph Armbruster <[EMAIL PROTECTED]>: longobject.c has a type cast that should be different to take HAVE_UINTPTR_T into account. ps: noticed this as i'm merging trunk -> PythonCE to get this working on my new cellphone, the Wing! -- components: In

[issue2313] correct int / long object type casts

2008-03-16 Thread Joseph Armbruster
Joseph Armbruster <[EMAIL PROTECTED]> added the comment: it looks like this may also be the case in intobject -- title: correct longobject.c type cast -> correct int / long object type casts Added file: http://bugs.python.org/file9684/intobj

[issue2313] correct int / long object type casts

2008-03-17 Thread Joseph Armbruster
Changes by Joseph Armbruster <[EMAIL PROTECTED]>: -- type: -> compile error __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2313> __ ___ Pyt

[issue2560] removal of stale code from myreadline.c

2008-04-05 Thread Joseph Armbruster
New submission from Joseph Armbruster <[EMAIL PROTECTED]>: This patch removes a stale for loop from myreadline.c: http://svn.python.org/projects/python/trunk @ 62180 -- components: Interpreter Core files: myreadline.patch keywords: patch messages: 65015 nosy: JosephArmbruster se

[issue43818] Email does not apply policy to multipart messages with defects

2021-04-12 Thread Joseph Ishac
New submission from Joseph Ishac : I have noticed an issue (Python 3.8.5) where an email can be read in as bytes, but will not be returned as such with the as_bytes() call if the message is multipart, has a boundary which is not properly quoted, and the message has non-ascii text. It seems

[issue44293] PEP 585 breaks inspect.isclass

2021-06-02 Thread Joseph Perez
New submission from Joseph Perez : PEP 585 has the side-effect of making `list[int]` an instance of `type`. This is not the case for other generic aliases. It also implies that `inspect.isclass(list[int]) is True`, while `list[int]` is not a class; as a proof of this statement `issubclass

[issue44293] PEP 585 breaks inspect.isclass

2021-06-03 Thread Joseph Perez
Joseph Perez added the comment: @Jelle Zijlstra Thank you for the explanation. > The current implementation of GenericAlias has been around for a few releases > by now, though, so that change might break some use cases. I agree that a "fix" could have unexpected side-effect

[issue44353] PEP 604 NewType

2021-06-08 Thread Joseph Perez
New submission from Joseph Perez : `typing.NewType` doesn't support PEP 604. ``` >>> import typing >>> A = typing.NewType("A", int) >>> B = typing.NewType("B", str) >>> A | B Traceback (most recent call last): File "", l

[issue45418] types.UnionType is not subscriptable

2021-10-09 Thread Joseph Perez
New submission from Joseph Perez : `types.UnionType` is not subscriptable, and this is an issue when type manipulations are done. A common maniputation I've to do is to substitute all the `TypeVar` of a potential generic type by their specialization in the given context. For example, gi

[issue45418] types.UnionType is not subscriptable

2021-10-10 Thread Joseph Perez
Joseph Perez added the comment: Indeed, sorry, my example was bad. My library was raising at several place, and I've extrapolated about generic substitution. I've indeed other substitutions (without `TypeVar`), and because they were failing, I've assumed that all of my sub

[issue44174] Unclear meaning of _Private__names in enum docs.

2021-10-20 Thread Joseph Riddle
Joseph Riddle added the comment: _Private__names seems to no longer exist in the Python 3.11 documentation. https://docs.python.org/3.11/library/enum.html#private-names It appears to have been removed in this PR https://github.com/python/cpython/pull/23748/files Should this issue be

[issue38910] AssertionError: ElementTree not initialized, missing root

2019-11-25 Thread Joseph Reagle
New submission from Joseph Reagle : I've attached a simple XHTML file with which the 3.8 interpreter throws an error on the following code, but 3.7 does not. (You'll have to change the path in the code below.) ``` from io import StringIO, BytesIO from lxml import etree import

[issue38910] AssertionError: ElementTree not initialized, missing root

2019-11-25 Thread Joseph Reagle
Joseph Reagle added the comment: Here's the error: ``` Traceback (most recent call last): File "", line 1, in File "src/lxml/etree.pyx", line 2291, in lxml.etree._ElementTree.xpath File "src/lxml/etree.pyx", line 1869, in lxml.etree._Elemen

[issue38910] AssertionError: ElementTree not initialized, missing root

2019-11-26 Thread Joseph Reagle
Joseph Reagle added the comment: On 11/26/19 12:06 AM, Karthikeyan Singaravelan wrote: > Karthikeyan Singaravelan added the comment: > > This seems more like an issue with lxml. I posted a report over there now too: https://bugs.launchpad.net/lxml/+bu

[issue39213] cmd should have a hook in the finally block of cmdloop

2020-01-04 Thread Joseph Sible
New submission from Joseph Sible : Currently, the cmdloop function in cmd has a preloop hook, which runs before the large try block, and a postloop hook, which runs at the end of the body of the large try block. This isn't sufficient for subclasses to safel

[issue14019] Unify tests for str.format and string.Formatter

2020-01-28 Thread Joseph Gordon
Change by Joseph Gordon : -- nosy: -josephgordon ___ Python tracker <https://bugs.python.org/issue14019> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24249] unittest API for detecting test failure in cleanup/teardown

2020-01-28 Thread Joseph Gordon
Change by Joseph Gordon : -- nosy: -josephgordon ___ Python tracker <https://bugs.python.org/issue24249> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25661] tokenize.untokenize does not maintain the order of tabbed indentations and leading spaces

2020-01-28 Thread Joseph Gordon
Change by Joseph Gordon : -- nosy: -josephgordon ___ Python tracker <https://bugs.python.org/issue25661> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25597] unittest.mock does not wrap dunder methods (__getitem__ etc)

2020-01-28 Thread Joseph Gordon
Change by Joseph Gordon : -- nosy: -josephgordon ___ Python tracker <https://bugs.python.org/issue25597> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40425] Refleak in CDataObject

2020-04-28 Thread Joseph Sible
Change by Joseph Sible : -- nosy: +Joseph Sible ___ Python tracker <https://bugs.python.org/issue40425> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42921] Inferred Optional type of wrapper function arguments

2021-01-12 Thread Joseph Perez
New submission from Joseph Perez : `typing.get_type_hints` gives a different result for a wrapper created with `functools.wraps` in case of inferred `Optional` arguments (when the default value of the argument is None) ```python from functools import wraps from typing import get_type_hints

[issue43278] Inconsistent behavior of Py_GetCompiler()

2021-02-20 Thread Joseph Shen
New submission from Joseph Shen : The function Py_GetCompiler() return the version info with a leading '\n' when build with GCC/clang, while without this on other compilers. This inconsistent make the REPL print the 'welcome message' quit different, which I think is not

[issue43278] Inconsistent behavior of Py_GetCompiler()

2021-02-20 Thread Joseph Shen
Change by Joseph Shen : -- keywords: +patch pull_requests: +23384 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24606 ___ Python tracker <https://bugs.python.org/issu

[issue43278] unnecessary leading '\n' from Py_GetCompiler() when build with different complier

2021-02-20 Thread Joseph Shen
Change by Joseph Shen : -- title: Inconsistent behavior of Py_GetCompiler() -> unnecessary leading '\n' from Py_GetCompiler() when build with different complier ___ Python tracker <https://bugs.pytho

[issue43278] unnecessary leading '\n' from Py_GetCompiler() when build with different complier

2021-02-21 Thread Joseph Shen
Joseph Shen added the comment: Right now there is no need to keep this limits, and the __version__ info from GCC is quite simple. Pls the attached snapshot image. Therefor I don't think we should keep a commit from 2000. -- ___ Python tr

[issue43278] unnecessary leading '\n' from Py_GetCompiler() when build with different complier

2021-02-25 Thread Joseph Shen
Change by Joseph Shen : -- nosy: +benjamin.peterson ___ Python tracker <https://bugs.python.org/issue43278> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32958] socket module calls with long host names can fail with idna codec error

2020-07-04 Thread Joseph Hackman
Joseph Hackman added the comment: According to the DNS standard, hostnames with more than 63 characters per label (the sections between .) are not allowed [https://tools.ietf.org/html/rfc1035#section-2.3.1]. That said, enforcing that at the codec level might be the wrong choice. I threw

[issue41341] Recursive evaluation of ForwardRef (and PEP 563)

2020-07-19 Thread Joseph Perez
New submission from Joseph Perez : (This issue is already broached in https://bugs.python.org/issue38605, and a in some way in https://bugs.python.org/issue35834, but only as a secondary subject, that's why I've opened a ticket on this particular issue) ForwardRef of ForwardR

[issue41341] Recursive evaluation of ForwardRef (and PEP 563)

2020-07-19 Thread Joseph Perez
Change by Joseph Perez : -- keywords: +patch pull_requests: +20699 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21553 ___ Python tracker <https://bugs.python.org/issu

[issue41341] Recursive evaluation of ForwardRef (and PEP 563)

2020-07-19 Thread Joseph Perez
Joseph Perez added the comment: Ok, I admit that I did not think about recursive type when proposing this "fix". I've tried an implementation that just stop when recursion is encountered in a PR. -- ___ Python tracker <https

[issue41370] PEP 585 and ForwardRef

2020-07-22 Thread Joseph Perez
New submission from Joseph Perez : PEP 585 current implementation (3.10.0a0) differs from current Generic implementation about ForwardRef, as illustrated bellow: ```python from dataclasses import dataclass, field from typing import get_type_hints, List, ForwardRef @dataclass class Node

[issue41370] PEP 585 and ForwardRef

2020-07-22 Thread Joseph Perez
Joseph Perez added the comment: However, PEP 563 will not solve the recursive type alias issue like `A = list["A"]` but this is a minor concern. -- ___ Python tracker <https://bugs.python.o

[issue41644] builtin type kwargs

2020-08-26 Thread Joseph Perez
New submission from Joseph Perez : Class definition can have kwargs which are used by `__init_subclass__` (and `__prepare__`). However, passing these kwargs using `type` builtin function instead of class definition syntax is not documented; kwargs are not mentioned in the function signature

[issue41644] builtin type kwargs

2020-08-26 Thread Joseph Perez
Joseph Perez added the comment: That's why it's not an interpreter issue but a lack in the official documentation where the signature is documented. I quote https://docs.python.org/3/library/functions.html#type: > class type(object) > class type(name, bases, dict) The secon

[issue13744] raw byte strings are described in a confusing way

2012-03-29 Thread Joseph Chadwick
Joseph Chadwick added the comment: The attached replaces the text for the documentation in 2.4.1 between the lexical definitions table and the escape sequence table. The only change is the following addition to the paragraph on string and byte literals prefixed by 'r' or 'R

[issue13744] raw byte strings are described in a confusing way

2012-03-29 Thread Joseph Chadwick
Joseph Chadwick added the comment: I uploaded before making the final save, so the first document is incomplete. (that's embarrassing) -- Added file: http://bugs.python.org/file25065/stringByteLiteralBR.docx ___ Python tracker

[issue30670] pprint for dict in sorted order or insert order?

2017-06-14 Thread Joseph Shen
New submission from Joseph Shen: start from 3.6+, dict keys are ordered heir creation order. the builtin print function works as we expected, but for pprint, the keys is sorted. should we using the sorted version or just obey the creation order as builtin print? -- components: Library

[issue35324] ssl: FileNotFoundError when do handshake

2018-11-26 Thread joseph...@yahoo.com
New submission from joseph...@yahoo.com : After upgrade my python from 3.6 to 3.7, one of my program got following error msgs and I suppose it is related to the 'ssl' module: Traceback (most recent call last): File "M:\SUPPOR~1\ONEDAY~1\ODD2\lib\site-packages\urllib3\co

[issue30670] pprint for dict in sorted order or insert order?

2019-01-30 Thread Joseph Shen
Joseph Shen added the comment: I reopened this issue, and change affected versions to 3.6, 3.7 and 3.8. -- status: closed -> open versions: +Python 3.8 ___ Python tracker <https://bugs.python.org/issu

[issue35922] robotparser crawl_delay and request_rate do not work with no matching entry

2019-02-06 Thread Joseph Myers
New submission from Joseph Myers : RobotFileParser.crawl_delay and RobotFileParser.request_rate raise AttributeError for a robots.txt with no matching entry for the given user-agent, including no default entry, rather than returning None which would be correct according to the documentation

[issue32393] nav menu jitter in old documentation

2017-12-20 Thread Joseph Hendrey
New submission from Joseph Hendrey : The sidebar navigation menu jitters when scrolling on the 2.7 documentation pages (at least in Chrome). A seemingly unrelated issue is that the collapse symbol '<<' is a fixed distance from the top of the page rather than staying in the

[issue29504] blake2: compile error with -march=bdver2

2017-12-25 Thread Joseph Mitzen
Joseph Mitzen added the comment: Is this ever going to get merged? The gentoo bug report link includes a patch that simply removes the nested comments, which is all that is needed to get the code to compile properly on Bulldozer processors. There's no "manual massaging" o

[issue34004] Acquiring locks not interrupted by signals on musl libc

2018-06-29 Thread Joseph Sible
New submission from Joseph Sible : When Python is built on Alpine Linux or in any other configuration that uses musl libc, calls to Lock.acquire() can't be interrupted by signals. This bug is caught by test_lock_acquire_interruption and test_rlock_acquire_interruption in 3.6/Lib

[issue34004] Acquiring locks not interrupted by signals on musl libc

2018-09-12 Thread Joseph Sible
Joseph Sible added the comment: How is this considered "fixed"? Why couldn't this be actually fixed by using eventfd instead of semaphores when they're available, for example? -- ___ Python tracker <https://bug

[issue34004] Acquiring locks not interrupted by signals on musl libc

2018-09-12 Thread Joseph Sible
Joseph Sible added the comment: Re musl changing their behavior, see https://www.openwall.com/lists/musl/2018/09/07/1 and the resulting thread. In addition to the old kernel version issue, two other issues were raised: 1. EINTR makes programming mistakes more likely, as people won't thi

[issue16242] Pickle and __getattr__

2012-10-15 Thread Joseph Fall
New submission from Joseph Fall: This report is to re-raise an old issue from 2009: http://bugs.python.org/issue5370 Although that issue is marked as "fixed", I disagree that it was ever "fixed", and spent an evil day tracking it down. Use Case: - take two 3rd party

[issue21713] a mistype comment in PC/pyconfig.h

2014-06-10 Thread Joseph Shen
New submission from Joseph Shen: in the source file PC/pyconfig.h at line 393 there is a mistype this is the origin file == /* VC 7.1 has them and VC 6.0 does not. VC 6.0 has a version number of 1200. Microsoft eMbedded

[issue6135] subprocess seems to use local encoding and give no choice

2013-01-17 Thread Joseph Perry
Joseph Perry added the comment: I've found a workaround by specifying the enviroment variable: my_env = os.environ my_env['PYTHONIOENCODING'] = 'utf-8' p = subprocess.Popen(shlex.split(command), stdout=subprocess.PIPE, stderr=subprocess.PIPE, stdin=subprocess.PIPE, e

[issue19052] Python's CGIHTTPServer does not handle Expect: 100-continue gracefully which results in some Post requests being handled slowly.

2013-09-19 Thread Joseph Warren
New submission from Joseph Warren: I will add as a disclaimer to this bug report that I am relatively new to both the http spec, and Python programming, so I may have completely misunderstood something. When I make a post request with some data (using libCurl), It sends the headers first

[issue19052] Python's CGIHTTPServer does not handle Expect: 100-continue gracefully which results in some Post requests being handled slowly.

2013-09-19 Thread Joseph Warren
Joseph Warren added the comment: Cheers, would you suggest I submit a patch then? Also what version of python should I do this against? I've been working with 2.7, but the issue still exists in 3.* and I can conveniently work against 3.2.3-7, and less conveniently work against other ver

[issue19052] Python's CGIHTTPServer does not handle Expect: 100-continue gracefully which results in some Post requests being handled slowly.

2013-09-19 Thread Joseph Warren
Joseph Warren added the comment: Issue1346874 seems similar, but is talking about a failure to handle 100 Continue responses sent by a server to the client, this issue is in server code, and is a failure of BaseHttpServer to send 100 Continue responses to a client which expects them. Please

[issue19052] Python's CGIHTTPServer does not handle Expect: 100-continue gracefully which results in some Post requests being handled slowly.

2013-09-19 Thread Joseph Warren
Joseph Warren added the comment: Have downloaded an up to date version of Python to develop with, and found that this issue had been fixed in it. This seems to have been done in changeset: 65028:7add45bcc9c6 changeset: 65028:7add45bcc9c6 user:Senthil Kumaran date:Thu Sep

[issue19052] Python's CGIHTTPServer does not handle Expect: 100-continue gracefully which results in some Post requests being handled slowly.

2013-09-19 Thread Joseph Warren
Joseph Warren added the comment: Sorry, this change does appear in 2.7.* I was looking at the wrong mercurial Tag -- ___ Python tracker <http://bugs.python.org/issue19

[issue19052] Python's CGIHTTPServer does not handle Expect: 100-continue gracefully which results in some Post requests being handled slowly.

2013-09-19 Thread Joseph Warren
Changes by Joseph Warren : -- resolution: -> duplicate status: open -> closed ___ Python tracker <http://bugs.python.org/issue19052> ___ ___ Python-bugs-

[issue21091] EmailMessage.is_attachment should be a method

2014-08-03 Thread Joseph Godbehere
Joseph Godbehere added the comment: Patch to change message.is_attachment from a property to a normal method. I've updated the doc and all calls to is_attachment. -- keywords: +patch nosy: +joegod Added file: http://bugs.python.org/file36243/attach_not_property.

[issue21091] EmailMessage.is_attachment should be a method

2014-08-04 Thread Joseph Godbehere
Joseph Godbehere added the comment: Very good point, Serhiy. Here is an alternative patch, which instead changes Message.is_multipart from a method to a property as per your suggestion. This way incorrect usage should fail noisily. This patch is against the relevant docs, tests, is_multipart

[issue20192] pprint chokes on set containing frozenset

2014-01-08 Thread Joseph Bylund
New submission from Joseph Bylund: Expected: pprint the object Observed: crash with: set([Traceback (most recent call last): File "./test.py", line 7, in pp.pprint(myset) File "/usr/lib/python2.7/pprint.py", line 117, in pprint self._format(object, self._stream,

[issue6606] csv.Sniffer.sniff on data with doublequotes doesn't set up the dialect properly

2009-07-30 Thread Joseph Tate
New submission from Joseph Tate : Given the attached code, the Sniffer.sniff routine does not set the doublequote property. This results in errors during reader operations. If the doublequote property is set in the dialect, the data is read properly. The data was created using oocalc, forcing

[issue6606] csv.Sniffer.sniff on data with doublequotes doesn't set up the dialect properly

2009-07-30 Thread Joseph Tate
Joseph Tate added the comment: Note that no exceptions are raised, the reader just returns improperly parsed records. -- ___ Python tracker <http://bugs.python.org/issue6

[issue4684] sys.exit() exits program when non-daemonic threads are still running

2009-08-26 Thread Joseph Malicki
Joseph Malicki added the comment: It seems like this was introduced by the fix for Issue 1566280. Note that the threading module docs clear state: "A thread can be flagged as a “daemon thread”. The significance of this flag is that the entire Python program exits when only daemon thread

[issue4684] sys.exit() exits program when non-daemonic threads are still running

2009-08-26 Thread Joseph Malicki
Joseph Malicki added the comment: Is it actually just documentation? Before Python 2.5, things worked according to the documentation, and nothing in the revisions that changed the behavior suggested this change in behavior was intentional. Moving the WaitForThreadShutdown() from Modules

[issue6826] Add __contains__ to range type

2009-09-02 Thread Joseph Thomson
New submission from Joseph Thomson : The range type should implement the __contains__ method. Currently an expression like 'x in range(1000)' will iterate through every item in the range (exiting when an item tests true for equality); this is highly unnecessary as the following

[issue1766304] improve xrange.__contains__

2009-09-02 Thread Joseph Thomson
Joseph Thomson added the comment: Seeing as the range type has most likely stabalised by now, I would like to renew this issue. The current behaviour of range/xrange could introduce unforeseen performance issues if users are not aware of its inner workings. Also, as I said in my closed

[issue6606] csv.Sniffer.sniff on data with doublequotes doesn't set up the dialect properly

2009-09-28 Thread Joseph Tate
Joseph Tate added the comment: Thank you, Thomas, for the patch, and Skip, for applying it. -- ___ Python tracker <http://bugs.python.org/issue6606> ___ ___ Pytho

[issue1789] assumption about unsigned long byte size in struct module usage

2010-06-25 Thread Joseph Turian
Joseph Turian added the comment: I just got bit by this bug. This documentation (http://docs.python.org/library/struct.html) claims that an unsigned long is 4 bytes. On my machine, it's 8. -- nosy: +Joseph Turian ___ Python tracker

[issue1789] assumption about unsigned long byte size in struct module usage

2010-06-25 Thread Joseph Turian
Joseph Turian added the comment: That patch gives good clarification. -- ___ Python tracker <http://bugs.python.org/issue1789> ___ ___ Python-bugs-list mailin

[issue29059] Windows: Python not using ANSI compatible console

2016-12-23 Thread Joseph Hackman
New submission from Joseph Hackman: On windows, Python does not request that Windows enable VT100 for console output for Python. That is to say that ANSI codes such as \033[91m will function on Mac and Linux Pythons, but not Windows. As there is no good interface in core Python to the

[issue29059] Windows: Python not using ANSI compatible console

2016-12-24 Thread Joseph Hackman
Joseph Hackman added the comment: The flag is application specific. I.e. a python program that writes to console using ansi codes, when used on windows, will just display the codes. If the Output is redireced to file and then the file is printed to console using a console tool, the colors

[issue29080] unnecessary hg required for build version 3.6 on Windows

2016-12-27 Thread Joseph Shen
New submission from Joseph Shen: the released 3.6.0 PCbuild/build.bat required hg for building. but this requirement is not necessary for build python from source. maybe it will be better for us to remove this requirement as the old versions. -- components: Build messages: 284078 nosy

[issue29059] Windows: Python not using ANSI compatible console

2016-12-27 Thread Joseph Hackman
Joseph Hackman added the comment: Thanks for the tip! If you hadn't said that, I probably would have written it into the init scripts. I'll try to write something for python-ideas / PEP tomorrow, but have attached a quick patch here so I can link to this issue for an example impl

[issue27721] strtobool returns 0 and 1 rather than False and True

2016-08-09 Thread Joseph Bane
New submission from Joseph Bane: The distutils strtobool function returns 0 or 1 rather than the native boolean type True or False values: https://hg.python.org/cpython/file/3.5/Lib/distutils/util.py#l304 Please see the attached patch for updates to this function. I have included updates to

[issue27721] distutils strtobool returns 0 and 1 rather than False and True

2016-08-09 Thread Joseph Bane
Joseph Bane added the comment: Thank you for the feedback. Please find an updated patch attached. -- Added file: http://bugs.python.org/file44061/patch.diff ___ Python tracker <http://bugs.python.org/issue27

[issue27721] distutils strtobool returns 0 and 1 rather than False and True

2016-08-10 Thread Joseph Bane
Joseph Bane added the comment: Thank you for your feedback. I definitely understand your reasoning and commitment to not introducing breaking changes in externally facing codes. I also agree that this does fall slightly more on the side of aesthetic rather than functional changes. However

[issue27874] inconsistent sys.path behavior when using PythonXX.zip

2016-08-27 Thread Joseph Shen
New submission from Joseph Shen: Found a inconsistent sys.path result when python packed with it's library with zip package. A. when NOT use zip package sys.path is base the python.exe's absolute path, result is 1. ABS_PATH\pythonXX.zip 2. ABS_PATH\DLLs 3

[issue27874] inconsistent sys.path behavior when using PythonXX.zip

2016-08-27 Thread Joseph Shen
Joseph Shen added the comment: second snapshot -- Added file: https://bugs.python.org/file44239/2016-08-27_15-09-45.png ___ Python tracker <https://bugs.python.org/issue27

[issue27874] inconsistent sys.path behavior when using PythonXX.zip

2016-08-27 Thread Joseph Shen
Joseph Shen added the comment: Yea, thanks for review, I knew the pyven. But the behavior right now is really what I think unnecessary complicated and confusing. What I think, we all knew the DLLs is used for python keep the *.pyd (actually just dll), so by default, why we want this directory

[issue27874] inconsistent sys.path behavior when using PythonXX.zip

2016-08-27 Thread Joseph Shen
Joseph Shen added the comment: I don't know how to reopen this issue, please make some comments for what I added just now, thanks. -- status: closed -> open ___ Python tracker <https://bugs.python.org

[issue27874] inconsistent sys.path behavior when using PythonXX.zip

2016-08-27 Thread Joseph Shen
Joseph Shen added the comment: thanks for the comment and make python work on Windows better :) I will trace the 3.6 source code. On Sat, Aug 27, 2016 at 8:58 PM Steve Dower wrote: > > Steve Dower added the comment: > > I don't entirely agree with the analysis or suggestio

[issue17618] base85 encoding

2013-04-07 Thread Sijin Joseph
Sijin Joseph added the comment: Is anyone working on this? I'd like to include this in a CPython sprint @MIT on 4/13. -- nosy: +sijinjoseph ___ Python tracker <http://bugs.python.org/is

[issue16812] os.symlink can return wrong FileExistsError/WindowsError information

2013-04-13 Thread Sijin Joseph
Sijin Joseph added the comment: This looks to work correctly in default branch, >>> os.link('non-existent-name', 'new-name') Traceback (most recent call last): File "", line 1, in FileNotFoundError: [WinError 2] The system cannot find the file specified

[issue16812] os.symlink can return wrong FileExistsError/WindowsError information

2013-04-13 Thread Sijin Joseph
Sijin Joseph added the comment: Behavior for symlink is as follows >>> os.symlink('non-existent-name', 'existing-name') Traceback (most recent call last): File "", line 1, in PermissionError: [WinError 5] Access is denied: 'non-existent-name&#

[issue17627] Datetime and time doesn't update timezone in a running Win app

2013-04-13 Thread Sijin Joseph
Sijin Joseph added the comment: This is the same as issue10634 Problem is with the Windows CRT implementation of localtime which does not seem to be using updated timezone information. Can this become an issue with technologies like vMotion which allow Live Migration of virtual servers

[issue17627] Datetime and time doesn't update timezone in a running Win app

2013-04-13 Thread Sijin Joseph
Sijin Joseph added the comment: Some more links discussing similar issues http://www.sourceware.org/bugzilla/show_bug.cgi?id=154 - tzset not called frequently enough by localtime() and friends http://stackoverflow.com/questions/12150651/library-code-for-dynamically-reloading-the-usr-share

[issue16273] f.tell() returning negative number on Windows build

2013-04-13 Thread Sijin Joseph
Sijin Joseph added the comment: Attaching a patch with a doc update to the tutorial, specifying that 1. The return value from f.tell is an opaque number for text files. 2. When seeking using text files the offset value needs to come from f.tell(). http://docs.python.org/3.4/library/io.html

<    1   2   3   >