Changes by Saimadhav Heblikar saimadhavhebli...@gmail.com:
--
keywords: +patch
Added file: http://bugs.python.org/file37550/issue22706_1.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22706
STINNER Victor added the comment:
This issue is just a documentation issue. The do must be more explicit,
explain that the codecs is only used internally by the pickle module, and
that its output cannot be used anymore by eval().
--
___
Python
New submission from Damien MariƩ:
The Nose project moved from Google Code to Github, the link in the unittest
documentation didn't change.
How to reproduce:
- Go to https://docs.python.org/3.5/library/unittest.html
- Click on nose (in the See also section)
- See the Google Code project being
New submission from Chris Angelico:
Creating an issue to keep track of a patch, but this probably wants to be
discussed on python-ideas.
The attached patch allows a Python function to be put into sys.__getglobal__,
which then works like __getattr__ but for global names. This allows
Roundup Robot added the comment:
New changeset 0a2bb697d1c3 by Berker Peksag in branch '3.4':
Issue #23125: Update nose project page link.
https://hg.python.org/cpython/rev/0a2bb697d1c3
New changeset 11fd71a37665 by Berker Peksag in branch 'default':
Issue #23125: Update nose project page link.
Roundup Robot added the comment:
New changeset 88de50c1696b by Berker Peksag in branch '2.7':
Issue #23125: Update nose project page link.
https://hg.python.org/cpython/rev/88de50c1696b
--
___
Python tracker rep...@bugs.python.org
Berker Peksag added the comment:
Fixed. Thanks for the report, Damien.
--
nosy: +berker.peksag
resolution: - fixed
stage: - resolved
status: open - closed
versions: +Python 2.7 -Python 3.2, Python 3.3, Python 3.6
___
Python tracker
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +steve.dower, zach.ware
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19776
___
___
Antoine Pitrou added the comment:
Steve, would you like to give an opinion on the Windows aspects of this patch?
Otherwise I will simply commit it soon.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19776
Changes by Berker Peksag berker.pek...@gmail.com:
--
resolution: - fixed
stage: needs patch - resolved
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11638
___
Steve Dower added the comment:
I thought that USERPROFILE was the preferred environment variable and should be
checked before HOME, but I could be wrong. Consistency with the existing
expanduser function is more important probably.
There's almost certainly an API to find an arbitrary user
varde added the comment:
Well, because the ssl_version parameter should have a purpose. If it doesn't,
the least we could do is remove it from the docs.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23111
Raymond Hettinger added the comment:
It is unfortunate that there doesn't seem to be a way to round-trip Decimals.
That would seem to be a fundamental capability that we should expect to support.
I have a vague recollection that you used to be able to trick the encoder by
returning a
Ethan Furman added the comment:
Enums (and other numeric subclasses), do not round-trip back to themselves. An
IntEnum with the value of 4 is written as 4 and converted back from json as the
integer 4 (not Settings.TabSpaces, or whatever).
Given that json is multi-language format (or a
Bertrand Janin added the comment:
This is still an issue as of OpenBSD 5.6. Here is an updated patch for the
latest 2.7 branch:
diff -r 88de50c1696b Modules/socketmodule.c
--- a/Modules/socketmodule.cSun Dec 28 18:51:25 2014 +0200
+++ b/Modules/socketmodule.cSun Dec 28 21:24:41 2014
Bob Ippolito added the comment:
simplejson has had a use_decimal flag for output since 2.1.0 and has been
enabled by default since 2.2.0. simplejson 3.2.0 introduced a for_json argument
that checks objects for a method of that name for serialization.
Anders Rundgren added the comment:
I was actually hoping to implement the final part of this:
https://openkeystore.googlecode.com/svn/resources/trunk/docs/jcs.html#Normalization_and_Signature_Validation
It seems that the current Decimal implementation wouldn't save me anyway since
it modifies
Bob Ippolito added the comment:
I'm sure there's some hack that would allow you to preserve the input. I would
try using parse_float and have it return some object that preserves the string
and will be output in precisely the same way. It may need to be a Decimal
subclass. I'm traveling for
Anders Rundgren added the comment:
It would be great if I could use a sub-classed Decimal during parsing but since
it doesn't appear to be a way to serialize the result using the json package
I'm probably stuck with the current 99% solution.
I have solved this in Java and JavaScript by
Bob Ippolito added the comment:
Subclass Decimal and implement __str__ to return your own representation. Use
parse_float to use your Decimal subclass. Should work with simplejson, a
similar hack may be possible with the json module.
--
___
Python
20 matches
Mail list logo