[issue17166] Fix the suggested usage of _dummy_thread module

2013-02-09 Thread Ramchandra Apte
Ramchandra Apte added the comment: LGTM. -- nosy: +ramchandra.apte ___ Python tracker <http://bugs.python.org/issue17166> ___ ___ Python-bugs-list mailin

[issue17172] Add turtledemo to IDLE menu

2013-02-10 Thread Ramchandra Apte
Ramchandra Apte added the comment: Will attach patch. Coincidentally I'm am a younger programmer. -- nosy: +ramchandra.apte ___ Python tracker <http://bugs.python.org/is

[issue17172] Add turtledemo to IDLE menu

2013-02-10 Thread Ramchandra Apte
Ramchandra Apte added the comment: Should be "... I'm a younger..." -- ___ Python tracker <http://bugs.python.org/issue17172> ___ ___ Python-b

[issue17187] Python segfaults from improperly formed and called function

2013-02-12 Thread Ramchandra Apte
Ramchandra Apte added the comment: > Perhaps types.CodeType should refuse to generate the malformed code object in > the first place? Yup. -- nosy: +ramchandra.apte ___ Python tracker <http://bugs.python.org/i

[issue17172] Add turtledemo to IDLE menu

2013-02-12 Thread Ramchandra Apte
Ramchandra Apte added the comment: Attached is a patch. I hope the File menu is the right place for this. I had to move the code in Lib/turtledemo.py after "if __name__ ==..." into main(). -- ___ Python tracker <http://bugs.python.o

[issue17172] Add turtledemo to IDLE menu

2013-02-12 Thread Ramchandra Apte
Changes by Ramchandra Apte : -- keywords: +patch Added file: http://bugs.python.org/file29048/issue.patch ___ Python tracker <http://bugs.python.org/issue17

[issue17172] Add turtledemo to IDLE menu

2013-02-12 Thread Ramchandra Apte
Ramchandra Apte added the comment: Should this be added to Lib/idlelib/NEWS.txt ? -- ___ Python tracker <http://bugs.python.org/issue17172> ___ ___ Python-bug

[issue19251] bitwise ops for bytes of equal length

2013-10-13 Thread Ramchandra Apte
Ramchandra Apte added the comment: +1 -- nosy: +Ramchandra Apte ___ Python tracker <http://bugs.python.org/issue19251> ___ ___ Python-bugs-list mailing list Unsub

[issue19251] bitwise ops for bytes of equal length

2013-10-18 Thread Ramchandra Apte
Ramchandra Apte added the comment: On 19 October 2013 04:56, Terry J. Reedy wrote: > > Terry J. Reedy added the comment: > > 'XOR of two bytes in one place' strikes me as a thin excuse for a new > feature that abbreviates a simple, short, one-liner. To me, bytes(x ^

[issue19251] bitwise ops for bytes of equal length

2013-10-21 Thread Ramchandra Apte
Ramchandra Apte added the comment: On 21 October 2013 14:45, Christian Heimes wrote: > > Christian Heimes added the comment: > > I see that the feature idea is more controversial than I initially > expected. It's probably best to have a long bike-shedding discussi

[issue19362] Documentation for len() fails to mention that it works on sets

2013-10-27 Thread Ramchandra Apte
Ramchandra Apte added the comment: I also prefer collection. -- nosy: +Ramchandra Apte ___ Python tracker <http://bugs.python.org/issue19362> ___ ___ Python-bug

[issue20016] make site.py Quitter call itself on repr

2013-12-18 Thread Ramchandra Apte
Ramchandra Apte added the comment: -1 that would be weird behavior; typing a function name shouldn't run it. Python on the command line is still Python. -- nosy: +Ramchandra Apte ___ Python tracker <http://bugs.python.org/is

[issue17205] In the help() function the order of methods changes

2013-02-14 Thread Ramchandra Apte
Ramchandra Apte added the comment: Sorry, but there is no way of telling the order as methods are respresented internally as a dictionary. Please close this as invalid. -- nosy: +ramchandra.apte ___ Python tracker <http://bugs.python.org/issue17

[issue17201] Use allowZip64=True by default

2013-02-15 Thread Ramchandra Apte
Ramchandra Apte added the comment: LGTM. -- nosy: +Ramchandra.Apte ___ Python tracker <http://bugs.python.org/issue17201> ___ ___ Python-bugs-list mailin

[issue13153] IDLE crashes when pasting non-BMP unicode char on Py3

2013-02-15 Thread Ramchandra Apte
Ramchandra Apte added the comment: @Ned Deily Tk, at least on my system, doesn't render Unicode characters, even within BMP correctly but the characters are kept (cut-and-paste works correctly) What you mean by "support". -- nosy: +

[issue17179] Incorrect use of type function in types.new_class

2013-02-15 Thread Ramchandra Apte
Ramchandra Apte added the comment: @Daniel Urban Me too. -- nosy: +Ramchandra.Apte ___ Python tracker <http://bugs.python.org/issue17179> ___ ___ Python-bug

[issue17179] Incorrect use of type function in types.new_class

2013-02-15 Thread Ramchandra Apte
Changes by Ramchandra Apte : -- type: -> behavior ___ Python tracker <http://bugs.python.org/issue17179> ___ ___ Python-bugs-list mailing list Unsubscri

[issue17211] pkgutil.iter_modules and walk_packages should return a namedtuple

2013-02-15 Thread Ramchandra Apte
New submission from Ramchandra Apte: Will attach a patch soon. -- components: Library (Lib) messages: 182143 nosy: Ramchandra.Apte priority: normal severity: normal status: open title: pkgutil.iter_modules and walk_packages should return a namedtuple type: enhancement versions: Python

[issue13153] IDLE crashes when pasting non-BMP unicode char on Py3

2013-02-15 Thread Ramchandra Apte
Ramchandra Apte added the comment: I have set it to "Ubuntu", which supports the Unicode characters. Maybe Tkinter doesn't work properly with all the fonts. On 16 February 2013 01:57, Terry J. Reedy wrote: > > Terry J. Reedy added the comment: > > The characters t

[issue17172] Add turtledemo to IDLE menu

2013-02-15 Thread Ramchandra Apte
Ramchandra Apte added the comment: Because turtledemo doesn't have a main() function. I moved the code under 'if __name__ == "__main__"' into a main() function. -- ___ Python tracker <http:

[issue17215] documentation misprints

2013-02-16 Thread Ramchandra Apte
Ramchandra Apte added the comment: LGTM. -- nosy: +Ramchandra.Apte ___ Python tracker <http://bugs.python.org/issue17215> ___ ___ Python-bugs-list mailin

[issue17211] pkgutil.iter_modules and walk_packages should return a namedtuple

2013-02-16 Thread Ramchandra Apte
Ramchandra Apte added the comment: Attached is a patch. -- keywords: +patch Added file: http://bugs.python.org/file29087/issue.patch ___ Python tracker <http://bugs.python.org/issue17

[issue17211] pkgutil.iter_modules and walk_packages should return a namedtuple

2013-02-16 Thread Ramchandra Apte
Ramchandra Apte added the comment: I forget about that. Attached is a patch with tests. -- Added file: http://bugs.python.org/file29088/issue.patch ___ Python tracker <http://bugs.python.org/issue17

[issue17211] pkgutil.iter_modules and walk_packages should return a namedtuple

2013-02-17 Thread Ramchandra Apte
Ramchandra Apte added the comment: Please review. -- ___ Python tracker <http://bugs.python.org/issue17211> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17232] Improve -O docs

2013-02-19 Thread Ramchandra Apte
Ramchandra Apte added the comment: It should also add that in the future, more optimizations may be added i.e. a peephole optimizer, etc. -- nosy: +Ramchandra Apte ___ Python tracker <http://bugs.python.org/issue17

[issue17234] python-2.7.3-r3: crash in visit_decref()

2013-02-19 Thread Ramchandra Apte
Ramchandra Apte added the comment: Sorry, but this doesn't give enough information to fix it, nevertheless reproduce it. Please tell us what Python was running. Also run python with -X faulthandler and give the results. -- nosy: +Ramchandra

[issue17234] python-2.7.3-r3: crash in visit_decref()

2013-02-19 Thread Ramchandra Apte
Ramchandra Apte added the comment: Oops. Please ignore the sentence about adding -X faulthandler. Please install the faulthandler module [0] and run "import faulthandler;faulthandler.enable()", and then reproduce the bug. ^0 https://pypi.python.org/pypi/fa

[issue17237] m68k aligns on 16bit boundaries.

2013-02-19 Thread Ramchandra Apte
Ramchandra Apte added the comment: Wikipedia says "derivative processors are still widely used in embedded applications." in m68k article. -- nosy: +Ramchandra Apte ___ Python tracker <http://bugs.python.o

[issue17238] Enhance import statement completion

2013-02-19 Thread Ramchandra Apte
New submission from Ramchandra Apte: [patch under development] I propose to add completions for import from from x import Also, if one types imp. , IDLE should import the module and list dir(module). (There will be an option to disable/enable the last two completion cases as some users

[issue16245] Update html.entities.html5 dictionary and parseentities.py

2013-02-20 Thread Ramchandra Apte
Ramchandra Apte added the comment: Shouldn't this be deferred blocker? -- nosy: +Ramchandra Apte ___ Python tracker <http://bugs.python.org/issue16245> ___ ___

[issue16248] Security bug in tkinter allows for untrusted, arbitrary code execution.

2013-02-20 Thread Ramchandra Apte
Ramchandra Apte added the comment: I suppose this should be closed. -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue16248> ___ ___ Py

[issue886488] popen2 on Windows does not check _fdopen return value

2013-02-20 Thread Ramchandra Apte
Ramchandra Apte added the comment: I think so. -- nosy: +Ramchandra Apte ___ Python tracker <http://bugs.python.org/issue886488> ___ ___ Python-bugs-list mailin

[issue1398781] Example in section 5.3 "Pure Embedding" doesn't work.

2013-02-20 Thread Ramchandra Apte
Ramchandra Apte added the comment: Is this still valid? -- nosy: +Ramchandra Apte ___ Python tracker <http://bugs.python.org/issue1398781> ___ ___ Python-bug

[issue17256] code example should be highlighted

2013-02-20 Thread Ramchandra Apte
New submission from Ramchandra Apte: in http://docs.python.org/2/extending/embedding.html#linking-requirements the code example isn't highlighted -- assignee: docs@python components: Documentation messages: 182515 nosy: Ramchandra Apte, docs@python priority: normal severity: n

[issue17256] code example should be highlighted

2013-02-20 Thread Ramchandra Apte
Changes by Ramchandra Apte : -- versions: +Python 2.7 ___ Python tracker <http://bugs.python.org/issue17256> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17256] code example should be highlighted

2013-02-20 Thread Ramchandra Apte
Ramchandra Apte added the comment: Also in the section above: http://docs.python.org/2/extending/embedding.html#extending-embedded-python , the two code examples should be highlighted. -- ___ Python tracker <http://bugs.python.org/issue17

[issue17256] code example in C API docsshould be highlighted

2013-02-20 Thread Ramchandra Apte
Changes by Ramchandra Apte : -- title: code example should be highlighted -> code example in C API docsshould be highlighted ___ Python tracker <http://bugs.python.org/issu

[issue16233] IDLE: conceptual problems with *Class browser*

2013-02-21 Thread Ramchandra Apte
Ramchandra Apte added the comment: IMO, Class Browser shouldn't even appear in PyShell. -- nosy: +Ramchandra Apte ___ Python tracker <http://bugs.python.org/is

[issue16123] IDLE - deprecate running without a subprocess

2013-02-22 Thread Ramchandra Apte
Ramchandra Apte added the comment: On 22 February 2013 22:56, Raymond Hettinger wrote: > > Raymond Hettinger added the comment: > > The issue is usually with firewalls, security software, socket issues, > etc. While the root problem lies outside IDLE, often the simplest way t

[issue2704] IDLE: Patch to make PyShell behave more like a Terminal interface

2013-02-23 Thread Ramchandra Apte
Ramchandra Apte added the comment: +1000 -- nosy: +Ramchandra Apte ___ Python tracker <http://bugs.python.org/issue2704> ___ ___ Python-bugs-list mailin

[issue17290] pythonw - loading cursor bug when launching scripts

2013-02-25 Thread Ramchandra Apte
Ramchandra Apte added the comment: Advice: anything that's not a photo should be PNG. Temporary fix is to change the cursor see [0] ^0 http://effbot.org/zone/tkinter-busy.htm -- nosy: +Ramchandra Apte ___ Python tracker <http://bugs.py

[issue17316] Add Django 1.5 to benchmarks

2013-02-28 Thread Ramchandra Apte
Changes by Ramchandra Apte : -- components: +Benchmarks versions: +Python 3.4 ___ Python tracker <http://bugs.python.org/issue17316> ___ ___ Python-bugs-list m

[issue17331] namedtuple raises a SyntaxError instead of ValueError on invalid identifier

2013-03-01 Thread Ramchandra Apte
Ramchandra Apte added the comment: > namedtuple should simply use isidentifier(), rather than isalnum(). +2 -- nosy: +Ramchandra Apte ___ Python tracker <http://bugs.python.org/issu

[issue15158] Add support for multi-character delimiters in csv

2013-03-08 Thread Ramchandra Apte
Ramchandra Apte added the comment: I have posted on python-ideas. On 9 March 2013 03:14, Terry J. Reedy wrote: > > Terry J. Reedy added the comment: > > You did not explain why it is *impossible* for you to use any of the other > solutions. In any case, I looked at the C c

[issue17461] Carole should be Carol in PEP 396

2013-03-18 Thread Ramchandra Apte
New submission from Ramchandra Apte: In here, "now get it from the Cheeseshop. Carole maintains several namespace packages," -- messages: 184462 nosy: Ramchandra Apte priority: normal severity: normal status: open title: Carole should be Carol

[issue17489] random.Random implements __getstate__() and __reduce__()

2013-03-20 Thread Ramchandra Apte
Ramchandra Apte added the comment: __getstate__ is for pickling instances [0], __reduce__ is for pickling the object itself [1] ^0 http://docs.python.org/2/library/pickle.html#object.__getstate__ ^1 http://docs.python.org/2/library/pickle.html#object.__reduce__ -- nosy: +Ramchandra

[issue12207] Document ast.PyCF_ONLY_AST

2013-03-23 Thread Ramchandra Apte
Ramchandra Apte added the comment: > In my view, it is adequately documented now, should not be undocumented, and > should not be given more prominence either. So I recommend closing this. +1 -- nosy: +Ramchandra Apte ___ Python tracker

[issue17549] Some exceptions not highlighted in exceptions documentation.

2013-03-26 Thread Ramchandra Apte
New submission from Ramchandra Apte: In http://docs.python.org/3/library/exceptions.html#exception-hierarchy , some exception are not highlighted correctly. -- messages: 185262 nosy: Ramchandra Apte priority: normal severity: normal status: open title: Some exceptions not highlighted

[issue1207613] Bottom Scroll Bar in IDLE

2013-03-26 Thread Ramchandra Apte
Changes by Ramchandra Apte : -- title: Bottom Scroll Bar -> Bottom Scroll Bar in IDLE ___ Python tracker <http://bugs.python.org/issue1207613> ___ ___ Python-

[issue17649] Python/Python-ast.c: No such file or directory

2013-04-06 Thread Ramchandra Apte
Ramchandra Apte added the comment: if the Python/Python-ast.c file does not exist in the Python source directory, try re-extracting it (if the file still doesn't exist then you probably have a corrupt compressed file) -- nosy: +Ramchandra

[issue17775] Error with Hello, World in 3.3.1

2013-04-17 Thread Ramchandra Apte
Ramchandra Apte added the comment: Python 3 and Python 2 have different syntax (same code won't work with both versions). You would have to run print("Hello, World") Please close this bug as invalid. ------ nosy: +Ramchandra Apte type: compile er

[issue17768] _decimal: allow NUL fill character

2013-04-17 Thread Ramchandra Apte
Ramchandra Apte added the comment: Yes. -- nosy: +Ramchandra Apte ___ Python tracker <http://bugs.python.org/issue17768> ___ ___ Python-bugs-list mailin

[issue17851] Grammar errors in threading.Lock documentation

2013-04-27 Thread Ramchandra Apte
Ramchandra Apte added the comment: afaik they don't seem to be grammatical errors "subsequent attempts to acquire it block" - block is the verb, don't see anything wrong similar example: the crowd blocks me. (present tense) "which one of the waiting threads proceeds is

[issue17851] Grammar errors in threading.Lock documentation

2013-04-27 Thread Ramchandra Apte
Ramchandra Apte added the comment: oops, should be "the crowd blocks me" -- ___ Python tracker <http://bugs.python.org/issue17851> ___ ___ Python-bugs-l

[issue17851] Grammar errors in threading.Lock documentation

2013-04-29 Thread Ramchandra Apte
Ramchandra Apte added the comment: I'm saying that they aren't valid grammar mistakes (there is no grammar mistake). I agree with Georg Brandl's comment. On 27 April 2013 20:18, Andriy Mysyk wrote: > > Andriy Mysyk added the comment: > > Ramachandra, if I unders

[issue17952] editors-and-tools section of devguide does not appear to be accurate

2013-05-11 Thread Ramchandra Apte
Changes by Ramchandra Apte : -- title: editors-and-tools section of devguide does not appear to be ccurate -> editors-and-tools section of devguide does not appear to be accurate ___ Python tracker <http://bugs.python.org/issu

[issue23337] Run python with restricted rights

2015-01-28 Thread Ramchandra Apte
Ramchandra Apte added the comment: BTW I think this is more of a support request than an issue. I might be stating the obvious, but is there any firewall software installed? -- nosy: +Ramchandra Apte ___ Python tracker <http://bugs.python.

[issue17006] Add advice on best practices for hashing secrets

2016-01-04 Thread Ramchandra Apte
Ramchandra Apte added the comment: It is good to add warnings; if they are ignored it is little worse than the status quo. On 1 January 2016 at 08:54, Ezio Melotti wrote: > > Ezio Melotti added the comment: > > > People are going to skip warning boxes if they occur too often. &

<    1   2   3   4