[issue23480] Minor typo

2015-02-18 Thread SilentGhost
SilentGhost added the comment: If you run the command in your interpreter you'll see that the output is correct. -- assignee: -> docs@python components: +Documentation -Demos and Tools nosy: +SilentGhost, docs@python resolution: -> not a bug status: ope

[issue23483] python 2.7 builds using icc

2015-02-19 Thread SilentGhost
SilentGhost added the comment: I suggest you add this information to issue21167 as it's exactly the same behaviour you're seeing. There really is no need to have a separate issue. -- nosy: +SilentGhost status: open -> closed superseder: -> float('nan') retu

[issue23495] The writer.writerows method should be documented as accepting any iterable (not only a list)

2015-02-21 Thread SilentGhost
Changes by SilentGhost : -- nosy: +r.david.murray ___ Python tracker <http://bugs.python.org/issue23495> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25434] Fix typo in whatsnew/3.5

2015-10-18 Thread SilentGhost
SilentGhost added the comment: Shouldn't the line above read "now accepts" rather than "how accepts"? -- nosy: +SilentGhost ___ Python tracker <http:

[issue25435] Wrong function calls and referring to not removed concepts in descriptor HowTo (documentation)

2015-10-18 Thread SilentGhost
Changes by SilentGhost : -- nosy: +rhettinger ___ Python tracker <http://bugs.python.org/issue25435> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25475] use argparse instead of getopt

2015-10-25 Thread SilentGhost
SilentGhost added the comment: This seems like a change for the sake of change. I think any module that requires argparse features can be moved in its own time. -- nosy: +SilentGhost resolution: -> rejected status: open -> closed ___ Python t

[issue25469] multiprocessing .Condition.notify(_all) function has O(N) time complexity where N is the number of wait() calls with a timeout since the last notify(_all) call

2015-10-25 Thread SilentGhost
Changes by SilentGhost : -- nosy: +jnoller, sbt ___ Python tracker <http://bugs.python.org/issue25469> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25469] multiprocessing .Condition.notify(_all) function has O(N) time complexity where N is the number of wait() calls with a timeout since the last notify(_all) call

2015-10-25 Thread SilentGhost
Changes by SilentGhost : -- versions: -Python 2.7, Python 3.2, Python 3.3, Python 3.4, Python 3.5 ___ Python tracker <http://bugs.python.org/issue25469> ___ ___

[issue18973] Use argparse in the calendar module

2015-10-28 Thread SilentGhost
Changes by SilentGhost : -- versions: +Python 3.6 -Python 3.4 ___ Python tracker <http://bugs.python.org/issue18973> ___ ___ Python-bugs-list mailing list Unsub

[issue25485] Add a context manager to telnetlib.Telnet

2015-10-28 Thread SilentGhost
SilentGhost added the comment: This probably needs test -- nosy: +SilentGhost ___ Python tracker <http://bugs.python.org/issue25485> ___ ___ Python-bugs-list m

[issue25485] Add a context manager to telnetlib.Telnet

2015-10-30 Thread SilentGhost
SilentGhost added the comment: That's fine as a code change, but that's not the kind of test I meant. There is a Lib/test/test_ftplib.py and it basically needs test_with_statement added to one or few test cases. Have a look at how the similar functions implemented in

[issue25521] optparse module does not emit DeprecationWarning

2015-11-01 Thread SilentGhost
SilentGhost added the comment: Modules that use optparse: calendar (issue18973 has patch), uu (seems trivial to change), test_decimal (trivial too), profile, cprofile Tools: strginbench, ccbench, iobench Neither of the changes are particularly tricky it seems. -- nosy: +SilentGhost

[issue25550] RecursionError in re with '(' * 500

2015-11-04 Thread SilentGhost
Changes by SilentGhost : -- components: +Regular Expressions nosy: +mrabarnett versions: +Python 3.6 ___ Python tracker <http://bugs.python.org/issue25

[issue25579] def is not a keyword with tokenize.py

2015-11-07 Thread SilentGhost
SilentGhost added the comment: >>> keyword.iskeyword('pass') True There doesn't seem anything particular about def, none of the keywords have "keyword" type, because there doesn't seem to be one: https://docs.python.org/3.6/library/token.html --

[issue25580] async and await missing from token list

2015-11-07 Thread SilentGhost
New submission from SilentGhost: With introduction of async and await tokens in 3.5 the token documentation needs updating. -- assignee: docs@python components: Documentation files: token.diff keywords: patch messages: 254281 nosy: SilentGhost, docs@python priority: normal severity

[issue25579] def is not a keyword with tokenize.py

2015-11-07 Thread SilentGhost
SilentGhost added the comment: Perhaps, my example wasn't as self-explanatory as I hoped. def is not DEF in the token list, because there isn't such a token DEF, as there isn't a token PASS or a token for any other keyword. The fact that there is an ASYNC and AWAIT toke

[issue25581] Python -U raises error during site import

2015-11-07 Thread SilentGhost
Changes by SilentGhost : -- components: +Windows -Interpreter Core, Regular Expressions nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker <http://bugs.python.org/issue25

[issue25581] Python -U raises error during site import

2015-11-07 Thread SilentGhost
Changes by SilentGhost : -- components: +Unicode nosy: +haypo ___ Python tracker <http://bugs.python.org/issue25581> ___ ___ Python-bugs-list mailing list Unsub

[issue25581] Python -U raises error during site import

2015-11-08 Thread SilentGhost
SilentGhost added the comment: > Interesting, I didn't even know (remember?) about the -U flag, and it isn't > documented. https://docs.python.org/2/using/cmdline.html#cmdoption-U It isn't clear when this broken or why, but I think existing documentation could be adju

[issue25585] Bad path leads to: ImportError: DLL load failed: %1 is not a valid Win32 application.

2015-11-08 Thread SilentGhost
Changes by SilentGhost : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker <http://bugs.python.org/issue25

[issue25594] enum docs outdated re attribute access

2015-11-10 Thread SilentGhost
New submission from SilentGhost: In enum docs[0], there is a suggestion that the attribute access on members should raise an AttributeError: >>> Color.red.blue Traceback (most recent call last): ... AttributeError: 'Color' object has no attribute 'blue' which is

[issue25594] enum docs outdated re attribute access

2015-11-10 Thread SilentGhost
SilentGhost added the comment: Here is the test, it seems to have been 2545bfe0d273 that caused it (issue23486): test passes prior to it and fails on it (and I assume uniformly after). -- keywords: +patch Added file: http://bugs.python.org/file41003/test_issue25594.diff

[issue25594] enum instance attribute access possible

2015-11-10 Thread SilentGhost
Changes by SilentGhost : -- components: -Documentation stage: test needed -> needs patch title: enum docs outdated re attribute access -> enum instance attribute access possible ___ Python tracker <http://bugs.python.org/i

[issue25580] async and await missing from token list

2015-11-12 Thread SilentGhost
SilentGhost added the comment: I've added versionchanged, since this is what's done in os, for similar lists. -- ___ Python tracker <http://bugs.python.o

[issue25580] async and await missing from token list

2015-11-12 Thread SilentGhost
SilentGhost added the comment: Hm, not sure why the file didn't get uploaded, I clearly remember attaching it. Yury, what is the implication for this issue? Are you suggesting that the note should state that these two are temporary? Or is this information available somewhere else, in W

[issue25580] async and await missing from token list

2015-11-13 Thread SilentGhost
SilentGhost added the comment: Here is the updated wording. I'm not familiar with other such cases in the stdlib, if any one knows of another similar case, I'd be glad to correct the language to match previous usage. -- Added file: http://bugs.python.org/file41031/issue25

[issue25620] Bytes Issue

2015-11-13 Thread SilentGhost
SilentGhost added the comment: Yes. It follows from definition of bytes in python3 https://docs.python.org/3/library/functions.html#bytes Some useful information is also available in 3.0 release notes: https://docs.python.org/3/whatsnew/3.0.html#text-vs-data-instead-of-unicode-vs-8-bit

[issue25621] ast.literal_eval() fails on docstrings

2015-11-13 Thread SilentGhost
SilentGhost added the comment: It doesn't seem docstring-specific, docstring is a regular Python object and ast.literal_eval would fail if you have more than one literals of any kind. Put two integers in your file and the literal_eval will fail. -- nosy: +Silent

[issue25624] shutil.make_archive makes invalid directory entries

2015-11-14 Thread SilentGhost
SilentGhost added the comment: Can you provide a test? -- nosy: +SilentGhost, serhiy.storchaka, tarek versions: +Python 3.6 ___ Python tracker <http://bugs.python.org/issue25

[issue25625] "chdir" Contex manager for pathlib

2015-11-14 Thread SilentGhost
Changes by SilentGhost : -- nosy: +pitrou versions: +Python 3.6 -Python 3.5 ___ Python tracker <http://bugs.python.org/issue25625> ___ ___ Python-bugs-list mailin

[issue25626] Gzip fails for file over 2**32 bytes

2015-11-14 Thread SilentGhost
Changes by SilentGhost : -- components: +Library (Lib) nosy: +nadeem.vawda, twouters versions: +Python 3.6 ___ Python tracker <http://bugs.python.org/issue25

[issue25627] distutils : file "bdist_rpm.py" allows Shell injection in "name"

2015-11-14 Thread SilentGhost
SilentGhost added the comment: This also seem to affect python 3, there os.popen implemented using subprocess.Popen, but that one is called with shell=True. So basically the string that's passed to os.popen should be quoted. The attached patch seem to be sufficient when applied on the de

[issue25594] enum instance attribute access possible

2015-11-15 Thread SilentGhost
SilentGhost added the comment: No further comments re the latest patch. -- ___ Python tracker <http://bugs.python.org/issue25594> ___ ___ Python-bugs-list mailin

[issue25639] open 'PhysicalDriveN' on windows fails (since python 3.5) with OSError: [WinError 1] Incorrect function

2015-11-16 Thread SilentGhost
Changes by SilentGhost : -- components: +IO, Windows keywords: +3.5regression nosy: +benjamin.peterson, paul.moore, pitrou, steve.dower, stutzbach, tim.golden, zach.ware stage: -> test needed ___ Python tracker <http://bugs.python.org/issu

[issue20898] Missing 507 response description

2015-11-19 Thread SilentGhost
SilentGhost added the comment: Re msg233465: it doesn't seem like a particularly good justification to remove something that is not hurting anyone. The problem now is that because http.HTTPStatus is an enumeration, it cannot be extended, therefore when someone encounters these non-sta

[issue25685] Inefficiency with SocketHandler - may send log record message string twice in pickled data structure

2015-11-20 Thread SilentGhost
Changes by SilentGhost : -- nosy: +vinay.sajip stage: -> patch review versions: +Python 3.6 ___ Python tracker <http://bugs.python.org/issue25685> ___ ___ Py

[issue25689] ftplib docs language fix

2015-11-21 Thread SilentGhost
New submission from SilentGhost: Just a minor fix, removing the following: "Here is a sample on how using it:" -- assignee: docs@python components: Documentation files: ftplib_docs.diff keywords: patch messages: 255056 nosy: SilentGhost, docs@python priority: normal severi

[issue25690] Replacement for unittest.mock.mock_open

2015-11-21 Thread SilentGhost
Changes by SilentGhost : -- components: +Tests nosy: +ezio.melotti, michael.foord, rbcollins stage: -> patch review ___ Python tracker <http://bugs.python.org/issu

[issue25695] test___all__ and test_support alter execution environment

2015-11-22 Thread SilentGhost
SilentGhost added the comment: test_support has this line: TESTDIRN = os.path.basename(tempfile.mkdtemp(dir='.')) Which is the culprit. The reason it gets so far as to import the module is due to the "fuzzy logic" check looking for __all__ What I'd suggest is rep

[issue25758] ensurepip/venv broken on Windows if path includes unicode

2015-11-28 Thread SilentGhost
Changes by SilentGhost : -- components: +Windows nosy: +brett.cannon, eric.snow, steve.dower, tim.golden, zach.ware ___ Python tracker <http://bugs.python.org/issue25

[issue25759] Python 2.7.11rc1 not building with Visual Studio 2015

2015-11-28 Thread SilentGhost
Changes by SilentGhost : -- components: +Build, Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker <http://bugs.python.org/issue25

[issue25627] distutils : file "bdist_rpm.py" does not quote filenames when executing the rpm command

2015-11-29 Thread SilentGhost
SilentGhost added the comment: I tried re-writing that bit using subprocess.Popen but since the 2.7 support is needed I genuinely don't see any benefit that would add on top of the submitted patch. -- ___ Python tracker <http://bugs.py

[issue25627] distutils : file "bdist_rpm.py" does not quote filenames when executing the rpm command

2015-11-29 Thread SilentGhost
SilentGhost added the comment: Yeah, it would be great, Martin, if only that code worked in python2. Anyway, here is an alternative patch. -- Added file: http://bugs.python.org/file41189/issue25627_3.diff ___ Python tracker <http://bugs.python.

[issue25765] Installation error

2015-11-29 Thread SilentGhost
Changes by SilentGhost : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware type: performance -> behavior ___ Python tracker <http://bugs.python.org/issu

[issue25627] distutils : file "bdist_rpm.py" does not quote filenames when executing the rpm command

2015-11-29 Thread SilentGhost
SilentGhost added the comment: OK, here is seemingly python2-proof patch. At least it shouldn't have glaring syntax errors on python2 (as the previous one did). But I'd appreciate if some RPM people could actually run the test. -- Added file: http://bugs.python.org

[issue25627] distutils : file "bdist_rpm.py" does not quote filenames when executing the rpm command

2015-11-30 Thread SilentGhost
SilentGhost added the comment: Updated version of the patch including Martin's suggestions. -- Added file: http://bugs.python.org/file41197/issue25627_5.diff ___ Python tracker <http://bugs.python.org/is

[issue25778] Error on import matplotlib.pyplot and seaborn (Python3 - Windows 10 64-bit issue)

2015-12-02 Thread SilentGhost
Changes by SilentGhost : -- components: +Library (Lib) nosy: +stutzbach stage: -> test needed ___ Python tracker <http://bugs.python.org/issue25778> ___ ___ Py

[issue25778] Error on import matplotlib.pyplot and seaborn (Python3 - Windows 10 64-bit issue)

2015-12-02 Thread SilentGhost
Changes by SilentGhost : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker <http://bugs.python.org/issue25

[issue25780] Add support for CAN_RAW_JOIN_FILTERS

2015-12-02 Thread SilentGhost
Changes by SilentGhost : -- nosy: +pitrou ___ Python tracker <http://bugs.python.org/issue25780> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25778] winreg.EnumValue does not truncate strings correctly

2015-12-02 Thread SilentGhost
SilentGhost added the comment: Anshul, it's attached to this issue, before messages start under Files heading. Here is the direct link https://bugs.python.org/file41208/nullcheck.py -- nosy: +SilentGhost ___ Python tracker <http://bugs.py

[issue25784] Please consider integrating performance fix for ipaddress.py

2015-12-02 Thread SilentGhost
SilentGhost added the comment: Perhaps I'm wrong, but a superficial inspection of the ipaddress.py seem to indicate that it's not affected by the same issue. _find_address_range is implemented as a generator, it doesn't restart comparison on every iteration. Alexander, did you

[issue25785] TimedRotatingFileHandler missing rotations

2015-12-02 Thread SilentGhost
Changes by SilentGhost : -- components: +Library (Lib) nosy: +vinay.sajip type: behavior -> enhancement ___ Python tracker <http://bugs.python.org/issu

[issue25790] shutil.chown function enhancement

2015-12-03 Thread SilentGhost
Changes by SilentGhost : -- nosy: +SilentGhost ___ Python tracker <http://bugs.python.org/issue25790> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25800] errors running test_capi from command line

2015-12-04 Thread SilentGhost
New submission from SilentGhost: Running: ./python Lib/test/test_capi.py I got EmbeddingTests erroring out in setUp: first line of which (a triple application of os.path.dirname) creates an empty string which cannot be used as an argument to os.chdir afterwards. I'm to be honest not a

[issue25801] ResourceWarning in test_zipfile64

2015-12-04 Thread SilentGhost
New submission from SilentGhost: Running test_zipfile64 from command line (i.e., ./python Lib/test/test_zipfile64.py) I get two ResourceWarnings: » ./python Lib/test/test_zipfile64.py ..Lib/test/test_zipfile64.py:82: ResourceWarning

[issue25801] ResourceWarning in test_zipfile64

2015-12-05 Thread SilentGhost
SilentGhost added the comment: Thanks, Serhiy. Running the test with test module: ./python -m test -v test_zipfile64 doesn't produce the same warning. With this patch the warning is gone in command-line mode too. I haven't looked to verify that it's not an issue on 3.5 or e

[issue25805] Failure in test_pkgutil run from command-line

2015-12-05 Thread SilentGhost
New submission from SilentGhost: Running ./python Lib/test/test_pkgutil.py I got one test failing: test.support.TestFailed: Traceback (most recent call last): File "Lib/test/test_pkgutil.py", line 346, in test_get_loader_handles_missing_loader_attribute self.asser

[issue25804] Make Profile.print_stats support sorting by mutiple values

2015-12-05 Thread SilentGhost
Changes by SilentGhost : -- nosy: +georg.brandl ___ Python tracker <http://bugs.python.org/issue25804> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25804] Make Profile.print_stats support sorting by mutiple values

2015-12-05 Thread SilentGhost
SilentGhost added the comment: It would be good to add test for this. -- nosy: +SilentGhost ___ Python tracker <http://bugs.python.org/issue25804> ___ ___ Pytho

[issue25804] Make Profile.print_stats support sorting by mutiple values

2015-12-05 Thread SilentGhost
Changes by SilentGhost : -- stage: -> test needed ___ Python tracker <http://bugs.python.org/issue25804> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue25806] ResourceWarning in test_tasks

2015-12-05 Thread SilentGhost
New submission from SilentGhost: When running ./python Lib/test/test_asyncio/test_tasks.py I get a ResourceWarning: Lib/asyncio/base_events.py:379: ResourceWarning: unclosed event loop <_UnixSelectorEventLoop running=False closed=False debug=False> When running using test machinery: ./

[issue25806] ResourceWarning in test_tasks

2015-12-05 Thread SilentGhost
Changes by SilentGhost : -- nosy: +giampaolo.rodola, pitrou ___ Python tracker <http://bugs.python.org/issue25806> ___ ___ Python-bugs-list mailing list Unsub

[issue25806] ResourceWarning in test_tasks

2015-12-05 Thread SilentGhost
SilentGhost added the comment: Indeed it's one of those posted in the msg255490 -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> asyncio tests are getting noisy ___ Python tracker <ht

[issue25801] ResourceWarning in test_zipfile64

2015-12-05 Thread SilentGhost
Changes by SilentGhost : -- keywords: +needs review -patch ___ Python tracker <http://bugs.python.org/issue25801> ___ ___ Python-bugs-list mailing list Unsub

[issue25807] test_multiprocessing_fork.test_mymanager fails and hangs

2015-12-05 Thread SilentGhost
New submission from SilentGhost: When running either of the test_multiprocessing_fork, test_multiprocessing_spawn or test_multiprocessing_forkserver I get error in test_mymanager that leads to hanging. Here is the fragment: test_mymanager

[issue25808] The Python Tutorial 5.3. Tuples and Sequences

2015-12-05 Thread SilentGhost
SilentGhost added the comment: No, what this piece of code shows is that trying to assign a value to a tuple element will cause an error. Of course, the same error would be raise when using the the value 12345, but it's more instructive to use a different value to not confuse the r

[issue25809] "Invalid" tests on locales

2015-12-05 Thread SilentGhost
Changes by SilentGhost : -- nosy: +lemburg, loewis ___ Python tracker <http://bugs.python.org/issue25809> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25810] Python 3 documentation for eval is incorrect

2015-12-05 Thread SilentGhost
SilentGhost added the comment: I think this is the case where hard-coded strings where not updated in the C files. -- nosy: +SilentGhost versions: -Python 3.5, Python 3.6 ___ Python tracker <http://bugs.python.org/issue25

[issue25810] Python 3 documentation for eval is incorrect

2015-12-05 Thread SilentGhost
Changes by SilentGhost : -- stage: -> needs patch ___ Python tracker <http://bugs.python.org/issue25810> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue25810] Python 3 documentation for eval is incorrect

2015-12-05 Thread SilentGhost
SilentGhost added the comment: Yes, whatever Andre's posted is not an output from 3.5. It's 3.4 or earlier. Also it's a wider problem because the same issue exists for exec: built-in help shows keyword arguments, while docs and implementation require only positional.

[issue25810] Python 3 documentation for eval is incorrect

2015-12-05 Thread SilentGhost
SilentGhost added the comment: I'm not sure how the people are supposed to discover this convention according to pep 436. Or is this now intended as two separate incompatible conventions for online docs and built-in help? -- ___ Python tr

[issue25810] Python 3 documentation for eval is incorrect

2015-12-05 Thread SilentGhost
Changes by SilentGhost : -- nosy: +larry ___ Python tracker <http://bugs.python.org/issue25810> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25156] shutil.copyfile should internally use os.sendfile when possible

2015-12-05 Thread SilentGhost
SilentGhost added the comment: No further comments from me. I haven't run the test, but I trust it passes without any warnings. -- nosy: +SilentGhost ___ Python tracker <http://bugs.python.org/is

[issue25807] test_multiprocessing_fork.test_mymanager fails and hangs

2015-12-09 Thread SilentGhost
SilentGhost added the comment: Hm, after doing "make clean" and rebuilding anew I'm not able to reproduce the bug myself. I guess I just had a stale version of the module still hanging around. Sorry for the mistaken report. -- resolution: -> not a bug stage: ->

[issue9949] os.path.realpath on Windows does not follow symbolic links

2015-12-12 Thread SilentGhost
Changes by SilentGhost : -- components: +Windows keywords: +needs review -patch nosy: +paul.moore, steve.dower versions: +Python 3.6 -Python 3.5 ___ Python tracker <http://bugs.python.org/issue9

[issue25852] smtplib's SMTP.connect() should store the server name in ._host for .starttls()

2015-12-12 Thread SilentGhost
SilentGhost added the comment: Here is a usable patch, there doesn't seem to be a test for starttls, but it's still would be a good idea to add a test for this issue. -- nosy: +SilentGhost versions: +Python 3.6 -Python 3.3 Added file: http://bugs.python.org/file41293/issue

[issue25854] rest in _interpolate_some is a list not str

2015-12-12 Thread SilentGhost
SilentGhost added the comment: I'm not sure what problem exactly you're trying to report / solve here. I'd suggest you add an explanation of an issue you're experiencing. In any case your current change seem to be breaking too many things. -- components: +Librar

[issue25861] Can't use Pickle. AttributeError: 'module' object has no attribute '_new_Index'

2015-12-14 Thread SilentGhost
Changes by SilentGhost : -- nosy: +alexandre.vassalotti, pitrou type: crash -> behavior ___ Python tracker <http://bugs.python.org/issue25861> ___ ___ Python-

[issue25874] Add notice that XP is not supported on Python 3.5+

2015-12-15 Thread SilentGhost
SilentGhost added the comment: This seems fully covered in the What's new for 3.5: https://docs.python.org/3/whatsnew/3.5.html#unsupported-operating-systems -- nosy: +SilentGhost resolution: -> not a bug stage: -> resolved status: ope

[issue25874] Add notice that XP is not supported on Python 3.5+

2015-12-16 Thread SilentGhost
SilentGhost added the comment: Hm, may be I'm seeing things, but the content of the current what's new section is this: Windows XP is no longer supported by Microsoft, thus, per :PEP:`11`, CPython 3.5 is no longer officially supported on this OS. The proposed patch adds two se

[issue19475] Add timespec optional flag to datetime isoformat() to choose the precision

2015-12-16 Thread SilentGhost
Changes by SilentGhost : -- nosy: +SilentGhost ___ Python tracker <http://bugs.python.org/issue19475> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25885] ast Str type does not annotate the string type when it parses a python document

2015-12-16 Thread SilentGhost
Changes by SilentGhost : -- components: +Library (Lib) nosy: +benjamin.peterson, brett.cannon, georg.brandl, ncoghlan stage: -> test needed ___ Python tracker <http://bugs.python.org/issu

[issue25886] ast module is combining string literals that are concatenated with plus operator

2015-12-16 Thread SilentGhost
SilentGhost added the comment: Hm, I'm going to close this as duplicate since a commenter in your previous issue clearly stated: "I don't think the AST module makes any guarantee about being able to reproduce the original source". -- nosy: +SilentGhost, benjamin.pe

[issue19475] Add timespec optional flag to datetime isoformat() to choose the precision

2015-12-16 Thread SilentGhost
SilentGhost added the comment: Even that produces 3 failures on my setup, though the full list would be available when running: ./python -m test -v test_datetime It is obvious, however, that the tests would fail: you've changed "if us:" to

[issue25880] u'..'.encode('idna') → UnicodeError: label empty or too long

2015-12-17 Thread SilentGhost
SilentGhost added the comment: I think what David was trying to say is that you could do try: user_input.encode(encoding) except UnicodeError: do_my_error_handling() since UnicodeError is a super class of UnicodeDecodeError and UnicodeEncodeError. -- nosy: +SilentGhost

[issue25897] Python 3.5.1 and Active Tcl/Tk 8.6.4.1

2015-12-17 Thread SilentGhost
Changes by SilentGhost : -- components: +IDLE, Macintosh, Tkinter nosy: +gpolo, ned.deily, ronaldoussoren, serhiy.storchaka ___ Python tracker <http://bugs.python.org/issue25

[issue19771] runpy should check ImportError.name before wrapping it

2015-12-18 Thread SilentGhost
SilentGhost added the comment: Martin, could you please escape * in Misc/NEWS, it causes a warning when building documentation. -- nosy: +SilentGhost ___ Python tracker <http://bugs.python.org/issue19

[issue25910] Fixing links in documentation

2015-12-19 Thread SilentGhost
New submission from SilentGhost: I've run 'make linkcheck' on Doc and it highlighted a number of faulty links in documentation. I've tried fixing some of them and here is the resulting patch. It's a bit too long and touches many files, so to summarise: * Most changes

[issue25910] Fixing links in documentation

2015-12-19 Thread SilentGhost
Changes by SilentGhost : -- stage: needs patch -> patch review Added file: http://bugs.python.org/file41362/output.txt ___ Python tracker <http://bugs.python.org/issu

[issue25911] Regression: os.walk now using os.scandir() breaks bytes filenames on windows

2015-12-19 Thread SilentGhost
SilentGhost added the comment: Perhaps, I'm looking in the wrong place, but there doesn't seem be any test for bytes filenames. -- keywords: +3.5regression nosy: +SilentGhost stage: -> test needed type: -> behavior versions: +Python 3.6 __

[issue25915] file.write() after file.read() adds text to the end of the file

2015-12-20 Thread SilentGhost
Changes by SilentGhost : -- resolution: -> duplicate stage: -> resolved superseder: -> TextIOWrapper: issues with interlaced read-write type: -> behavior ___ Python tracker <http://bugs.python

[issue25916] wave module readframes now returns bytes not str

2015-12-20 Thread SilentGhost
SilentGhost added the comment: Here is the patch. -- keywords: +needs review, patch nosy: +SilentGhost stage: -> patch review type: -> behavior versions: +Python 3.3, Python 3.5, Python 3.6 Added file: http://bugs.python.org/file41368/issue2591

[issue25917] Fixing howto links in docs

2015-12-20 Thread SilentGhost
New submission from SilentGhost: This patch changes links from wiki to howto part of docs. -- assignee: docs@python components: Documentation files: howto.diff keywords: needs review, patch messages: 256761 nosy: SilentGhost, docs@python priority: normal severity: normal stage: patch

[issue25916] wave module readframes now returns bytes not str

2015-12-20 Thread SilentGhost
SilentGhost added the comment: Here is the patch replacing exact match 'string of bytes' with :class:`bytes` where appropriate. No match was found in base64. -- Added file: http://bugs.python.org/file41375/issue25916_2.diff ___ Python trac

[issue25919] htp.client PUT method ignores error responses sent immediatly after headers

2015-12-21 Thread SilentGhost
Changes by SilentGhost : -- components: +Library (Lib) -IO versions: +Python 3.5, Python 3.6 -Python 3.4 ___ Python tracker <http://bugs.python.org/issue25

[issue19475] Add timespec optional flag to datetime isoformat() to choose the precision

2015-12-22 Thread SilentGhost
SilentGhost added the comment: I think the patch is nearly finalised, but I'd appreciate if someone else would carefully go over the new C code. After that, I think, the patch could be committed. -- ___ Python tracker <http://bugs.py

[issue25919] htp.client PUT method ignores error responses sent immediatly after headers

2015-12-22 Thread SilentGhost
SilentGhost added the comment: There is a test suite which can be run to test for breakages: ./python -m test test_httplib If you do that you'll notice that some things are broken, I got error in 5 different tests related to you select.select call: TypeError: argument must be an int, or

[issue25919] htp.client PUT method ignores error responses sent immediatly after headers

2015-12-22 Thread SilentGhost
SilentGhost added the comment: That was a testing issue, apparently test.test_httplib.FakeSocket is not fake enough. -- ___ Python tracker <http://bugs.python.org/issue25

[issue25919] htp.client PUT method ignores error responses sent immediatly after headers

2015-12-23 Thread SilentGhost
SilentGhost added the comment: All the tests pass now, not sure why your patch doesn't get associated rietveld link, it applies cleanly using hg patch --no-commit -- ___ Python tracker <http://bugs.python.org/is

[issue25933] Unhandled exception (TypeError) with ftplib in function retrbinary/retrlines causes inoperable behavior without crashing

2015-12-23 Thread SilentGhost
SilentGhost added the comment: With the default branch I get regular TypeError exception, without any extras. To me it seems that its responsibility of the caller to provide the correct callback for the type of data being retrieved. So, I'm not exactly sure that this is a bug a

<    5   6   7   8   9   10   11   12   13   14   >