Dima is suggesting the command locale.setlocale(locale.LC_ALL,''), where 
just before the parenthesis should be two single quotes. No quotes after 
the parenthesis. Or if you prefer: locale.setlocale(locale.LC_ALL,"") with 
two double quotes just before the parenthesis.


On Thursday, November 26, 2020 at 3:11:19 PM UTC-8 Kenji Iohara wrote:

> Dima, 
>
>  It gives me 
>
> sage: *import* *locale*                                                  
>            
> sage: locale.setlocale(locale.LC_ALL,")" 
> ....:  
>
>
> or
>
>
> sage: *import* *locale*                                                  
>            
> sage: locale.setlocale(locale.LC_ALL,'')''                               
>        
>   File "<ipython-input-2-ca1fa175147f>", line 1
>     locale.setlocale(locale.LC_ALL,'')''
>                                       ^
> SyntaxError: invalid syntax
>
> or
>
> sage: *import* *locale*                                                  
>            
> sage: locale.setlocale(locale.LC_ALL,")''                                
>        
>   File "<ipython-input-4-3eee4d797d29>", line 1
>     locale.setlocale(locale.LC_ALL,")''
>                                        ^
> SyntaxError: EOL while scanning string literal
>
>
> …. Is this alright ??
>
> 26/11/2020 22:09、Dima Pasechnik <dim...@gmail.com>のメール:
>
>
>
> On Thu, 26 Nov 2020, 20:39 Kenji Iohara, <simplye...@gmail.com> wrote:
>
>> I am sorry for this Japanese…..
>>
>>
>> 起動準備中です -  警告メッセージ:    this means    << in preparation for booting… 
>>  Warning message >>
>>
>>
>> It gives me
>>
>>
>> sage: *import* *locale*                                                  
>>            
>> sage: locale.setlocale(locale.LC_ALL,")                                  
>>        
>>   File "<ipython-input-2-95a48a668731>", line 1
>>     locale.setlocale(locale.LC_ALL,")
>>                                      ^
>> SyntaxError: EOL while scanning string literal
>>
>> Does this tell you something ?
>>
>
> oops, sorry, there is " there, but it should be two ' characters one after 
> another.
>
>
>>
>> 26/11/2020 21:35、Dima Pasechnik <dim...@gmail.com>のメール:
>>
>> A number of tests in your case fail due to a Japanese locale problem, e.g.
>>
>> Failed example:
>>    sage.misc.sageinspect.sage_getargspec(r.lm)
>> Expected:
>>    ArgSpec(args=['self'], varargs='args', keywords='kwds', defaults=None)
>> Got:
>>     起動準備中です -  警告メッセージ:
>>    1: Setting LC_COLLATE failed, using "C"
>>    2: Setting LC_TIME failed, using "C"
>>    3: Setting LC_MESSAGES failed, using "C"
>>    4: Setting LC_MONETARY failed, using "C"
>>    ArgSpec(args=['self'], varargs='args', keywords='kwds', defaults=None)
>>
>> I am not sure what's going on there. It looks like these are coming from
>> a non-Sage python module, such as re.
>> What is the output of
>>
>> sage: import locale
>> sage: locale.setlocale(locale.LC_ALL, '')
>>
>> on your system?
>>
>>
>>
>>
>> On Thu, Nov 26, 2020 at 9:53 AM Kenji Iohara <simplye...@gmail.com> 
>> wrote:
>>
>>
>> I have updated to Mac OS 11.0.1 and the compilation from the first built 
>> done without problem !
>> However, for make ptestlong, there are several errors:
>>
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "sage-release" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to sage-release...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/sage-release/25C8E4CC-C2F5-4E9A-B5D2-51971F40C185%40gmail.com
>> .
>>
>>
>> 25/11/2020 22:59、Emmanuel Charpentier <emanuel.c...@gmail.com>のメール:
>>
>> On Debian testing running on core 17 + 16 GB RAM, upgrading (including 
>> bootstrap and configure) and running ptestlong led to no transient and one 
>> permanent failure as follows :
>>
>> charpent@zen-book-flip:/usr/local/sage-9$ sage -t --long --warn-long 
>> 168.6 --random-seed=0 src/sage/misc/trace.py
>> Running doctests with ID 2020-11-25-22-51-10-7a62d8a2.
>> Git branch: develop
>> Using 
>> --optional=build,cbc,debian,dochtml,dot2tex,fricas,gap_jupyter,memlimit,pari_jupyter,pip,pysingular,saclib,sage,sage_numerical_backends_coin,sage_spkg,singular_jupyter
>> Doctesting 1 file.
>> sage -t --long --warn-long 168.6 --random-seed=0 src/sage/misc/trace.py
>> **********************************************************************
>> File "src/sage/misc/trace.py", line 67, in sage.misc.trace.trace
>> Failed example:
>>    print(s.before[s.before.find(b'--'):].decode())
>> Expected:
>>    --...
>>    ipdb> c
>>    2 * 5
>> Got:
>>    --Call--
>>
>>
>> <CSI-0;32m>/usr/local/sage-9/local/lib/python3.8/site-packages/sage/arith/misc.py<CSI-0m>(2422)<CSI-0;36m>factor<CSI-0;34m>()<CSI-0m>
>>
>>    <CSI-0;32m>   2420 <CSI-0;31m><CSI-0;34m><CSI-0m><CSI-0m>
>>    <CSI-0m><CSI-0;32m>   2421 <CSI-0;31m><CSI-0;34m><CSI-0m><CSI-0m>
>>    <CSI-0m><CSI-0;32m>-> 2422 <CSI-0;31m><CSI-0;32m>def<CSI-0m> 
>> <CSI-0m>factor<CSI-0m><CSI-0;34m>(<CSI-0m><CSI-0m>n<CSI-0m><CSI-0;34m>,<CSI-0m>
>>  
>> <CSI-0m>proof<CSI-0m><CSI-0;34m>=<CSI-0m><CSI-0;32m>None<CSI-0m><CSI-0;34m>,<CSI-0m>
>>  
>> <CSI-0m>int_<CSI-0m><CSI-0;34m>=<CSI-0m><CSI-0;32m>False<CSI-0m><CSI-0;34m>,<CSI-0m>
>>  
>> <CSI-0m>algorithm<CSI-0m><CSI-0;34m>=<CSI-0m><CSI-0;34m>'pari'<CSI-0m><CSI-0;34m>,<CSI-0m>
>>  
>> <CSI-0m>verbose<CSI-0m><CSI-0;34m>=<CSI-0m><CSI-0;36m>0<CSI-0m><CSI-0;34m>,<CSI-0m>
>>  
>> <CSI-0;34m>**<CSI-0m><CSI-0m>kwds<CSI-0m><CSI-0;34m>)<CSI-0m><CSI-0;34m>:<CSI-0m><CSI-0;34m><CSI-0m><CSI-0;34m><CSI-0m><CSI-0m>
>>    <CSI-0m><CSI-0;32m>   2423 <CSI-0;31m>    """
>>    <CSI-0m><CSI-0;32m>   2424 <CSI-0;31m>    <CSI-0m>Return<CSI-0m> 
>> <CSI-0m>the<CSI-0m> <CSI-0m>factorization<CSI-0m> 
>> <CSI-0m>of<CSI-0m><CSI-0;31m> 
>> <CSI-0m><CSI-0;31m>`<CSI-0m><CSI-0;31m>`<CSI-0m><CSI-0m>n<CSI-0m><CSI-0;31m>`<CSI-0m><CSI-0;31m>`<CSI-0m><CSI-0;34m>.<CSI-0m>
>>  
>>  <CSI-0m>The<CSI-0m> <CSI-0m>result<CSI-0m> <CSI-0m>depends<CSI-0m> 
>> <CSI-0m>on<CSI-0m> 
>> <CSI-0m>the<CSI-0m><CSI-0;34m><CSI-0m><CSI-0;34m><CSI-0m><CSI-0m>
>>    <CSI-0m>
>>    <CSI-?2004h>ipdb> c
>> 2 * 5CSI-?2004l>
>>    <BLANKLINE>
>> **********************************************************************
>> 1 item had failures:
>>   1 of  11 in sage.misc.trace.trace
>>    [10 tests, 1 failure, 5.18 s]
>> ----------------------------------------------------------------------
>> sage -t --long --warn-long 168.6 --random-seed=0 src/sage/misc/trace.py 
>>  # 1 doctest failed
>> ----------------------------------------------------------------------
>> Total time for all tests: 5.2 seconds
>>    cpu time: 0.0 seconds
>>    cumulative wall time: 5.2 seconds
>>
>> All other previously reported failures disappeared.
>>
>> Of note : configurestill asked for the installation of packages already 
>> installed, and reinstaling them had no effect.
>>
>> HTH,
>>
>>
>>
>> Le mercredi 25 novembre 2020 à 00:26:08 UTC+1, Volker Braun a écrit :
>>
>>
>> As always, you can get the latest beta version from the "develop" git 
>> branch. Alternatively, the self-contained source tarball is at 
>> http://www.sagemath.org/download-latest.html
>>
>> 020bd59ec2 (tag: 9.3.beta2, trac/develop) Updated SageMath version to 
>> 9.3.beta2
>> ee1d038453 Trac #25488: Improved Kash interface
>> 8bf3f4c944 Trac #16804: points() has problems with some lists of 
>> complexes containing real (i.e. imag(x)==0) values.
>> 253c17dd35 Trac #14509: Fix LaTeX of free algebras (and repr_lincomb)
>> 7adc2a9160 Trac #30937: Improve error message for jmol
>> fad5b5b093 Trac #30932: some details in global options
>> aa85a69719 Trac #30927: Frobenius endomorphisms of p-adic fields pickle 
>> incorrectly
>> 40c167483f Trac #30923: tox.ini: Add environments 
>> local-sudo-ubuntu-standard, etc.
>> a91d4b5f52 Trac #30920: refresh affine crystal
>> d23d3144cc Trac #30919: small change in one dict for preparser for python 
>> 3.9
>> 77a020fda7 Trac #30918: one more stable doctest in mutable poset
>> ec33e38631 Trac #30909: doc tweaks in OEIS
>> d9e021e6eb Trac #30908: get rid of CombinatorialClass in combination.py
>> 9876939b1f Trac #30907: get rid of CombinatorialClass in parking
>> ccccdd5070 Trac #30904: changes in shuffle_product
>> b1c3cc831b Trac #30902: let NCSF know that it is cocommutative
>> 3a662d4d96 Trac #30899: igraph, python-igraph: Update to 0.8.3
>> 5b01884dd2 Trac #30889: remove  CombinatorialAlgebra
>> 7f20b28c6c Trac #30883: Update instructions for conda to use miniforge
>> 9d3278d239 Trac #30881: remove the unused file group_homset
>> e70b894680 Trac #30880: flake8 for multi_polynomial_ideal.py
>> da925cb064 Trac #30878: some flake8 details in backend normaliz
>> 60cbf36695 Trac #30873: Fix test failures in distro packages after #25825
>> b007a8e392 Trac #30871: symmetric functions are commutative
>> fe12787424 Trac #30869: Some computation hangs in Multizeta
>> 17feb0a0db Trac #30866: remove broken --upgrade option from sage
>> 1a32e62ab9 Trac #30864: Comparison of power series
>> 457a5932ad Trac #30858: add giac to build/pkgs/sagelib/dependencies
>> 5c6da01b89 Trac #30856: get rid of EMBEDDED_MODE from plot.plot
>> d03689bd25 Trac #30852: let sagelib and sage_sws2rst not depend on six
>> 324b53b9a8 Trac #30851: single-valued multizeta
>> 334dde64cb Trac #30849: Make gcd/lcm interact better with pari and gmpy2
>> 84e9a4d044 Trac #30844: better maple conversion for symbolic matrices
>> 87c261ae60 Trac #30843: AbelianGroup_gap quotient group
>> 7e4ea978a0 Trac #30840: small improvement in Hasse diagram
>> bb31b65353 Trac #30830: Subintervals of OpenInterval and 
>> UniqueRepresentation
>> 1101a45f53 Trac #30812: some details in the det method for general 
>> matrices
>> 96df69332a Trac #30804: Add Spheres smoothly embedded in Euclidean Space 
>> to Manifold Catalog
>> 2cd4f829da Trac #30784: sage.matrix: Resolve circular imports without 
>> using __init__.py
>> 496b3f6d08 Trac #30780: sage_setup: Separate installing and cleaning
>> 772b0cf365 Trac #30704: Upgrade to Normaliz 3.8.9 and PyNormaliz 2.13
>> 5a984431b4 Trac #30611: Upgrade various Python packages for Sage 9.3
>> 027ca17304 Trac #18036: I.parent() should not be the symbolic ring
>> 92e54d90e2 Trac #30733: GH Actions: Remove use of deprecated set-env 
>> command
>> f3a5612806 Trac #30776: Implement an improved subgraph test for graph 
>> backends
>> ae66d47c44 Trac #30765: Adapt to deprecation of seeding based on hashing 
>> in Python 3.9
>> 1ac30abb02 Trac #30724: src/bin/sage-env, src/bin/sage-env-config.in: 
>> Remove PYTHON_FOR_VENV
>> 3b0553fc3f Trac #30709: Extract cython config to new module
>> 1bf46183f2 Trac #30706: Make sage.env.cython_aliases more flexible 
>> regarding what pkgconfig files for BLAS are required
>> 7863f17c27 Trac #30404: Add pyright and pycodestyle checks as Github 
>> actions
>> e4f2646103 Trac #29951: src/bin/sage-env: Make SAGE_ROOT and SAGE_LOCAL 
>> optional
>> 3283d50818 Trac #30874: update planarity
>> f0d19808ec Trac #30719: Add build/pkgs/SPKG/install-requires.txt for all 
>> Python packages, remove some unneeded packages
>> 54e53cd8f0 Trac #30744: Symplectic derivation Lie algebra
>> f0ac785482 Trac #30648: sage --package download is broken
>> ffa1106a54 Trac #30633: sympow gives "RuntimeError: failed to compute 
>> analytic rank" doctest failures
>> 527ccbdded Trac #30627: Rename build/bin/sage-system-python to 
>> sage-bootstrap-python
>> a3fb5aa685 Trac #30524: Remove `maybe_newfaces` in combinatorial 
>> polyhedron
>> 7e1fdf7489 Trac #30040: Improve face iterator for simple/simplicial 
>> polytopes
>> ff70229355 Trac #29630: spkg-configure.m4 for libhomfly
>> 430c549394 Trac #29719: upgrade to flint 2.6.3
>> 532e475dbf Trac #30867: Remove mac app
>> 222059565b (tag: 9.3.beta1) Updated SageMath version to 9.3.beta1
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "sage-release" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to sage-release...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/sage-release/0ba6e9f0-ac21-4dee-ad20-bd51314b6067n%40googlegroups.com
>> .
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "sage-release" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to sage-release...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/sage-release/25C8E4CC-C2F5-4E9A-B5D2-51971F40C185%40gmail.com
>> .
>>
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "sage-release" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to sage-release...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/sage-release/CAAWYfq13T%3Dr9yV2tG8PO5wD2_vX0um53Yb-vw5S-2UBq2AN0Dg%40mail.gmail.com
>> .
>>
>>
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "sage-release" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to sage-release...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/sage-release/644D6EC0-6D81-4D69-B340-FA74417ECF01%40gmail.com
>>  
>> <https://groups.google.com/d/msgid/sage-release/644D6EC0-6D81-4D69-B340-FA74417ECF01%40gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "sage-release" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sage-release...@googlegroups.com.
>
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-release/CAAWYfq38MGUBSDh2bBpXh%3Dfr%3DOKuBtAxqY%2BK7M2n1JdxziiNVQ%40mail.gmail.com
>  
> <https://groups.google.com/d/msgid/sage-release/CAAWYfq38MGUBSDh2bBpXh%3Dfr%3DOKuBtAxqY%2BK7M2n1JdxziiNVQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-release" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-release+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-release/ee30fb88-1590-49f4-8e88-00f3bc26c898n%40googlegroups.com.

Reply via email to