[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 <rep...@bugs.python.org> wrote: > > Ezio Melotti added the comment: > > > People are going to skip warning bo

[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 rep...@bugs.python.org http

[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 rep...@bugs.python.org http://bugs.python.org

[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 rep...@bugs.python.org http://bugs.python.org/issue19362

[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 rep...@bugs.python.org 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 discussion on Python

[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 rep...@bugs.python.org 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 ^ y for x

[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 rep...@bugs.python.org http://bugs.python.org/issue19251 ___ ___ Python-bugs-list

[issue19002] ``dir`` function does not work correctly with classes.

2013-09-11 Thread Ramchandra Apte
Ramchandra Apte added the comment: On 11 September 2013 21:41, Ethan Furman rep...@bugs.python.org wrote: Ethan Furman added the comment: So when you do a `dir(int)` you don't want to know what you can call on 7? You'd rather know what you can call on 'type

[issue19002] ``dir`` function does not work correctly with classes.

2013-09-11 Thread Ramchandra Apte
Ramchandra Apte added the comment: -1 classes themselves are objects, so dir should list the attributes/methods of the class object, not the instances. -- nosy: +Ramchandra Apte ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue18918] help('FILES') finds no documentation

2013-09-03 Thread Ramchandra Apte
Ramchandra Apte added the comment: I am able to reproduce on Python 3.3 as well. -- components: -Interpreter Core nosy: +Ramchandra Apte versions: +Python 3.3, Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18918

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

2013-08-25 Thread Ramchandra Apte
Ramchandra Apte added the comment: Here is one stacktrace I just got with the faulthandler installed. It does not show in the trace any 3rd-party module so can I conclude it is a core python bug? Just recompiling with -ggdb so eventually will have better stacktraces. I'm a C noob but I

[issue18788] Proof of concept: implicit call syntax

2013-08-20 Thread Ramchandra Apte
Ramchandra Apte added the comment: I do not see much use of of implicit call syntax, a good editor will autocomplete the brackets. -- nosy: +Ramchandra Apte ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18788

[issue18704] IDLE: PEP8 Style Check Integration

2013-08-20 Thread Ramchandra Apte
Ramchandra Apte added the comment: Agree with Terry Reedy. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18704 ___ ___ Python-bugs-list mailing

[issue18704] IDLE: PEP8 Style Check Integration

2013-08-11 Thread Ramchandra Apte
Ramchandra Apte added the comment: I like the idea of having a PEP8-checker for IDLE. -- nosy: +Ramchandra Apte ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18704

[issue18655] GUI apps take long to launch on Windows

2013-08-04 Thread Ramchandra Apte
Ramchandra Apte added the comment: Can you provide a short script that reproduces this problem? AFAIK, Python doesn't display windows, the tcl/pygame libraries' C code creates the windows. -- nosy: +Ramchandra Apte ___ Python tracker rep

[issue18518] timeit bug?

2013-07-21 Thread Ramchandra Apte
Ramchandra Apte added the comment: Well, not sure if this is worth fixing, I think this is because timeit runs a modified version of the code using exec(), with the actual code to be timed within a function. (timeit runs something like this with exec(): def actual_code(): #The real code

[issue18518] return-ing within code timed with timeit.timeit causes wrong return value of timeit.timeit

2013-07-21 Thread Ramchandra Apte
Changes by Ramchandra Apte maniandra...@gmail.com: -- title: return-ing within timeit.timeit causes wrong return value of timeit.timeit - return-ing within code timed with timeit.timeit causes wrong return value of timeit.timeit ___ Python tracker

[issue18518] return-ing within timeit.timeit causes wrong return value of timeit.timeit

2013-07-21 Thread Ramchandra Apte
Changes by Ramchandra Apte maniandra...@gmail.com: -- title: timeit bug? - return-ing within timeit.timeit causes wrong return value of timeit.timeit ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18518

[issue18466] Spelling mistakes in various code comments.

2013-07-21 Thread Ramchandra Apte
Ramchandra Apte added the comment: Hmm... once I actually created a short (50 lines) script which spell-checked the comments. Problem is that many technical words (GCC, for example) were marked incorrect by the spell-checker (Enchant), resulting in about 1000+ incorrectly spelled words

[issue18286] Python 3.3 - Slowing down computer

2013-07-03 Thread Ramchandra Apte
Ramchandra Apte added the comment: The problem is with OP's code; not Python. Please close this bug as invalid. OP can ask on the Python mailing list to fix his code. -- nosy: +Ramchandra Apte ___ Python tracker rep...@bugs.python.org http

[issue18338] python --version should send output to STDOUT

2013-07-03 Thread Ramchandra Apte
Ramchandra Apte added the comment: On 3 July 2013 15:16, Berker Peksag rep...@bugs.python.org wrote: Berker Peksag added the comment: Here is a patch with an updated test. The -v flag also sends the output to stderr. Should that be fixed too? See Modules/main.c:678 and Lib/test

[issue18338] python --version should send output to STDOUT

2013-07-03 Thread Ramchandra Apte
Ramchandra Apte added the comment: No, I think that On 3 July 2013 16:06, Serhiy Storchaka rep...@bugs.python.org wrote: Serhiy Storchaka added the comment: LGTM. -- nosy: +serhiy.storchaka ___ Python tracker rep...@bugs.python.org http

[issue18305] [patch] Fast sum() for non-numbers

2013-07-02 Thread Ramchandra Apte
Ramchandra Apte added the comment: I agree with Sergey. Would be nice if it could use copy.copy (though that might change behaviour a bit) -- nosy: +Ramchandra Apte ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18305

[issue18338] python --version should send output to STDOUT

2013-07-02 Thread Ramchandra Apte
Ramchandra Apte added the comment: Your proposal is reasonable. I'm flagging it for Python 3.4+ as it's a backward incompatible modification. Agree. -- nosy: +Ramchandra Apte ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue17238] IDLE: Enhance import statement completion

2013-06-15 Thread Ramchandra Apte
Ramchandra Apte added the comment: I have a patch ready; have to make it ready (PEP8-compliance etc.) and then I can send it. On 16 June 2013 00:52, Terry J. Reedy rep...@bugs.python.org wrote: Terry J. Reedy added the comment: Making a list of all possible modules is harder than a list

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

2013-05-11 Thread Ramchandra Apte
Changes by Ramchandra Apte maniandra...@gmail.com: -- 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 rep...@bugs.python.org http

[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 rep...@bugs.python.org wrote: Andriy Mysyk added the comment: Ramachandra, if I understand you

[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 not defined, and may vary

[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 rep...@bugs.python.org http://bugs.python.org/issue17851 ___ ___ Python-bugs

[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 error - behavior

[issue17768] _decimal: allow NUL fill character

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

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

2013-04-07 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 Apte

[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 maniandra...@gmail.com: -- title: Bottom Scroll Bar - Bottom Scroll Bar in IDLE ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1207613

[issue12207] Document ast.PyCF_ONLY_AST

2013-03-24 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 rep

[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

[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 in PEP 396

[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 rep...@bugs.python.org 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 code

[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 rep...@bugs.python.org http://bugs.python.org/issue17331

[issue17316] Add Django 1.5 to benchmarks

2013-02-28 Thread Ramchandra Apte
Changes by Ramchandra Apte maniandra...@gmail.com: -- components: +Benchmarks versions: +Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17316

[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 rep...@bugs.python.org http

[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 rep...@bugs.python.org http://bugs.python.org/issue2704 ___ ___ Python-bugs-list

[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 rep...@bugs.python.org 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

[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 rep...@bugs.python.org http://bugs.python.org/issue16233

[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 rep...@bugs.python.org 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 rep...@bugs.python.org http://bugs.python.org/issue16248

[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 rep...@bugs.python.org http://bugs.python.org/issue886488 ___ ___ Python-bugs

[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 rep...@bugs.python.org http://bugs.python.org/issue1398781

[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: normal

[issue17256] code example should be highlighted

2013-02-20 Thread Ramchandra Apte
Changes by Ramchandra Apte maniandra...@gmail.com: -- versions: +Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17256 ___ ___ Python

[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 rep...@bugs.python.org http

[issue17256] code example in C API docsshould be highlighted

2013-02-20 Thread Ramchandra Apte
Changes by Ramchandra Apte maniandra...@gmail.com: -- title: code example should be highlighted - code example in C API docsshould be highlighted ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17256

[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 rep...@bugs.python.org http://bugs.python.org/issue17232

[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 Apte

[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/faulthandler

[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 rep...@bugs.python.org http://bugs.python.org/issue17237

[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 tab from tab from x import tab Also, if one types imp.tab , IDLE should import the module and list dir(module). (There will be an option to disable/enable the last two completion cases

[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 rep...@bugs.python.org http://bugs.python.org/issue17211 ___ ___ Python-bugs-list mailing list

[issue17215] documentation misprints

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

[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 rep...@bugs.python.org http://bugs.python.org/issue17211

[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 rep...@bugs.python.org http://bugs.python.org/issue17211

[issue17201] Use allowZip64=True by default

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

[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: +Ramchandra.Apte

[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 rep...@bugs.python.org http://bugs.python.org/issue17179

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

2013-02-15 Thread Ramchandra Apte
Changes by Ramchandra Apte maniandra...@gmail.com: -- type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17179 ___ ___ Python-bugs

[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 rep...@bugs.python.org wrote: Terry J. Reedy added the comment: The characters tk can render

[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 rep...@bugs.python.org http://bugs.python.org/issue17172

[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 rep...@bugs.python.org http

[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 rep...@bugs.python.org http://bugs.python.org/issue17187

[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 rep...@bugs.python.org http

[issue17172] Add turtledemo to IDLE menu

2013-02-12 Thread Ramchandra Apte
Changes by Ramchandra Apte maniandra...@gmail.com: -- keywords: +patch Added file: http://bugs.python.org/file29048/issue.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17172

[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 rep...@bugs.python.org http://bugs.python.org/issue17172

[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 rep...@bugs.python.org http://bugs.python.org/issue17172

[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 rep...@bugs.python.org http://bugs.python.org/issue17172 ___ ___ Python-bugs-list

[issue17168] test.support 3.x docs mentions stringio.stringio

2013-02-09 Thread Ramchandra Apte
New submission from Ramchandra Apte: StringIO.StringIO has been renamed to io.StringIO in 3.x. Attached is a patch with the corrected version which mentions io.StringIO. -- assignee: docs@python components: Documentation files: issue.patch keywords: patch messages: 181729 nosy: docs

[issue17157] issubclass() should accept iterables in 2nd arg

2013-02-09 Thread Ramchandra Apte
Ramchandra Apte added the comment: Just so you know, I'm neutral on this idea. I think it should at least accept sequences though. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17157

[issue17168] test.support 3.x docs mentions stringio.stringio

2013-02-09 Thread Ramchandra Apte
Ramchandra Apte added the comment: Please commit or review. This is *very* trivial. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17168

[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 rep...@bugs.python.org http://bugs.python.org/issue17166 ___ ___ Python-bugs-list

[issue4331] Can't use _functools.partial() created function as method

2013-02-08 Thread Ramchandra Apte
Changes by Ramchandra Apte maniandra...@gmail.com: -- versions: +Python 3.3, Python 3.4 -Python 3.0 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4331

[issue17157] issubclass should accept iterables

2013-02-08 Thread Ramchandra Apte
Changes by Ramchandra Apte maniandra...@gmail.com: -- nosy: kushou, ramchandra.apte priority: normal severity: normal status: open title: issubclass should accept iterables type: enhancement versions: Python 3.3, Python 3.4 ___ Python tracker rep

[issue17157] issubclass should accept iterables

2013-02-08 Thread Ramchandra Apte
Changes by Ramchandra Apte maniandra...@gmail.com: -- components: +Interpreter Core ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17157

[issue17157] issubclass should accept iterables

2013-02-08 Thread Ramchandra Apte
New submission from Ramchandra Apte: kushou pointed this out on #python-dev -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17157 ___ ___ Python

[issue17157] issubclass() should accept iterables in 2nd arg

2013-02-08 Thread Ramchandra Apte
Changes by Ramchandra Apte maniandra...@gmail.com: -- title: issubclass should accept iterables - issubclass() should accept iterables in 2nd arg ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17157

[issue17157] issubclass() should accept iterables in 2nd arg

2013-02-08 Thread Ramchandra Apte
Changes by Ramchandra Apte maniandra...@gmail.com: -- status: open - languishing ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17157

[issue17157] issubclass() should accept iterables in 2nd arg

2013-02-08 Thread Ramchandra Apte
Changes by Ramchandra Apte maniandra...@gmail.com: -- status: languishing - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17157

[issue17158] help() module searcher text improvement

2013-02-08 Thread Ramchandra Apte
New submission from Ramchandra Apte: help(modules spam) prints out Here is a list of matching modules. Enter any module name to get more help. before it has even found the modules. This gives the impression that it has found the modules yet it hasn't printed the modules yet. I would suggest

[issue17158] help() module searcher text is misleading

2013-02-08 Thread Ramchandra Apte
Changes by Ramchandra Apte maniandra...@gmail.com: -- title: help() module searcher text improvement - help() module searcher text is misleading ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17158

[issue12596] cPickle - stored data differ for same dictionary

2013-02-07 Thread Ramchandra Apte
Ramchandra Apte added the comment: Try `./python -R -c import pickle; print(pickle.dumps({'a':1, 'v':1})) |md5sum`. The output will differ on subsequent run, while trying `./python -R -c import pickle; print(pickle.dumps({'a':1})) |md5sum`, the output is always the same. I suspect because

[issue12596] cPickle - stored data differ for same dictionary

2013-02-07 Thread Ramchandra Apte
Ramchandra Apte added the comment: Darn, last sentence has some mistakes. I suspect this issue is happening because the order of a dictionary is different on every run (try repr). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue12596] cPickle - stored data differ for same dictionary

2013-02-07 Thread Ramchandra Apte
Ramchandra Apte added the comment: Further proof: here are the results of two invocations of `./python -R -c import pickle; print(pickle.dumps({'a':1, 'v':1}))` b'\x80\x03}q\x00(X\x01\x00\x00\x00vq\x01K\x01X\x01\x00\x00\x00aq\x02K\x01u.' b'\x80\x03}q\x00(X\x01\x00\x00\x00aq\x01K\x01X\x01\x00

[issue17103] ampersand in path prevents compilation of Python

2013-02-04 Thread Ramchandra Apte
Changes by Ramchandra Apte maniandra...@gmail.com: -- title: ampersand in path prevents from compiling pthon - ampersand in path prevents compilation of Python ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17103

[issue16643] Wrong documented default value for timefunc parameter in sched.scheduler()

2013-02-03 Thread Ramchandra Apte
Ramchandra Apte added the comment: Here's a patch. -- keywords: +patch nosy: +ramchandra.apte Added file: http://bugs.python.org/file28943/issue16643.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16643

[issue17100] rotating an ordereddict

2013-02-01 Thread Ramchandra Apte
Ramchandra Apte added the comment: Will attach patch when I get free (10 hours from now) -- nosy: +ramchandra.apte ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17100

[issue7225] fwrite() compiler warnings

2013-01-31 Thread Ramchandra Apte
Ramchandra Apte added the comment: I'm pretty sure this is invalid now. -- nosy: +ramchandra.apte ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7225

[issue16432] Template strings documentation in Python 3 refers to % substitution in present tense

2013-01-31 Thread Ramchandra Apte
Ramchandra Apte added the comment: ... as it is not the preferred system. I prefer .format() but I don't think that's true for many people. -- nosy: +ramchandra.apte ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16432

[issue12883] xml.sax.xmlreader.AttributesImpl allows empty string as attribute names

2013-01-29 Thread Ramchandra Apte
Ramchandra Apte added the comment: bump... -- nosy: +ramchandra.apte ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12883 ___ ___ Python-bugs-list

[issue17032] Misleading error message: global name 'X' is not defined

2013-01-25 Thread Ramchandra Apte
Ramchandra Apte added the comment: +1 on Ezio's idea. -- nosy: +ramchandra.apte ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17032 ___ ___ Python

[issue17014] _getfinalpathname() no more used in 3.4

2013-01-22 Thread Ramchandra Apte
Ramchandra Apte added the comment: LGTM -- nosy: +ramchandra.apte ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17014 ___ ___ Python-bugs-list

[issue17001] Make uuid.UUID use functools.total_ordering

2013-01-22 Thread Ramchandra Apte
Ramchandra Apte added the comment: @Raymond Hettinger Why? Please respond to my comments. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17001

  1   2   3   4   >