[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.
>
> I'm not sure I agree.  This would be true if they were abused for trivial
> things ("Warnings: using .pop() on a empty list will return an
> IndexError!"), but I don't think they are.
>
> I think warnings are ignored only by people that are already familiar with
> the module and its limitation/issues, and that know what they are doing.
> If the warning is not evident, people are going to miss it [0].
>
> If warnings are used correctly, people will spot them easily and read them
> (or ignore them if they already know what they are warning against).
>
> [0]: I know I missed it in e.g. https://api.jquery.com/die/ -- the
> function is deprecated, but (currently) this is only written in the top
> right corner and in small in the category at the top -- two places that are
> easily overlooked.  https://api.jquery.com/toggle-event/ on the other
> hand has a clearly visible yellow box at the top that immediately says that
> the method is deprecated.
>
> --
>
> ___
> Python tracker 
> <http://bugs.python.org/issue17006>
> ___
>

--

___
Python tracker 
<http://bugs.python.org/issue17006>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.org/issue23337>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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/issue20016>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 discussion on
> Python-ideas... :) Right now from_bytes/to_bytes trick is fast enough for
> my needs anyway. Therefore I'm deferring the proposal for 3.5.
>
> By the way I'd also be happy with a set of vector ops in the operator
> module, e.g. vector_xor(a, b).
>
> +1, a generic vector_xor function looks like a better idea.

--

___
Python tracker 
<http://bugs.python.org/issue19251>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 ^ y for
> x, y in zip(a, b)) looks fine. a and b can be any iterables of ints.
>
> --
> nosy: +terry.reedy
>
> ___
> Python tracker 
> <http://bugs.python.org/issue19251>
> ___
>
Hm... I think you are right.

--

___
Python tracker 
<http://bugs.python.org/issue19251>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 
<http://bugs.python.org/issue19002>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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  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'?
>
> --
>
> ___
> Python tracker 
> <http://bugs.python.org/issue19002>
> ___
>

Yes, as that is more consistent.

--

___
Python tracker 
<http://bugs.python.org/issue19002>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 
<http://bugs.python.org/issue18918>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 think one can't conclude that it is a core python bug as the 
ref count could have been messed with, then sometime later the error may occur 
and GDB's stacktrace will show the latter.
Or in pseudo-code:

mess_with_ref_count() # In 3rd party code
non_3rd_party_code() #the error may occur here, after the refcount was messed 
with, and gdb will show this function in the stack trace

BTW, run ./configure with the --with-pydebug option, that makes Python perform 
extra checks on refcounts and other things [0]

^0 http://docs.python.org/devguide/setup.html#compiling-for-debugging

--

___
Python tracker 
<http://bugs.python.org/issue17234>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18704] IDLE: PEP8 Style Check Integration

2013-08-20 Thread Ramchandra Apte

Ramchandra Apte added the comment:

Agree with Terry Reedy.

--

___
Python tracker 
<http://bugs.python.org/issue18704>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 
<http://bugs.python.org/issue18788>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 
<http://bugs.python.org/issue18704>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 
<http://bugs.python.org/issue18655>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

--
nosy: +Ramchandra Apte

___
Python tracker 
<http://bugs.python.org/issue18466>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2013-07-21 Thread Ramchandra Apte

Changes by Ramchandra Apte :


--
title: timeit bug? -> return-ing within timeit.timeit causes wrong return value 
of timeit.timeit

___
Python tracker 
<http://bugs.python.org/issue18518>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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


--
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 
<http://bugs.python.org/issue18518>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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
   for i in range(10): return -1

actual_code()

--
nosy: +Ramchandra Apte

___
Python tracker 
<http://bugs.python.org/issue18518>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

>
> Serhiy Storchaka added the comment:
>
> LGTM.
>
> --
> nosy: +serhiy.storchaka
>
> ___
> Python tracker 
> <http://bugs.python.org/issue18338>
> ___
>

--

___
Python tracker 
<http://bugs.python.org/issue18338>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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  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/test_cmd_line.py:l47
>
> --
> keywords: +patch
> nosy: +berker.peksag
> stage: needs patch -> patch review
> Added file: http://bugs.python.org/file30756/issue18338.diff
>
> No, -v is for debugging purposes and should go to stderr IMO.

--

___
Python tracker 
<http://bugs.python.org/issue18338>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 
<http://bugs.python.org/issue18286>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 
<http://bugs.python.org/issue18338>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 
<http://bugs.python.org/issue18305>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

>
> Terry J. Reedy added the comment:
>
> Making a list of all possible modules is harder than a list of attributes.
> With relative imports, I am not sure its even possible to sensible make a
> list of every entry that would work.
>
> --
>
> ___
> Python tracker 
> <http://bugs.python.org/issue17238>
> ___
>

--

___
Python tracker 
<http://bugs.python.org/issue17238>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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/issue17952>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 understand you correctly, I think what you are saying
> that both are grammar mistakes and the first one could addressed by adding
> "s" to block.
>
> --
>
> ___
> Python tracker 
> <http://bugs.python.org/issue17851>
> ___
>

--

___
Python tracker 
<http://bugs.python.org/issue17851>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 across 
implementations." - there is only one clause, so no comma needed.
If two separate clauses. are separated a coordinating conjunction (such as 
and), commas are required afaik.

------
nosy: +Ramchandra Apte

___
Python tracker 
<http://bugs.python.org/issue17851>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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

___
Python tracker 
<http://bugs.python.org/issue17775>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

___
Python tracker 
<http://bugs.python.org/issue17649>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 in exceptions documentation.
versions: Python 3.3, Python 3.4

___
Python tracker 
<http://bugs.python.org/issue17549>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 
<http://bugs.python.org/issue12207>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

___
Python tracker 
<http://bugs.python.org/issue17489>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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

___
Python tracker 
<http://bugs.python.org/issue17461>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 code. It defines delimiter (as
> well as quotechar and escapechar) as a single unicode char. This is
> different from Python which does not have a char type but uses strings
> (arrays) of length one as a substitute. Redefining delimiter as an array of
> unicode chars, as you propose, would complicate the code. It will take a
> much stronger case than one person's 'It would be nice' to motivate someone
> with the needed C skills to do the revision. It would as least slightly
> slow down all single char uses. It would be easier and more useful, in some
> ways, to write a Python csv version.
>
> You might look elsewhere for an enhanced csv reader that handles
> multi-char delimiters. Searching just pypi for 'csv' returns perhaps 50
> hits. If you really want to pursue this for the stdlib, follow my
> suggestion of posting to python-ideas and reference this issue.
>
> --
> nosy: +skip.montanaro
> resolution:  -> rejected
> stage: test needed -> committed/rejected
> status: open -> closed
>
> ___
> Python tracker 
> <http://bugs.python.org/issue15158>
> ___
>

--

___
Python tracker 
<http://bugs.python.org/issue15158>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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/issue17331>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.python.org/issue17290>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 to
> get someone up and running is to use the -n option.
>
> This is one of many annoyances that arise when teaching students Python
> using IDLE:
> * Preferences window crashing
> * Default font-size on a retina mac is tiny
> * Inability to shutoff the prominent warning messages
> * Control-A goes to the beginning of the line, past the >>> prompt.
> * On Windows, IDLE sometimes has a two second delay before it runs scripts
> * Students find that IDLE mysteriously pastes a clipboard into the
> interactive prompt unintentionally
> * It is a common complaint that IDLE hangs
> * Getting the correct Tcl/Tk setup on Macs is problematic.
> * Starting IDLE from the command line emits messages about "setCanCycle is
> deprecated"
>
> --
>
> ___
> Python tracker 
> <http://bugs.python.org/issue16123>
> ___
>

Not experienced any of the problems on Linux.

--

___
Python tracker 
<http://bugs.python.org/issue16123>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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/issue16233>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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/issue17256>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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/issue17256>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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
status: open
title: code example should be highlighted

___
Python tracker 
<http://bugs.python.org/issue17256>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 object to it importing modules for completion)

--
components: IDLE
messages: 182392
nosy: Ramchandra Apte, terry.reedy
priority: normal
severity: normal
status: open
title: Enhance import statement completion
type: enhancement
versions: Python 3.3, Python 3.4

___
Python tracker 
<http://bugs.python.org/issue17238>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.org/issue17237>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

--

___
Python tracker 
<http://bugs.python.org/issue17234>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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

___
Python tracker 
<http://bugs.python.org/issue17234>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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/issue17232>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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/issue17211>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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/issue17211>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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://bugs.python.org/issue17172>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 tk can render depends on the font you tell it to use. On my
> Windows IDLE, I have Options Font Face set to Lucida Sans Unicode, though I
> am not sure what has the widest coverage. This page
> https://www.microsoft.com/typography/fonts/font.aspx?FMID=1263
> only mentions West Asian, but I seem to get more than that.
>
> --
>
> ___
> Python tracker 
> <http://bugs.python.org/issue13153>
> ___
>

--

___
Python tracker 
<http://bugs.python.org/issue13153>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 3.3, Python 3.4

___
Python tracker 
<http://bugs.python.org/issue17211>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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

___
Python tracker 
<http://bugs.python.org/issue13153>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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/issue17205>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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/issue17172>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.org/issue17172>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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/issue17187>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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/issue17172>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 
<http://bugs.python.org/issue17168>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 
<http://bugs.python.org/issue17157>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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@python, ramchandra.apte
priority: normal
severity: normal
status: open
title: test.support 3.x docs mentions stringio.stringio
Added file: http://bugs.python.org/file29016/issue.patch

___
Python tracker 
<http://bugs.python.org/issue17168>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17158] help() module searcher text is misleading

2013-02-08 Thread Ramchandra Apte

Changes by Ramchandra Apte :


--
title: help() module searcher text improvement -> help() module searcher text 
is misleading

___
Python tracker 
<http://bugs.python.org/issue17158>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 that it prints "Searching for the matching modules..." 
without the newline and then once the matching modules have been found prints 
"done." (End result will have "Searching for the matchine modules... done." 
Then it should print "Here is a list of matching modules. Enter any ..."

--
components: Interpreter Core
messages: 181671
nosy: ramchandra.apte
priority: normal
severity: normal
status: open
title: help() module searcher text improvement
type: enhancement
versions: Python 3.3, Python 3.4

___
Python tracker 
<http://bugs.python.org/issue17158>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2013-02-08 Thread Ramchandra Apte

Changes by Ramchandra Apte :


--
status: languishing -> open

___
Python tracker 
<http://bugs.python.org/issue17157>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2013-02-08 Thread Ramchandra Apte

Changes by Ramchandra Apte :


--
status: open -> languishing

___
Python tracker 
<http://bugs.python.org/issue17157>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2013-02-08 Thread Ramchandra Apte

Changes by Ramchandra Apte :


--
title: issubclass should accept iterables -> issubclass() should accept 
iterables in 2nd arg

___
Python tracker 
<http://bugs.python.org/issue17157>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 
<http://bugs.python.org/issue17157>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17157] issubclass should accept iterables

2013-02-08 Thread Ramchandra Apte

Changes by Ramchandra Apte :


--
components: +Interpreter Core

___
Python tracker 
<http://bugs.python.org/issue17157>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17157] issubclass should accept iterables

2013-02-08 Thread Ramchandra Apte

Changes by Ramchandra Apte :


--
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 
<http://bugs.python.org/issue17157>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2013-02-08 Thread Ramchandra Apte

Changes by Ramchandra Apte :


--
versions: +Python 3.3, Python 3.4 -Python 3.0

___
Python tracker 
<http://bugs.python.org/issue4331>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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\x00\x00vq\x02K\x01u.'
Notice that in the second pickled data, the pickled data for 'v' has exchanged 
places with the one for 'a'! ('v' has become 'a' and at the second-last 
character 'a' has become 'v')

--

___
Python tracker 
<http://bugs.python.org/issue12596>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 
<http://bugs.python.org/issue12596>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 the order of dicts are different on every run (try 
repr).

--
nosy: +ramchandra.apte
versions: +Python 3.3, Python 3.4

___
Python tracker 
<http://bugs.python.org/issue12596>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17103] ampersand "&" in path prevents compilation of Python

2013-02-04 Thread Ramchandra Apte

Changes by Ramchandra Apte :


--
title: ampersand "&" in path prevents from compiling pthon -> ampersand "&" in 
path prevents compilation of Python

___
Python tracker 
<http://bugs.python.org/issue17103>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 
<http://bugs.python.org/issue16643>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 
<http://bugs.python.org/issue17100>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 
<http://bugs.python.org/issue16432>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 
<http://bugs.python.org/issue7225>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 
<http://bugs.python.org/issue12883>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 
<http://bugs.python.org/issue17032>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 
<http://bugs.python.org/issue17001>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 
<http://bugs.python.org/issue17014>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



  1   2   3   4   >